PDA

Bekijk de volledige versie : Block BT Download



Dreamhacker
14-06-2006, 20:14
I want to setup a firewall so i am alboe to block the BT coming in or Out, Got Wl500B, Wl500G and Wl500G Deluxe,

clients are using Utorrent, Bitcomet, Azureus, Bitlord

I would like to get some help on this, can any one tell me, what port should i be blocking as clients use random ports
:confused:

macsat
14-06-2006, 20:50
You should probably look for some QoS scripts that uses L7 filters, and use thoose filters to block the BT Traffic.

yeager
01-08-2006, 11:32
And where can i find it

yeager
02-08-2006, 19:25
Anybody have skill with install Layer 7 on asus wl500? I research the all net but witout success. Is possible install Layer 7 on asus?

oleo
02-08-2006, 23:17
the simplest way is to block access to trackers with editing /etc/hosts on router and adding

127.0.0.1 some.tracker.com
127.0.0.1 another.tracker.com

This works if router is DNS.

yeager
03-08-2006, 18:34
good thing, but wath to do when i would block from 7:00 to 23:00 hours

oleo
04-08-2006, 12:06
use cron for dns swapping and use
killall -HUP dnsmasq

yeager
04-08-2006, 17:31
i have not find any "tracer.com", can you help me

yeager
04-08-2006, 20:46
i have fount this http://wiki.openwrt.org/MiniHowtos/QoSHowto?highlight=%28qos%29#head-b865aa71f6fb5a23525e9f5b8d67618480c06fb3, but this is for openwrt, and i use olegs firmware. can i use this?

oleo
06-08-2006, 09:26
yes. Use post-firewall script and look how to setup flashfs filesystem on http://wl500g.dyndns.org

yeager
06-08-2006, 20:11
i think is not so easy. openwrt heve patched kernel and layer7 filter installed, and when you have this all then you can modifi the post-firewall. without this is unnecessary remake it. can anyone modify this all for working on olegs firmware

yeager
10-08-2006, 19:05
i cannot change the /etc/hosts. when i change it, and then reboot the system my settings will be lost. pleas help.

macsat
11-08-2006, 08:08
For OpenWrt there are QoS scripts that uses Layer 7. Theese can be used for blocking traffic as well.



Anybody have skill with install Layer 7 on asus wl500? I research the all net but witout success. Is possible install Layer 7 on asus?

oleo
11-08-2006, 11:47
i cannot change the /etc/hosts. when i change it, and then reboot the system my settings will be lost. pleas help.


echo "/etc/hosts" >> /usr/local/.files
flashfs save
flashfs commit

yeager
11-08-2006, 15:48
For OpenWrt there are QoS scripts that uses Layer 7. Theese can be used for blocking traffic as well.

but i use olegs firmware, this script works only under opewrt?

yeager
11-08-2006, 17:59
thx oleo, it worx now

yeager
16-08-2006, 17:25
why is that, when i say anything from Layer7 the thread is closed, otherwise i recive nothing. nobody have skill with this on olegs firmware, or not exist layer7 filter to olegs firmware, or he will not answer

Styno
16-08-2006, 17:32
why is that, when i say anything from Layer7 the thread is closed, otherwise i recive nothing. nobody have skill with this on olegs firmware, or not exist layer7 filter to olegs firmware, or he will not answer

Huh? What is your problem? I do not quite understand what you're trying to say here....

Afaik, we haven't closed any thread/topic from you about layer7...

yeager
16-08-2006, 18:45
Huh? What is your problem? I do not quite understand what you're trying to say here....

Afaik, we haven't closed any thread/topic from you about layer7...

:)
sorry i dont think "closed" is realy closed,
i say, after i write anything from Layer7 dont recive any answer

Styno
17-08-2006, 08:24
:)
sorry i dont think "closed" is realy closed,
i say, after i write anything from Layer7 dont recive any answer

Perhaps because you allready said: 'thx oleo, it worx now' ;)

yeager
17-08-2006, 11:06
styno firs read oleos topic, we are talking about site blocking via /etc/hosts and not from Layer7 filter

yeager
21-08-2006, 09:05
pleas i need a simply yes or no

For OpenWrt there are QoS scripts that uses Layer 7. Theese can be used for blocking traffic as well.
but i use olegs firmware, this script works only under opewrt?

Styno
21-08-2006, 11:58
OpenWRT uses OLSR (http://www.olsr.org) afaik for QoS and shaping traffic. Oleg's firmware comes with WonderShaper.

Don't know if WonderShaper (http://wl500g.info/showthread.php?t=752)is capable of Level7 filtering, which OLSR can do aparently....

If you need OLSR then I suggest you download the source and compile it for WL-500g (or try to retreive it from a OpenWRT repository).

yeager
21-08-2006, 14:54
here is an ipkg package for OpenWrt bringing QoS based on Layer7 :
http://downloads.openwrt.org/people/nbd/qos/qos-scripts_0.9.1-1_mipsel.ipk
but how can i install it

Styno
21-08-2006, 15:17
here is an ipkg package for OpenWrt bringing QoS based on Layer7 :
http://downloads.openwrt.org/people/nbd/qos/qos-scripts_0.9.1-1_mipsel.ipk
but how can i install it
Get a precompiled version of OLSR for the WL-500g here (http://wl500g.info/showthread.php?t=2196) or here (http://wiki.wl500g.info/index.php/PrecompiledBinaries)

To add a ipkg repository to your config, take a look at this post (http://wl500g.info/showpost.php?p=12419&postcount=1).

Don't know if you can run binaries compiled for OpenWRT on Oleg's firmware without any problems... Guess you'll just have to try.

yeager
21-08-2006, 18:41
ok, but i have one problem, i manage 40 users with asus. when i begin traying other firmwares, or tray anything wath not work properly, is possible that i lost my connection. sorry but i can not permit this. therefore i need 100% functioning solutions.