November 13, 2017

Lab 15.1 on centos

the solution for lab 15.1 does not work on centos, seems like systemd is not linked against libwrap:


so when you start the telnet socket, telnet will be accessible despite denying all access via hosts.deny.

nevertheless xinetd uses libwrap, so starting in.telnetd via xinetd and denying all access works as expected.

just to be sure here is the content of my hosts.deny file:

all : all

and hosts.allow:

sshd : ALL

thanks toni

Click Here!