Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-25-2013, 05:00 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Server › Proxy Server v
« Previous 1 2 3 4

Squid Windows Blocklist Url

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
Squid Windows Blocklist Url
08-05-2010, 09:34 AM (This post was last modified: 08-05-2010 09:39 AM by chaer.newbie.)
Post: #1
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,283
Joined: Dec 2009
Reputation: 184
Squid Windows Blocklist Url
Okeh bro , now we're talking about squid Windows

Feature Wrote:* Based on latest Squid 2.5 STABLE release
* Run as a native Windows Service
* Currently supported build environments:
o Microsoft Visual C++ 6.0 SP6
o MSYS + MinGW
o Cygwin
* Multiple Squid service instances are allowed
* Full Command line support when running as a service
* Automatic Service restart after Squid failure on Windows 2000/XP/2003
* Use PSAPI.DLL for full getrusage() emulation
* Internal DNS looks in registry for configured DNS, resolv.conf no more needed
* Multithreaded support for standard Squid external helpers or redirectors (pinger, unlinkd, dnsserver)
* All squid -k switches (check, debug, interrupt, kill, parse, reconfigure, rotate, shutdown) works
* Basic, NTLM and Digest Authentication schema
* Native Windows Basic and NTLM Authenticators with NTLMv2 support
* Cachemgr CGI interface supporting Microsoft IIS and Apache Web Server
* SNMP
* Revised awin32 async I/O
* External ACL native group helper for Windows Domains group membership check
* OpenSSL Support (experimental binary package available)
* ARP acl support (experimental)
* Currently supported Windows platforms:
o Windows NT 4.0 Workstation and Server SP4 and later
o Windows 2000 Professional and Server
o Windows XP Professional (Home Edition not tested)
o Windows 2003 Server


uninstal Wrote:squid -r [-n servicename] (removes the servicename Squid service)

Quote:Licence : Squid (and SquidNT too) is licensed under the terms of the GNU General Public License.


Install Wrote:* If You are upgrading from SquidNT 2.3, please uninstall the old service and merge your old squid.conf in the new squid.conf configuration file. Don't forget to take a look about squid.conf changes on Squid 2.4 and Squid 2.5 pages
* Extract the binary archive in the desired directory (default c:\squid)
* Read the CompileOptions.txt file
* Copy squid.conf.default as squid.conf and mime.conf.default as mime.conf
* Edit the squid.conf and change if needed the c:/squid path (use path with '/' char, NOT '\')
* Manually create ALL the directories specified in squid.conf, except the contents of the cache directory
* Starting with PRE9 revision, squid.exe was moved from bin to sbin directory.
Please remove and reinstall SquidNT service to reflect the changes.
* squid -i [-f configfile] [-n servicename] (installs the servicename Squid service using the configfile configuration file, default configfile is "c:/squid/etc/squid.conf", default servicename is "SquidNT")
* squid -z [-f configfile] (creates the cache directories)
* squid -O servicecommandline [-n servicename] (Set in Windows Registry the Squid servicename service command line)

Usage
Quote:# Start: Control Panel/Services: choose "Start" for the "SquidNT" service.
# Stop: Control Panel/Services: choose "Stop" for the "SquidNT" service.
# squid -h Print help message.
# squid -n servicename [-f configfile] -k reconfigure | rotate | shutdown | interrupt | kill | debug | check
Send signal to running copy and exit.
# squid -O servicecommandline [-n servicename] Set Windows Service Command line options in Registry.
# squid -v Print version.


Squid.Conf dont forget to backup your Configuraton :P
Code:
###########Chaer.Newbie#############
#file squid.conf

http_port 3128 transparent #Transparent Proxy
icp_port 3130
forwarded_for On

append_domain .itvps.net
cache_mem 4 MB
cache_swap_low 98%
cache_swap_high 99%
maximum_object_size 16 MB
minimum_object_size 4 KB
maximum_object_size_in_memory 64 KB
ipcache_size 4096
ipcache_low 98%
ipcache_high 99%
fqdncache_size 16384
offline_mode off
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
access_log C:\squid\var\logs\access.log squid
acl apache rep_header Server ^Apache

visible_hostname Chaer.devilzc0de.org
hierarchy_stoplist cgi-bin ? .js .jsp
acl QUERY urlpath_regex cgi-bin \? .js .jsp
no_cache deny QUERY

request_header_max_size 200 KB
reply_header_max_size 200 KB
request_body_max_size 0 MB
cache_dir ufs C:\squid\var\cache 2000 16 256
redirect_rewrites_host_header off

acl blocklist url_regex -i "C:\squid\etc\blocklist.txt" #Website Yang Diblock
http_access deny blocklist
deny_info #(nama web) blocklist #Redirect Web Block

acl manager proto cache_object
acl localhost src #IP Prerix
acl localnet src #Ip connected
http_access allow localhost
http_access allow localnet
http_access allow manager localhost
http_access deny manager
acl SSL_ports port 443
acl Safe_ports port 80 443 563 280 488 591 777 210 119 70 21 1025-65535
acl CONNECT method CONNECT
http_access allow Safe_ports
http_access deny CONNECT

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(class|css|js|gif|jpg)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(jpe|jpeg|png|bmp|tif)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(tiff|mov|avi|qt|mpeg)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(mpg|mpe|wav|au|mid)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(hqx|pdf|rtf|doc|swf)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(inc|cab|ad|txt|dll)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(asp|acgi|pl|shtml|php3|php)$ 2 20% 4320 reload-into-ims
refresh_pattern -i \.google\.co\.id$ 1440 100% 3500 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.co\.id$ 1440 100% 3500 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.mail\.yahoo$ 1440 100% 3500 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \? 2 20% 4320 reload-into-ims
refresh_pattern -i cgi-bin 2 20% 4320 reload-into-ims
refresh_pattern . 960 90% 43200 reload-into-ims

dns_nameservers 8.8.8.8 8.8.4.4 #Dns Google terserah mau pake yang mana

negative_ttl 1 minutes
positive_dns_ttl 24 hours

quick_abort_min 0
quick_abort_max 0
quick_abort_pct 100

logfile_rotate 1
append_domain .localhost

memory_pools off
log_icp_queries off
icp_hit_stale on
query_icmp on
reload_into_ims on

pipeline_prefetch on
vary_ignore_expire on

cache_mgr #Bebas

###########EOF################
#eof
Find all posts by this user
Quote this message in a reply
08-05-2010, 09:47 AM
Post: #2
6419scm Offline
./Devilz 1st Cadet
Posts: 7
Joined: Aug 2010
Reputation: 0
RE: Squid Windows Blocklist Url
(08-05-2010 09:34 AM)chaer. Wrote:  Okeh bro , now we're talking about squid Windows

Feature Wrote:* Based on latest Squid 2.5 STABLE release
* Run as a native Windows Service
* Currently supported build environments:
o Microsoft Visual C++ 6.0 SP6
o MSYS + MinGW
o Cygwin
* Multiple Squid service instances are allowed
* Full Command line support when running as a service
* Automatic Service restart after Squid failure on Windows 2000/XP/2003
* Use PSAPI.DLL for full getrusage() emulation
* Internal DNS looks in registry for configured DNS, resolv.conf no more needed
* Multithreaded support for standard Squid external helpers or redirectors (pinger, unlinkd, dnsserver)
* All squid -k switches (check, debug, interrupt, kill, parse, reconfigure, rotate, shutdown) works
* Basic, NTLM and Digest Authentication schema
* Native Windows Basic and NTLM Authenticators with NTLMv2 support
* Cachemgr CGI interface supporting Microsoft IIS and Apache Web Server
* SNMP
* Revised awin32 async I/O
* External ACL native group helper for Windows Domains group membership check
* OpenSSL Support (experimental binary package available)
* ARP acl support (experimental)
* Currently supported Windows platforms:
o Windows NT 4.0 Workstation and Server SP4 and later
o Windows 2000 Professional and Server
o Windows XP Professional (Home Edition not tested)
o Windows 2003 Server


uninstal Wrote:squid -r [-n servicename] (removes the servicename Squid service)

Quote:Licence : Squid (and SquidNT too) is licensed under the terms of the GNU General Public License.


Install Wrote:* If You are upgrading from SquidNT 2.3, please uninstall the old service and merge your old squid.conf in the new squid.conf configuration file. Don't forget to take a look about squid.conf changes on Squid 2.4 and Squid 2.5 pages
* Extract the binary archive in the desired directory (default c:\squid)
* Read the CompileOptions.txt file
* Copy squid.conf.default as squid.conf and mime.conf.default as mime.conf
* Edit the squid.conf and change if needed the c:/squid path (use path with '/' char, NOT '\')
* Manually create ALL the directories specified in squid.conf, except the contents of the cache directory
* Starting with PRE9 revision, squid.exe was moved from bin to sbin directory.
Please remove and reinstall SquidNT service to reflect the changes.
* squid -i [-f configfile] [-n servicename] (installs the servicename Squid service using the configfile configuration file, default configfile is "c:/squid/etc/squid.conf", default servicename is "SquidNT")
* squid -z [-f configfile] (creates the cache directories)
* squid -O servicecommandline [-n servicename] (Set in Windows Registry the Squid servicename service command line)

Usage
Quote:# Start: Control Panel/Services: choose "Start" for the "SquidNT" service.
# Stop: Control Panel/Services: choose "Stop" for the "SquidNT" service.
# squid -h Print help message.
# squid -n servicename [-f configfile] -k reconfigure | rotate | shutdown | interrupt | kill | debug | check
Send signal to running copy and exit.
# squid -O servicecommandline [-n servicename] Set Windows Service Command line options in Registry.
# squid -v Print version.


Squid.Conf dont forget to backup your Configuraton :P
Code:
###########Chaer.Newbie#############
#file squid.conf

http_port 3128 transparent #Transparent Proxy
icp_port 3130
forwarded_for On

append_domain .itvps.net
cache_mem 4 MB
cache_swap_low 98%
cache_swap_high 99%
maximum_object_size 16 MB
minimum_object_size 4 KB
maximum_object_size_in_memory 64 KB
ipcache_size 4096
ipcache_low 98%
ipcache_high 99%
fqdncache_size 16384
offline_mode off
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
access_log C:\squid\var\logs\access.log squid
acl apache rep_header Server ^Apache

visible_hostname Chaer.devilzc0de.org
hierarchy_stoplist cgi-bin ? .js .jsp
acl QUERY urlpath_regex cgi-bin \? .js .jsp
no_cache deny QUERY

request_header_max_size 200 KB
reply_header_max_size 200 KB
request_body_max_size 0 MB
cache_dir ufs C:\squid\var\cache 2000 16 256
redirect_rewrites_host_header off

acl blocklist url_regex -i "C:\squid\etc\blocklist.txt" #Website Yang Diblock
http_access deny blocklist
deny_info #(nama web) blocklist #Redirect Web Block

acl manager proto cache_object
acl localhost src #IP Prerix
acl localnet src #Ip connected
http_access allow localhost
http_access allow localnet
http_access allow manager localhost
http_access deny manager
acl SSL_ports port 443
acl Safe_ports port 80 443 563 280 488 591 777 210 119 70 21 1025-65535
acl CONNECT method CONNECT
http_access allow Safe_ports
http_access deny CONNECT

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(class|css|js|gif|jpg)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(jpe|jpeg|png|bmp|tif)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(tiff|mov|avi|qt|mpeg)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(mpg|mpe|wav|au|mid)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(hqx|pdf|rtf|doc|swf)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(inc|cab|ad|txt|dll)$ 10080 100% 43200 override-expire
refresh_pattern -i \.(asp|acgi|pl|shtml|php3|php)$ 2 20% 4320 reload-into-ims
refresh_pattern -i \.google\.co\.id$ 1440 100% 3500 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.co\.id$ 1440 100% 3500 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.mail\.yahoo$ 1440 100% 3500 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \? 2 20% 4320 reload-into-ims
refresh_pattern -i cgi-bin 2 20% 4320 reload-into-ims
refresh_pattern . 960 90% 43200 reload-into-ims

dns_nameservers 8.8.8.8 8.8.4.4 #Dns Google terserah mau pake yang mana

negative_ttl 1 minutes
positive_dns_ttl 24 hours

quick_abort_min 0
quick_abort_max 0
quick_abort_pct 100

logfile_rotate 1
append_domain .localhost

memory_pools off
log_icp_queries off
icp_hit_stale on
query_icmp on
reload_into_ims on

pipeline_prefetch on
vary_ignore_expire on

cache_mgr #Bebas

###########EOF################
#eof

Nice inpoh gan.. bangga
Setting transparent nya gimana tuh gan kalo di windows ??
Find all posts by this user
Quote this message in a reply
08-05-2010, 09:49 AM
Post: #3
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,283
Joined: Dec 2009
Reputation: 184
RE: Squid Windows Blocklist Url
http://forum.devilzc0de.org/thread-1839.html ada dimari kang
Find all posts by this user
Quote this message in a reply
08-20-2010, 08:58 AM
Post: #4
Binaryx86 Offline
./Devilz Officer
*****
Dewa
Posts: 238
Joined: Jul 2010
Reputation: 0
RE: Squid Windows Blocklist Url
mantab bang
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Meningkatkan Request hit squid chaer.newbie 16 2,330 03-26-2013 07:19 PM
Last Post: Jehuda
  squid.conf chaer.newbie 40 25,466 10-31-2012 11:03 AM
Last Post: neobix
Thumbs Down [Tutor] install squid 2.7.STABLE9 dengan TPROXY-4.1 di ubuntu 10.04 revanthem 13 4,488 10-19-2012 12:46 PM
Last Post: pandak
  Cara mengatasi TCP_MISS pada Squid Ubuntu chibi 7 1,029 08-05-2012 06:48 AM
Last Post: ghosttransparentexceptnofixed
  [Tutor] squid anti iklan luthfi_dc 13 663 07-30-2012 12:14 PM
Last Post: sunafets.exe
  tuning performa squid luthfi_dc 3 418 07-30-2012 12:11 PM
Last Post: luthfi_dc
  squid.conf for Squid 3.x.x Super Moderator 24 3,289 07-26-2012 12:46 AM
Last Post: ghosttransparentexceptnofixed
  [Ask] Caching Squid easy2study 7 1,214 06-11-2012 12:18 AM
Last Post: emin
  Squid Delay Pool wahyu_devilzc0de™ 12 5,825 03-27-2012 06:28 PM
Last Post: agam atjoeng
  forward internet akses anda dgn mudah via ccproxy (windows) darkslayer 17 1,548 03-12-2012 12:40 AM
Last Post: darkslayer

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-25-2013, 05:00 AM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE