On Sun, 11 Jul 1999, Karen R wrote:

> Axalon,
> 
> i added 'ALL: 127.0.0.1 to hosts.allow
> and
> ipchains -I input -s 127.0.0.1/32 -i ! lo -j DENY
> to my rc.local
> 
> rebooted
> 
> went into xterm and typed
> ftp localhost
> and it came back with
>   Connected to localhost.
> and maybe 10-15 seconds later it said
>   421 service not available, remote server has closed connection
> and immediately under that came
> ftp>
> 
> what now?

Do you own a sledge hammer?
 
> karen


assumeing it worked beforehand
ipchains -D input -s 127.0.0.1/32 -i ! lo -j DENY
ftp 0
Does it connect now?

yes:
add this to /etc/ppp/ifup.local and chmod +x /etc/ppp/ifup.local
and remove the line from rc.local

ipchains -I input -i ! lo -s 127.0.0.1 -j DENY

if it doesn't work with this remove the ipchains commands from startup
files (as long as it's not a high secruity pc, your a home user if i
remeber correct) the vast majority of the few that can exploit this will
have little interest in a dynamic ppp machine. 

no:
verify it works with blank/commented out hosts.[deny/allow]
still not working, verify /usr/sbin/in.ftpd exists if not maybe we forgot
to install or was removed install either wu-ftpd or BeroFTPD, and return
to top of email :)


let me know if it still refuses to work

Reply via email to