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

[altq:1872] altqd, SIGHUP and pending packets



Hi,

I'm using altqd on OpenBSD 3.2. 
I have an application which configures altqd by writing to the /etc/altq.conf
file and sending a SIGHUP to the altqd everytime there is a change in configuration.

My application provides a means to disable altqd in which 
I write an empty configuration file and send SIGHUP to altqd.
When I look at altqstat it does not display anything.
So I am assuming that altqd is disabled. 
(Note: I do not want to terminate altqd)

My question is this:
Before disabling altqd, there may be some packets in the Queues waiting to
be processed by altqd.
When I disable it and SIGHUP altqd, now altqd will be running with an empty
configuration file without any filters/interfaces/etc.

What will happen to the packets which are in the queues before sending the SIGHUP ?
Does altqd drop those packets or send them out on the interface ?

thanks,
Mathew


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com