News for hackers. Stuff that matters.
Re:Packet Capture, Injection, and Analysis with Gopacket by andmarios on Monday August 17, 2015 @09:21AM (#10072740)
Very nice introduction tutorial with many examples. I am sure it will be a reference guide for many people β€”me included. Thanks!

A minor issue, on your second snippet (open devices for live capture), you miss the "github.com/google/gopacket" import.

Re:Packet Capture, Injection, and Analysis with Gopacket by 0xbadf00d on Monday August 17, 2015 @08:32AM (#10072537)
Very interested in this and wondering about the possibilities of creating a software load-balancing instance with Go - rewriting source & destination addresses on the fly and tracking session states to failover between instances of the program.
Re:Packet Capture, Injection, and Analysis with Gopacket by nanodano on Wednesday August 19, 2015 @01:18PM (#10086975)
Theoretically that is totally possible. I think the channels functionality would really make managing the different streams easy. Go routines could also greatly improve performance.

It would be interesting to see how it performs under load. After all, that's what Go is meant for. I'll think about writing some code to test that out.

Re:Packet Capture, Injection, and Analysis with Gopacket by kcudrevelc on Monday August 17, 2015 @11:54AM (#10073820)
Hey, would you mind if I added a link to this article from gopacket's README.md?
Re:Packet Capture, Injection, and Analysis with Gopacket by nanodano on Wednesday August 19, 2015 @01:15PM (#10086949)
Hey there, I wrote that page. I didn't even have an account here and didn't realize there were comments. I tracked down this page because of the referrals I was getting. The write up is meant to help anyone and everyone so share it wherever you would like.