Re: Log message

This is a discussion on Re: Log message within the OpenSSH Development forums, part of the Networking and Network Related category; On Mon, 13 Mar 2006, Linux wrote: > Hi, > > I'm working on some project which is sort ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-14-2006
Damien Miller
 
Posts: n/a
Default Re: Log message

On Mon, 13 Mar 2006, Linux wrote:

> Hi,
>
> I'm working on some project which is sort of log filter.
> Last few days I noticed that there are some wacky people
> scanning sshd port all the time from anywhere.
> Although sshd reports it with syslog error message which is
> very helpful, I'd like to know the source ip address with
> following message:
>
> canohost.c: around line #100
>
> if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
> logit("reverse mapping checking getaddrinfo for %.700s "
> "from address %.100s failed - POSSIBLE BREAKIN ATTEMPT!",
> ntop, name);
> return xstrdup(ntop);
> }


Good point, fixed. The other message of this type already logged the
address.

The new message will look like:

logit("reverse mapping checking getaddrinfo for %.700s "
"[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop);

-d

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0