Displaying 20 results from an estimated 2000 matches similar to: "Filter problem"
2005 Oct 01
2
imq + htb
Hi, i am running imq + htb on my router , the situation is like this
eth0 = uplink to my provider
eth1 = 1st customer
eth2 = 2nd customer
eth3 = 3th customer
eth0 has limit 512 and i want to share this between eth1 eth2 and eth3 ,
but not working , this is the script i used,
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#!/bin/sh
2005 Jan 31
3
why there is any traffic in default class?
I have:
tc qdisc add dev imq0 root handle 1: htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit
tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit
then:
iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0
tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit
tc filter add dev imq0 protocol
2005 Apr 19
5
Strange pings.
Hi.
The configuration script is at the bottom.
My configuration looks similar to this:
imq0
|
1:1 (12mbit)
|
1:2 (10mbit)
|
3:0
|
3:1 (256kbit)
/ \
3:2 3:3
icmp (rest)
both 3:2 and 3:3 have rate 1kbit ceil 256kbit
Icmp bucklet have priority 1 (better), "rest" bucklet have prio 2 (worse)
I tested the script with heavy download
2004 Nov 19
2
HTB&IMQ
i''m trying to limit upload and download but something is wrong(it is about NAT)
i will post here my "script" maybe someone could tell me what is wrong
my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also
#flush
tc qdisc del dev eth0 root
tc qdisc del dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
2003 Mar 24
1
IMQ
Hello
I have a server with a dsl connection on eth1 and local interface eth0.
Because of the NAT i cannot direct traffic to IMQ device in PREROUTING chain
but have to use INPUT and FORWARD. So i use rules.
iptables -t mangle -A INPUT -i eth1 -j IMQ --todev 0
iptables -t mangle -A FORWARD -i eth1 -j IMQ --todev 0
And now the strange thing: FORWARD traffic gets directed nicely to the IMQ,
but
2006 Feb 02
1
marking and limiting P2P packets
Hello, I am trying to shape p2p trafik to 256kbps on my dsl line. I wrote
this set of commands:
DEV=eth2
ip link set imq0 up
tc qdisc add dev imq0 root handle 1:0 htb default 21 r2q 2
tc class add dev imq0 parent 1:0 classid 1:1 htb rate 530kbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 530kbit ceil 530kbit
prio 0
tc class add dev imq0 parent 1:1 classid 1:21 htb rate 64kbit
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
Hello,
I''m trying to get my shaper to work, but have only a partial success.
Can someone help me with that. My setup unfortunately is not so trivial,
but I think some people could have similar one...
1. There is a router connected to the internet line via interface eth0
2. There are users connected to the router via two interfaces : eth1 and
wlan0
3. All users are assigned private IP
2002 Dec 09
3
HTB problems
Hello,
I have HTB on IMQ device. My rate does not work as I configured. I
configured 1920kbit/s and I can download only about 290kbit/s (while it
should be the whole bandwidth).
My script:
/sbin/modprobe imq numdevs=1
/usr/local/sbin/tc qdisc del dev imq0 root 2> /dev/null > /dev/null
/usr/local/sbin/tc qdisc del dev imq0 ingress 2> /dev/null > /dev/null
/sbin/ifconfig imq0 down
2004 Aug 24
1
IMQ on 2.6.x + iptraf = problem
2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
Dear All
I am trying a very simple set up: (a bit long message follows)
#Flush previous definitions
$TC qdisc del dev $VVNET root >&/dev/null
$TC qdisc del dev $INTERNET root >&/dev/null
$IPT -t mangle -D PREROUTING -i $INTERNET -d 200.231.56.0/24 -j IMQ --todev 0
# Mothers off all disciplines
$TC qdisc add dev $VVNET root handle 1: htb default FFFF r2q 1
$TC qdisc add dev
2007 May 01
1
Re: LARTC Digest, Vol 26, Issue 25
Hey Andreas, how i catch this traffic using L7 filter?, i´ve installed l7
filter now, but i don´t kwnow to use the kind of filter...!!!
Can you help me?
Thx.-
Terraja-based
2007/4/29, lartc-request@mailman.ds9a.nl <lartc-request@mailman.ds9a.nl>:
>
> Send LARTC mailing list submissions to
> lartc@mailman.ds9a.nl
>
> To subscribe or unsubscribe via the World
2007 Apr 26
1
HTB+SFQ
Hi folks,
I`ve a problem to use HTB and SFQ.
The first script, below, to show a simple configuration, does work
fine...!!!
But, in the second example, does not work, becouse i put more code to
clasify the traffic by protocol, http and ftp in this case.
Somebody can tell me the errors?
Thx, in advance.-
NOTICE: IMQ device is to asociate with ETH1 my external iface.
SCRIPT que funciona:
2006 Feb 21
0
Best internet traffic shaping for small lan
I''m admin of 50 clients. Sometimes I upgrading my internet traffic
shaping script. I think rules of inetrnet traffic
shaping is very important thing! I would like to ask some help from
people, who understand something about
SQUID ZPH and TC, to aim beter internet traffic shaping scripts.
Squid has ZPH suport, becouse its responds to such commands as:
zph_tos_local 8
zph_tos_peer 0
2004 May 03
2
Minor Bug Report ?
Hi everyone !
I just wanna say that I can't configure Samba 3.0.3 to compile with LDAP
Support
( --with-ldap )
Here's the log :
checking for LDAP support... yes
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
checking lber.h usability... no
checking lber.h presence... no
checking for lber.h... no
configure: error: ldap.h is needed for LDAP
2004 Apr 04
2
IMQ & NAT
Hi all, my IMQ device works OK (thanks to Andy Furniss), but now I''ve
problems to attach the traffic in the qdisc''s. This is my conf:
-----------------------------------------------------------------------
INET
|
|eth0 300Kbps
ROUTER (NAT)
|eth1
|
LAN
-----------------------------------------------------------------------
MAX=300
tc qdisc add dev imq0 root handle 1: htb
2002 Nov 12
1
pb with imq
hi stef
oone more pb while shaping incoming traffic with imq .this one
tc qdisc add dev imq0 root handle 1: htb default 20
tc class add dev imq0 parent 1: classid 1:1 htb rate 2mbit burst 15k
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 1mbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 1mbit
tc qdisc add dev imq0 parent 1:10 handle 10: pfifo
tc qdisc add dev imq0 parent
2002 Aug 07
11
pb with ingress policy
Hi !
I have a single host which is connected via an 512kbit ADSL link to the n=
et. I quite often use some realaudio application that uses some bandwidth =
and I want to avoid other traffic to scale that bandwidth down. So I used =
some classes (with htb) on imq0 device and applied some filters and it see=
ms to work in most cases. However, there are some sites with which downloa=
d is
2007 Apr 28
2
Re: LARTC Digest, Vol 26, Issue 24
Alejandro,
So, i did try the script that you give to me, and the problems its
continues.-
Maybe the problem was in the IPTABLES rules, i attach the complete script
below:
#####################
ifconfig imq0 up
tc qdisc add dev imq0 handle 1: root htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 500kbit ceil 2000kbit
tc class add dev imq0 parent 1:1 classid 1:10 htb rate
2005 Jun 17
1
IMQ + HTB + little script problem
I want to shape the incoming traffic ( download ) "but using only
fwmark", i know there are other methods, but i want to use this one
particularly...
So, first i create DOWNLOAD and mark with 20 all the traffic with
destination 10.0.0.3 ( eth1 ) incoming from my internet device ( eth0 ).
#$IPTABLES -t mangle -N DOWNLOAD
#$IPTABLES -t mangle -I PREROUTING -i eth0 -j DOWNLOAD
2004 May 27
3
Any ideas ?
Hints or check lists for that type or error ?
[2004/05/27 14:11:06.627563, 10, pid=23616]
libads/kerberos_verify.c:ads_verify_ticket(185)
ads_verify_ticket: enc type [1] failed to decrypt with error Bad
encryption type
[2004/05/27 14:11:06.627589, 10, pid=23616]
passdb/secrets.c:secrets_named_mutex_release(716)
secrets_named_mutex: released mutex for replay cache mutex
[2004/05/27