[Bug 948] high CPU in sshd after tcp_wrappers deny

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Nov 2 22:01:32 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=948





------- Additional Comments From dtucker at zip.com.au  2004-11-02 22:01 -------
The code that drops the connection is pretty simple and there's no obvious way
for it to get into a loop:

if (!hosts_access(&req)) {
      debug("Connection refused by tcp wrapper");
      refuse(&req);
      /* NOTREACHED */
      fatal("libwrap refuse returns");
}

When it happens, can you run /usr/ucb/ps auxwww and pick out the pid of the
errant process?  It should have a few hints about what stage the process is at
in the process title.

Also, can you reproduce it with sshd in debug mode (eg /path/to/sshd -ddde)?  If
so, please attach (note: use "Create New Attachment") the debug log to this bug.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list