Re: telnet on a specific ip address



On Tue, 26 Jun 2007, Martin Gregorie wrote:

MG> >
MG> Does telnetd take any notice of /etc/hosts.allow or /etc/hosts.deny? If not,
MG> you can always use tcpd , which DOES use them, as a wrapper for telnetd.
MG>

Thankyou for that pointer. I'd be using tcpd as:

# https stream tcp nowait root /usr/sbin/tcpd in.telnetd

in inetd.conf

I've had a look at man hosts_access - its not very readable but I can see
that there is mention of ip numbers. It looks hopeful.

--
Alan

( If replying by mail, please note that all "sardines" are canned.
However, unless this a very old message, a "tuna" will swim right
through. )

.



Relevant Pages

  • Re: telnet on a specific ip address
    ... MG>> On Tue, 26 Jun 2007, Martin Gregorie wrote: ... I'd be using tcpd as: ... MG> connection and rejects the connection if the host name retrieved from the ... Then on the third ip on port 443 would be the sshd server and on the ...
    (uk.comp.os.linux)
  • Re: telnet on a specific ip address
    ... MG> Alan Clifford wrote: ... MG>> On Tue, 26 Jun 2007, Martin Gregorie wrote: ... I'd be using tcpd as: ... MG> connection and rejects the connection if the host name retrieved from the ...
    (uk.comp.os.linux)
  • Summary: Which of the hardening changes disabled the users "stored password" telnet login?
    ... Just realized the problem lies with the Tcp wrapper for Solaris 8 which ... There's suggestion that disabling "rlogin/rhost" in pam.conf could cause ... wrapped with tcpd ... 8.8 User land1 has a world-executable homedir! ...
    (SunManagers)
  • Re: telnet on a specific ip address
    ... It looked to me as if tcpd does a reverse DNS lookup for the remote host that opened the connection and rejects the connection if the host name retrieved from the socket doesn't match that returned by DNS. ... if I read it right it should be safe to write the access rules using IP numbers or host names. ... martin@ | Martin Gregorie ...
    (uk.comp.os.linux)
  • Re: telnet on a specific ip address
    ... can I install an emergency telnetd on port 443 with yet another ip4 ... CD> Earlier you talk about it being an emergency ssh. ... martin@ | Martin Gregorie ...
    (uk.comp.os.linux)