Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Javier Ors
Do they charge you for download traffic or both for dowload/upload? If you are in the first case, this slight modification in the wondershaper script should do the trick. ## downlink # # slow downloads down to somewhat less than the real speed to prevent # queuing at our ISP.

Re: [LARTC] Classful queuing solution

2007-09-02 Thread Marek Kierdelewicz
Hi, Related, not but strictly to do with tc, is there any way of concisely and effectively logging connections between NATd users and external IPs? I need to be able to maintain a log which tells me that a certain user was connected to a certain remote host on a certain port at a certain time

Re: [LARTC] Clock Source Kernel settings in 2.6.22

2007-09-02 Thread Patrick McHardy
[Please keep me in CC/To, I don't read lartc often] Mario Antonio Garcia wrote: I used to get an average of 18900kbit. My hope was that these new patches would bring better accuracy. Well, you're up from 94.5% to 99.95%, so they seem to do :) Notice the 24 cburst. I am just trying to

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Javier Ors
Ups, sorry, I did one mistake, I forgot we are filtering incoming traffic and the we need to match destination ip. Also there is no need to filter the hole subnet, so we can set the mask to 32. So this would be the result: ## downlink # # slow downloads down to somewhat less

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Javier Ors
I just have noticed another thing, I just copied the filter but should be given a different (lower) prio value. I'm not sure whether this is really necessary, but I think that it is better to do so: ## downlink # # slow downloads down to somewhat less than the real speed to

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Javier Ors
Sorry again and again, I've just noticed that gmail adds some odd stuff to the text version of my mails, so this is the definitive (I hope): ## downlink # # slow downloads down to somewhat less than the real speed to prevent # queuing at our ISP. Tune to see how high you can

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Aidan Johnstone
On 9/2/07, Javier Ors [EMAIL PROTECTED] wrote: Sorry again and again, I've just noticed that gmail adds some odd stuff to the text version of my mails, so this is the definitive (I hope): Hola Javier, Thanks for your reply. Replying to your first question, yes, both upload and download

Re: [LARTC] 2 ISP connection sharing problem

2007-09-02 Thread Arman
I get following error while run the command iptables -t mangle -A FORWARD -m u32 --u32 160x0001=0x -j MARK --set-mark 0x10 error iptables v1.2.11: Couldn't load match `u32':/lib/iptables/libipt_u32.so: cannot open shared object file: No such file or directory I m using FC3 Linux Kernel

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Javier Ors
I tried this, but it doesn't seem to be making any change at all, unfortunately. I started a large download from ftp.kernel.org and it was still coming full steam ahead. I let it go on for a minute or two, hoping it would eventually start to be throttled, but no dice. Is there perhaps any

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Aidan Johnstone
On 9/2/07, Javier Ors [EMAIL PROTECTED] wrote: I don't know. You can also limit with iptables, but should be ok with this tc filter. Did the script run without errors after making the changes? Can you check that the filter is really present with tc filter show dev (your-device) and paste the

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Javier Ors
Mm, could you please post the output of this other command? tc -s filter show dev eth0 parent : I've searched a little bit and I think that this solution is not going to work, sorry, I would do the tests on my own machine but for the moment this is not possible... If it is what I'm

Re: [LARTC] complete linux and shaping newbie needs help

2007-09-02 Thread Aidan Johnstone
On 9/2/07, Javier Ors [EMAIL PROTECTED] wrote: Hello again Javier Mm, could you please post the output of this other command? tc -s filter show dev eth0 parent : Sure! [EMAIL PROTECTED]:/root# tc -s filter show dev eth0 parent : filter protocol ip pref 49 u32 filter protocol ip

Re: [LARTC] 2 ISP connection sharing problem

2007-09-02 Thread Alex Samad
On Sun, Sep 02, 2007 at 03:25:11PM +0500, Arman wrote: Thats fine but primary problem is that only one connection is used at a time but I want to utilize both at the same time. Please guide -- Forwarded message -- From: Jorge Evangelista [EMAIL PROTECTED] To:

Re: [LARTC] About b meaning byte and bit

2007-09-02 Thread Indunil Jayasooriya
On 8/31/07, DervishD [EMAIL PROTECTED] wrote: Hi all :) I think that this issue has already been discussed on this list, but google didn't find anything interesting, so I'm bringing the subject again. The output of tc uses b meaning byte and bit for bit. The official suffixes