How to block P2P programs
How to block P2P programs
Salam...!
I want to know if anyone can help me limiting or totally blocking the trafic of P2P programs like KaZaa, Imesh, Winmx etc. I'm using fedora Core 3 as proxy server ( transperant ) with delay pools and every trafic from browser is in control. I'm also using masqurading. I have tried CBQ and HTB both they slow down the web traffic as well. anyone can help in it please. How to block these P2P programs or limit them
Thanks
wasim...!
I want to know if anyone can help me limiting or totally blocking the trafic of P2P programs like KaZaa, Imesh, Winmx etc. I'm using fedora Core 3 as proxy server ( transperant ) with delay pools and every trafic from browser is in control. I'm also using masqurading. I have tried CBQ and HTB both they slow down the web traffic as well. anyone can help in it please. How to block these P2P programs or limit them
Thanks
wasim...!
Its not working
salam..!
Kazaa use port 1214 which i have blocked with
iptables -A FORWARD -p TCP --dport 1214 -j REJECT
This wasn't working so the command you have given me
iptables -t nat -A PREROUTING -i eth0 --dport 1214 -j DROP
it says Unknown arg `--dport'
port blocking for Kazaa specially is not a solution, kazaa manage to connect through port 80
Kazaa use port 1214 which i have blocked with
iptables -A FORWARD -p TCP --dport 1214 -j REJECT
This wasn't working so the command you have given me
iptables -t nat -A PREROUTING -i eth0 --dport 1214 -j DROP
it says Unknown arg `--dport'
port blocking for Kazaa specially is not a solution, kazaa manage to connect through port 80
Re: How to block P2P programs
don't block them, just slow them down.
one packet per second.
Code: Select all
iptables -A FORWARD -p tcp --dport 1214 -m limit --limit 1/s
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Sun May 09, 2004 4:16 pm
- Location: Peshawar
- Contact:
Re: How to block P2P programs
nice more apropriate approachlambda wrote:don't block them, just slow them down.one packet per second.Code: Select all
iptables -A FORWARD -p tcp --dport 1214 -m limit --limit 1/s
M Shahzad Qadri
Re: How to block P2P programs
I don't get it, how is this approach more appropriate? The users won't complain or something like that?Qadri-409 wrote:nice more apropriate approachlambda wrote:don't block them, just slow them down.one packet per second.Code: Select all
iptables -A FORWARD -p tcp --dport 1214 -m limit --limit 1/s
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Sun May 09, 2004 4:16 pm
- Location: Peshawar
- Contact:
Re: How to block P2P programs
salam Dear fadianfadain wrote: I don't get it, how is this approach more appropriate? The users won't complain or something like that?
well people use kazaa for downloading mp3s and the stuff like that ..and use more bandwidth ..if you block kazaa or other p2p they will come with complain like "CONNECT NAHEE HO RAHA" so allowing them a slow connection on these p2p ports is okay rather blocking them
take care
M Shahzad Qadri
salam..!
Qadri bhai baat to app ki theek. i also donot want to block but if the block is only solution so i have to. I will try the command of iptables i m giving by you experts to slow down the traffic. Squid delay pools already working well with downloading and web traffic just P2P programs creating problem like kazaa " you block the port it use another one " anyway hope you all experts will co-operate with me and yes " you'll be all in my special prays "
wa salam
wasim..!
Qadri bhai baat to app ki theek. i also donot want to block but if the block is only solution so i have to. I will try the command of iptables i m giving by you experts to slow down the traffic. Squid delay pools already working well with downloading and web traffic just P2P programs creating problem like kazaa " you block the port it use another one " anyway hope you all experts will co-operate with me and yes " you'll be all in my special prays "
wa salam
wasim..!
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear wazim4_u,
Salam,
FYI, http://www.linuxpakistan.net/forum2x/vi ... php?t=2322
Best Regards.
Salam,
Use Squid with delay_poolswazim4_u wrote:Qadri bhai baat to app ki theek. i also donot want to block but if the block is only solution so i have to. I will try the command of iptables i m giving by you experts to slow down the traffic. Squid delay pools already working well with downloading and web traffic just P2P programs creating problem like kazaa " you block the port it use another one " anyway hope you all experts will co-operate with me and yes " you'll be all in my special prays "
FYI, http://www.linuxpakistan.net/forum2x/vi ... php?t=2322
Best Regards.
Farrukh Ahmed
salam..!
The given command for limiting kazaa isn't working because we limited one port but cannot can connect through many ports even port 80 so what else i have to do to limit it ? this is the command i used
iptables -A FORWARD -p tcp --dport 1214 -m limit --limit 1/s
I tried cbq.init script it slow down kazaa but it also slow down the browsing which i donot want any thing else to do ?
The given command for limiting kazaa isn't working because we limited one port but cannot can connect through many ports even port 80 so what else i have to do to limit it ? this is the command i used
iptables -A FORWARD -p tcp --dport 1214 -m limit --limit 1/s
I tried cbq.init script it slow down kazaa but it also slow down the browsing which i donot want any thing else to do ?
how to delay pool in squid
salam,
h ru, main ap say ya phochna chahta ho kay squid main delay pool kis tarah lagatay hay , tahkay hum bandwidtch control ker sakay. mugay step by step configuration please bata day,
im very thankfull to u
Allah hafiz
h ru, main ap say ya phochna chahta ho kay squid main delay pool kis tarah lagatay hay , tahkay hum bandwidtch control ker sakay. mugay step by step configuration please bata day,
im very thankfull to u
Allah hafiz
-
- Naib Subedar
- Posts: 315
- Joined: Mon Jun 30, 2003 11:07 am
- Location: Lahore, Pakistan
- Contact:
Re: how to delay pool in squid
http://www.linuxpakistan.net/wiki/index ... NewUser%22feelmeone wrote:salam,
h ru, main ap say ya phochna chahta ho kay squid main delay pool kis tarah lagatay hay , tahkay hum bandwidtch control ker sakay. mugay step by step configuration please bata day,
im very thankfull to u
Allah hafiz
Aqeel Zafar