[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ftpd



the "ftp" at the beginning of the line is the service name as defined in
/etc/services...I think someone else already stated that.

the "daemon" name or service name to use in your allow/deny files in
your case is "in.ftpd".

try it again with "in.ftpd" and i'll bet you a brew it'll work! (sam
adams please!)

whatever "daemon" name is listing in /etc/inetd.conf should be used in
the allow/deny files.  so, you'll also have to
add "in.ftpd" to your hosts.allow file.

robt

Jeff Weatherford wrote:
> 
> ok...now i'm even more confused...here is what they say...
> 
> first of all...a line from my inetd.conf:
> #:STANDARD: These are standard services.
> ftp             stream  tcp     nowait  root    /usr/sbin/tcpd
> /usr/sbin/in.ftpd
> 
> now, tcpdmatch says that there is no process called "ftp in that file...
> 
> # tcpdmatch ftp 127.0.0.1
> warning: ftp: no such process name in /etc/inetd.conf
> client:   address  127.0.0.1
> server:   process  ftp
> matched:  /etc/hosts.deny line 15
> option:   spawn (mail -s "ftp access attempt from 127.0.0.1" </dev/null) &
> access:   denied
> 
> and:
> # tcpdchk -v
> ...
> daemons:  ftp
> clients:  .mydomain.com
> access:   granted
> ...
> (where mydomain is substituded for my real domain name)
> 
> odd eh?
> 
> -jeff
> 
> At 05:58 PM 1/23/01 -0800, you wrote:
> >If you don't want inetd to start a service, comment them out of inetd.conf.
> >
> >Also tcp wrappers comes with 2 tools...tcpdchk and tcpdmatch.
> >
> >use them to test and to list your deny/allow policies, respectively, as
> >follows:
> >
> >tcpdmatch <daemon> 127.0.0.1
> >tcpchk -v
> >
> >hope this helps!
> >
> >robt
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: