HomeLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search


MOST WELCOME Guest, THANK'S FOR JOIN


Share | 
 

 Squid-Cache-Proxy: Batasin Hak Akses

View previous topic View next topic Go down 
AuthorMessage
BONUO CELL™
★Site Owner F.H.F★

avatar

Age : 37
Location : Pasir pengaraian - Rokan Hulu
Job/hobbies : Master Of Science, Web Design And Programers
Join date : 2011-03-15
Posts : 1834
Rep Rep : 2802

PostSubject: Squid-Cache-Proxy: Batasin Hak Akses   Tue Feb 14, 2012 11:56 am

Squid-Cache-Proxy: Batasin Hak Akses


Code:
Untuk membatasi akses terhadap site tertentu dan dropped permanent bad site...

Tanpa banyak bicara, open file squid.conf ...

edit ...
---------
acl business_hours time 00:01-24:00      ## <-- Jam kerja bro
acl MAC arp "c:/squid/etc/mac_address.squid"    ## <-- MAC Address yang dipake
acl MAC_BAD arp "c:/squid/etc/specific_bad_mac.squid"  ## <-- MAC Address yang khusus untuk filtering permanent dead site
acl denied_group1 arp "c:/squid/etc/denied_group1.squid"  ## <-- MAC Address group1
acl denied_time_group1 time 08:00-11:00  ## <-- jam penolakan kunjungan
acl denied_group2 arp "c:/squid/etc/denied_group2.squid"
acl denied_time_group2 time 09:00-12:00
acl denied_group3 arp "c:/squid/etc/denied_group3.squid"
acl denied_time_group3 time 13:00-16:00
acl denied_group4 arp "c:/squid/etc/denied_group4.squid"
acl denied_time_group4 time 14:00-17:00

# --- MAC ADDRESS FILTERING FINISH
acl bad_sites url_regex -i "c:/squid/etc/bad_domain.squid"    ## <-- dead permanent site
acl specific_bad_sites url_regex -i "c:/squid/etc/specific_bad_domain.squid"  ## <-- dead specific site
acl ncsa_user proxy_auth REQUIRED
...

http_access deny MAC_BAD specific_bad_sites    ## dead specific permanent
http_access deny bad_sites  ## dead site

## Dead specific by time by user group
http_access deny denied_group1 denied_time_group1 specific_bad_sites
http_access allow denied_group1 business_hours ncsa_user
http_access deny denied_group2 denied_time_group2 specific_bad_sites
http_access allow denied_group2 business_hours ncsa_user
http_access deny denied_group3 denied_time_group3 specific_bad_sites
http_access allow denied_group3 business_hours ncsa_user
http_access deny denied_group4 denied_time_group4 specific_bad_sites
http_access allow denied_group4 business_hours ncsa_user
http_access allow MAC ncsa_user
http_access deny all

-----------

================================================

[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]


[You must be registered and logged in to see this image.] Hello Guest [You must be registered and logged in to see this image.]


[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]
Back to top Go down
View user profile
 
Squid-Cache-Proxy: Batasin Hak Akses
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Dwarf warband, Gyrocopter and Road Warden proxy...
» The Proxy Phase
» Proxy: A Slender Man story
» A Proxy Protagonist?[Case Closed]
» How to find out a IP address via email

Permissions in this forum:You cannot reply to topics in this forum
GSM-Forum :: == COMPUTERS FUN & STUFF == :: SQUID AREA-
Jump to: