Commit Graph

19 Commits

Author SHA1 Message Date
Jeff Carr f6018c0960 update the examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 12:59:46 -07:00
Jeff Carr bf5ff90e5b add debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 03:50:38 -07:00
Jeff Carr b91b431ec6 add a working protobuf channel example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 03:48:13 -07:00
Jeff Carr c34dc5f401 code runs. Writes out marshal'ed entries to a file, but is that anything other than garbage
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 17:41:58 -07:00
Jeff Carr 1c974ed95e successfully marshal a protobuf witProtobuf.Event and write it to a file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 14:57:33 -07:00
Jeff Carr 5882fa20ac A first for me with google protobuf's
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 12:36:36 -07:00
Jeff Carr e476e50d48 avoid a potential crash
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 03:42:48 +00:00
Jeff Carr d6f15e9e22 allow dns lookup output to be sent to systemctl
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 03:22:44 +00:00
Jeff Carr 71f1aa0cfc moved shell to the 'wit' account
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 03:08:22 +00:00
Jeff Carr d38dbbdf70 add localTCPAddr := dnssecsocket.ResolveIPv6hostname("librem15.lab.wit.com")
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 17:57:51 -07:00
Jeff Carr 9070d87fba move logging to journalctl + start trying to debug missing bytes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 00:24:52 +00:00
Jeff Carr 17e5b73aa4 convert to ListenTCP
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 13:20:57 +00:00
Jeff Carr f437bfec59 start moving common things into the library
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-05 00:00:39 -07:00
Jeff Carr ed570b08ac Closes the socket if the IPv6 address does not match the hostname
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-04 23:20:34 -07:00
Jeff Carr 678d005061 Send the hostname as the first line
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-04 15:08:25 -07:00
Jeff Carr d767632eed Look up the client IP from the hostname
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-04 15:07:21 -07:00
Jeff Carr a9a254e62d Add a DNS lookup of the servername. Only listen on that IPv6 address.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-04 14:25:23 -07:00
Jeff Carr 0c5f92b552 Init it onto our git server
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-04 12:15:39 -07:00
Jeff Carr 9086eddbec Initial commit that works more or less
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-04 12:13:07 -07:00