Eric Thomas <ERIC@FRECP11>
Sun, 7 Feb 88 22:12:00 SET
|
The GET/GIVE command has been modified to limit the amount of files any given
user may order a day. I had always been opposed to this kind of control, but
it became necessary given the amount of abuse we have experienced (such as a
single user requesting over 600 INFO-CPM archive files in a few minutes).
This limit has been implemented as a new user exit, LSV$GETQ, to which all
users except the postmasters are subjected. This exit is passed some
information about the file being requested, as well as the total number of
files and total number of kilobytes of data ordered 'today'. Note that these
numbers correspond to the person that will actually receive the files, not to
the command issuer.
The default exit supplied with the code should be powerful enough to handle
most cases. It will let in any request originating from or going to a list of
privileged users (GETQWAIVE, defined in LOCAL SYSVARS), which defaults to the
LISTSERV Coordinators. It will reject any request destined to a user who has
ordered more than MAXGET files (which defaults to 20) or more than MAXGETK
kilobytes of data (default is 256k), counting the file being ordered. NADs can
order any amount of data provided they do not exceed MAXGET files a day (this
is mainly to avoid loops with 'crazy execs'); in other words, the setting of
MAXGETK is ignored for NADs. Otherwise they'd be in trouble when they try to
order BITEARN NODES :-) The exit can be tailored by the installation to add
more tests for local users, etc.
Eric
|
|
|