Mailing List Archive

queue_max_length configuration
I need to increase the default size of the queue_max_length but do not
see where in the code this is defined. Can someone send me a pointer to
the location in the code so I can re-compile with a larger value?

Thanks,

Scott Sussman


"This email message and any attachments are confidential information of Starent Networks, Corp. The information transmitted may not be used to create or change any contractual obligations of Starent Networks, Corp. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this e-mail and its attachments by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify the sender immediately -- by replying to this message or by sending an email to postmaster@starentnetworks.com -- and destroy all copies of this message and any attachments without reading or disclosing their contents. Thank you."
Re: queue_max_length configuration [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Le Fri, 10 Aug 2007 14:24:41 -0400,
"Sussman, Scott" <ssussman@starentnetworks.com> a écrit :

>
>
> I need to increase the default size of the queue_max_length but do not
> see where in the code this is defined. Can someone send me a pointer
> to the location in the code so I can re-compile with a larger value?

WHich kernel do you use. On a recent 2.6, you can use
nfq_set_queue_maxlen in userspace to set the queue_max_length.

BR,
- --
Eric Leblond <eric@regit.org>
NuFW, Now User Filtering Works : http://www.nufw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGvW01nxA7CdMWjzIRAuIFAJ4l1YJLmp1wogCE5ZOTRQJYNA6+MACfeqyx
4pm++GfDl6qvIKEvSYB2ZQQ=
=ZJhA
-----END PGP SIGNATURE-----
RE: queue_max_length configuration [ In reply to ]
Hi Eric,

Thanks for the response, I am using the 2.6.18 kernel. For the nfq_set_queue_maxlen you mentioned below is this an env variable in userspace or do I set it in my app code?

Thanks again!

Scott

-----Original Message-----
From: Eric Leblond [mailto:eric@inl.fr]
Sent: Saturday, August 11, 2007 4:03 AM
To: Sussman, Scott
Cc: netfilter@lists.netfilter.org
Subject: Re: queue_max_length configuration

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Le Fri, 10 Aug 2007 14:24:41 -0400,
"Sussman, Scott" <ssussman@starentnetworks.com> a écrit :

>
>
> I need to increase the default size of the queue_max_length but do not
> see where in the code this is defined. Can someone send me a pointer
> to the location in the code so I can re-compile with a larger value?

WHich kernel do you use. On a recent 2.6, you can use
nfq_set_queue_maxlen in userspace to set the queue_max_length.

BR,
- --
Eric Leblond <eric@regit.org>
NuFW, Now User Filtering Works : http://www.nufw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGvW01nxA7CdMWjzIRAuIFAJ4l1YJLmp1wogCE5ZOTRQJYNA6+MACfeqyx
4pm++GfDl6qvIKEvSYB2ZQQ=
=ZJhA
-----END PGP SIGNATURE-----


"This email message and any attachments are confidential information of Starent Networks, Corp. The information transmitted may not be used to create or change any contractual obligations of Starent Networks, Corp. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this e-mail and its attachments by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify the sender immediately -- by replying to this message or by sending an email to postmaster@starentnetworks.com -- and destroy all copies of this message and any attachments without reading or disclosing their contents. Thank you."
RE: queue_max_length configuration [ In reply to ]
Hi,

Le mardi 14 août 2007 à 09:37 -0400, Sussman, Scott a écrit :
> Hi Eric,
>
> Thanks for the response, I am using the 2.6.18 kernel. For the nfq_set_queue_maxlen you mentioned below is this an env variable in userspace or do I set it in my app code?
>

Args, it has been added to 2.6.20:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=829e17a1a602572ffa3beefe582dc103ee9fb9c7;hp=7b621c1ea64a54f77b8a841b16dc4c9fee3ecf48

In fact, this adds the feature to modify queue max length from the
application. You need a recent kernel (>=2.6.20) and a decently recent
libnetfilter_queue.

Best regards,

> Thanks again!
>
> Scott
>
> -----Original Message-----
> From: Eric Leblond [mailto:eric@inl.fr]
> Sent: Saturday, August 11, 2007 4:03 AM
> To: Sussman, Scott
> Cc: netfilter@lists.netfilter.org
> Subject: Re: queue_max_length configuration
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Le Fri, 10 Aug 2007 14:24:41 -0400,
> "Sussman, Scott" <ssussman@starentnetworks.com> a écrit :
>
> >
> >
> > I need to increase the default size of the queue_max_length but do not
> > see where in the code this is defined. Can someone send me a pointer
> > to the location in the code so I can re-compile with a larger value?
>
> WHich kernel do you use. On a recent 2.6, you can use
> nfq_set_queue_maxlen in userspace to set the queue_max_length.
>
> BR,
> - --
> Eric Leblond <eric@regit.org>
> NuFW, Now User Filtering Works : http://www.nufw.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFGvW01nxA7CdMWjzIRAuIFAJ4l1YJLmp1wogCE5ZOTRQJYNA6+MACfeqyx
> 4pm++GfDl6qvIKEvSYB2ZQQ=
> =ZJhA
> -----END PGP SIGNATURE-----
>
>
> "This email message and any attachments are confidential information of Starent Networks, Corp. The information transmitted may not be used to create or change any contractual obligations of Starent Networks, Corp. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this e-mail and its attachments by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify the sender immediately -- by replying to this message or by sending an email to postmaster@starentnetworks.com -- and destroy all copies of this message and any attachments without reading or disclosing their contents. Thank you."