Quote:
Originally Posted by matters
I heard that tcpwrappers are installed in the kernel. Is that true?
|
No, it's a userspace executable (tcpd) and a userspace library (libwrap.a).
Quote:
Originally Posted by matters
For some reason tcpwrappers dosent work with sshd.
Can someone point out to me how i can check if tcpwrappers are inside my current kernel?
|
libwrap.a is statically linked inside the sshd binary if you use the official Slackware openssh.
Code:
strings /usr/sbin/sshd | fgrep 'hosts.allow'
prints /etc/hosts.allow if that string is included in the sshd binary and it's there only if sshd has been linked against libwrap.a.