[SR-Users] Strange core.tcp_list / tls.list output
Mikko Lehto
mslehto at iki.fi
Thu Jun 4 07:38:26 CEST 2015
Daniel-Constantin Mierla <miconda at gmail.com>:
> quickly checking the code it seems that the dst_ip is holding the local
> address always, even for outbound connection.
>
> Not being the author of the code, my guess is that the lookup of
> connection is done always on src_ip matching the remote peer address.
> Also, the structure used there is the one specific for holding received
> info for sip packets.
>
> The output is somehow misleading, maybe the fields should be renamed to
> local_ip/port and remote_ip/port in the output of the rpc commands.
Much more clear now, thanks!
It propably is wise to touch only RPC output.
I'll try to look into this again soon and come up with patch.
--
Mikko
More information about the sr-users
mailing list