[LARTC] tc C/C++ API

2003-09-11 Thread Σταμάτης Κεκές
I plan to write a KDE frontend for the traffic control and for iproute2. Is there anyt c/c++ API that I can use instead of executing shell commands ? ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http:

RE: [LARTC] REJECTing: How and When to use What type of reply.

2003-09-11 Thread Mike Mestnik
--- Daniel Chemko <[EMAIL PROTECTED]> wrote: > # Original Message: > > For this thread I'd like to FOCUS on rejecting bad traffic and not on > dropping. The first case I'd like to discuss is where all but a handful > of public web sites are allowed for ought going connections. A

Re: [LARTC] REJECTing: How and When to use What type of reply.

2003-09-11 Thread Steve Wright
On Fri, 2003-09-12 at 09:04, Mike Mestnik wrote: > Here is the big deal. A web page like www.nasdaq.com is considered valid, so > traffic to it's IP > 208.249.117.71 is ACCEPTed. However this site pulles content from an unknown group > of other > sites, unfortunately not ACCEPTed. I think 'p

RE: [LARTC] REJECTing: How and When to use What type of reply.

2003-09-11 Thread Daniel Chemko
# Original Message: For this thread I'd like to FOCUS on rejecting bad traffic and not on dropping. The first case I'd like to discuss is where all but a handful of public web sites are allowed for ought going connections. A typical NAT setup is used where all the users sit behin

[LARTC] REJECTing: How and When to use What type of reply.

2003-09-11 Thread Mike Mestnik
For this thread I'd like to FOCUS on rejecting bad traffic and not on dropping. The first case I'd like to discuss is where all but a handful of public web sites are allowed for ought going connections. A typical NAT setup is used where all the users sit behind a firewall, some have full acces

Re: [LARTC] tc -s -d explanation

2003-09-11 Thread Damjan
> I have some more info on the faq page on docum.org. > But the -5999 is very strange. Can you post all your tc commands? And > also check out your kernel log files for errors. :) I guess it because of the big burst buffer: tc qdisc add $LAN root handle 1: htb default 0 tc class add $LAN

Re: [LARTC] IMQ technical question

2003-09-11 Thread Martin Volf
On Thu, 11 Sep 2003 15:28:59 +0300 (EEST) The Codrinus <[EMAIL PROTECTED]> wrote: > > How many IMQ queueing devices you may have ? I've patched the 2.4.21 > kernel and I have by default 2 devices: imq0 and imq1 ! Hello, use something like modprobe imq numdevs=8 to load imq kernel module or put

Re: [LARTC] Iptables-setmark option

2003-09-11 Thread Stef Coene
On Thursday 11 September 2003 09:39, Raghuveer wrote: > Hi Stef, > > I would like to clarify how to use iptable setmark option with CBQ > egress shaping. For example, If my WAN interface is eth0, LAN interface > is eth1 and DMZ is eth2. I would like to do egress shaping using CBQ at > eth0 for host

Re: [LARTC] beginner question about imq

2003-09-11 Thread Stef Coene
On Thursday 11 September 2003 14:39, Toshiro Viera wrote: > > > I'd like to filter the packages on their SNAT-ed (local) ip addresses. > > > when the package enters the IMQ right after the iptables PREROUTING > > > chain, does it have SNAT-ed ip addresses? As far as I know the SNAT > > > happens in

Re: [LARTC] IMQ technical question

2003-09-11 Thread Stef Coene
On Thursday 11 September 2003 14:28, The Codrinus wrote: > How many IMQ queueing devices you may have ? I've patched the 2.4.21 > kernel and I have by default 2 devices: imq0 and imq1 ! From http://trash.net/~kaber/imq/ modprobe imq numdevs=1 Stef -- [EMAIL PROTECTED] "Using Linux as bandwidt

Re: [LARTC] tc -s -d explanation

2003-09-11 Thread Stef Coene
On Thursday 11 September 2003 12:44, Damjan wrote: > I want to understand the output of the "tc -s -d ..." command. > Can someone explain in detail what this means: > > class htb 1:100 parent 1:10 prio 0 quantum 1000 rate 40Kbit ceil 40Kbit > burst 1000Kb/8 mpu 0b cburst 1000Kb/8 mpu 0b level 0 >

Re: [LARTC] No overlimits, no dropped ??? Please help

2003-09-11 Thread Stef Coene
On Wednesday 10 September 2003 21:13, gaston wrote: > Htb isn't shaping anything what's wrong? My first guess is your filters. But can you send us your tc commands? Stef -- [EMAIL PROTECTED] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net ___

TR: [LARTC] Statistics (last time)

2003-09-11 Thread Emmanuel SIMON
Hello, 7 persons did answer my 1st mail. It is too few. I need more answers to make interesting statistics. I promise this is only for my study and not for any business of any kind ! And if you send it to me this will be anonymous. Thank you to the 7 first and please answer me too. It is onl

Re: [LARTC] beginner question about imq

2003-09-11 Thread Toshiro Viera
> > > > I'd like to filter the packages on their SNAT-ed (local) ip addresses. when > > the package enters the IMQ right after the iptables PREROUTING chain, does > > it have SNAT-ed ip addresses? As far as I know the SNAT happens in the > > POSTROUTING chain. Am I wrong? Or am I even more confused

[LARTC] IMQ technical question

2003-09-11 Thread The Codrinus
How many IMQ queueing devices you may have ? I've patched the 2.4.21 kernel and I have by default 2 devices: imq0 and imq1 ! regards, Codrin. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.

Re: [LARTC] source-based-routing

2003-09-11 Thread Damjan
> I need information on source-based-routing, very specific not > policy routing, I need only source-based-routing information > please help me as soon as possible. Exactly what kind of information do you need? Source based routing works like this: - you make several routing tables (with ip r

[LARTC] four imq devices

2003-09-11 Thread Lukes
Hi, I've got a problem with this configuration: 1) physical network view: +-LAN--+ |192.168.0.0/24|+--ROUTER--+ |192.168.1.0/24|eth0| | +--+| | | |eth2---i

[LARTC] source-based-routing

2003-09-11 Thread vadiraj c s
Hello all, I need information on source-based-routing, very specific not policy routing, I need only source-based-routing information please help me as soon as possible. regads Vadiraj C S Deeprootlinux Ltd ___ Catering meets Camera; Tanya Wed

[LARTC] tc -s -d explanation

2003-09-11 Thread Damjan
I want to understand the output of the "tc -s -d ..." command. Can someone explain in detail what this means: class htb 1:100 parent 1:10 prio 0 quantum 1000 rate 40Kbit ceil 40Kbit burst 1000Kb/8 mpu 0b cburst 1000Kb/8 mpu 0b level 0 Sent 3733691 bytes 2658 pkts (dropped 0, overlimits 0) rate

[LARTC] Iptables-setmark option

2003-09-11 Thread Raghuveer
Hi Stef, I would like to clarify how to use iptable setmark option with CBQ egress shaping. For example, If my WAN interface is eth0, LAN interface is eth1 and DMZ is eth2. I would like to do egress shaping using CBQ at eth0 for hosted servers placed either in DMZ or LAN. If my hosted http ser