mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-09-18 03:57:46 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
11
config/squid/conf.d/debian.conf
Normal file
11
config/squid/conf.d/debian.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Squid configuration settings for Debian
|
||||
#
|
||||
|
||||
# Logs are managed by logrotate on Debian
|
||||
logfile_rotate 0
|
||||
|
||||
# For extra security Debian packages only allow
|
||||
# localhost to use the proxy on new installs
|
||||
#
|
||||
#http_access allow localnet
|
107
config/squid/errorpage.css
Normal file
107
config/squid/errorpage.css
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright (C) 1996-2019 The Squid Software Foundation and contributors
|
||||
*
|
||||
* Squid software is distributed under GPLv2+ license and includes
|
||||
* contributions from numerous individuals and organizations.
|
||||
* Please see the COPYING and CONTRIBUTORS files for details.
|
||||
*/
|
||||
|
||||
/*
|
||||
Stylesheet for Squid Error pages
|
||||
Adapted from design by Free CSS Templates
|
||||
http://www.freecsstemplates.org
|
||||
Released for free under a Creative Commons Attribution 2.5 License
|
||||
*/
|
||||
|
||||
/* Page basics */
|
||||
* {
|
||||
font-family: verdana, sans-serif;
|
||||
}
|
||||
|
||||
html body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #efefef;
|
||||
font-size: 12px;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
/* Page displayed title area */
|
||||
#titles {
|
||||
margin-left: 15px;
|
||||
padding: 10px;
|
||||
padding-left: 100px;
|
||||
background: url('/squid-internal-static/icons/SN.png') no-repeat left;
|
||||
}
|
||||
|
||||
/* initial title */
|
||||
#titles h1 {
|
||||
color: #000000;
|
||||
}
|
||||
#titles h2 {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
/* special event: FTP success page titles */
|
||||
#titles ftpsuccess {
|
||||
background-color: #00ff00;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Page displayed body content area */
|
||||
#content {
|
||||
padding: 10px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
/* General text */
|
||||
p {
|
||||
}
|
||||
|
||||
/* error brief description */
|
||||
#error p {
|
||||
}
|
||||
|
||||
/* some data which may have caused the problem */
|
||||
#data {
|
||||
}
|
||||
|
||||
/* the error message received from the system or other software */
|
||||
#sysmsg {
|
||||
}
|
||||
|
||||
pre {
|
||||
}
|
||||
|
||||
/* special event: FTP / Gopher directory listing */
|
||||
#dirmsg {
|
||||
font-family: courier, monospace;
|
||||
color: black;
|
||||
font-size: 10pt;
|
||||
}
|
||||
#dirlisting {
|
||||
margin-left: 2%;
|
||||
margin-right: 2%;
|
||||
}
|
||||
#dirlisting tr.entry td.icon,
|
||||
td.filename,
|
||||
td.size,
|
||||
td.date {
|
||||
border-bottom: groove;
|
||||
}
|
||||
#dirlisting td.size {
|
||||
width: 50px;
|
||||
text-align: right;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* horizontal lines */
|
||||
hr {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* page displayed footer area */
|
||||
#footer {
|
||||
font-size: 9px;
|
||||
padding-left: 10px;
|
||||
}
|
40
config/squid/squid.conf
Normal file
40
config/squid/squid.conf
Normal file
@@ -0,0 +1,40 @@
|
||||
# store coredumps in the first cache dir
|
||||
coredump_dir /data/cache/squid
|
||||
|
||||
# disk and memory cache settings
|
||||
cache_dir ufs /data/cache/squid 100 16 256
|
||||
maximum_object_size 4096 KB
|
||||
|
||||
# Access log
|
||||
access_log daemon:/data/log/squid/access.log squid
|
||||
|
||||
# Cache log
|
||||
cache_log /data/log/squid/cache.log
|
||||
|
||||
# the hostname squid displays in error messages
|
||||
visible_hostname localhost
|
||||
|
||||
# Squid listening port
|
||||
http_port 3127
|
||||
|
||||
# Access Control lists
|
||||
acl SSL_ports port 443
|
||||
acl Safe_ports port 80 # http
|
||||
acl Safe_ports port 21 # ftp
|
||||
acl Safe_ports port 443 # https
|
||||
acl Safe_ports port 70 # gopher
|
||||
acl Safe_ports port 210 # wais
|
||||
acl Safe_ports port 1025-65535 # unregistered ports
|
||||
acl Safe_ports port 280 # http-mgmt
|
||||
acl Safe_ports port 488 # gss-http
|
||||
acl Safe_ports port 591 # filemaker
|
||||
acl Safe_ports port 777 # multiling http
|
||||
|
||||
acl CONNECT method CONNECT
|
||||
|
||||
# allow everyone
|
||||
http_access allow localhost
|
||||
http_access allow all
|
||||
|
||||
# Enable squidGuard
|
||||
redirect_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
|
8564
config/squid/squid.orig
Normal file
8564
config/squid/squid.orig
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user