sniffer icon indicating copy to clipboard operation
sniffer copied to clipboard

Go version of a raw socket packet sniffer

Results 4 sniffer issues
Sort by recently updated
recently updated
newest added

Its ok when I write code like this. ``` packet := gopacket.NewPacket(data, layers.LayerTypeEthernet, gopacket.Default) if packet.NetworkLayer() == nil || packet.TransportLayer() == nil || packet.TransportLayer().LayerType() != layers.LayerTypeTCP { continue } tcp,...

Google has closed code.google.com and moved Gopacket to Github.

Can you change packets on the wire? I tried this, and it seems the contents is changed, `dns.Questions[0].Name = []byte("nytimes.com")` however if I go to a website that says it...