From 89943398fcf8389b8d03bc8d0a65dae301b08479 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 26 Mar 2017 13:29:01 -0700 Subject: [PATCH] tun2: log more information after a connection is established --- lib/tun2/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tun2/server.go b/lib/tun2/server.go index c804144..30b48b2 100644 --- a/lib/tun2/server.go +++ b/lib/tun2/server.go @@ -229,6 +229,8 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) { "action": "backend_connected", "remote": c.RemoteAddr().String(), "kcp": isKCP, + "domain": auth.Domain, + "user": connection.user, }) s.connlock.Lock()