Linux - Security This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-29-2002, 03:42 AM
|
#1
|
Member
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627
Rep:
|
can't access to remote machine
hi,
I ve just reinstalled the redhat 7.3.
In the previous installation, i could access to my machine from another with telnet or ftp, but not now.
I have installed telnet server, ftp server ..., the services are check and also the xinetd.
I run the xinetd but the same problem: Connexion refused.
perhaps something is doing by the firewall ??
where can I test if the fire wall stops the entering
thank you for help
bela
|
|
|
12-29-2002, 05:41 AM
|
#2
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
What firewall? I think the problem is in you /etc/inetd.conf. Edit it and uncomment the line with telnet an FTP:
#something like that
# File Transfer Protocol (FTP) server:
ftp stream tcp nowait root /usr/sbin/tcpd proftpd
#
# Telnet server:
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
It should be ok, or you can edit /etc/hosts.allow file and enter IP of the host you want to allow.
If your are using some firewall script like rc.firewall check out if its properly configured, I mean the IPtables chains
good luck
|
|
|
12-29-2002, 08:47 AM
|
#3
|
Member
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627
Original Poster
Rep:
|
since, i think redhat 7.0 , there is no file inetd, but instead , there is a directory /etc/xinetd, which contains the services ( ftp, telnet ....).
to run the telnet or ftp ( not the case for httpd for example) server you must run the xinetd daemon.
why, firewall ? because firewall could block the access to the machine?
so the question remains open
thank for help
|
|
|
12-29-2002, 10:09 AM
|
#4
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
To list the tcp ports open for listening,
netstat -tanp
Your firewall may not have any -j LOG rules in it to create messages, so do
chkconfig --list
and see whether ipchains or iptables is set on for levels 2,3,4,5, then either
service ipchains stop ,or
service iptables stop
to remove the firewall while you test.
You can turn the xinetd services on & off with chkconfig as well... eg
chkconfig telnet on
|
|
|
All times are GMT -5. The time now is 11:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|