diff --git a/lib/tun2/server.go b/lib/tun2/server.go index 29d568e..8786285 100644 --- a/lib/tun2/server.go +++ b/lib/tun2/server.go @@ -79,6 +79,11 @@ func (s *Server) ListenAndServe() error { panic(err) } + ln.Log(ln.F{ + "action": "tcp+tls_listening", + "addr": l.Addr(), + }) + for { conn, err := l.Accept() if err != nil { @@ -98,6 +103,11 @@ func (s *Server) ListenAndServe() error { panic(err) } + ln.Log(ln.F{ + "action": "kcp+tls_listening", + "addr": l.Addr(), + }) + for { conn, err := l.Accept() if err != nil {