Displaying 20 results from an estimated 5000 matches similar to: "Classes do not receive any traffic ?"
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
2006 Sep 21
0
layer7 http
hello,
I try to use layer7 filter to classify packets. I have a proble with http match. This protocol seems to work well with l7-filter (http://l7-filter.sourceforge.net/protocols) but for me nothing is filtering in http class. Someone can help me ?
Here is my script :
#!/bin/bash
IPT_BIN=/sbin/iptables
TC_BIN=/sbin/tc
INTER_OUT=ppp0
LINK_RATE_UP=1000Kbit
RATE_ACK=200Kbit
RATE_DEFAULT=100Kbit
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
2006 Nov 12
1
Script for get bandwidth statistic from iptable
i search a lot forum how to get bandwidth statistic such number of packet, total byte in each application protocol by using IPTABLES + netfilter-layer7
but i don''t know which script for getting it in log file and use data after get it for plotting graph later
my IPTABLES command like this
iptables -t mangle -N all
iptables -t mangle -A POSTROUTING -j all
iptables -t mangle -A
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
2005 Dec 22
5
control p2p upload bandwidth rate
Hi all,
I am running Slackware 10.1 with Kernel 2.6.14.3 includes iptables 1.3.4
with layer 7
My network diagram below: -
INTERNET --- LINUX_ROUTER_FW --- PCs
Below is my simple iptables script: -
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t mangle -A POSTROUTING -m layer7 --l7proto applejuice -j MARK
--set-mark 1
iptables -t
2006 Dec 14
0
Re: [RESOLVED] Layer7 module doesn''t detect nothing on my bridge with a 2.6.18.3 kernel
Hello,
loading conntrack resolve my problem ...
layer 7 have got a dependency with conntrack but doesn''t load it
automaticaly...
so module is loaded but no packets match with l7-protocols ...
reported as a bug
http://sourceforge.net/tracker/index.php?func=detail&aid=1596065&group_id=80085&atid=558668
regards
ArcosCom Linux User a écrit :
> With:
>
2004 Oct 23
0
iptables and layer7
Hello!
I want to mark all outgoing traffic depending on its service.
Example:
eth0 = 192.168.0.1 (local interface)
ppp0 = 80.10.10.10 (internet 1)
ppp1 = 80.10.10.11 (internet 2)
http traffic over internet 1 (ppp0) ssh traffic to interface 2 (ppp1).
I tried the following (routing and rules are set):
iptables -A PREROUTING -t mangle -s 192.168.0.0/24 -p tcp --dport 80 -j MARK
--set-mark 1
2005 Jul 07
1
HELP PLEASE BITTORRENT SHAPING (HTB)
Ok, earlier I post a message explaining my problem with HTB and layer7 (or
ipp2p), about not being able to shape the traffic. Well, actually this is
what''s happening, I''m marking the packets (right now, I''m using ipp2p as
Klaus adviced me to) with iptables, and my queue rules are made using tcng,
I''m using the HTB qdisc, and traffic is going to the HTB class
2006 Jan 12
1
Qos and bandwidth control
hi everybody.
im trying to set up an QoS config, using layer7
(http://l7-filter.sourceforge.net/) for protocol detection.
im suposing 3 clients with this configuration:
3 clients: 1.2.3.1 , 1.2.3.2 , 1.2.3.3
1.2.3.1 has 256kbit bandwidth "guaranteed"
clients 1.2.3.2 and 1.2.3.3 has 256kbit bandwith
so im marking every packet using layer7 iptables module, classifying them in
three
2004 May 09
0
problem with 2 Mbit egress rate
i''m trying to limit my egress bandwidth over 2 interfaces (eth1 and eth2) to
2 Mbit
my script is something like this:
tc=/sbin/ip
ipt=/sbin/iptables
$tc class add dev imq0 parent 2: classid 2:4 htb rate 1845Kbit quantum 3000
$tc filter add dev imq0 parent 2: protocol ip handle 4 fw classid 2:4
$tc class add dev imq0 parent 2:4 classid 2:40 htb rate 0.5Mbit quantum 3000
prio 5
$tc qdisc
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 Sep 23
0
Giants on IMQ0
Why am I getting giants on imq0?
How do I stop that?
==========
imq0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:39880312 errors:0 dropped:0 overruns:0 frame:0
TX packets:39878715 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1024
RX
2005 Aug 02
0
iptables -m layer7 - doesn''t work
I''ve compiled my kernel (2.6.12.3) and iptables (1.3.3) and now -m
layer7 option from iptables works (i don''t get any error when run the
iptables command with -m layer7).
The problem is that no packet is matched. For example iptables -A INPUT
-p tcp -m layer7 --l7proto http -j ACCEPT doesn''t match http packets.
The same for dns and ssh.
So, what am I doing wrong? Is this
2006 Dec 12
1
Layer7 module doesn''t detect nothing on my bridge with a 2.6.18.3 kernel
Hello
I''ve setuped a QOS bridge under debian 3.1 using 2.6.18.3 kernel +
iptables 1.3.6
I''ve patched the kernel an Iptables with esfq+layer7 without problems.
This simple script doesn''t log nothing ... And I''m sure to have eMule
traffic (I''ve checked with tcpdump )
If I remove " -m layer7 --l7proto edonkey \" line I can see
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all,
I am trying to configure a linux box to make some QoS into my
netowork and, at the same box, control my clients bandwidth. I have this
classes created:
----------------------------------------------------------------
UP="eth0" # wan infocontabil
DL01="eth2" # lan clientes
$TC qdisc del dev $DL01 root 2> /dev/null >
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
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
2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
Hello,
I have a serious problem with HTB which I wasn''t able to solve myself.
I run a masquerading router with ppp0 as interface to the Internet.
Three clients need to share a downstream of 1 MBit, which I want
to divide with tc.
When I see a packet being forwarded to one of these clients, I give
it the appropriate unique mark:
iptables -t mangle -A FORWARD -d 192.168.34.141 -j MARK
2002 Jul 12
1
IMQ crash dump
Hi
I try setup imq pseudo device for shaping
I''m work such script
#!/bin/sh
TC=/sbin/tc
/sbin/modprobe imq numdevs=1
/sbin/ip link set imq0 up
$TC qdisc add dev imq0 handle 1: root htb default 1
$TC class add dev imq0 parent 1: classid 1:1 htb rate 10mbit
# client1 tunnel tunnel
$TC class add dev imq0 parent 1: classid 1:2 htb rate 256kbit
$TC filter add dev imq0 protocol ip parent 1:0