gofsnet

command module
v0.8.4-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2017 License: GPL-3.0 Imports: 28 Imported by: 0

README

gofsnet

A simple project to learn IEEE 802.1X protocol and drcom protocol (version: 5.2.x) with golang.

Try it

  • 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.

Currently there is a problem to decode EAP packet, you may need replace the eapol.go with this one.

There is also a wiki about how to build it.

run

gofsnet [-c CONFIG-FILE]

Reference

Inspiration & Ideas

Warning

This project is only for learn and test, you should not apply it for any illegal usage.

LICENSE

GNU GENERAL PUBLIC LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL