altq enqueue

Max Laier max at love2party.net
Mon Mar 21 09:03:50 PST 2005


On Monday 21 March 2005 16:02, Petri Helenius wrote:
> Is there a way to send packets from userland process to a specific altq
> defined queue?

No, not at this point.  But as a workaround (assuming we are talking about 
socket based communication (udp/tcp)) you can have the program running as a 
special user or group and use pf or ipfw to queue traffic from this user/ 
group.  Note that pf needs debug.mpsafenet=0 for this to work properly.  ipfw 
has the same problem in 5.3R but is fixed in CURRENT and *maybe* RELENG_5 - 
I'll let others speak on that one.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20050321/dffac7ad/attachment.bin


More information about the freebsd-net mailing list