On 2004-02-22, Ernie Sams <(E-Mail Removed)> wrote:
> On Sun, 22 Feb 2004 15:43:17 -0500, Simon Koh wrote:
>
> Of course, Kazaa is now considerably more port-agile, Yahoo can use port
> 80, and in general users can squirm through any blockade with the modern
> softwares available today.
>
> Install and learn how to use TCPDUMP
>
however tcpdump (or better still ethereal[1]) will not help you block things,
only decide on which ports to block and so on. If you are worried about
MSN/Yahoo and so on, probably easier still to block no the local port but the
remote IP block; use 'whois' and 'dig' to work out which IP blocks MSN/Yahoo
go and try to connect to and block those; alternatively look for the DNS
lookup they do and tweak your caching DNS server to return 127.0.0.1 instead.
There are other ways to block people other than by port.
A better approach to limiting P2P traffic is IPP2P[1], this will identify P2P
packets and then if all you want to do is block them you do so; if you want
to be fancy and make the best use of your bandwidth play with Quality of
Service (QoS)[3] and use the CONNMARK filter to put all P2P traffic in a low
priority band so it does not affect more important traffic.
have fun
Alex
[1]
http://www.ethereal.com/
[2]
http://rnvs.informatik.uni-leipzig.d.../index_en.html
[3]
http://www.lartc.org/