Subject: Limiting Access by Time ???

From: Pete Holsberg <[email-masked]>
Date: Mon, 20 Apr 1998 11:38:27 -0400 (EDT)

Well, I still cannot get this to work. I just tried to ftp
in from an external machine and got the "it's the wrong
time" message.

Can someone please help?

Here's ftpaccess:

class   mccc   	anonymous,real	*.mccc.edu 198.133.170.*
class	longdist	anonymous,real	*.bellatlantic.com 207.244.8.* 199.224.2.* 12.68.49.*
class	nonmccc	anonymous,real	*
#
#	The following doesn't work!
#	class	nonmccc	anonymous,real	!(*.mccc.edu)
#
limit   mccc      35   Any      /usr/local/etc/msg.toomany
limit   longdist  10   Any      /usr/local/etc/msg.toomany
#
#limit   nonmccc   10   Any	/usr/local/etc/msg.toomany
#
limit   nonmccc   00   Mon-Thu1800-2159	/usr/local/etc/msg.toomany
limit   nonmccc   10   Fri-Sun1800-2159	/usr/local/etc/msg.toomany
limit   nonmccc   10   Any2200-2359 /usr/local/etc/msg.toomany
limit   nonmccc   10   Any0000-1759 /usr/local/etc/msg.toomany

readme  README*    login
readme  README*    cwd=*

message /welcome.msg            login
message .message                cwd=*

compress        yes             local remote
tar             yes             local remote

log commands real
log transfers anonymous,real inbound,outbound

upload	/home/ftp  /in  yes  super  sys  0660
upload  /home/ftp  *    no

#shutdown /usr/local/etc/msg.shut

email [email-masked]

passwd-check	rfc822	enforce

banner	/opt/etc/ftp-banner

loginfails 2

tar		no	mccc,nonmccc,longdist
compress	no	mccc,nonmccc,longdist
chmod		no	mccc,nonmccc,longdist
delete		no	mccc,nonmccc,longdist
overwrite	no	mccc,nonmccc,longdist
rename		no	mccc,nonmccc,longdist
umask		no	mccc,nonmccc,longdist