Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. concurrency (Nick Edwards)
   2. Re: concurrency (Julien ?LIE)


----------------------------------------------------------------------

Message: 1
Date: Fri, 12 Sep 2014 20:22:50 +1000
From: Nick Edwards <[email protected]>
To: inn-workers <[email protected]>
Subject: concurrency
Message-ID:
        <CAMD-=VJudJVx8OBi4iUM5NXaqM+0-isNSZ=l2dddpuwodg8...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello again :)

So far , inn working well, but I need to do two things, firstly, limit
max user concurrency (8) at any given time, the closest I can find is
running innd with -H -X which does not sound appropriate,
secondly,setting a daily limit of 1G per user, and for that I can't
see any references?

Nik


------------------------------

Message: 2
Date: Fri, 12 Sep 2014 13:06:11 +0200
From: Julien ?LIE <[email protected]>
To: [email protected]
Subject: Re: concurrency
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi Nick,

> So far, inn working well, but I need to do two things, firstly, limit
> max user concurrency (8) at any given time, the closest I can find is
> running innd with -H -X which does not sound appropriate,

I believe you should do that with a Perl or Python auth hook.  This
feature has not been implemented in INN yet:
     https://inn.eyrie.org/trac/ticket/9

"nnrpd currently has no way of limiting connections per IP address
other than using the custom auth hooks. In its daemon mode, it could
in theory keep track of this and support throttling. It's probably
not worth trying to support this when invoked via inetd, since at
that point one could just use xinetd and its built-in support
for things like this.

When started from innd, this is a bit harder. innd has some basic
rate limiting stuff, but nothing for tracking number of simultaneous
connections over time. It may be fine to say that if you want to
use this feature, you need to have nnrpd be invoked separately,
not run from innd."



> secondly, setting a daily limit of 1G per user, and for that I can't
> see any references?

I don't see how you could do that with INN only.  Maybe other people
here may have ideas?

I am aware of a QUOTA NNTP command, at the state of draft:
     "draft-kleiner-adding-quota-command-to-nntp-00"
     http://permalink.gmane.org/gmane.ietf.nntp/3561
but it is not implemented in INN.

-- 
Julien


------------------------------

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

End of inn-workers Digest, Vol 64, Issue 8
******************************************

Reply via email to