A simple project to learn IEEE 802.1X protocol and drcom protocol (version: 5.2.x) with golang.
- This project is using gopacket packages, so if you want to build it, you should make sure you have done following things before start.
Install the prerequisites. You will need go, libpcap and the gopacket package. Since gopacket is built on top of libpcap, I highly recommend you understand how that library works. You can learn how to use libpcap in C for a deeper understanding. These examples should work in Linux/Mac using libpcap and on Windows with WinPcap. You may need to set GOARCH=386 if you get an error like cc1.exe: sorry, unimplemented: 64-bit mode not compiled in.
# Get the gopacket package from GitHub
go get github.com/google/gopacket
# Pcap dev headers might be necessary
sudo apt-get install libpcap-dev
You might also want to check out the gopacket project on GitHub and documentation on GoDoc gopacket.
There is also a wiki about how to build it.
gofsnet [-c CONFIG-FILE]
- Add more test codes
- Better documentation
This project is licensed under the GNU License - see the LICENSE file for details
- fsn_server By @YSunLIN A c version of drcom client.
- pyscutclient_drcom by @7forz A python version of drcom client.
This project is written only for learning and testing, you should not apply it for any illegal usage.