From: andrey <andrey@cs.dal.ca>
To: netfilter@vger.kernel.org
Subject: pcap files reading with iptables
Date: Fri, 17 Jun 2011 11:44:33 -0300 [thread overview]
Message-ID: <9ac1a49b24c19951f264d6bee409fef9@cs.dal.ca> (raw)
Hello,
I have tried to classify pcap files using layer7 userspace filter.
In order to do that I need to set a rule in iptables that QUEUE the
traffic.
Since iptables does not read pcap files, I have used tcpreplay to
replay the traffic form the pcap file.
tcpreplay is replaying the data from the pcap file on the interface
card.
I have checked with wireshark if the packets get through and they do.
My problem is that iptables seems to not receive the packets.
What could be the problem? Do the packets get dropped somewhere?
I do not have much knowledge in this field, please help me.
I am using:
Ubuntu 10.10 (Maverick)
Linux kernel 2.6.35-28-generic
iptables
iptables v1.4.4
Regards,
Andrey
next reply other threads:[~2011-06-17 14:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 14:44 andrey [this message]
2011-06-17 15:31 ` pcap files reading with iptables Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9ac1a49b24c19951f264d6bee409fef9@cs.dal.ca \
--to=andrey@cs.dal.ca \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox