Date: Mon, 18 May 2009 22:49:52 -0400 From: Glen Barber <glen.j.barber@gmail.com> To: hackers@freebsd.org Subject: sshd(8) - alert user when fails to execute from rc.d Message-ID: <4ad871310905181949s2874795eoa5ddf425746310bf@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Good evening, hackers. Earlier this evening, I submitted a PR about sshd(8) giving a false-positive when starting on an already occupied socket[1]. I would like to enable some form of console output when the rc.d script is called if the service cannot properly bind to the socket, but I want to make sure I do it "the right way." I was digging through src/crypto/openssh/sshd.c hoping to submit a patch to enable this, but I'm not certain that is the right place to be looking. After digging through erc/etc/rc.d/sshd, I am failing to understand how the service would check the listening port, so now I feel like I am hitting a wall. Any suggestions on how best to enable this? Thanks in advance. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=134694 -- Glen Barber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310905181949s2874795eoa5ddf425746310bf>