squid time restrictions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

squid time restrictions

ilushkin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hello Squid Gurus!
We are running squid 2.15.14_2 on freeBSD 6.2 Recently, my boss asked
me to limit the usage of time spent web browsing on certain ips. Did
anyone come across of a good piece of documentation which could point
me to the right direction? Simply shutting down squid at the certain
time won't be elegant. He wants me to do something more complicated
than this. He wants me to limit the web browsing to 15 minutes an
hour. I googled and googled but everything that I found wasn't not
very helpful yet. Thank you in advance.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGUz99UZGmaUWxLn8RAkJzAJwP5eoF7DG9wvqY0M/twFeh9mHzlgCgpfsA
/7NPgnU58pXcdyERdqRETG0=
=AeLg
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Re: squid time restrictions

Odhiambo WASHINGTON
* On 22/05/07 15:07 -0400, Ilya Vishnyakov wrote:
| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA1
|  
| Hello Squid Gurus!
| We are running squid 2.15.14_2 on freeBSD 6.2 Recently, my boss asked
| me to limit the usage of time spent web browsing on certain ips. Did
| anyone come across of a good piece of documentation which could point
| me to the right direction? Simply shutting down squid at the certain
| time won't be elegant. He wants me to do something more complicated
| than this. He wants me to limit the web browsing to 15 minutes an
| hour. I googled and googled but everything that I found wasn't not
| very helpful yet. Thank you in advance.

The funny thing with Google is that without knowing the right keywords
to search for, it does not lead you to what you want:-)

Try this:

http://www.nomoa.com/bsd/squid.htm#squidEXTIME


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[hidden email]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

What does it mean if there is no fortune for you?
Reply | Threaded
Open this post in threaded view
|

Re: squid time restrictions

ilushkin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Odhiambo WASHINGTON wrote:

> * On 22/05/07 15:07 -0400, Ilya Vishnyakov wrote:
> | -----BEGIN PGP SIGNED MESSAGE-----
> | Hash: SHA1
> |
> | Hello Squid Gurus!
> | We are running squid 2.15.14_2 on freeBSD 6.2 Recently, my boss asked
> | me to limit the usage of time spent web browsing on certain ips. Did
> | anyone come across of a good piece of documentation which could point
> | me to the right direction? Simply shutting down squid at the certain
> | time won't be elegant. He wants me to do something more complicated
> | than this. He wants me to limit the web browsing to 15 minutes an
> | hour. I googled and googled but everything that I found wasn't not
> | very helpful yet. Thank you in advance.
>
> The funny thing with Google is that without knowing the right keywords
> to search for, it does not lead you to what you want:-)
>
> Try this:
>
> http://www.nomoa.com/bsd/squid.htm#squidEXTIME
>
>
Ok I read it. But what I would like to do is to limit the web browsing
time to 15 minutes an hour.

> -Wash
>
> http://www.netmeister.org/news/learn2quote.html
>
> DISCLAIMER: See http://www.wananchi.com/bms/terms.php
>
> --
> +======================================================================+
>     |\      _,,,---,,_     | Odhiambo Washington    <[hidden email]>
> Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
>    |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
>   '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
> +======================================================================+
>
> What does it mean if there is no fortune for you?
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGU0YLUZGmaUWxLn8RAtn2AKC+lUxgiV+pbQAGYeWCr/R+DJzmmACgwCiN
VdXYlqe1eeI3/MVzODU0GYw=
=488l
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

RE: squid time restrictions

Jason Staudenmayer
A set fifteen minute time period (i.e.. 12:00pm - 12:15pm) or just any fifteen minute span (12:20pm - 12:35pm or 1:23 - 1:38)?

Jason
..·><((((º>


> -----Original Message-----
> From: Ilya Vishnyakov [mailto:[hidden email]]
> Sent: Tuesday, May 22, 2007 3:36 PM
> To: Odhiambo WASHINGTON
> Cc: [hidden email]
> Subject: Re: [squid-users] squid time restrictions
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Odhiambo WASHINGTON wrote:
> > * On 22/05/07 15:07 -0400, Ilya Vishnyakov wrote:
> > | -----BEGIN PGP SIGNED MESSAGE-----
> > | Hash: SHA1
> > |
> > | Hello Squid Gurus!
> > | We are running squid 2.15.14_2 on freeBSD 6.2 Recently,
> my boss asked
> > | me to limit the usage of time spent web browsing on
> certain ips. Did
> > | anyone come across of a good piece of documentation which
> could point
> > | me to the right direction? Simply shutting down squid at
> the certain
> > | time won't be elegant. He wants me to do something more
> complicated
> > | than this. He wants me to limit the web browsing to 15 minutes an
> > | hour. I googled and googled but everything that I found wasn't not
> > | very helpful yet. Thank you in advance.
> >
> > The funny thing with Google is that without knowing the
> right keywords
> > to search for, it does not lead you to what you want:-)
> >
> > Try this:
> >
> > http://www.nomoa.com/bsd/squid.htm#squidEXTIME
> >
> >
> Ok I read it. But what I would like to do is to limit the web browsing
> time to 15 minutes an hour.
>
> > -Wash
> >
> > http://www.netmeister.org/news/learn2quote.html
> >
> > DISCLAIMER: See http://www.wananchi.com/bms/terms.php
> >
> > --
> >
> +=============================================================
> =========+
> >     |\      _,,,---,,_     | Odhiambo Washington    
> <[hidden email]>
> > Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
> >    |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
> >   '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
> >
> +=============================================================
> =========+
> >
> > What does it mean if there is no fortune for you?
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>  
> iD8DBQFGU0YLUZGmaUWxLn8RAtn2AKC+lUxgiV+pbQAGYeWCr/R+DJzmmACgwCiN
> VdXYlqe1eeI3/MVzODU0GYw=
> =488l
> -----END PGP SIGNATURE-----
>
>
Reply | Threaded
Open this post in threaded view
|

Re: squid time restrictions

ilushkin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Jason Staudenmayer wrote:
> A set fifteen minute time period (i.e.. 12:00pm - 12:15pm)
Imagine user accessing the web @ 12:16pm for his/her 15 unused minutes?


or just any fifteen minute span (12:20pm - 12:35pm or 1:23 - 1:38)?
The goal is not to do a schedule for the users where the users will
try to fit in it. It has to be something more advanced where users
gets online and countdown begins. i don't know if it's possible with
squid or not. I'm not that advanced user.

>
> Jason ..·><((((º>
>
>
>> -----Original Message----- From: Ilya Vishnyakov
>> [mailto:[hidden email]] Sent: Tuesday, May 22, 2007 3:36 PM To:
>> Odhiambo WASHINGTON Cc: [hidden email] Subject: Re:
>> [squid-users] squid time restrictions
>>
>>
> Odhiambo WASHINGTON wrote:
>>>> * On 22/05/07 15:07 -0400, Ilya Vishnyakov wrote: |
>>>> -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | Hello
>>>> Squid Gurus! | We are running squid 2.15.14_2 on freeBSD 6.2
>>>> Recently,
> my boss asked
>>>> | me to limit the usage of time spent web browsing on
> certain ips. Did
>>>> | anyone come across of a good piece of documentation which
> could point
>>>> | me to the right direction? Simply shutting down squid at
> the certain
>>>> | time won't be elegant. He wants me to do something more
> complicated
>>>> | than this. He wants me to limit the web browsing to 15
>>>> minutes an | hour. I googled and googled but everything that
>>>> I found wasn't not | very helpful yet. Thank you in advance.
>>>>
>>>> The funny thing with Google is that without knowing the
> right keywords
>>>> to search for, it does not lead you to what you want:-)
>>>>
>>>> Try this:
>>>>
>>>> http://www.nomoa.com/bsd/squid.htm#squidEXTIME
>>>>
>>>>
> Ok I read it. But what I would like to do is to limit the web
> browsing time to 15 minutes an hour.
>
>>>> -Wash
>>>>
>>>> http://www.netmeister.org/news/learn2quote.html
>>>>
>>>> DISCLAIMER: See http://www.wananchi.com/bms/terms.php
>>>>
>>>> --
>>>>
> +=============================================================
> =========+
>>>> |\      _,,,---,,_     | Odhiambo Washington
> <[hidden email]>
>>>> Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.
>>>> www.wananchi.com |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20
>>>> 313985-9  +254 20 313922 '---''(_/--'  `-'\_)     | GSM: +254
>>>> 722 743223   +254 733 744121
>>>>
> +=============================================================
> =========+
>>>> What does it mean if there is no fortune for you?
>>>>
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGU1LaUZGmaUWxLn8RAjsnAKCr/BmCTps40aW3bJDJd1cfqpetRwCgiYUF
sR0qBzGylU9RFbrj7gQwICs=
=8juE
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

RE: squid time restrictions

Jason Staudenmayer
You might be able to do it with the auth plugins. Only auth the user for fifteen minutes at a time.

Jason
..·><((((º>


> -----Original Message-----
> From: Ilya Vishnyakov [mailto:[hidden email]]
> Sent: Tuesday, May 22, 2007 4:30 PM
> To: Jason Staudenmayer
> Cc: Odhiambo WASHINGTON; [hidden email]
> Subject: Re: [squid-users] squid time restrictions
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Jason Staudenmayer wrote:
> > A set fifteen minute time period (i.e.. 12:00pm - 12:15pm)
> Imagine user accessing the web @ 12:16pm for his/her 15
> unused minutes?
>
>
> or just any fifteen minute span (12:20pm - 12:35pm or 1:23 - 1:38)?
> The goal is not to do a schedule for the users where the users will
> try to fit in it. It has to be something more advanced where users
> gets online and countdown begins. i don't know if it's possible with
> squid or not. I'm not that advanced user.
>
> >
> > Jason ..·><((((º>
> >
> >
> >> -----Original Message----- From: Ilya Vishnyakov
> >> [mailto:[hidden email]] Sent: Tuesday, May 22, 2007 3:36 PM To:
> >> Odhiambo WASHINGTON Cc: [hidden email] Subject: Re:
> >> [squid-users] squid time restrictions
> >>
> >>
> > Odhiambo WASHINGTON wrote:
> >>>> * On 22/05/07 15:07 -0400, Ilya Vishnyakov wrote: |
> >>>> -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | Hello
> >>>> Squid Gurus! | We are running squid 2.15.14_2 on freeBSD 6.2
> >>>> Recently,
> > my boss asked
> >>>> | me to limit the usage of time spent web browsing on
> > certain ips. Did
> >>>> | anyone come across of a good piece of documentation which
> > could point
> >>>> | me to the right direction? Simply shutting down squid at
> > the certain
> >>>> | time won't be elegant. He wants me to do something more
> > complicated
> >>>> | than this. He wants me to limit the web browsing to 15
> >>>> minutes an | hour. I googled and googled but everything that
> >>>> I found wasn't not | very helpful yet. Thank you in advance.
> >>>>
> >>>> The funny thing with Google is that without knowing the
> > right keywords
> >>>> to search for, it does not lead you to what you want:-)
> >>>>
> >>>> Try this:
> >>>>
> >>>> http://www.nomoa.com/bsd/squid.htm#squidEXTIME
> >>>>
> >>>>
> > Ok I read it. But what I would like to do is to limit the web
> > browsing time to 15 minutes an hour.
> >
> >>>> -Wash
> >>>>
> >>>> http://www.netmeister.org/news/learn2quote.html
> >>>>
> >>>> DISCLAIMER: See http://www.wananchi.com/bms/terms.php
> >>>>
> >>>> --
> >>>>
> > +=============================================================
> > =========+
> >>>> |\      _,,,---,,_     | Odhiambo Washington
> > <[hidden email]>
> >>>> Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.
> >>>> www.wananchi.com |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20
> >>>> 313985-9  +254 20 313922 '---''(_/--'  `-'\_)     | GSM: +254
> >>>> 722 743223   +254 733 744121
> >>>>
> > +=============================================================
> > =========+
> >>>> What does it mean if there is no fortune for you?
> >>>>
> >>
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>  
> iD8DBQFGU1LaUZGmaUWxLn8RAjsnAKCr/BmCTps40aW3bJDJd1cfqpetRwCgiYUF
> sR0qBzGylU9RFbrj7gQwICs=
> =8juE
> -----END PGP SIGNATURE-----
>
>
Reply | Threaded
Open this post in threaded view
|

RE: squid time restrictions

SSCR Internet Admin
It sounds like your boss wants a time accounting system.  Its impossible for
squid to do that even if using squidguard with it.  Time based ACL are
static.  Im not a programmer but I guess, it should be nice if theres a
program on their pc that every time they launched the browser, a plugin will
be invoked that will decide that its time for browsing if not, close the
browser.. :)

-----Original Message-----
From: Jason Staudenmayer [mailto:[hidden email]]
Sent: Wednesday, May 23, 2007 5:07 AM
To: Ilya Vishnyakov
Cc: Odhiambo WASHINGTON; [hidden email]
Subject: RE: [squid-users] squid time restrictions

You might be able to do it with the auth plugins. Only auth the user for
fifteen minutes at a time.

Jason
..·><((((º>


> -----Original Message-----
> From: Ilya Vishnyakov [mailto:[hidden email]]
> Sent: Tuesday, May 22, 2007 4:30 PM
> To: Jason Staudenmayer
> Cc: Odhiambo WASHINGTON; [hidden email]
> Subject: Re: [squid-users] squid time restrictions
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Jason Staudenmayer wrote:
> > A set fifteen minute time period (i.e.. 12:00pm - 12:15pm)
> Imagine user accessing the web @ 12:16pm for his/her 15
> unused minutes?
>
>
> or just any fifteen minute span (12:20pm - 12:35pm or 1:23 - 1:38)?
> The goal is not to do a schedule for the users where the users will
> try to fit in it. It has to be something more advanced where users
> gets online and countdown begins. i don't know if it's possible with
> squid or not. I'm not that advanced user.
>
> >
> > Jason ..·><((((º>
> >
> >
> >> -----Original Message----- From: Ilya Vishnyakov
> >> [mailto:[hidden email]] Sent: Tuesday, May 22, 2007 3:36 PM To:
> >> Odhiambo WASHINGTON Cc: [hidden email] Subject: Re:
> >> [squid-users] squid time restrictions
> >>
> >>
> > Odhiambo WASHINGTON wrote:
> >>>> * On 22/05/07 15:07 -0400, Ilya Vishnyakov wrote: |
> >>>> -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | Hello
> >>>> Squid Gurus! | We are running squid 2.15.14_2 on freeBSD 6.2
> >>>> Recently,
> > my boss asked
> >>>> | me to limit the usage of time spent web browsing on
> > certain ips. Did
> >>>> | anyone come across of a good piece of documentation which
> > could point
> >>>> | me to the right direction? Simply shutting down squid at
> > the certain
> >>>> | time won't be elegant. He wants me to do something more
> > complicated
> >>>> | than this. He wants me to limit the web browsing to 15
> >>>> minutes an | hour. I googled and googled but everything that
> >>>> I found wasn't not | very helpful yet. Thank you in advance.
> >>>>
> >>>> The funny thing with Google is that without knowing the
> > right keywords
> >>>> to search for, it does not lead you to what you want:-)
> >>>>
> >>>> Try this:
> >>>>
> >>>> http://www.nomoa.com/bsd/squid.htm#squidEXTIME
> >>>>
> >>>>
> > Ok I read it. But what I would like to do is to limit the web
> > browsing time to 15 minutes an hour.
> >
> >>>> -Wash
> >>>>
> >>>> http://www.netmeister.org/news/learn2quote.html
> >>>>
> >>>> DISCLAIMER: See http://www.wananchi.com/bms/terms.php
> >>>>
> >>>> --
> >>>>
> > +=============================================================
> > =========+
> >>>> |\      _,,,---,,_     | Odhiambo Washington
> > <[hidden email]>
> >>>> Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.
> >>>> www.wananchi.com |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20
> >>>> 313985-9  +254 20 313922 '---''(_/--'  `-'\_)     | GSM: +254
> >>>> 722 743223   +254 733 744121
> >>>>
> > +=============================================================
> > =========+
> >>>> What does it mean if there is no fortune for you?
> >>>>
> >>
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>  
> iD8DBQFGU1LaUZGmaUWxLn8RAjsnAKCr/BmCTps40aW3bJDJd1cfqpetRwCgiYUF
> sR0qBzGylU9RFbrj7gQwICs=
> =8juE
> -----END PGP SIGNATURE-----
>
>

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply | Threaded
Open this post in threaded view
|

Re: squid time restrictions

Adrian Chadd
On Wed, May 23, 2007, SSCR Internet Admin wrote:
> It sounds like your boss wants a time accounting system.  Its impossible for
> squid to do that even if using squidguard with it.  Time based ACL are
> static.  Im not a programmer but I guess, it should be nice if theres a
> program on their pc that every time they launched the browser, a plugin will
> be invoked that will decide that its time for browsing if not, close the
> browser.. :)

Squid could do it with a little coding. squid can do almost anything with
a little time spent coding.

Original Poster: you're welcome to contact the squid developers if you'd like
to sponsor implementing this feature. Contact details are on the website.
Best place to start is [hidden email] if you'd like to get all of us
at once.



Adrian