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

[altq 1394] BUG in altqstat and problems with IPSEC



Hi list,
    I found a minor bug in altqstat. If invoked with -c1 it will display 
nothing. If invoked with -c2 it will display only once, etc. An easy fix 
will be to change the  int cnt = count; in the relevant qdisc_stat files 
to be  int cnt = count + 1;
    I found another problem in the altq itself. It does not like IPSEC 
tunnel mode:
    It cannot classify it. You cannot use 50 as protocol in the filter. 
Trying to use protocol values which are in the tunnel does not work 
either. So it all goes in the default class. Unfortunately the problem 
does not end there because bandwidth values are not estimated correctly.
    I am currently looking at the source but it has been several years 
since I had to do something with the internals of the BSD network stack 
so any help here will be appreciated.
    Best regards,

A.