Subject: ALTQ fails to install conditioner
To: None <current-users@NetBSD.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n_Carre=C3=B1o?= <ccatrian@eml.cc>
List: current-users
Date: 06/16/2007 10:43:04
--Signature=_Sat__16_Jun_2007_10_43_04_-0400_ME0DlRT9Uupug52c
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,


I'm trying to get this setup running:

--
interface nfe0

conditioner nfe0 cond <tbmeter 1M 32K <pass> <drop>>
        filter nfe0 cond 192.168.1.100 0 0 0     #
--

And I'm getting this output:
Jun 16 10:33:34 core altqd[566]: ALTQ config file is /etc/altq.conf
Jun 16 10:33:34 core altqd[566]: conditioner attached to nfe0
Jun 16 10:33:34 core altqd[566]: missing filter protocol
Jun 16 10:33:34 core altqd[566]: Error in /etc/altq.conf, line 4.
config failed.

Then altqd hangs consuming a lot of CPU, I've to signal it -9 to stop
it.

If I only setup the conditioner, using the conditioner definition and
omitting the filter, this happens:

Jun 16 10:37:40 core altqd[1732]: ALTQ config file is /etc/altq.conf
Jun 16 10:37:40 core altqd[1732]: conditioner attached to nfe0
Jun 16 10:37:40 core altqd[1732]: cdnr enabled on interface _nfe0
(mtu:1500) Jun 16 10:37:40 core altqd[1732]: nop enabled on interface
nfe0 (mtu:1500)

This time the daemon keeps running, but when signaled -15, it hangs
again.

$ ifconfig nfe0
nfe0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=3D3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_=
Rx,UDP4CSUM_Tx>
enabled=3D3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UD=
P4CSUM_Tx>
address: 00:15:f2:09:e2:da media: Ethernet autoselect (100baseTX
full-duplex) status: active inet 192.168.1.1 netmask 0xffffff00
broadcast 192.168.1.255 inet6 fe80::215:f2ff:fe09:e2da%nfe0 prefixlen
64 scopeid 0x1


Sources dated from 2007-06-07.

Please help.


Regards
--
C=C3=A9sar Catri=C3=A1n Carre=C3=B1o

--Signature=_Sat__16_Jun_2007_10_43_04_-0400_ME0DlRT9Uupug52c
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFGc/b40CA0DpFTlnERAj1ZAJ9xe1NZ9gwKDXECYiksrkoYBaoT7QCeKA2x
VYJkiCe97L4CoRB6+YOD9HA=
=Xt+P
-----END PGP SIGNATURE-----

--Signature=_Sat__16_Jun_2007_10_43_04_-0400_ME0DlRT9Uupug52c--