Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 18:03:25 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-net@freebsd.org
Subject:   Re: altq enqueue
Message-ID:  <200503211803.37314.max@love2party.net>
In-Reply-To: <423EE201.6000102@he.iki.fi>
References:  <423EE201.6000102@he.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCPv5pXyyEoT62BG0RAh78AJ9Rnm0NT++7/cTJ1WJICdlQd36xyACffED9
h9MIrOm3vr35ST7AuIZKfjY=
=YNaE
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503211803.37314.max>