[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: blocking Kazaa on iptables?



You must apply the patch for "string match" to the kernel source.
<http://www.iptables.org/documentation/pomlist/pom-extra.html#string>

before use this rules...

# iptables -m string --string "X-Kazaa-Username:" -j DROP
# iptables -m string --string "X-Kazaa-Network:" -j DROP
# iptables -m string --string "X-Kazaa-IP:" -j DROP
# iptables -m string --string "X-Kazaa-SupernodeIP:" -j DROP


[]s
Genilto Dallo

----- Original Message -----
From: <breno.moiana@partekforest.com>
To: <debian-firewall@lists.debian.org>
Sent: Friday, August 08, 2003 7:05 PM
Subject: blocking Kazaa on iptables?


> I've searched on google for that, but all I found were unanswered
questions.
>
> How to block kazaa with a linux-based firewall? I'm using 2.4 kernel, so
I'm
> open to IPTables.
>
> The only thing I saw that *might* be of use is this comment on a forum
thread:
>
> ---------begin-------
> prøv at kigge i det her spm - der er et iptables script.
>
> Der er bla følgende kode
> #FastTrack (KaZaA, Grokster)
> /sbin/iptables -A INSPECT -p TCP -m string --string "X-Kazaa-Username:" -j
> INSDROP
> /sbin/iptables -A INSPECT -p TCP -m string --string "X-Kazaa-Network:" -j
> INSDROP
> /sbin/iptables -A INSPECT -p TCP -m string --string
"X-Kazaa-SupernodeIP:" -j
> INSDROP
> ---------end-------
>
> the address is:
> http://www.eksperten.dk/spm/299949
>
> but I don't even know what language is that...
> any ideas?
>
> Regards,
>
>
> Breno Moiana
> -------------------------------------------------------------
> "Science is organized knowledge. Wisdom is organized life."
>
> "Ciência é conhecimento organizado. Sabedoria é vida organizada."
>     -- Immanuel Kant
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>



Reply to: