>From http://www.squidguard.org/config/:
(source group) Specification can be any reasonable combination of: <<<IP addresses and/or ranges (multiple): >>> ip xxx.xxx.xxx.xxx [...] or ip xxx.xxx.xxx.xxx/nn [...] or ip xxx.xxx.xxx.xxx/mmm.mmm.mmm.mmm [...] or ip xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy [...] where: xxx.xxx.xxx.xxx is an IP address (host or net, i.e. 10.11.12.13 or 10.11.12.0), /nn a net prefix (i.e. /23), mmm.mmm.mmm.mmm is a netmask (i.e. 255.255.254.0) and yyy.yyy.yyy.yyy is a host address (must be >= xxx.xxx.xxx.xxx) <<<IP address/range list (single): >>> iplist filename where: filename is either a path relative to dbhome or an absolute path (i.e. /full/path) to a database file. the iplist file format is simply addresses and/or networks separated by a newline as above but without the ip keyword. Thus an iplist for all the private addresses could look something like (Though the preferred use of "iplist" over "ip" is for long lists of WS/PC addresses primarily to reduce the size of the configuration file): 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 <<<Domains (multiple): >>> domain foo.bar [...] *) where: foo.bar is a domain (zone) the domain name (from a reverse lookup on the client addresses) belongs to (directly or as a subdomain). <<<Users (multiple): >>> user foo [...] **) where: foo is a username (from a ident/RFC-931 lookup to the client. <<<User list (single): >>> userlist filename **) where: filename is either a path relative to dbhome or an absolute path (i.e. /full/path) to a database file. the userlist file format is simply RFC-931 usernames, optionally followed by a `:' and a comment (i.e. /etc/passwd or a .htpasswd file may be used) separated by a newline as in the user declaration but without the user keyword. Thus a userlist could look something like: root administrator foo bar - - - - - - - - It sounds like iplist may best suit your needs. Rick > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Andi Hari > Cahyono > Sent: Saturday, March 22, 2003 4:34 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Rick > Matthews > Subject: RE: help me please.. > > > There , i saw only one user tito , If my user more than a hundred , what should i > do..? > for example user1 , user2 , user100 > > regards > > andihari > > >Here's a link to a message in the archives that provides detailed > >information about userquotas: > >http://marc.theaimsgroup.com/?l=squidguard&m=104434621910618&w=2 > > > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] Behalf Of Andi Hari > >> Cahyono > >> Sent: Saturday, March 22, 2003 2:02 AM > >> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Mark A Lewis > >> Subject: RE: help me please.. > >> > >> > >> > >> >Do you mean a particular hour of the day like 9-10 or an hour of total > >> >surfing time? > >> > > >> >If you mean a particular hour you can do this via your squid ACLs. > >> > >> i mean one hour a day but not a particular hour. they can access anytime they > >> want but only one hour a day. > >> > >> this my squidguard.conf > >> > >> proxy1:/etc/squid # more /etc/squidguard.conf > >> logdir /var/squidGuard/logs > >> dbhome /var/squidGuard/db > >> > >> src grownups { > >> ip 144.12.16.65 > >> ip 144.12.16.140 > >> ip 144.12.16.24 > >> ip 144.12.16.28 > >> } > >> > >> src bilal { > >> ip 144.12.16.99 > >> userquota 3600 60 daily > >> } > >> > >> dest blacklist { > >> domainlist blacklist/domains > >> urllist blacklist/urls > >> } > >> > >> acl { > >> grownups { > >> pass all > >> } > >> > >> bilal { > >> pass all > >> } > >> > >> default { > >> pass none > >> redirect http://www.altuwairqi.com.sa > >> } > >> } > >> > >> I'm trying to give bilal one hour a day but bilal still have full access. > >> > >> this is my squidguard.log > >> > >> proxy1:/etc/squid # tail -f /var/squidGuard/logs/squidGuard.log > >> 2003-03-22 11:03:32 [14737] squidGuard 1.2.0 started (1048320212.432) > >> 2003-03-22 11:03:32 [14737] squidGuard ready for requests (1048320212.520) > >> 2003-03-22 11:03:32 [14739] init domainlist /var/squidGuard/db/blacklist/domains > >> 2003-03-22 11:03:32 [14739] init urllist /var/squidGuard/db/blacklist/urls > >> 2003-03-22 11:03:32 [14739] squidGuard 1.2.0 started (1048320212.526) > >> 2003-03-22 11:03:32 [14739] squidGuard ready for requests (1048320212.573) > >> 2003-03-22 11:03:32 [14738] init domainlist /var/squidGuard/db/blacklist/domains > >> 2003-03-22 11:03:32 [14738] init urllist /var/squidGuard/db/blacklist/urls > >> 2003-03-22 11:03:32 [14738] squidGuard 1.2.0 started (1048320212.574) > >> 2003-03-22 11:03:32 [14738] squidGuard ready for requests (1048320212.620) > >> > >> so anybody can help me? > >> > >> thanks before > >> > >> > >> andihari > >> > >> > >> > >> > > >
