Re: Once more connection monitoring

2003-11-30 Thread Perrin Harkins
> I'm more worried about whether or not I am on the right track with this > section of code layout. > > IF i wanted to allow a validated user to download one file at a time > from a certain folder sub handler { ># validate user first to see if they belong in this area ># check and see if

Once more connection monitoring

2003-11-30 Thread John Michael
>> Be aware of proxies. Many ISPs use proxies, in this situation your are> excluding all people using the same proxy because one of their users is> accessing a directory/file.>I'm not worried about this aspect.  I'm going to validate using cookies andcan use cookies along with their ip, use

Re: connection monitoring

2003-11-29 Thread Tom Schindl
> > - Original Message - > From: "Thomas Klausner" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, November 29, 2003 2:19 AM > Subject: Re: connection monitoring > > > > Hi! > > > > On Sat, Nov 29, 2003 at 02:00:18

Re: connection monitoring still

2003-11-29 Thread Ged Haywood
Hi there, On Sat, 29 Nov 2003, John Michael wrote: > I'm trying to limit users to a certain folder to only 1 connection at a time. You've read the stuff that Randal's done I take it? http://www.stonehenge.com/merlyn/LinuxMag/col17.html There have also been several thread on this List which tou

connection monitoring still

2003-11-29 Thread John Michael
I think I may have it.  I'm trying to limit users to a certain folder to only 1 connection at a time.  I'm going to keep a list of active connections.   DO I just write the access handler and at some point in the handler add the cleanuphandler   sub handler {     # code to check for active c

Re: connection monitoring

2003-11-29 Thread Thomas Klausner
Hi! On Sat, Nov 29, 2003 at 02:49:20AM -0600, John Michael wrote: > But This: > > if ($h->r->connection->aborted) { > > would not be called until this > > $h->r->send_fd($fh); > > were already through. For a large file, wouldn't that it too late. > or would a real aborted connection cause se

Re: connection monitoring

2003-11-29 Thread John Michael
ausner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 29, 2003 2:19 AM Subject: Re: connection monitoring > Hi! > > On Sat, Nov 29, 2003 at 02:00:18AM -0600, John Michael wrote: > > Someone pointed me to checking the connection class for an abort.

Re: connection monitoring

2003-11-29 Thread Thomas Klausner
Hi! On Sat, Nov 29, 2003 at 02:00:18AM -0600, John Michael wrote: > Someone pointed me to checking the connection class for an abort. I found > info on this in the modperl cookbook..That seems useful if you want to > server your own files, but would take a lot of overhead if you had to > continue

connection monitoring

2003-11-29 Thread John Michael
Someone pointed me to checking the connection class for an abort.  I found info on this in the modperl cookbook..That seems useful if you want to server your own files, but would take a lot of overhead if you had to continue to check it for a large file.  It would not really do me any good t

connection monitoring

2003-11-28 Thread John Michael
Let me start by saying, I am a self taught programmer and have written modperl scripts to run under apache registry and dabbled with writting my own modperl modules.   I want to write a modperl script to monitor connections each remote_ip is making to a certain folder.  I want to be able to