Mailinglist Archive: opensuse-security (670 mails)
| < Previous | Next > |
Re: [suse-security] SuSE and tcpd
- From: "Ulf Leichsenring" <uleichsenring@xxxxxxxxxxxxxx>
- Date: Wed, 14 Nov 2001 18:11:46 +0100
- Message-id: <001f01c16d2f$7154d500$c901ae84@secmobile>
> 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
> 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 > |