Skip to contentSkip to conversation

help iptables queuing

DISCUSSION Paridhi Bansal 2 participants 2 messages Jun 18, 2003

lore
Share & tools
lore
#0 lore raw

hi

how do i check that whether conn tracking module is installed or not??

Actually, this problem was not coming earlier..suddenly has it statred coming..now what is really puzzling me is that when i also queue packets from FORWARD chain(i did this just to check in case pkts were being directly sent to this chain instead of prerouting), i receive all the packets through prerouting, forward and postrouting chains..and when i change the FORWARD back to ACCEPT all without queuing, again,the same problem..i receive only the first pktof every TCP session in prerouting and postrouting chains....

Paridhi

paridhi
--=-togof5NfyiIsESYp214i
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi

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

Ray

Quoted 3 lines · Paridhi Bansal

HI!!
=20
I am using RedHat linux 7.3 with iptablesv1.2.5..I am using iptables queu=

ing to get the packets to my application...I have used thefollowing

Quoted 8 lines

iptables' commands:
=20
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
=20
But instead of getting all the packets,i just get first packet of every c=

onnection.For example, just first packet of TCP telnet, FTP connection (wit= h SYN bit set and ACK not set )and not the subsequent packets.Why is this s= o?????

Quoted 5 lines

=20
Can somebody help me with the explanation of this?????? =20
=20
Paridhi

--=20
--
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 =3D 7209 A695 9EE0 E971 A9AD 00EE 8757 EE47 F06F FB28 --

--=-togof5NfyiIsESYp214i
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+8D/oh1fuR/Bv+ygRAiYjAJ4lxwkffVRq3EoL7sMgTysGLGiSQQCgnJnj J8Gn0UxV7ikesTV83upYooA=
=5ugA
-----END PGP SIGNATURE-----

--=-togof5NfyiIsESYp214i--

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

embeded

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

hi

Quoted 1 line

how do i check that whether conn tracking module is installed or not??

do a lsmod and check the list

Actually, this problem was not coming earlier..suddenly has it statred coming..now what is really puzzling me is that when i also queue packets from FORWARD chain(i did this just to check in case pkts were being directly sent to this chain instead of prerouting), i receive all the packets through prerouting, forward and postrouting chains..and when i change the FORWARD back to ACCEPT all without queuing, again,the same problem..i receive only the first pktof every TCP session in prerouting and postrouting chains....

Quoted 1 line

Don't know what exactly the problem is but I use MRTG with Iptables so I

can graph all traffic based on rules in the -N MRTG space... and it all works fine for me.
I use -I INPUT 1 -j MRTG , -I FORWARD 1 -j MRTG , -I OUTPUT 1 -j MRTG and that grabs everything.

So I don't know why yours doesn't....