only notable changes are listed
the 2.x.x version is a complete rewrite
- initial webui.
The webui asks the server every second for new leases
and shows the leases in a tabluar view.
The webui is only enabled in the Windows build, if you are
under Linux, and you would use the webui, add the
-webui
option to lsleasesd parameters. Check the lsleasesd manual for more information.
- API change: ‘sniffer.NewSniffer’ doesn’t accept
a logger instance anymore.
You can configure the Logger in your app per: ‘plog.GlobalLogger().Add(plog.NewDefaultConsoleLogger())’
and then create the sniffer instance without the ‘plog.Logger’ argument: ‘sniffer.NewSniffer(config.NewDefaultConfig())’
- split client and server in two separate programms (‘lslease’ / ‘lsleasesd’)
- open the listener socket with ‘SO_REUESEADDR’ and ‘SO_REUSEPORT’ to prevent ‘bind: address already in use’ errors when a local dhcp server runs
- remove scripted mode flag: ‘-H’
- new flag: ‘-j’ to output leases as json
- new flag ‘-s’ for standalone mode
- use systemd unit files under linux
- modularize the code, so it can used from other go programs
- build statically linked binary
- windows installer: add fw rule for lsleases
- bugfix in address selection if host has also a v6 address
- windows: fix update in non default directory
- windows: add version in title
- watch for new leases via ‘-w’ flag - client polls server every second for new leases
- windows installer uninstalls already installed old version
- persist leases over restarts via ‘-k’ flag (disable by default)
- active alive check under windows (per icmp ping) (enabled by default)
- fix pipe permission issue if running as windows service
- windows installer
- rework binary packages
- internal build / test structure perl based
- shutdown server from client per ‘-x’ flag
- rewording help usage
- rpm packages
- FreeBSD packages
- windows zip with hacky .bat scripts to start/stop an server instance and list leases
- set host name to \<UNKNOW\> if not existing in the datagram
- initial public release