Re: sharing bandwidth download+upload+NAT - [debian]

From: Gaetan (gaetan.semet_at_free.fr)
Date: 10/05/03


Date: Sun, 05 Oct 2003 14:43:21 +0200


>>internet
>> |
>> | ADSL. down 512 kps (60kb), up 128 (16 kb)
>> |
>> |
>>linux server
>>| | |
>>| | |
>>| | |
>>| | user 3 : download 170 kps (21 kb), upload 48 kps (5kb)
>>| |
>>| user 2 : download 170 kps (21 kb), upload 48 kps (5kb)
>>|
>>user 1 : download 170 kps (21 kb), upload 48 kps (5kb)
>>
>>
>>i don't want to have these limits to be fixed, but i would like it to
>>work like HTB should work : unused bandwidth is "lend" to other users...
>>but i really want it to work for upload AND download. It's very
>>important...
>
>
> There is a patch for IMQ to work after nat - I can't find the url at the mo.
> It's been posted on LARTC mail list and in here - here are the contents of
> the imqnat.diff.
>
>
> --- imq.c.orig Sun Aug 11 15:30:24 2002
> +++ imq.c Sun Aug 11 15:31:17 2002
> @@ -37,7 +37,7 @@
> imq_nf_hook,
> PF_INET,
> NF_IP_PRE_ROUTING,
> - NF_IP_PRI_MANGLE + 1
> + NF_IP_PRI_NAT_DST + 1
> };
>
> static struct nf_hook_ops imq_egress_ipv4 = {
> @@ -54,7 +54,7 @@
> imq_nf_hook,
> PF_INET6,
> NF_IP6_PRE_ROUTING,
> - NF_IP6_PRI_MANGLE + 1
> + NF_IP6_PRI_NAT_DST + 1
> };
>
> static struct nf_hook_ops imq_egress_ipv6 = {
>
> Andy.

thx, but i already tried it but it doesn't seem to work. Is there any
other way to control traffic in download that using IMQ device?

>

-- 
~~ Gaetan ~~
http://www.xeberon.net


Relevant Pages

  • Re: Would appreciate some feedback ...
    ... > the occasional photo for review? ... Upload the file by sending it to yourself. ... and folks can download the file. ... I think there may be some limits as to how many times it can be downloaded ...
    (rec.photo.digital.slr-systems)
  • Re:
    ... 24Mbps download, ... limits, and a fixed IP will probably be dependent on the provider, as ... At this moment there is only one provider selling this in Belgium in one ... What are you going to do with 50GB if your upload is so slow. ...
    (alt.os.linux.suse)
  • Re: OTish - Broadband Speeds
    ... price looks similar to Virgin, No download limits whatsoever, either. ... The actual bandwidth that you will receive is based on the following ... download speed of up to 22 megs, but an upload speed of up to 2.5 megs. ...
    (uk.legal)
  • Re: POTS line quality help
    ... registers where the smallest mistake will cause trouble read up on the +MS: command in the manual and pray that your modem implements it. ... In the UK you can choose your ADSL supplier and packages vary in both content, amount of download per month, speed and price. ... Modem: US Robotics 5686. ... 12.9K download, 13.0K upload and modem query I6 afterwards showed speed 14,400 and V42BIS and icon indicated 115,200bps. ...
    (sci.electronics.design)
  • RE: sharing info between Access and a website
    ... The website is mostly updated by end users with a store ... server via FTP, replacing the existing file. ... before the upload process. ... I'd like to download those changes into Access, ...
    (microsoft.public.access.modulesdaovba)