Scapy: a powerful interactive packet manipulation program
1–10 of 15 posts
Re: Scapy: a powerful interactive packet manipulation program
#2Re: Scapy: a powerful interactive packet manipulation program
#3Re: Scapy: a powerful interactive packet manipulation program
#4Scapy and Impacket are basically Python scriptable versions of tcpdump / wireshark. Very useful tools, particularly for measuring a server's behavior without having to modify it for logging, etc. I once used pcapy to log several years of an NTP pool server to make this graph: http://imgur.com/IvRdU
Re: Scapy: a powerful interactive packet manipulation program
#5http://packetfactory.openwall.net/projects/libnet/
which route created / maintained.
Re: Scapy: a powerful interactive packet manipulation program
#6I've always wanted an "nsed" -- to mimic the "ngrep" idea. A quick and dirty way to, for example, modify HTTP headers on the fly.
Re: Scapy: a powerful interactive packet manipulation program
#7Can scapy or any other util modify packets on the fly? I've always wanted an "nsed" -- to mimic the "ngrep" idea. A quick and dirty way to, for example, modify HTTP headers on the fly.
Re: Scapy: a powerful interactive packet manipulation program
#8I recently used this to create a tethering program. It works well, but there is a large bug. In particular, in the sniff function. When you sniff UDP packets, Scapy miscalculates the length of the IP and UDP packets. What is happening is that Scapy uses the UDP length as the IP length, and then subtracts the size of the UDP header for the UDP header. If you then try and send it to another computer, the packet is "mal…
We ended up keeping the addon for the ioctl calls, but the addon for sending raw packets didn't make it: we didn't want to reconstruct the javascript object versions of packets sniffed by node_pcap in order to send them on the raw socket (didn't want to make a small mistake and break the whole project for ourselves).
So we used scapy that part of the tethering project; worked well for us though it could have used more docs.
Re: Scapy: a powerful interactive packet manipulation program
#9I recently used this to create a tethering program. It works well, but there is a large bug. In particular, in the sniff function. When you sniff UDP packets, Scapy miscalculates the length of the IP and UDP packets. What is happening is that Scapy uses the UDP length as the IP length, and then subtracts the size of the UDP header for the UDP header. If you then try and send it to another computer, the packet is "mal…
Re: Scapy: a powerful interactive packet manipulation program
#10Includes a FAQ and a great guide for capturing rogue DHCP servers on your network: http://trac.secdev.org/scapy/wiki/IdentifyingRogueDHCPServer...
I've had to use it a few times. It is also (or used to?) be in MacPorts.