Re: ftp access denied
Gary <[email protected]> Fri, 29 Nov 2002 00:12:06 -0600
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Organization | Hardly |
| Message-ID | <[email protected]> |
On Thu, Nov 28, 2002 at 11:09:49PM -0700 or thereabouts, Darren Spruell wrote:
> Gary wrote:
> > Have a problem, just installed publicfiles, and the http works file. I can
> > also ftp within my LAN, but if accessing ftp outside, I get access
> > denied.
> >
> > Any thoughts, or help. Port 21 is open on the firewall.
> >
> > Connected to mygirlfriday.info (64.198.58.115).
> > 220 Features: a p .
> > Name (mygirlfriday.info:df): df
> > 230 Hi. No need to log in; I'm an anonymous ftp server.
> > Remote system type is UNIX.
> > Using binary mode to transfer files.
> > ftp> ls
> > 227 =192,168,0,20,184,46
> > 150 Waiting for transfer connection...
> > 425 Sorry, I couldn't accept a connection: access denied.
>
> What is being logged? See /PATHTOFTPD/log/main/current.
Interesting. Both the LAN and WAN connections show okay.
2002-11-28 22:17:13.808994500 tcpserver: status: 0/40
2002-11-28 23:43:35.196448500 tcpserver: status: 1/40
2002-11-28 23:43:35.196663500 tcpserver: pid 4856 from 64.198.58.115
2002-11-28 23:43:35.196782500 tcpserver: ok 4856 0:192.168.0.20:21
:64.198.58.115::64438
2002-11-28 23:43:43.593318500 64.198.58.115 dir ./0/: success
2002-11-28 23:44:43.588555500 tcpserver: end 4856 status 0
2002-11-28 23:44:43.588564500 tcpserver: status: 0/40
2002-11-28 23:46:53.847628500 tcpserver: status: 1/40
2002-11-28 23:46:53.847878500 tcpserver: pid 4859 from 192.168.0.20
2002-11-28 23:46:53.848013500 tcpserver: ok 4859 0:192.168.0.20:21
:192.168.0.20::47152
2002-11-28 23:46:57.914022500 192.168.0.20 dir ./0/: success
2002-11-28 23:47:28.974663500 tcpserver: end 4859 status 0
2002-11-28 23:47:28.974672500 tcpserver: status: 0/40
--
Best regards,
Gary
sed '/^[when][coders]/!d
/^...[discover].$/d
/^..[real].[code]$/!d
' /usr/share/dict/words