Skip to contentSkip to conversation

help iptables queuing

DISCUSSION Paridhi Bansal 3 participants 3 messages Jun 18, 2003

lore
Share & tools
lore
#0 lore raw

HI!!

I am using RedHat linux 7.3 with iptablesv1.2.5..I am using iptables queuing to get the packets to my application...I have used thefollowing iptables' commands:

iptables -t nat -A OUTPUT -j QUEUE
iptables -t nat -A PREROUTING -j QUEUE
iptables -t nat -A POSTROUTING -j QUEUE
iptables -A INPUT -j QUEUE

But instead of getting all the packets,i just get first packet of every connection.For example, just first packet of TCP telnet, FTP connection (with SYN bit set and ACK not set )and not the subsequent packets.Why is this so?????

Can somebody help me with the explanation of this??????

Paridhi

Signature · 6 lines
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers
#1 lore raw

Hi

Is your kernel compiled with connection tracking support (either in the kernel, or as a module)?

Ray

Quoted 16 lines · Paridhi Bansal

HI!!

I am using RedHat linux 7.3 with iptablesv1.2.5..I am using iptables queuing to get the packets to my application...I have used thefollowing iptables' commands:

iptables -t nat -A OUTPUT -j QUEUE
iptables -t nat -A PREROUTING -j QUEUE
iptables -t nat -A POSTROUTING -j QUEUE
iptables -A INPUT -j QUEUE

But instead of getting all the packets,i just get first packet of every connection.For example, just first packet of TCP telnet, FTP connection (with SYN bit set and ACK not set )and not the subsequent packets.Why is this so?????

Can somebody help me with the explanation of this??????

Paridhi

Signature · 7 lines
--
Raymond Leach <[email protected]>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--
#2 lore raw
In reply to Paridhi Bansal

DId you use iptables -N QUEUE ?
Your QUEUE table would only work for tables in the "filter", so it only works for INPUT, FORWARD and OUTPUT and not the table of "nat" table.

For some reason I couldn't create a QUEUE which different tables could cross over.. ie. -t nat can't -j to a QUEUE which is created in -t filter.... get it..

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Paridhi Bansal
Sent: Wednesday, June 18, 2003 7:39 PM
To: [email protected]
Subject: help iptables queuing

HI!!

I am using RedHat linux 7.3 with iptablesv1.2.5..I am using iptables queuing to get the packets to my application...I have used thefollowing iptables' commands:

iptables -t nat -A OUTPUT -j QUEUE
iptables -t nat -A PREROUTING -j QUEUE
iptables -t nat -A POSTROUTING -j QUEUE
iptables -A INPUT -j QUEUE

But instead of getting all the packets,i just get first packet of every connection.For example, just first packet of TCP telnet, FTP connection (with SYN bit set and ACK not set )and not the subsequent packets.Why is this so?????

Can somebody help me with the explanation of this??????

Paridhi
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers