Sounds like you are running tcpreplay on a different computer? If so, good.
If you're only seeing the broadcast traffic then sounds like you have a problem with the destination MAC and/or possibly IP address. A quick hack which might work is turn on promiscuous mode on the network interface of the computer running iptables. That will at least cause the network card to stop dropping non-broadcast traffic with a different destination MAC address. If that doesn't work, you'll need to rewrite the destination MAC and possibly IP address, although I'm pretty sure the PREROUTING should happen before any bogon IP checking. -- Aaron Turner http://synfin.net/ Twitter: @synfinatic https://github.com/synfinatic/tcpreplay - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin On Thu, Dec 5, 2013 at 3:08 AM, Amlas Ali <amlas...@gmail.com> wrote: > Hi there ! > > I am facing some problems with tcpreplay. I am running L-7 filter userspace > version on ATCA- PP81 blade, and I have this following iptable rules : > > iptables -A FORWARD -j NFQUEUE --queue-num 0 > iptables -t mangle -A PREROUTING -p udp -i eth0 -j NFQUEUE --queue-num 0 > iptables -t mangle -A PREROUTING -p tcp -i eth0 -j NFQUEUE --queue-num 0 > > I am sending pcap files from a computer , but all the replayed pcap files > except those which have broadcast address were not detected by the iptables. > I checked it with: > iptables -t mangle -L -v > > I tried many ways, including using a cache file as discussed in some of the > forums, and everything is in vain. Now I am totally helpless. I would > appreciate it if you could reply my question. > > Thanking you in anticipation > > regards, > > Amlas ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support