[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ALTQ conditioners (openBSD 3.2 stable)



Hi,

I have set up an ALTQ Traffic conditioner for marking packets
on my router running OpenBSD 3.2 stable:
           ----------------------
10.0.1.5---| xl0           fxp0  |---20.0.1.5
           | 10.0.1.1   20.0.1.5 |
           ----------------------

This router forwards traffic between the two networks above.

I have a simple conditioner on interface xl0 
defined in /etc/altq.conf:

interface xl0 priq
conditioner xl0 marker <mark 0x4>
filter xl0 marker ruleno 5 0 80 0 0 6
filter xl0 marker ruleno 5 0 0 0 80 6

I have a Webserver on the 10.0.1.5 machine. 
A PC is at 20.0.1.5 trying to access the Webserver.

When I look at "altqstat -I xl0" the HTTP packets are never marked.
They are always passed through without any marking.
I also looked at the packet sniffer on the 20.0.1.0 network
and the HTTP packets coming from 10.0.1.5 are not marked.

But if I change my filters to this, the HTTP packets start
getting marked: 
interface xl0 priq
conditioner xl0 marker <mark 0x4>
filter xl0 marker ruleno 5 0 0 0 0 6
filter xl0 marker ruleno 5 0 0 0 0 6

Can anyone please let me know what I need to do to get this
working ? 

Thanks in advance,
Mat


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



Visit your host, monkey.org