on my linux, i wrote this rule for change all
this rule worked when i use:
it is ok. but when i create this packet from
why asked 16 Jul '14, 12:05 Babyy edited 16 Jul '14, 12:16 showing 5 of 6 show 1 more comments |
on my linux, i wrote this rule for change all
this rule worked when i use:
it is ok. but when i create this packet from
why asked 16 Jul '14, 12:05 Babyy edited 16 Jul '14, 12:16 showing 5 of 6 show 1 more comments |
how do you know the packet was changed by iptables in the test with scapy?
@Kurt Knochner: yeah! packet no changed !!!!
and that means what exactly?
@Kurt Knochner: that means iptables cannot change scapy packets! is correct?
I don't know. That was not a statement of mine. It was a question.
I was asking how do you know that iptables did change the scapy packet or not. The only way: Don't sniff on the system. Instead sniff on a mirror port of the switch.
Only then you will get more information if it is a problem with iptables or with libpcap (tcpdump/Wireshark) and (possibly) the fact that scapy is using RAW sockets.
scapy use raw socket and iptables is unable to block or modify those packets .. http://diablohorn.wordpress.com/2013/11/28/qp-raw-sockets-iptables/