Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-04-2013, 05:36 AM
|
#1
|
Member
Registered: Sep 2012
Posts: 126
Rep: 
|
NFQUEUE Target in iptables
Hi ,i just want to know the libnetfilter_queue has only the DROP and ACCEPT target ?
We can't specify REJECT ?
Best
|
|
|
04-04-2013, 06:53 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
I'm not aware of any specific design reason, but if you want to put a REJECT at the bottom of the list, you can.
|
|
|
04-04-2013, 12:48 PM
|
#3
|
Member
Registered: Sep 2012
Posts: 126
Original Poster
Rep: 
|
May i post this thread to another forum ?
|
|
|
04-04-2013, 02:14 PM
|
#4
|
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281
|
REJECT is a special target, like custom chain and therefore you probably cannot use it that way, however I am not expert in iptables queue. You need to drop packet and manually respond with proper ICMP message to mimic a REJECT target.
|
|
|
04-04-2013, 03:29 PM
|
#5
|
Member
Registered: Sep 2012
Posts: 126
Original Poster
Rep: 
|
Another question about the function below related to libnetfilter_queue:
int nfq_set_queue_maxlen (struct nfq_q_handle * qh,u_int32_t queuelen)
How much can i take "queuelen" big (how many packets)?
Do we have to consider memory size consideration?
and another questions step by step after the answers
Best
|
|
|
All times are GMT -5. The time now is 05:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|