I build ssh 3.2.9.1 on a Solaris 9 machine, and I'm trying to block certain IP addresses (I get a lot of ssh probes) from connecting through ssh. I'm trying to implement it with tcp_wrappers, so I have the following in inetd.conf:
ssh stream tcp nowait root /usr/local/bin/tcpd sshd -i
There's a line for ssh in /etc/services, I have my allow and deny files, and sshd "works", but when I activate this line in inetd.conf, in the messages file I get:
Feb 10 09:48:29 smash inetd[171]: [ID 965992 daemon.error] ssh/tcp: unknown service
It seems that this IS a known service, however.
Thanks!
ssh stream tcp nowait root /usr/local/bin/tcpd sshd -i
There's a line for ssh in /etc/services, I have my allow and deny files, and sshd "works", but when I activate this line in inetd.conf, in the messages file I get:
Feb 10 09:48:29 smash inetd[171]: [ID 965992 daemon.error] ssh/tcp: unknown service
It seems that this IS a known service, however.
Thanks!