Subject: [887] Adding time limit

From: [email-masked] (Irwin Nemetz)
Date: Fri, 09 Dec 1994 12:00:23 -0500

I am search for a ftp daemon which can limit a connection to a certain
length of time per day. Does anyone want to take on the challange of
modifying wu-ftpd to add this capability ? I was hoping to be able to do it
myself but looking at the source code, I don't think I can do it.

Irwin

---

From: Andrew Bennett <[email-masked]>
Date: Fri, 09 Dec 1994 09:34:01 -0800 (PST)

> myself but looking at the source code, I don't think I can do it.

Create several different ftpaccess files, with appropiate limits you want
in each.  Then write a simple shell script to copy the one you want over,
and cron it for the specified time.

Dunno what happens to connections on at time of switch.  Like, if you have
48 people on at 7:59a and lower it to 20 at 8:00a, I assume the 48 will 
be on until they disconnect...

Andrew
-- 

(c) 1994, Andrew Bennett                              [email-masked]

<a href="http://hyperreal.com/~abennett/">Andrew's Page</a>