[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue banner, IP of clients
[Thread Prev] | [Thread Next]
- Subject: Re: Issue banner, IP of clients
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 27 Mar 2020 06:22:23 +0100
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
- Cc: Alexander Grotewohl <alex@xxxxxxxxxxx>
On Monday, 23 March 2020 20:02:38 CET Alexander Grotewohl wrote: > Hello everyone, > > I have a couple hopefully quick questions that I've been scratching my head > on. > > A) I haven't been able to find a way to send an "issue banner" to a client > when acting as a server. Is there a function or a variable to set > somewhere? This is done automatically by the server once a client connects. It is part of the Key Exchange. > B) I can retrieve the client IP from the socket fd. Is there another > API-like place this IP is stored that I can use for > logging/blacklisting/etc? getpeername() ? Cheers! -- Andreas Schneider asn@xxxxxxxxxxxxxx GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Re: Issue banner, IP of clients | Alexander Grotewohl <alex@xxxxxxxxxxx> |
Issue banner, IP of clients | Alexander Grotewohl <alex@xxxxxxxxxxx> |