Mailinglist Archive: opensuse-security (670 mails)

< Previous Next >
Re: [suse-security] SuSE and tcpd
> I have a SuSE (Linux 2.2.16) box and am trying to get tcpd to restrict
> access
> Effectively I want 1 machine to have telnet access
> say x.x.x.x (a 102. style internal domain)
> I have in /etc/inetd.
>
> telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
>
> and in /etc/hosts.allow
> telnet : x.x.x.x
>
> and in /etc/hosts.deny
> telnet : ALL
>
> Question is:
> why can anyone get on?

Just put into the /etc/hosts.allow:
in.telnetd: x.x.x.x

and into /etc/hosts.deny:
in.telnetd: ALL

That should give you the expected results.
Ulf

____________________________________
Ulf Leichsenring
Lufthansa Systems AS GmbH
mailto:uleichsenring@xxxxxxxxxxxxxx
http://www.lhsystemsas.de



< Previous Next >
Follow Ups
References