tailscale/hostinfo
Denton Gentry 1d1efbb599 hostinfo: add FreeBSD support.
Add specific handling for common appliances based on FreeBSD:
- pfSense
    HostInfo: {"OS":"freebsd","OSVersion":"pfSense 2.5.2-RELEASE; version=12.2-STABLE"
- OPNsense
    HostInfo: {"OS":"freebsd","OSVersion":"OPNsense 21.7.1 (amd64/OpenSSL); version=12.1-RELEASE-p19-HBSD"
- TrueNAS
    HostInfo: {"OS":"freebsd","OSVersion":"TrueNAS-12.0-U5.1 (6c639bd48a); version=12.2-RELEASE-p9"
- FreeNAS
    HostInfo: {"OS":"freebsd","OSVersion":"FreeNAS-11.3-U5 (2e4ded5a0a); version=11.3-RELEASE-p14",

- regular FreeBSD
    HostInfo: {"OS":"freebsd","OSVersion":"FreeBSD; version=12.2-RELEASE"

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-09-06 23:12:09 -07:00
..
hostinfo.go hostinfo: add SetDeviceModel setter, move remaining code from controlclient 2021-08-20 10:45:22 -07:00
hostinfo_freebsd.go hostinfo: add FreeBSD support. 2021-09-06 23:12:09 -07:00
hostinfo_linux.go hostinfo: set DeviceModel from Linux devicetree model 2021-08-22 21:28:36 -07:00
hostinfo_test.go hostinfo: fix earlier git fail, add files lost in move 2021-08-22 21:14:04 -07:00
hostinfo_windows.go hostinfo: fix earlier git fail, add files lost in move 2021-08-22 21:14:04 -07:00