netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why scapy packet no effected by ip tables
@ 2014-07-16 12:46 Abogholo A
  2014-07-17 15:23 ` Phil Oester
  0 siblings, 1 reply; 4+ messages in thread
From: Abogholo A @ 2014-07-16 12:46 UTC (permalink / raw)
  To: netfilter

HI


i wrote this rule for change all udp destination ip address to 8.8.8.8
when dport is 53:

iptables -t nat -A OUTPUT -p udp -m udp --dport 53 -j DNAT
--to-destination 8.8.8.8

but when send this packet

sr1(IP(dst="4.2.2.4")/UDP()/DNS(rd=1,qd=DNSQR(qname="iranled.com")))

iptables no effected to them

why?

more details:

http://unix.stackexchange.com/questions/144729/iptables-rule-no-actions-on-scapy-packets

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-21 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 12:46 why scapy packet no effected by ip tables Abogholo A
2014-07-17 15:23 ` Phil Oester
2014-07-20 16:27   ` Paul Robert Marino
2014-07-21 12:38     ` Jeff White

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).