LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-01-2002, 11:28 PM   #1
azure_ss
LQ Newbie
 
Registered: Aug 2002
Posts: 11

Rep: Reputation: 0
can't access some port from outside


hi,all
I start a service on port 50000 in my redhat 7.1 server.
And I can connect to the port(using telnet ip 50000) in my linux box.But it just doesn't work from the internet.
I checked my hosts.allow and hosts.deny and they should be fine.
I also execute "/sbin/iptables -X" and "/sbin/iptables -F" to stop the iptables(ipchains is not available on this version).
So what else do I miss?
btw,when I check services file I found that there is a comment saying that "#local service" just before the service using port 50000,what does local service means?how can I change it?
Thanks
 
Old 10-02-2002, 12:01 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Well, RH does more than keeoing you off of your box, but SSH will do more to kee as close and secure as possible to your box from anywhere in the world. I guess you are trying to leave a backdoor to your system to telnet to it, and do whatever after you login, right? Don't do it, it is not only your security this is a security of the whole internet community, your opened port will be discovered very soon on the net, and believe me hundreds of pranks and sofisticated crackers will try to brake in, if telnet is listens on that port, you can kiss good-bye to your server, enough said, use SSH http://www.openssh.org
If it is another kind of service you got there running, but still you mentioned that you can login to that port through telnet - this is the weakest link, and it makes your whole system weak.
 
Old 10-02-2002, 12:06 AM   #3
azure_ss
LQ Newbie
 
Registered: Aug 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Red face

You misunderstood my meaning.
I just use telnet to test the connectivity.Actually,it's a database service running on that port.And I am trying to connect to the database through internet.
anyway,thanks for your reply
 
Old 10-02-2002, 09:50 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Yeah, I did misunderstand your question, I thought you were going to use whatever service you are running there to remotely login to your system, you can work it out through tcp-wrappers for inetd or xinetd configuration if you are running either of these respective services.
 
Old 10-02-2002, 10:27 AM   #5
azure_ss
LQ Newbie
 
Registered: Aug 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I did check the xinetd but it's just a default setting there.So by default no port is forbidden,right?
btw,who knows what does "local services" means and how can i change it?
 
Old 10-02-2002, 11:12 AM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
It should say something like disable=no in all the include files in /etc/xinet.d/ directory.
 
  


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
how to access to the parallell port with C?? xyzt Programming 2 04-02-2004 03:54 PM
Cannot access Port 80 arizona Linux - General 21 08-26-2003 01:32 AM
Controlling port access? ugenn Linux - Security 3 05-13-2002 02:39 AM
Controlling port access? ugenn Linux - Networking 1 05-02-2002 10:13 AM
Cannot access LP port to print dsledge Linux - Software 0 12-21-2001 11:26 PM


All times are GMT -5. The time now is 09:31 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration