why scapy packet no effected by ip tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux