Re: External scripts with PF.

2009-12-21 Thread Gaurav Ghimire
Peter Maxwell wrote: > 2009/12/22 Gaurav Ghimire : > > >> thinking if I could be informed via an email alert that a new IP has >> been added to the table abusive_ips. It seems this would have been >> possible if there was a possibility that I could trigger an external >> script on the rule 3rd

Re: External scripts with PF.

2009-12-21 Thread Peter Maxwell
2009/12/22 Gaurav Ghimire : > thinking if I could be informed via an email alert that  a new IP has > been added to the table abusive_ips.  It seems this would have been > possible if there was a possibility that I could trigger an external > script on the rule 3rd rule I have. And the external sc

Re: External scripts with PF.

2009-12-21 Thread Gaurav Ghimire
Kevin wrote: >> For tracking source IPs and adding them to a table, you can already do >> this, c.f. max-src-conn and overload in the pf.conf man page. >> >> >> If you use the overload keyword to dump the bad IPs into a table then >> as a quick and dirty solution for scripting you can the run a scr

helo, please i ned information about read and write ethernet frame

2009-12-21 Thread Ramon Amable Gonzalez Peguero
hello excuse me English, i from dominican republic. if you can help me, I would appreciate, ando buscando informacion, acerca de programacion de redes, donde yo pueda leer y escribir frame ethernet thanks and please forgive my ignorance ___ freebsd-pf@

Re: Ruleset causing problems with N95?

2009-12-21 Thread no name
hello, i had a similar problem on my iphone/podtouch... try to enable any fix-mss option in your pppoe client (i suppose u use one) cheers, b Am 21.12.2009 um 22:42 schrieb Adam Egan : > I've recently been making an effort to get my N95 to work on my LAN. I > have reason to believe that for some

Ruleset causing problems with N95?

2009-12-21 Thread Adam Egan
I've recently been making an effort to get my N95 to work on my LAN. I have reason to believe that for some reason, my router/ruleset is inhibiting the phone's access. My ruleset is here: http://pastebin.com/m56dadcd8 basically, i cannot download files on my phone, or use the sync, spotify, gmail

RE: External scripts with PF.

2009-12-21 Thread Kevin
> For tracking source IPs and adding them to a table, you can already do > this, c.f. max-src-conn and overload in the pf.conf man page. > > > If you use the overload keyword to dump the bad IPs into a table then > as a quick and dirty solution for scripting you can the run a script > from cron e

Re: External scripts with PF.

2009-12-21 Thread Peter Maxwell
2009/12/21 Gaurav Ghimire : > Hi all, > > Are there any possibilities that I could run a script (bash, perl) when > any rule is matched. > > For example, I have some distinct rule and want to get an alert email > each time any connection threshold is crossed on it from a singe IP. Say > I want one

Re: External scripts with PF.

2009-12-21 Thread Peter Maxwell
2009/12/21 Tom Uffner : > Gaurav Ghimire wrote: >> >> Are there any possibilities that I could run a script (bash, perl) when >> any rule is matched. > > make sure the rule you want to trigger your script includes "log". > > have your script tail pflog, and watch for your trigger rule before > perf

Current problem reports assigned to freebsd-pf@FreeBSD.org

2009-12-21 Thread FreeBSD bugmaster
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker

Re: External scripts with PF.

2009-12-21 Thread Tom Uffner
Gaurav Ghimire wrote: Are there any possibilities that I could run a script (bash, perl) when any rule is matched. make sure the rule you want to trigger your script includes "log". have your script tail pflog, and watch for your trigger rule before performing its action. _