similar to: fw and u32 together...

Displaying 20 results from an estimated 7000 matches similar to: "fw and u32 together..."

2005 Nov 25
7
tcpdump not working with imq0 devices
On my debian woody (kernel 2.4.31) the tcpdump doesn''t work with imq0 devices. If I try to tcpdump imq devices there is no packet seen: [...] rt1:~# tcpdump -n -i imq0 Warning: arptype 65535 not supported by libpcap - falling back to cooked socket tcpdump: WARNING: imq0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on
2002 Sep 20
2
u32 filter question
Hi guys I have a config as follows for one of my networks. I want to give the xxx.xxx.xxx.xxx/xx network 64kbit for everything from the internet but 8000kbit from our internal servers on yyy.yyy.yyy.yyy/yy network. It does not work. I only want to use u32 filters. I think what's happening is the first flowid of 1:21 is catching them and not getting to the 1:40 flowid. Is this right? The box
2003 Nov 23
4
u32 filter won''t match
Hi! I really need help with a u32 filter that won''t match what I think I''m telling it to. The situation is that I have set up an internal computer to change the TOS value of packets sent by certain processes to 0x1E (If anyone known of a better way to mark packets, please tell me. I would love to find some module that adds an IP option with UIDs and GIDs to the packets - does
2006 Apr 07
9
u32 and iptables do not work together
Hello all, I am trying to make a filter into my QoS rules and I founded that when I try to use filters u32 and with fwmark they do not work together. This is the filter I use, just and example, for u32: $TC filter add dev $DL parent 1:0 protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:10 This is working fine. Now if I try to mark a package that I want it to go to the same
2002 Nov 21
3
Problem with flowid filter example from howto
For simplicity, I tried this: tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10 tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10 tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10 tc filter add dev eth0 protocol ip parent 1: prio 2 flowid 1:1 The last line prints: Unknown filter "flowid", hence option "1:1"
2003 May 29
1
u32 filter and NAT
I want to limit each user in my network to have limited bandwidth (let''s say 256/128 kbit). I use NAT (done with iptables). Can I limit users on the outgoing interface using u32 using rules like: tc filter add dev eth0 parent 1: protocol ip prio 17 u32 match ip src 10.10.10.10 flowid 1:10 It seem I made a mistake somewhere or NAT is done before routing and I must use iptables
2003 Dec 03
12
$100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!
To stress the urgency and importance of my questions, I am willing to pay $100 to the first person that can provide me with the scripts/ rules that will work in my SnapGear firewalls that will solve the problems I am having. Please see the following post: Linux QOS and prioritization of real-time data (RTP/VoIP) Thank you!
2003 Jun 12
11
htb problem
Hi, I have some interesting problem with htb , I set up root class and sub-classess: $TC qdisc add dev eth0 root handle 1: htb $TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit $TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit $TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil 1600kbit $TC class add dev eth0 parent 1:1
2003 Oct 16
5
tc filter problem with 2.4.22
Hi, I have a problem with ''tc filter'' on a 2.4.22 kernel from Slackware 9.1 distribution. The tc command binary is from htb3.6-020525.tgz (http://luxik.cdi.cz/~devik/qos/htb) I''m trying the following command sequence: tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1 tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil 1200kbit tc class add dev
2004 Oct 21
2
how to read the stats
Hi I have setup iproute2 and need a bit of help reading the stats from it ===== output qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17 Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572 requeues 0) backlog 46p qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0) qdisc sfq
2005 Jan 06
3
tc and ntop inconsistent data flow
Dear List, Sorry for the dublicated email but I couldn''t get any answer. I am trying to limit some IP blocs with tc with following three step. # interface tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 256kbit # class tc class add dev eth0 parent 1: classid 1:1 cbq rate 64kbit \ allot 1500 prio 5 bounded isolated # rules # download tc filter add dev eth0 parent 1:
2003 Jun 16
7
htb & bandwidth sharing
Hi everybody! I''ve been trying with htb and tc filter. It seemed to work fine, but after testing with ethloop I''ve realized that traffic is not being distributed through the leaves as I thought. When sending packets to 1:10 and 1:11 at the same time, there''s no bandwidth sharing. There''s no traffic through 1:11 until traffic through 1:10 has finished. Though
2003 Apr 03
6
tc problem
Hello.. I have a linux box and I want to make priority on traffic generated by my LAN''s computers.. I don''t have a guaranted bandwidth, so I wanna use sfq... I want to make traffic to port 80 , 443 , 25 & 110 PRIORITY 1 Traffic src or dest 192.168.0.2 to make priority 2 And the rest to put it in proiority 3.. I did the following : tc qdisc add dev eth0 root handle 1:
2002 Dec 07
4
Why my script doesn''t work ???
Hi All, I''m using iptables-1.2.7a on RedHat8 kernel 2.4.20. I wanted to limit the file-sharing traffic to the internet. I marked the packets with iptables: iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d ! 192.168.1.1/24 --dport 1024:1862 -j MARK --set-mark 1 iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d ! 192.168.1.1/24 --dport 1864:65535 -j MARK --set-mark 1
2003 Feb 13
1
prio qdisc problem
Hello there, I''m trying to do some prio qdisc, but it doesn''t seem to work. Can anybody tell me why ??? here is my simple prio qdisc script: OPTIONS="bandwidth 100mbit allot 1514 maxburst 20 prio 3 avpkt 1000" IPTABLES="/usr/local/bin/iptables.static" INTERNAL=eth0 EXTERNAL=eth1 tc qdisc del dev eth0 root 2>/dev/null tc qdisc add dev eth0 root handle
2002 Dec 03
4
Multiple classes
I''m trying to implement something similar the the diagram in section 9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :( I''m trying to hack up wondershaper, as it looked like a good place to start.. Here''s where I currently at, but I''ve tried alot of different things, all failing, some worse than others. The end result is to throttle back 126
2004 May 05
1
Limit filters
it is posible to do more than 2048 filter rules and classes like this: /sbin/tc class add dev eth1 parent 1:15 classid 1:101 htb rate 1kbit ceil 6128kbit prio 1 quantum 1500 /sbin/tc filter add dev eth1 protocol ip pref 0 parent 1: u32 match ip dst 10.10.24.17 flowid 1:101 /sbin/tc qdisc add dev eth1 parent 1:101 handle 101: sfq /sbin/tc class add dev eth1
2004 Jan 23
2
htbinit and redhat-9.0
dear All, I'm a new student and my job is too shapping bandwith for our campus faculty network. I want to implement htb with Redhat-9.0 distro. does this distro kernel support htb and tc good ? or i should apply some patch or upgrade kernel ? regards reza
2002 Sep 01
3
htb ,essage in messages file !
hi all, i saw this message today & am reporting it(as it says) [root@cab1 surfNet]# tail -f /var/log/messages Sep 1 04:02:03 cab1 syslogd 1.4.1: restart. Sep 1 09:35:27 cab1 kernel: HTB: mindelay=500, report it please ! [root@cab1 root]# iptables -V iptables v1.2.6a [root@cab1 root]# tc -V tc utility, iproute2-ss020116 [root@cab1 root]# uname -a Linux cab1 2.4.19-r #2 Sun Aug 25 01:49:24
2001 Dec 24
11
Traffic balancing by IP.
Hello all! As far as I know that the traffic that will pass thru the router is balanced so that all connections have the same privilegies. Is it possible to configure the linux based router so that all computers will have the same privilegies? I mean that if in default case full traffic is splitted by connections, so I need to split it by users to prevent one user occupy all traffic by starting