LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2001, 08:28 PM   #1
clewis
LQ Newbie
 
Registered: Jun 2001
Location: Marquette MI
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
Question telnet and FTP


I am setting up a server to do nothing but handle FTP and Telnet. I am using RedHat 7.1 and it is refusing all teh connections from anywhere. I saw something in the beinging about a firewall and didnt choose one, so I assumed that it didnt install the firewall. Why would it be refusing all of these connections then?
 
Old 06-23-2001, 06:24 AM   #2
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31
Do
#ntsysv

then uncheck ipchains and iptables and check telnet and wu-ftp
 
Old 06-23-2001, 07:40 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
If its going to do a lot of telnet and FTP then you will want to run your telnet/ftp daemons all the time, instead of having inetd start them each time someone attempts to connect. Just remove the ftp and telnet lines from /etc/inetd.conf and put those same lines in one of your startup scripts. Remember to restart inetd !

cheers.

Jamie...
 
Old 06-23-2001, 11:18 AM   #4
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31
Jamie,

#ntsysv will take care of that in Redhat 7.1 no extra steps needed.
 
Old 06-24-2001, 03:37 PM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
How does it decide wether to let inetd run them or to fire them up as daemons and leave them running?

Jamie...
 
Old 06-24-2001, 05:40 PM   #6
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31
Wel, If I am not mistaken, all he wanted is to enable telnet and ftp and disable ipchains or iptables to allow connection. With command ntsysv, it will let him enable and disable services by selecting them checking or unchecking..that's all and next time he reboots services will remain as he selected whether on or off.
 
Old 06-25-2001, 03:04 AM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by nabil
Wel, If I am not mistaken, all he wanted is to enable telnet and ftp...
Correct. My original post in this thread wasn't a solution but just a comment, as if you leave inetd starting the ftp and telnet daemons each time someone wants to connect you're introducing an unnecessary overhead as the trade-off of saving memory by killing the daemon when its not in use isn't worth the additional overhead of starting it up again all the time.

As you replied saying that ntsysv would take care of this I was just wondering how it would decide what to run all the time, and what to let inetd start... clearly we're talking cross purposes!

Jamie...
 
  


Reply



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
ftp and telnet shelbyg75 Red Hat 2 09-29-2004 02:27 PM
telnet and ftp paperdiesel Linux - Networking 18 07-12-2004 04:15 PM
FTP and Telnet carlg Linux - Networking 3 04-02-2004 12:00 PM
telnet and ftp? nabil_boussetta Linux - Networking 4 10-27-2003 09:05 AM
telnet and ftp? nabil_boussetta Red Hat 4 10-27-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 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
Open Source Consulting | Domain Registration