ALTQ on a process on the router

Adam Clark adam.clark at ngv.vic.gov.au
Wed Jul 12 22:47:37 UTC 2006


Basically I have bittorrent running on the firewall/router.  I am trying
to lessen the impact on our 128/512k DSL line.
Currently it hogs everything and makes web traffic annoyingly slow.

I want to make bittorrent lowest priority traffic.

It's a shame that you cant do inbound queuing, to implement rate
limiting there.

Adam 

> 

Adam Clark
Network Administrator

National Gallery of Victoria
PO Box 7259 St Kilda Road Vic 8004
Telephone: +61 3 8620 2369 
Fax: +61 3 8620 2565
www.ngv.vic.gov.au

Keep informed of the latest NGV exhibitions, special events and programs at The Ian Potter Centre: NGV Australia and NGV International by subscribing to NGV at RT, the NGV's free e-newsletter.

DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for solinym at gmail.com,freebsd-pf at freebsd.org. If you are not the named addressee you should not disseminate, copy or alter this email. WARNING: Although National Gallery of Victoria has taken reasonable precautions to ensure no viruses are present in this email, the organisation cannot accept responsibility for any loss or damage arising from the use of this email or attachment.-----Original Message-----
> From: Travis H. [mailto:solinym at gmail.com] 
> Sent: Thursday, 13 July 2006 4:34 AM
> To: Adam Clark
> Cc: freebsd-pf at freebsd.org
> Subject: Re: ALTQ on a process on the router
> 
> On 7/12/06, Adam Clark <adam.clark at ngv.vic.gov.au> wrote:
> > Hi,
> >   I am trying to perform ALTQ on a process running on the 
> router itself.
> >
> > I have bound the application to to internal IP address 
> (10.10.10.254), 
> > that which is bound to the internal interface.
> >
> > When I log-all packets passing out this interface, I cannot see any 
> > data going to 10.10.10.254, just other hosts on my network. 
>  This is 
> > bound to be how it is meant to be, but its not healping my 
> situation. 
> > Is there anyway to make the kernel put frames destined for 
> itself on 
> > the appropriate interface?
> 
> No; the Unix kernel short-circuits any packets destined for 
> any of its interfaces and puts them on the loopback 
> interface.  Perhaps you should be looking there?
> 
> Why would you want to queue stuff that the router is sending 
> to itself?  It's not like you're bandwidth-limited, because 
> it never goes over a communications link.  It's CPU-limited, 
> and it gets processed as soon as it "appears" on lo0.
> --
> Resolve is what distinguishes a person who has failed from a failure.
> Unix "guru" for sale or rent - 
> http://www.lightconsulting.com/~travis/ -><- GPG fingerprint: 
> 9D3F 395A DAC5 5CCC 9066  151D 0A6B 4098 0C55 1484
> 


More information about the freebsd-pf mailing list