Re: telnet on a specific ip address
- From: Alan Clifford <sardines@xxxxxxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 02:02:52 +0100
On Wed, 27 Jun 2007, Martin Gregorie wrote:
MG> Alan Clifford wrote:
MG> > On Tue, 26 Jun 2007, Martin Gregorie wrote:
MG> >
MG> > MG> > MG> Does telnetd take any notice of /etc/hosts.allow or
MG> > /etc/hosts.deny? If not,
MG> > MG> you can always use tcpd , which DOES use them, as a wrapper for
MG> > telnetd.
MG> > MG>
MG> > Thankyou for that pointer. I'd be using tcpd as:
MG> >
MG> > # https stream tcp nowait root /usr/sbin/tcpd in.telnetd
MG> >
MG> > in inetd.conf
MG> >
MG> > I've had a look at man hosts_access - its not very readable but I can see
MG> > that there is mention of ip numbers. It looks hopeful.
MG> >
MG> I scanned the man page rapidly before I posted that hint. It looked to me as
MG> if tcpd does a reverse DNS lookup for the remote host that opened the
MG> connection and rejects the connection if the host name retrieved from the
MG> socket doesn't match that returned by DNS. If that check is passed it
MG> applies the rules in hosts.allow and hosts.deny. So, if I read it right it
MG> should be safe to write the access rules using IP numbers or host names.
MG>
That's the wrong machine isn't it?. What I want is for the server machine
to have four ip numbers such that on 81.187.211.42, port 443 is a website,
on 81.187.211.44 port 443 is another website (well actually the same
website but with a different certificate). This is already installed.
Then on the third ip on port 443 would be the sshd server and on the
fourth ip on 443 would be telnetd server.
--
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. )
.
- Follow-Ups:
- Re: telnet on a specific ip address
- From: Martin Gregorie
- Re: telnet on a specific ip address
- References:
- telnet on a specific ip address
- From: Alan Clifford
- Re: telnet on a specific ip address
- From: Chris Davies
- Re: telnet on a specific ip address
- From: Alan Clifford
- Re: telnet on a specific ip address
- From: Martin Gregorie
- Re: telnet on a specific ip address
- From: Alan Clifford
- Re: telnet on a specific ip address
- From: Martin Gregorie
- telnet on a specific ip address
- Prev by Date: Re: telnet on a specific ip address
- Next by Date: Re: telnet on a specific ip address
- Previous by thread: Re: telnet on a specific ip address
- Next by thread: Re: telnet on a specific ip address
- Index(es):
Relevant Pages
|
|