Subject: data socket error

From: [email-masked] (Brent Balfanz)
Date: Thu, 4 Apr 1996 10:24:53 -0600

hi all,

I'm just about there but I still have a major bug to take care of.

ftp> debug
Debugging on (debug=1).
ftp> ls
---> PORT 151,210,xxx,xxx,xxx,xxx
200 PORT command successful.
---> NLST
425 Can't create data socket (0.0.0.0,20): Bad file number.
ftp> pwd
---> PWD
257 "/sun" is current directory.

#####
the ftpaccess list looks like so

# ftpaccess

# defining classes of users...
# class	  classname	type	address
#
class     goodguys       	real     *
class     badguys        guest    *

# denying access...
# deny access if ip address doesn't map back to a legitimate 
# domainname
#
deny	!nameserved	/etc/ftpmsgs/msg.denied

# limiting access...
# setting simultaneous access per class
#
limit   goodguys       1    Any       /etc/ftpmsgs/msg.limit
limit   badguys       10    Any       /etc/ftpmsgs/msg.limit

# group controls...
# guestgroups (sun, oracle, ibm)
#
guestgroup badguys

#####
the passwd and group entries are such

/etc/root
bguy1:x:3001:8000:sun ftp user:/usr/local/ftp/pub/./bguy1:/bin/sh
bguy2:x:3002:8000:oracle ftp user:/usr/local/ftp/pub/./bguy2:/bin/sh
bguy3:x:3003:8000:ibm ftp user:/usr/local/ftp/pub/./bguy3:/bin/sh

##
/etc/group
badguys:*:8000:bguy1,bguy2,bguy3

now, when I comment out the 'guestgroup' from the ftpaccess file, I
can get in and list the dir (I can also move around too much).  any
ideas as to where my major mistake is?

thanks,		...brently