> > Hi, > > the links on http://coombs.anu.edu.au/~avalon/ to the 4.x versions are > broken. I need the content-filter-stuff to develop a ruleset for > blocking kazaa. > > Does anyone have working rules to block kazaa? > > Will IPF 4 be available in NetBSD 2.0? > > MFG, > > Karsten Kruse > > -- > Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de > () Linux/NetBSD-Anleitungen, Forum und Chat: www.newbie-net.de > <\/> > _/\_ When you are in it up to your ears, keep your mouth shut.
Hi Karsten For blocking the standard ports for some of the "worst" P2P applications, I have these lines: block in log quick proto tcp/udp from 217.116.226/24 to any block in log quick proto tcp from any to any port = 411 flags S/SA block in log quick proto tcp from any to any port = 1214 flags S/SA block in log quick proto tcp from any to any port = 1412 flags S/SA block in log quick proto tcp from any to any port = 6346 flags S/SA block in log quick proto tcp from any to any port = 6347 flags S/SA block in log quick proto tcp from any to any port = 4661 flags S/SA block in log quick proto tcp from any to any port = 4662 flags S/SA block in log quick proto tcp from any to any port = 4665 flags S/SA block in log quick proto tcp from any to any port = 6699 flags S/SA block in log quick proto udp from any to any port = 411 block in log quick proto udp from any to any port = 1214 block in log quick proto udp from any to any port = 1412 block in log quick proto udp from any port = 1214 to any block in log quick proto udp from any to any port = 6346 block in log quick proto udp from any to any port = 6347 block in log quick proto udp from any to any port = 4661 block in log quick proto udp from any to any port = 4662 block in log quick proto udp from any to any port = 4665 block in log quick proto udp from any to any port = 41170 But most clients can change ports, so this won't work for long :/ A proxy/intelligence is needed. A combination of Snort, scripts and IPFilter :-) Maybe the ftwall project can be ported to *BSD/IPFilter. http://www.lowth.com/p2pwall/ There is some more info on P2P blocking at http://www.grape-info.com/doc/cisco/router/contents/block-p2p-chat.html http://hu.fzk.de/hu/firewalls/p2p/index.shtml http://www.oofle.com/filesharing.php Regards Flemming Laugaard
