File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
shadowsocks-service/src/server
shadowsocks/src/relay/udprelay Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,9 @@ impl UdpServer {
143143 let socket = ProxySocket :: bind_with_opts ( self . context . context ( ) , svr_cfg, self . accept_opts . clone ( ) ) . await ?;
144144
145145 info ! (
146- "shadowsocks udp server listening on {}" ,
146+ "shadowsocks udp server listening on {}, inbound address {} " ,
147147 socket. local_addr( ) . expect( "listener.local_addr" ) ,
148+ svr_cfg. addr( ) ,
148149 ) ;
149150
150151 let socket = MonProxySocket :: from_socket ( socket, self . context . flow_stat ( ) ) ;
Original file line number Diff line number Diff line change @@ -100,7 +100,12 @@ impl ProxySocket {
100100
101101 let socket = ShadowUdpSocket :: connect_server_with_opts ( & context, svr_cfg. udp_external_addr ( ) , opts) . await ?;
102102
103- trace ! ( "connected udp remote {} with {:?}" , svr_cfg. udp_external_addr( ) , opts) ;
103+ trace ! (
104+ "connected udp remote {} (outbound: {}) with {:?}" ,
105+ svr_cfg. addr( ) ,
106+ svr_cfg. udp_external_addr( ) ,
107+ opts
108+ ) ;
104109
105110 Ok ( ProxySocket :: from_socket (
106111 UdpSocketType :: Client ,
You can’t perform that action at this time.
0 commit comments