Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have redhat linux 7.1 and telnet to this machine from network does not work. Have looked into /etc/xinetd.d./telnet and /etc/xinetd.conf nothing seems to be working.
Yeah, I am having the same problem at home, along with ftp also. I have had RH 6.1 and 7.0 and have had ftp and telnet services running before.
For RH 7.1
I bought RH 7.1 with a book(RHL 7.1 Secrets, by Naba Barkataki), not a boxed set. I performed the Workstation install class and later had to add the Xinetd rpm(it seems that RH thinks people don't use want these services ?).
Fact: I have looked into the /etc/hosts.allow and the /etc/hosts.deny, both are blank (default for allowing everyone ftp access).
Fact: I have edited the /etc/xinetd.cf file to include the lines that activate ftp and telnet (i.e. ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a) and the same for telnet.
Fact: I have also modified the /etc/xinetd.d/wu-ftp and /etc/xinetd.d/telnet file to get ride of the line " disable = yes". If I recall correctly, this disable line was not there before? but I found it nonetheless and deleted it.
Fact: The telnet and ftp (server and client), and xinetd server rpms are installed(they are not by default in the workstation install option).
Fact: I got ride of all of the ipchains rules for now. I had originally installed the firewall as "high security" but yet chose to allow HTTP, ftp, telnet and ssh. Later I reinstalled and chose "medium security" and still allowed the incoming internet services ftp, telnet etc.
Fact: I open a terminal window as root and telnet or ftp my own ip and 127.0.0.1 and both give me "connection refused".
I have not yet installes the ssh client, but something tells me this problem is system wide.
Ok!! I am not that familiar with firewall part of story. I believe that is was installed as being "low security". BTW, I have not installed this machine.
and I can successfully do telnet localhost and it works like a champ. I can even login as root when I can do telnet localhost.
why use something as unsafe as telnet and ftp? You really might as well shut down your firewall, cause if someone sees ports 21 and 23 open, they will go for it. Red Hat installs and opens SSH by default which is much safer.
Were you able to get your Telnet & FTP working? I'm facing the same problem as you after installing publisher's edition of RH 7.1 from Mastering Red Hat Linux 7.1 book.
u better get a newer version of xinetd .i had the same problems .i got xinted.*pre-10 from http://xinetd.org/.they provide a perl script xconv.pl which reads ur inetd.conf file and creates an xinetd.conf file ...i found that it worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.