[Bug 2162] Log needs to contain the port on which connection is made

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Oct 20 16:00:40 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2162

--- Comment #5 from Damien Miller <djm at mindrot.org> ---
I don't mind adding full host/port information to a few important
messages (authentication events, etc.), but I don't think that every
message needs to include the same redundant information. We have a
"Connection from ..." message that should include it all.

How about:

> - verbose("Connection from %.500s port %d", remote_ip, remote_port);
> + verbose("Connection from %s port %d on %s port %d",
> +     remote_ip, remote_port,
> +     get_local_ipaddr(sock_in), get_local_port());

?

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list