vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi .misc I made a basic shell script that outputs pf rules based on the pgl.yoyo.org ad-server list (http://pgl.yoyo.org/adservers/). You could offcourse return-rst, but I'm to lazy to see the manual page ATM to do it properly :-p The c0d3: [teksec:~]$ cat antiad.sh # AntiAd 4 PF # Version 0.1 # By Sacha Ligthert # Based on the pgl.yoyo.org ad-server list. # Point out which interface should block the spammers. EXT=xl0 #Do some fingerpaint. for IP in `lynx -dump "http://pgl.yoyo.org/adservers/iplist.php?ipformat=plain&showintro=0&mimetype=pla intext"`; do echo block in quick on $EXT proto tcp from any to $IP done [teksec:~]$ Its _very_ basic, but it satisfies my needs :-) Hope it does you any good. Sacha PS: Scripting hints+tips are welcome |
| ||||
| On Tue, 21 Oct 2003 18:02:12 GMT, "S.Ligthert" <devnull@teksec.homeunix.net> wrote: >You could offcourse return-rst, but I'm to lazy to see the manual page >ATM to do it properly :-p > Which means the browser will open connections and most likely stall waiting for the connection to timeout. Its a lot easier to redirect to a webserver on localhost and get it to return a blank gif as the 404 response. greg -- $ReplyAddress =~ s#\@.*$##; # Delete everything after the '@' The Following is a true story..... Only the names have been changed to protect the guilty. |
| Thread Tools | |
| Display Modes | |
| |