tun2: log more information after a connection is established
This commit is contained in:
parent
73c2e41af7
commit
89943398fc
|
@ -229,6 +229,8 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) {
|
||||||
"action": "backend_connected",
|
"action": "backend_connected",
|
||||||
"remote": c.RemoteAddr().String(),
|
"remote": c.RemoteAddr().String(),
|
||||||
"kcp": isKCP,
|
"kcp": isKCP,
|
||||||
|
"domain": auth.Domain,
|
||||||
|
"user": connection.user,
|
||||||
})
|
})
|
||||||
|
|
||||||
s.connlock.Lock()
|
s.connlock.Lock()
|
||||||
|
|
Loading…
Reference in New Issue