Google Answers Logo
View Question
 
Q: Unix ( No Answer,   2 Comments )
Question  
Subject: Unix
Category: Computers > Operating Systems
Asked by: tecate21-ga
List Price: $3.00
Posted: 08 May 2004 13:05 PDT
Expires: 07 Jun 2004 13:05 PDT
Question ID: 343272
Think this through, give a complete answer! How can you deny all
incoming telnet requests, while still allowing outgoing sessions. You
may not use TCP Wrappers as an answer, but you can take some hints!
(here's a freebie, hosts.allow and such are part of the TCP Wrappers
package).

Request for Question Clarification by sgtcory-ga on 08 May 2004 16:54 PDT
Hello tecate21,

Great question. If I understand it correctly, you could use an IPChain
or IPTable based firewall solution.

Is this a suitable solution or do you already have one that you want
us to correctly guess? ;-)

Thanks,
SgtCory

Request for Question Clarification by maniac-ga on 12 May 2004 18:13 PDT
Hello Tecate21,

The straight forward solution is to:
 - install a telnet program (as a client to initiate outgoing sessions)
 - do not install a telnet server (to thus deny all incoming requests)
However, you may be looking for something more thorough as an answer.
Can you explain what you are looking for in a "complete answer"?

  --Maniac
Answer  
There is no answer at this time.

Comments  
Subject: Re: Unix
From: ps258-ga on 17 May 2004 12:57 PDT
 
The generic answer is to disable the telnet server by editing it out
of /etc/inetd.conf and telling inetd to re-read it's config file with
something like 'kill -HUP `cat /var/run/inetd.pid`' but the specifics
will vary a bit depending on your vendor.
Subject: Re: Unix
From: tinus-ga on 08 Jun 2004 17:01 PDT
 
Another way to do this (in most cases) is by commenting the

telnet          23/tcp

line in /etc/services (like this:

# telnet          23/tcp

)

and then restarting inetd or xinetd.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy