Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 12:07:58 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@des.no>
Cc:        freebsd-security@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: OpenSSH HPN
Message-ID:  <5641D00E.501@digiware.nl>
In-Reply-To: <86a8qm9l9b.fsf@desk.des.no>
References:  <86io5a9ome.fsf@desk.des.no> <5641BFC4.7050208@digiware.nl> <86a8qm9l9b.fsf@desk.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10-11-2015 11:55, Dag-Erling Smørgrav wrote:
 > Willem Jan Withagen <wjw@digiware.nl> writes:
 >> I know I've installed the ports once to see if, and how I would be
 >> able to add more IP-address infor to some of the warnings and
 >> errors. And then to get thos errors recognised by tools like sshguard
 >> and fail2ban.
 >
 > Do you mean logging IP addresses instead of hostnames?  Just turn off
 > UseDNS.  It is off by default since 6.8.

No not really....
Digging in my logfiles .... , and its things like:
  sshd[84942]: Disconnecting: Too many authentication failures [preauth]

So errors/warnings without IP-nr.

And I think I fixed it on one server to also write:
error: maximum authentication attempts exceeded for root from 
173.254.203.88 port 1042 ssh2 [preauth]

Which when I found out that upstreaming patches from base will be hard, 
because the whole logging in the ports version is totally different.

 > If you mean adding IP addresses or hostnames to messages that don't
 > already have them, try suggesting it on the openssh-portable mailing
 > list (openssh-unix-dev@mindrot.org).

Are they still willing to accept changes to the old version that is 
currently in base?

--WjW






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5641D00E.501>