Click to See Complete Forum and Search --> : after I have built the RH 7.1, I can't telnet, httpd, ftp or samba
worldtouch
07-09-2001, 05:39 AM
after I have built the RH 7.1, I can't
use httpd,telnet,ftp
etc/rc.d/init.d/ipchains stop
ipchains -F
flushed the firewall and restart the m
achine and flushes again,
I still can't telnet, ftp or httpd( ap
ache) into seawolf.
-then I go to /var/log/
secure---- listen 0.0.0.0 port 22.
show me how to solve this problem if u
have good at system
Jennifer
:confused:
[ 09 July 2001: Message edited by: worldtouch ]
dvdnut
07-09-2001, 05:51 AM
what are your firewall rules?
and can you port scan yourself to see whats open?
d/l nmap from
.Nmap Website (http://www.insecure.org/nmap)
good tool i feel for finding these things out
worldtouch
07-09-2001, 06:33 AM
I disable the firewall
/etc/rc.d/init.d/ipchain stop
and
ipchains -F
I diable the firewall, I have the linksys router so I do not need the seawolf to have any firewall at all.
I am a novice.
would u Please be specific and step by step?
jennifer
worldtouch
07-09-2001, 09:35 AM
init: id"x" respawning too fast , disable for 5 minutes.
What can I do with this???
Jennifer.
1.
edit your /etc/xinetd.d/telnet and make it enable i.e. -> disable = no, save it
2.
edit /etc/sysctl.conf as necessary ...
Or if you like, you can go to X-Win :
gnome->program->system->sysctlconfig as root
This happened if you selec medium security setting when you 1st install RH 7.1
The only problem I still have : I can shut it down remotely (shutdown -h now or halt).
Rexx
worldtouch
07-09-2001, 11:46 AM
I can't startx, please all suggestion must be in "type-in".
I did not set any security as far I can remember myself. Is there a way to disable firewall.
- in setup-service, the gated is not on at all.
jennifer.
[ 09 July 2001: Message edited by: worldtouch ]
Just edit the file in /etc/xinetd.d/ directory (telnet, wu-ftp, etc), default setting is "disable=yes" you have to change into "disable=no" for each service you want to use.
also /etc/sysctl.conf with vi or pico from CLI
and make sure ipchains set destination to 0.0.0.0/0
You don't need to startx if you don't want to ... and make sure you make backup copies for each file in case something wrong ....
And don;t forget to read the manual page, howto or any info if you want to dig it deeper
Rexx
worldtouch
07-09-2001, 07:00 PM
I have built a small files called nofirewall
in /etc/rc.d/init.d/:
-chmod +x nofirewal
it has three lines there
-#!/bin/bash
set -x
/usr/sbin/ipchains -L
/usr/sbin/ipchains -F
how to integrate the "0.0.0.0"
show me the url for "how-to" just too many of them flying around.
thanks!
Jennifer
slayer17
07-09-2001, 08:05 PM
if You are running RedHat be sure to look at /etc/pam.d for the configuration scripts for telnet and ftp. You will have to make some adjustments in here as well.
scott_R
07-09-2001, 08:29 PM
Sounds more like your kernel isn't configured correctly. Type lsmod to see if you have the httpd, and other modules installed. RH7.1 might have come with them disabled for security reasons. If so, you will either have to reinstall to enable them, load them manually (with insmod), or recompile the kernel to include them, depending on your needs.
None of this is real hard, it just sounds scary (and is, the first time). Read your howto's and other docs (I usually use man pages, info pages, and lynx in non-gui instances) for more info.
worldtouch
07-09-2001, 09:26 PM
in day one, I have done this before. it is not as simple as that.( setup... remove and restart xined.d restart ...etc)
I am comparing my linux 7.0 and 7.1 especially /etc/sysctl.conf and added
net.ipv4.1_always_defrag = 0 there and restart the machine.
what folks can help me is how to set destination to 0.0.0.0/0 in ipchains??
I am not sure about the syntax of ipchains.
ipchains -F
ipchains 0.0.0.0/0 ( like this , I do not know)
to top the situation, I have init ;id "x" respawning too fast , disable for 5 minutes.
how to tackle this? the whole screen blinks and keyboard is locked.
-show me detail, what suppose to check in
"if You are running RedHat be sure to look at /etc/pam.d for the configuration scripts for telnet and ftp. You will have to make some adjustments in here as well."
I appreciate for your effort!!!
jennifer.
[ 10 July 2001: Message edited by: worldtouch ]
worldtouch
07-12-2001, 04:20 AM
now, telnet . samba, mysql are ok after I took away ipchains and iptable by re
name then as 99ipchains and 99iptables.
Well httpd(apache and ftp ) are not wo
rking at all.
I have tried ./httpd restart and ./xi
netd restart
no use at all.
folks any bright ideas and why is that???
jenny.