Subject: Help with "limit" option

From: FTP Administrator <[email-masked]>
Date: Fri, 19 Apr 1996 15:02:08 +0200 (MET DST)

Hi there,
I would like to be able to set "limit" option in the ftpaccess file.
The format is:   limit <class> <n> <times> <message_file>
The related man page says <times> is in same format as the times in the 
UUCP L.sys file, but I didn't find this file in our system, nor a helpful 
man page.  
Anybody help about this format?

Thank you in advance,

Massimo Gais
----
FTP Administrator                                        <[email-masked]>
C.D.S. - University "Federico II" of Naples (Italy)

---

From: "W. James Showalter" <[email-masked]>
Date: Thu, 18 Apr 1996 09:14:48 -0400 (EDT)

I asked the same question also a couple of weeks ago and never received
an answer.  Perhaps the answer should be placed in the FAQ since it is
unique to a particular system but used by wu-ftpd which is on a variety
of systems.

Jim

---

From: [email-masked] (Koos van den Hout _U nix and we all_)
Date: Fri, 19 Apr 1996 16:42:13 +0200 (MET DST)

> Anybody help about this format?

I thought it was in one of the sample ftpaccess files. Anyway, I use :

limit   anremote	10  SaSu|Any1800-0700   /var/spool/ftpd/msgs/msg.toomany
limit   anremote	5	Any	/var/spool/ftpd/msgs/msg.toomany

Which means 10 users Sat/Sun/Anyday between 18:00 and 07:00 or 5 users
otherwise.

Hope this helps, have a nice weekend everybody.

                                               Grtx. KH

-- 
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  [email-masked] (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  [email-masked] (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  Quando Omni Flunkis Moritati (If all else fails - play dead)     KH106-RIPE

---

From: Junlei Zhang <[email-masked]>
Date: Fri, 19 Apr 1996 11:28:04 -0400 (EDT)

Is there a way to include in the wu-ftpd stats report the complete
host names instead of just the domain names of au, ca, us, edu, etc?

Also, what does unresolved mean for demain names?  I thought the

deny	!nameserved	/etc/ftpmsgs/msg.denied

in the ftpaccess file would not allow the unmapped hosts to log in.

      #=======================================================#
      #                                                       # 
      #                    Junlei Zhang                       # 
      #        Electronic Records and Network Services        #
      #  New York State Archives and Records Administration   #
      #            Email: [email-masked]              #
      #                                                       #
      #=======================================================#

---

From: Apu <[email-masked]>
Date: Fri, 19 Apr 1996 13:44:05 -0400 (EDT)

On Fri, 19 Apr 1996, Junlei Zhang wrote:

> Also, what does unresolved mean for demain names?

>From my modified version of xferstats...

#  $domain = $address[$#address];
#   if ($domain eq "$mydom2" && $address[$#address-1] eq "$mydom1")
#      { $domain = $mydom1 . "." . $mydom2; }
   if ( int($address[0]) > 0 || $#address < 2 )
      { $domain = "unresolved"; }
   else
      { $domain = $address[$#address-1] . "." . $address[$#address]; }

Note that I commented out the first three lines from the original version
of xferstats and added the else at the end.  My needs are satisfied by
getting "spfld.com" instead of just "com" but you can extend this as far
as you need to...for example, if you wanted "wugate.wustl.edu" instead of
my "wustl.edu" or the default version of just "edu."

 _
| |
|-|
| |pu <[email-masked]>