LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-05-2011, 11:00 AM   #1
minim
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: 0
Restrict remote telnet connection + port 80


Hello,

Is it possible to restrict telnet connection from remote to my server(linux -centos5)?

=================
Ex : [root@localhost]# telnet 10.0.0.33 80
Trying 10.0.0.33...
Connected to 10.0.0.33 (10.0.0.33).
Escape character is '^]'.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
=================

Telnet server is not running in my server. And we have a site running at port 80. Is it possible that remote system should not use telnet to check the port 80 to my server?

And more that is there any possibility that remote system can attack via telnet using port 80?

Thanks in advance

Minim
 
Old 05-05-2011, 11:32 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Quote:
Is it possible to restrict telnet connection from remote to my server
Too my knowledge you cannot protect a listening port (80 in this case) to answer if telnet (or any other service) tries to connect to it. Iptables, for example, sees this as a normal request (which it is: somebody knocked on door number 80).

Quote:
And more that is there any possibility that remote system can attack via telnet using port 80
Possible? Yes! But it does depend on how well apache (or equivalent) is set up. If it is securely set up the chance of this happening is very small. The possibility of attack will not be larger or smaller if you would be able to disallow telnet access.

Hope this helps.
 
Old 05-05-2011, 12:04 PM   #3
minim
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by druuna View Post
Hi,


Too my knowledge you cannot protect a listening port (80 in this case) to answer if telnet (or any other service) tries to connect to it. Iptables, for example, sees this as a normal request (which it is: somebody knocked on door number 80).
Thanks for responding

Helpful information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet: Unable to connect to remote host: Connection refused thomas2004ch Linux - Newbie 1 09-11-2009 03:51 AM
Restrict openssh REMOTE port-forward adrya Linux - Security 1 08-16-2009 03:28 AM
Remote telnet gets 'Connection refused' ashusharma Linux - Networking 5 01-27-2004 02:12 AM
Remote connection (telnet & SSH) woes marioman Linux - General 2 09-29-2003 11:23 AM
telnet: Unable to connect to remote host: Connection refused batham Linux - Networking 0 07-07-2003 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration