Re: [LARTC] deleting tc rules

2005-04-21 Thread Taylor Grant
Martin, did you mean to say that when you delete handle 104: (tc filter del dev eth0 parent 2:22 handle 104: protocol ip prio 5 u32 divisor 256) you loose all your shaping for 10.0.0.28/30 as well? B/c from what you have written ...Here there is no error but all filter rules is deleted also

[LARTC] A general view of the TC

2005-04-21 Thread Marius Corici
Is there any library that i can hook on at runtime in order to create a qdisc dinamically from a program or if i want to do this I have to call the tc command? The disadvantage of calling the tc command from a process is that it creates an other process and this slows things up. Marius

[LARTC] Re: A question.

2005-04-21 Thread Rene Casasola
Answers... 1)Can we get a simple layout of your network? WAN-(Red eth1)SMOOTHWALL(Green th0)- Network: 192.168.1.0/24, Gateway: 192.168.1.250, Broadcast: 192.168.1.255 2) Are you wanting to set a bandwidth limit on how much traffic each individual computer in your network can send out to the

Re: [LARTC] tc filter - based on iptables - MAC - MARK not working - altough marking on ip src, dst address works

2005-04-21 Thread Andy Furniss
Daniel Dafoe wrote: --- Andy Furniss [EMAIL PROTECTED] wrote: Thanks for your input: modified DEV=eth0 indeed was a typo -- but still no luck with shaping iptables -L -vnt mangle Chain PREROUTING (policy ACCEPT 5172K packets, 2786M bytes) pkts bytes target prot opt in out source

Re: AW: AW: AW: [LARTC] Activate ingress policies on suse enterprise serv er 9

2005-04-21 Thread Andy Furniss
Grames Gernot wrote: Hi, My problem is following now: I would like to set the filters for port 8099. I have tried it, but nothing happened. When I try the same filter for the port 8080 it is working very well. .) working filter (here I can see the dropped packages): tc filter add dev eth0

[LARTC] Viral activitiy coming from an IP in your network.

2005-04-21 Thread Taylor, Grant
Hi, my name is Grant Taylor. I am a subscriber to the LARTC mail list [EMAIL PROTECTED] The LARTC mail lists has been plagued with viral email coming from changing IPs in your one of your subnets. Based on the fact that the WhoIs information below says that the subnet in question is a dial

Re: [SPAM] AW: AW: AW: [LARTC] Activate ingress policies on suse enterprise serv er 9

2005-04-21 Thread Andy Furniss
Taylor, Grant wrote: Keep in mind that TC only controls traffic that is outbound from a system. Not totally true - you can't have HTB etc shapers without IMQ/Dummy but you can police traffic (and policers can be quite complicated) on ingress. Andy.

Re: [LARTC] Strange pings.

2005-04-21 Thread Andy Furniss
[EMAIL PROTECTED] wrote: 64 bytes from 192.168.1.1: icmp_seq=95 ttl=64 time=89.0 ms Which is about 2 packets @ 256kbit. I tested and got the same behaviour with a simple setup, but max ping about 45 because htb dequeues in pairs by default. If you change #define hysteresis from 1 to 0 in

Re: [LARTC] HTB stalling

2005-04-21 Thread Andy Furniss
Krystian Antoni wrote: Connection is 256kbit/2mbit, but the down interface is used for SMB also so its shaped from 100mbits. The interfaces are both ethernet. Number of rules in Iptables is around 300, and I have a new kernel (from kernel org) and new iptables. Number of qdisc/class per

Re: [LARTC] A general view of the TC

2005-04-21 Thread gypsy
Marius Corici wrote: Is there any library that i can hook on at runtime in order to create a qdisc dinamically from a program or if i want to do this I have to call the tc command? The disadvantage of calling the tc command from a process is that it creates an other process and this slows

Re: [LARTC] HTB stalling

2005-04-21 Thread hareram
Hi all iam also facing the same problem what Mr Antoni have even i have done many kind of experment, but i could not resolve is this bug in FC3, but when i does the FC1 its working fine I found difference from FC1 to FC3 is FC1 iptables 1.2.8 HTB 3.12 FC3 iptable 1.2.11 htb 3.16 can