* FW: iptables and Limewire
@ 2006-09-14 12:05 Sherwyn Greene
0 siblings, 0 replies; 4+ messages in thread
From: Sherwyn Greene @ 2006-09-14 12:05 UTC (permalink / raw)
To: netfilter
Sherwyn Greene
Planner / I.T. Technician
Project Controls Dept.
Kentz-OJ's E&I Services J.V.
+1 (868) 648-0876
________________________________
From: Sietse van Zanen [mailto:sietse@wizdom.nu]
Sent: Thursday, September 14, 2006 8:01 AM
To: Sherwyn Greene
Subject: RE: iptables and Limewire
1. Yes, but not entirely. You can block all outgoing traffic execpt traffic
on port 80 or 443. This would allow for HTTP and HTTPS, but also for
connections to limewire users, that set their client to listen on port 80 or
443. That will not be many users, and they will only be reached with direct
connects, so doing this should get rid of 99.99% of the limewire traffic.
Your internal users will no longer be able to connnect to Limewire servers
directly. They might be able to exploit a public open proxy, that allows
CONNECT. Also not very likely.
2. iptables -P FORWARD DROP
iptables -A FORWARD -s your_internal_net -d 0/0 -p tcp --dports 80,443
-j ACCEPT
first rule sets the policy to DROP, second would then only allow http
traffic. Of course you have to do NAT to, when you use private address
range.
Downside of this, is that users will not be able to access web servers on
non-standard ports.
3. Don't think there's a limewire conntrack module, so if you want to do the
honourable, write it yourself. :-)
You might be able to use a L7 filter (l7filter.sourceforge.net). But like
said at point 1. It's probably overdone, as you can block 99.99% with
iptables alone.
Another strategy is to use a web proxy and block all internet traffic for
your internal users. This will stop absolutely 100% p2p traffic, but will
cost you considerably more resources and time to set up.
-Sietse
PS: As I am writing this mail from OWA, which only uses HTML, I can not send
it to the list, as it only accepts text. Could you be so kind to forward it
to the list?
________________________________
From: Sherwyn Greene
Sent: Thu 14-Sep-06 13:00
To: netfilter@lists.netfilter.org
Subject: iptables and Limewire
Hi, everyone
I have a problem on my network they are user using limewire p2p and
using up all or most of the bandwidth, so my question is:
1. Can I use iptables to block limewire from connecting, but allow web
browsing
2. if so, how to implement this
3. Is there a module or something like that for iptables that will give me
that abuilty to block them
Thank
Sherwyn Greene
Planner / I.T. Technician
Project Controls Dept.
Kentz-OJ's E&I Services J.V.
+1 (868) 648-0876
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: FW: iptables and Limewire
[not found] <20060914120734.287DF69464@smtp.sterenborg.info>
@ 2006-09-14 12:39 ` Rob Sterenborg
0 siblings, 0 replies; 4+ messages in thread
From: Rob Sterenborg @ 2006-09-14 12:39 UTC (permalink / raw)
To: netfilter
> 3. Don't think there's a limewire conntrack module, so if you want to do the
> honourable, write it yourself. :-) You might be able to use a L7 filter
> (l7filter.sourceforge.net). But like said at point 1. It's probably overdone,
> as you can block 99.99% with iptables alone.
There is an ipp2p module that can match Gnutella traffic and Limewire seems to
be similar. Maybe you can use it.
I think http://www.ipp2p.org/ has the latest downloads/docs.
Gr,
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: FW: iptables and Limewire
[not found] <200609141211.k8ECBuVu013734@darkstar.sysinfo.com>
@ 2006-09-28 3:38 ` R. DuFresne
2006-09-28 5:50 ` Rob Sterenborg
0 siblings, 1 reply; 4+ messages in thread
From: R. DuFresne @ 2006-09-28 3:38 UTC (permalink / raw)
To: Sherwyn Greene; +Cc: netfilter
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 14 Sep 2006, Sherwyn Greene wrote:
>
>
> Sherwyn Greene
> Planner / I.T. Technician
> Project Controls Dept.
> Kentz-OJ's E&I Services J.V.
> +1 (868) 648-0876
>
>
> ________________________________
>
> From: Sietse van Zanen [mailto:sietse@wizdom.nu]
> Sent: Thursday, September 14, 2006 8:01 AM
> To: Sherwyn Greene
> Subject: RE: iptables and Limewire
>
>
> 1. Yes, but not entirely. You can block all outgoing traffic execpt traffic
> on port 80 or 443. This would allow for HTTP and HTTPS, but also for
> connections to limewire users, that set their client to listen on port 80 or
> 443. That will not be many users, and they will only be reached with direct
> connects, so doing this should get rid of 99.99% of the limewire traffic.
> Your internal users will no longer be able to connnect to Limewire servers
> directly. They might be able to exploit a public open proxy, that allows
> CONNECT. Also not very likely.
Would it not be easier to route the limewire servers to 127.0.0.0?
You may have to keep track of what the current servers are but that would
elimiate making your network a virtual prison.
Thanks,
Ron DuFresne
- --
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin & senior security consultant: sysinfo.com
http://sysinfo.com
Key fingerprint = 9401 4B13 B918 164C 647A E838 B2DF AFCC 94B0 6629
...We waste time looking for the perfect lover
instead of creating the perfect love.
-Tom Robbins <Still Life With Woodpecker>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFG0PPst+vzJSwZikRAoo+AJ4+xSTJeiVKPgHHQ4DY7vJb7P5N1wCgmYSk
XROM8/4qn7oeV/di5BFDNSQ=
=b1Zt
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: FW: iptables and Limewire
2006-09-28 3:38 ` FW: iptables and Limewire R. DuFresne
@ 2006-09-28 5:50 ` Rob Sterenborg
0 siblings, 0 replies; 4+ messages in thread
From: Rob Sterenborg @ 2006-09-28 5:50 UTC (permalink / raw)
To: netfilter
> Would it not be easier to route the limewire servers to 127.0.0.0?
>
> You may have to keep track of what the current servers are
> but that would elimiate making your network a virtual prison.
Unless you can match p2p (http://www.ipp2p.org/) which, afaik, can match
most p2p traffic (Limewire uses Gnutella protocol).
Gr,
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-09-28 5:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200609141211.k8ECBuVu013734@darkstar.sysinfo.com>
2006-09-28 3:38 ` FW: iptables and Limewire R. DuFresne
2006-09-28 5:50 ` Rob Sterenborg
[not found] <20060914120734.287DF69464@smtp.sterenborg.info>
2006-09-14 12:39 ` Rob Sterenborg
2006-09-14 12:05 Sherwyn Greene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox