🦈🏠🐜 Initial Commit 🐜🦈🏠

This commit is contained in:
Jason 2022-02-15 09:55:45 -05:00
commit b096089188
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
322 changed files with 62596 additions and 0 deletions

7
.dockerignore Normal file
View File

@ -0,0 +1,7 @@
.git
circle.yml
LICENSE
VERSION
README.md
Changelog.md
Makefile

17
.gitignore vendored Normal file
View File

@ -0,0 +1,17 @@
# gitignore created on 02/14/22 at 15:49
# Disable reminder in prompt
ignoredirmessage
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Other
.installed

29
.travis.yml Normal file
View File

@ -0,0 +1,29 @@
sudo: required
services:
- docker
env:
DOCKER_COMPOSE_VERSION: 1.5.2
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- docker-compose build
- docker-compose up -d
# everything running?
- docker-compose ps
- docker-compose ps squidguard | grep Up
# wpad should be available
- docker-compose run squidguard wget -o /dev/null http://squidguard/wpat.dat
# muenchhausen.de should not be blocked
- docker-compose run squidguard wget -e use_proxy=yes -e http_proxy=http://squidguard:3128 -o /dev/null http://www.muenchhausen.de
# lemonlime.de should be blocked because it is not in the whitelist
- docker-compose run squidguard wget -e use_proxy=yes -e http_proxy=http://squidguard:3128 --content-on-error -qO- http://www.lemonlime.de | grep "block"
notifications:
email:
- derk@muenchhausen.de

59
Dockerfile Normal file
View File

@ -0,0 +1,59 @@
FROM casjaysdev/debian:latest AS build
ARG BUILD_DATE="$(date +'%Y-%m-%d %H:%M')"
LABEL \
org.label-schema.name="Full proxy server" \
org.label-schema.description="" \
org.label-schema.url="https://github.com/casjaysdev/squid" \
org.label-schema.vcs-url="https://github.com/casjaysdev/squid" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.version=$BUILD_DATE \
org.label-schema.vcs-ref=$BUILD_DATE \
org.label-schema.license="MIT" \
org.label-schema.vcs-type="Git" \
org.label-schema.schema-version="latest" \
org.label-schema.vendor="CasjaysDev" \
maintainer="CasjaysDev <docker-admin@casjaysdev.com>"
ENV \
HOSTNAME=proxy \
SQUID_HOME_DIR=/var/lib/squid \
SQUID_CACHE_DIR=/data/cache/squid \
SQUID_LOG_DIR=/data/log/squid \
SQUID_USER=squid
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yy \
postfix \
squid \
squidguard \
e2guardian \
c-icap \
apache2 \
apache2-bin \
libapache2-mod-fcgid \
libapache2-mod-geoip \
libapache2-mod-proxy-uwsgi \
libapache2-mod-fcgid \
libapache2-mod-wsgi \
&& apt-get remove -yy --purge exim* \
&& rm -rf /var/lib/apt/lists/* /etc/apache2/*conf* \
&& mkdir -p /config /data \
&& useradd -d "$SQUID_HOME_DIR" -r -U -m "$SQUID_USER"
ADD ./config/. /etc/
ADD ./bin/. /usr/local/bin/
ADD ./data/. /usr/local/share/squidFiles/data/
ADD ./config/. /usr/local/share/squidFiles/config/
FROM scratch
COPY --from=build /. /
EXPOSE 3127 3128 80
VOLUME ["/config", "/data"]
HEALTHCHECK CMD ["/usr/local/bin/entrypoint-squid.sh","healthcheck"]
ENTRYPOINT ["/usr/local/bin/entrypoint-squid.sh"]

13
LICENSE.md Normal file
View File

@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2022 Jason Hempstead <git-admin@casjaysdev.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. You just DO WHAT THE FUCK YOU WANT TO.

10
README.md Normal file
View File

@ -0,0 +1,10 @@
<h1 align=center>
👋 Welcome to squidguard 👋
</h1>
<p align=center>
StartDocumentationHere
</p>
## Author
👤 **Jason Hempstead**

72
bin/create-blocklists.sh Executable file
View File

@ -0,0 +1,72 @@
#!/usr/bin/env bash
set -ex
SQUID_USER="${SQUID_USER:-squid}"
SQUID_LOG_DIR="${SQUID_LOG_DIR:-/data/log/squid}"
REDIRECT_URL="${REDIRECT_URL:-/}"
BLOCKLIST="${BLOCKLIST:-http://www.shallalist.de/Downloads/shallalist.tar.gz}"
BLOCKED_CATEGORIES="${BLOCKED_CATEGORIES:-adv,aggressive,porn,spyware,violence,warez}"
CONFIG_FILE="/etc/squidguard/squidGuard.conf"
DB_LOCATION="/data/squidguard/db"
LOG_LOCATION="/data/log"
echo "Downloading blocklist..."
wget -q "${BLOCKLIST}" -O /tmp/blocklist.tgz
echo "Extracting blocklist..."
mkdir -p /tmp/blocklist
tar xzf /tmp/blocklist.tgz --strip-components=1 -C /tmp/blocklist
echo "Creating config file..."
rm "${CONFIG_FILE}"
touch "${CONFIG_FILE}"
echo "dbhome ${DB_LOCATION}" >>"${CONFIG_FILE}"
echo "logdir ${LOG_LOCATION}" >>"${CONFIG_FILE}"
for CATEGORY in $(echo ${BLOCKED_CATEGORIES} | sed "s/,/ /g"); do
if [ ! -d "/tmp/blocklist/${CATEGORY}" ]; then
echo "Category ${CATEGORY} not available!"
exit 1
fi
cp -r "/tmp/blocklist/${CATEGORY}" "${DB_LOCATION}/"
echo "dest ${CATEGORY} {" >>"${CONFIG_FILE}"
if [ -e "${DB_LOCATION}/${CATEGORY}/domains" ]; then
echo " domainlist ${CATEGORY}/domains" >>"${CONFIG_FILE}"
fi
if [ -e "${DB_LOCATION}/${CATEGORY}/urls" ]; then
echo " urllist ${CATEGORY}/urls" >>"${CONFIG_FILE}"
fi
if [ -e "${DB_LOCATION}/${CATEGORY}/expressions" ]; then
echo " expressionlist ${CATEGORY}/expressions" >>"${CONFIG_FILE}"
fi
echo "}" >>"${CONFIG_FILE}"
done
NOT_LIST="${BLOCKED_CATEGORIES//,/ !}"
{
echo "acl {"
echo " default {"
echo " pass !${NOT_LIST} all"
echo " redirect $REDIRECT_URL"
echo " }"
echo "}"
} >>"${CONFIG_FILE}"
squidGuard -C all
chown -R ${SQUID_USER}:${SQUID_USER} "${DB_LOCATION}"
chown -R ${SQUID_USER}:${SQUID_USER} "${LOG_LOCATION}"
chown -R ${SQUID_USER}:${SQUID_USER} "${CONFIG_FILE}"
echo "Cleanup..."
rm -rf /tmp/*

69
bin/entrypoint-squid.sh Executable file
View File

@ -0,0 +1,69 @@
#!/usr/bin/env bash
set -e
if [ "$1" = "healthcheck" ]; then
squidclient -h localhost cache_object://localhost/counters
exit $?
fi
SQUID_USER="${SQUID_USER:-squid}"
SQUID_LOG_DIR="${SQUID_LOG_DIR:-/data/log/squid}"
SQUID_CACHE_DIR="${SQUID_CACHE_DIR:-/data/cache/squid}"
HOSTNAME="${HOSTNAME:-$(hostname -f)}"
mkdir -p "/config" "/data"
for dir in apache2 e2guardian squid squidguard; do
if [ -f "/usr/local/share/squidFiles/$dir" ]; then
cp -Rf "/usr/local/share/squidFiles/$dir" "/config/$dir"
elif [ -d "/usr/local/share/squidFiles/$dir" ]; then
cp -Rf "/usr/local/share/squidFiles/$dir/." "/config/$dir/"
else
cp -Rf "/usr/local/share/squidFiles/data/." "/data/"
cp -Rf "usr/local/share/squidFiles/config/." "/config/"
fi
done
mkdir -p "${SQUID_LOG_DIR}" "${SQUID_CACHE_DIR}"
mkdir -p "/data/log/squidguard" "/data/log/e2guardian" "/data/squidguard/db"
chown -Rf ${SQUID_USER}:${SQUID_USER} "/config" "/data"
chmod -Rf 755 "${SQUID_LOG_DIR}"
cp -Rf "/config/." "/etc/"
if [ "${UPDATE_BLACKLIST_URL}" != "" ]; then
sudo wget -O backlist.tar.gz ${UPDATE_BLACKLIST_URL} &&
tar -xzf backlist.tar.gz -C "/data/squidguard/db" &&
rm -Rf backlist.tar.gz &&
chown -Rf ${SQUID_USER}:${SQUID_USER} "/data/squidguard/db"
fi
if [ "${WPAD_IP}" != "" ]; then
sed 's/{{WPAD_IP}}/'"${WPAD_IP}"'/' -i "/data/htdocs/www/wpad.dat"
sed 's/{{WPAD_NOPROXY_NET}}/'"${WPAD_NOPROXY_NET}"'/' -i "/data/htdocs/www/wpad.dat"
sed 's/{{WPAD_NOPROXY_MASK}}/'"${WPAD_NOPROXY_MASK}"'/' -i "/data/htdocs/www/wpad.dat"
fi
# allow arguments to be passed to squid
if [[ ${1:0:1} = '-' ]]; then
EXTRA_ARGS="$@"
set --
elif [[ ${1} == squid || ${1} == $(which squid) ]]; then
EXTRA_ARGS="${@:2}"
set --
fi
# start apache to serve wpad.dat file and or block.html
sudo /etc/init.d/apache2 restart
# default behaviour is to launch squid
if [[ -z ${1} ]]; then
if [[ ! -d ${SQUID_CACHE_DIR}/00 ]]; then
echo "Initializing cache..."
$(which squid) -N -f /etc/squid/squid.conf -z
fi
echo "Starting squid..."
exec $(which squid) -f /etc/squid/squid.conf -NYCd 1 ${EXTRA_ARGS}
else
exec "$@"
fi

204
config/apache2/apache2.conf Normal file
View File

@ -0,0 +1,204 @@
# This is the main Apache HTTP server configuration file. It contains the
# Set to one of: Full | OS | Minor | Minimal | Major | Prod
ServerTokens Prod
ServerRoot /etc/apache2
Listen 80
LoadModule mpm_prefork_module /usr/lib/apache2/modules/mod_mpm_prefork.so
LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so
LoadModule actions_module /usr/lib/apache2/modules/mod_actions.so
LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
LoadModule allowmethods_module /usr/lib/apache2/modules/mod_allowmethods.so
LoadModule asis_module /usr/lib/apache2/modules/mod_asis.so
LoadModule auth_basic_module /usr/lib/apache2/modules/mod_auth_basic.so
LoadModule auth_digest_module /usr/lib/apache2/modules/mod_auth_digest.so
LoadModule auth_form_module /usr/lib/apache2/modules/mod_auth_form.so
LoadModule authn_anon_module /usr/lib/apache2/modules/mod_authn_anon.so
LoadModule authn_core_module /usr/lib/apache2/modules/mod_authn_core.so
LoadModule authn_dbd_module /usr/lib/apache2/modules/mod_authn_dbd.so
LoadModule authn_dbm_module /usr/lib/apache2/modules/mod_authn_dbm.so
LoadModule authn_file_module /usr/lib/apache2/modules/mod_authn_file.so
LoadModule authn_socache_module /usr/lib/apache2/modules/mod_authn_socache.so
LoadModule authnz_fcgi_module /usr/lib/apache2/modules/mod_authnz_fcgi.so
LoadModule authnz_ldap_module /usr/lib/apache2/modules/mod_authnz_ldap.so
LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so
LoadModule authz_dbd_module /usr/lib/apache2/modules/mod_authz_dbd.so
LoadModule authz_dbm_module /usr/lib/apache2/modules/mod_authz_dbm.so
LoadModule authz_groupfile_module /usr/lib/apache2/modules/mod_authz_groupfile.so
LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so
LoadModule authz_owner_module /usr/lib/apache2/modules/mod_authz_owner.so
LoadModule authz_user_module /usr/lib/apache2/modules/mod_authz_user.so
LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so
LoadModule brotli_module /usr/lib/apache2/modules/mod_brotli.so
LoadModule buffer_module /usr/lib/apache2/modules/mod_buffer.so
LoadModule cache_module /usr/lib/apache2/modules/mod_cache.so
LoadModule cache_disk_module /usr/lib/apache2/modules/mod_cache_disk.so
LoadModule cache_socache_module /usr/lib/apache2/modules/mod_cache_socache.so
LoadModule cern_meta_module /usr/lib/apache2/modules/mod_cern_meta.so
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
LoadModule cgid_module /usr/lib/apache2/modules/mod_cgid.so
LoadModule charset_lite_module /usr/lib/apache2/modules/mod_charset_lite.so
LoadModule data_module /usr/lib/apache2/modules/mod_data.so
LoadModule dav_module /usr/lib/apache2/modules/mod_dav.so
LoadModule dav_fs_module /usr/lib/apache2/modules/mod_dav_fs.so
LoadModule dav_lock_module /usr/lib/apache2/modules/mod_dav_lock.so
LoadModule dbd_module /usr/lib/apache2/modules/mod_dbd.so
LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so
LoadModule dialup_module /usr/lib/apache2/modules/mod_dialup.so
LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
LoadModule dumpio_module /usr/lib/apache2/modules/mod_dumpio.so
LoadModule echo_module /usr/lib/apache2/modules/mod_echo.so
LoadModule env_module /usr/lib/apache2/modules/mod_env.so
LoadModule expires_module /usr/lib/apache2/modules/mod_expires.so
LoadModule ext_filter_module /usr/lib/apache2/modules/mod_ext_filter.so
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so
LoadModule file_cache_module /usr/lib/apache2/modules/mod_file_cache.so
LoadModule filter_module /usr/lib/apache2/modules/mod_filter.so
LoadModule geoip_module /usr/lib/apache2/modules/mod_geoip.so
LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
LoadModule heartbeat_module /usr/lib/apache2/modules/mod_heartbeat.so
LoadModule heartmonitor_module /usr/lib/apache2/modules/mod_heartmonitor.so
LoadModule http2_module /usr/lib/apache2/modules/mod_http2.so
LoadModule ident_module /usr/lib/apache2/modules/mod_ident.so
LoadModule imagemap_module /usr/lib/apache2/modules/mod_imagemap.so
LoadModule include_module /usr/lib/apache2/modules/mod_include.so
LoadModule info_module /usr/lib/apache2/modules/mod_info.so
LoadModule lbmethod_bybusyness_module /usr/lib/apache2/modules/mod_lbmethod_bybusyness.so
LoadModule lbmethod_byrequests_module /usr/lib/apache2/modules/mod_lbmethod_byrequests.so
LoadModule lbmethod_bytraffic_module /usr/lib/apache2/modules/mod_lbmethod_bytraffic.so
LoadModule lbmethod_heartbeat_module /usr/lib/apache2/modules/mod_lbmethod_heartbeat.so
LoadModule ldap_module /usr/lib/apache2/modules/mod_ldap.so
LoadModule log_debug_module /usr/lib/apache2/modules/mod_log_debug.so
LoadModule log_forensic_module /usr/lib/apache2/modules/mod_log_forensic.so
LoadModule lua_module /usr/lib/apache2/modules/mod_lua.so
LoadModule macro_module /usr/lib/apache2/modules/mod_macro.so
LoadModule md_module /usr/lib/apache2/modules/mod_md.so
LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
LoadModule mime_magic_module /usr/lib/apache2/modules/mod_mime_magic.so
LoadModule negotiation_module /usr/lib/apache2/modules/mod_negotiation.so
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_ajp_module /usr/lib/apache2/modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module /usr/lib/apache2/modules/mod_proxy_balancer.so
LoadModule proxy_connect_module /usr/lib/apache2/modules/mod_proxy_connect.so
LoadModule proxy_express_module /usr/lib/apache2/modules/mod_proxy_express.so
LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so
LoadModule proxy_fdpass_module /usr/lib/apache2/modules/mod_proxy_fdpass.so
LoadModule proxy_ftp_module /usr/lib/apache2/modules/mod_proxy_ftp.so
LoadModule proxy_hcheck_module /usr/lib/apache2/modules/mod_proxy_hcheck.so
LoadModule proxy_html_module /usr/lib/apache2/modules/mod_proxy_html.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule proxy_http2_module /usr/lib/apache2/modules/mod_proxy_http2.so
LoadModule proxy_scgi_module /usr/lib/apache2/modules/mod_proxy_scgi.so
LoadModule proxy_uwsgi_module /usr/lib/apache2/modules/mod_proxy_uwsgi.so
LoadModule proxy_wstunnel_module /usr/lib/apache2/modules/mod_proxy_wstunnel.so
LoadModule ratelimit_module /usr/lib/apache2/modules/mod_ratelimit.so
LoadModule reflector_module /usr/lib/apache2/modules/mod_reflector.so
LoadModule remoteip_module /usr/lib/apache2/modules/mod_remoteip.so
LoadModule reqtimeout_module /usr/lib/apache2/modules/mod_reqtimeout.so
LoadModule request_module /usr/lib/apache2/modules/mod_request.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
LoadModule sed_module /usr/lib/apache2/modules/mod_sed.so
LoadModule session_module /usr/lib/apache2/modules/mod_session.so
LoadModule session_cookie_module /usr/lib/apache2/modules/mod_session_cookie.so
LoadModule session_crypto_module /usr/lib/apache2/modules/mod_session_crypto.so
LoadModule session_dbd_module /usr/lib/apache2/modules/mod_session_dbd.so
LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so
LoadModule slotmem_plain_module /usr/lib/apache2/modules/mod_slotmem_plain.so
LoadModule slotmem_shm_module /usr/lib/apache2/modules/mod_slotmem_shm.so
LoadModule socache_dbm_module /usr/lib/apache2/modules/mod_socache_dbm.so
LoadModule socache_memcache_module /usr/lib/apache2/modules/mod_socache_memcache.so
LoadModule socache_shmcb_module /usr/lib/apache2/modules/mod_socache_shmcb.so
LoadModule speling_module /usr/lib/apache2/modules/mod_speling.so
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
LoadModule status_module /usr/lib/apache2/modules/mod_status.so
LoadModule substitute_module /usr/lib/apache2/modules/mod_substitute.so
LoadModule suexec_module /usr/lib/apache2/modules/mod_suexec.so
LoadModule unique_id_module /usr/lib/apache2/modules/mod_unique_id.so
LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so
LoadModule usertrack_module /usr/lib/apache2/modules/mod_usertrack.so
LoadModule vhost_alias_module /usr/lib/apache2/modules/mod_vhost_alias.so
LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so
LoadModule xml2enc_module /usr/lib/apache2/modules/mod_xml2enc.so
<IfModule unixd_module>
User www-data
Group www-data
</IfModule>
# 'Main' server configuration
ServerName SERVERNAME
ServerAdmin SERVERADMIN@SERVERNAME
ServerSignature On
<Directory />
AllowOverride none
Require all denied
</Directory>
<Directory "/data/htdocs">
Options Indexes FollowSymLinks MultiViews ExecCGI Includes
AllowOverride All
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.html.var index.php index.cgi index.asp index.aspx index.pl index.aspx Default.aspx default.aspx index.shtml awstats.pl index.unknown.php index.default.php
</IfModule>
<Files ".ht*">
Require all denied
</Files>
ErrorLog /var/log/apache2/error.log
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog /var/log/apache2/access.log combined
</IfModule>
<IfModule alias_module>
Alias /server-health /data/htdocs/www/server-health
Alias /server-health.json /data/htdocs/www/server-health.json
ScriptAlias /cgi-bin/ "/data/htdocs/cgi-bin/"
</IfModule>
<Directory "/data/htdocs/cgi-bin">
AllowOverride None
Options ExecCGI
Require all granted
</Directory>
<IfModule cgid_module>
#Scriptsock cgisock
</IfModule>
<IfModule headers_module>
RequestHeader unset Proxy early
</IfModule>
<IfModule mime_module>
TypesConfig /etc/apache2/mime.types
AddType application/x-gzip .tgz
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/x-ns-proxy-autoconfig .dat
</IfModule>
<IfModule mime_magic_module>
MIMEMagicFile /etc/apache2/magic
</IfModule>
<VirtualHost _default_:80>
DocumentRoot "/data/htdocs/www"
</VirtualHost>

1855
config/apache2/mime.types Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
# Ident auth plugin
# Identifies users via IDENT servers running on client machines
plugname = 'ident'

View File

@ -0,0 +1,11 @@
# IP-based auth plugin
#
# Maps client IPs to filter groups.
# If "usexforwardedfor" is enabled, grabs the IP from the X-Forwarded-For
# header, if available.
plugname = 'ip'
# ipgroups file
# List file assigning IP addresses, subnets and ranges to filter groups
ipgroups = '/etc/e2guardian/lists/authplugins/ipgroups'

View File

@ -0,0 +1,9 @@
# IP-Port-based auth plugin
#
# Maps IP Ports to filter groups.
plugname = 'port'
# portgroups file
# List file assigning ports to filter groups
portgroups = '/etc/e2guardian/lists/authplugins/portgroups'

View File

@ -0,0 +1,5 @@
# Proxy-Basic auth plugin
# Identifies usernames in "Proxy-Authorization: Basic" headers;
# relies upon the upstream proxy (squid) to perform the actual password check.
plugname = 'proxy-basic'

View File

@ -0,0 +1,7 @@
# Proxy-Digest auth plugin
# Identifies usernames in "Proxy-Authorization: Digest" headers;
# relies upon the upstream proxy (squid) to perform the actual password check.
# Contributed by Darryl Sutherland <darryl@weblink.co.za>
plugname = 'proxy-digest'

View File

@ -0,0 +1,5 @@
# Proxy-NTLM auth plugin
# Identifies usernames in "Proxy-Authorization: NTLM" headers;
# relies on the upstream proxy (squid) to perform the actual password check.
plugname = 'proxy-ntlm'

View File

@ -0,0 +1,250 @@
# Storyboard library file
# For ease of upgrade DO NOT CHANGE THIS library file
# Make your function changes by overriding functions
# in the site.story file - for site wide changes
# and in filtergroup specific story file - see examplef1.story
#
# This library is built to largely duplicate the logic in V4
#
# Many e2guardian[f1].conf flags are replaced by overiding
# library functions - see site.story and examplef1.story
#
# Simple functions are defined which control the logic flow and the
# lists that are used. See notes/Storyboard for details.
#
# The entry point in v5 for standard filtering is 'checkrequest'
#
# Entry function called by proxy module to check http request
function(checkrequest)
if(viruscheckset) checknoscanlists
if(bypassallowset) checknobypasslists
if(exceptionset) return true
if(fullurlin,searchterms) setsearchterm
ifnot(greyset) returnif localcheckrequest
if(connect) return sslrequestcheck
ifnot(greyset) returnif exceptioncheck
ifnot(greyset) greycheck
ifnot(greyset) returnif bannedcheck
if(fullurlin, change) setmodurl
if(true) returnif embeddedcheck
if(headerin,headermods) setmodheader
if(fullurlin, addheader) setaddheader
if(searchin,override) return setgrey
if(searchin,banned) return setblock
if(fullurlin,redirect) return setredirect
if(true) setgrey
# Entry function called by proxy module to check http response
function(checkresponse)
if(exceptionset) return false
if(viruscheckset) checknoscantypes
if(urlin,exceptionfile) return false
if(true) return checkfiletype
# Entry function called by THTTPS module to check https request
function(thttps-checkrequest)
if(true) returnif localsslrequestcheck
if(true) returnif sslrequestcheck
ifnot(hassniset) checksni
# Entry function called by ICAP module to check reqmod
function(icap-checkrequest)
#unless blocked or redirect or connect - leave logging for RESPMOD
if(connect) return icapsslrequestcheck
ifnot(greyset) icap-checkrequest2
if(redirectset) return true
ifnot(blockset) setnolog
function(icap-checkrequest2)
if(viruscheckset) checknoscanlists
if(bypassallowset) checknobypasslists
if(exceptionset) return true
if(fullurlin,searchterms) setsearchterm
ifnot(greyset) returnif localcheckrequest
ifnot(greyset) returnif exceptioncheck
ifnot(greyset) greycheck
ifnot(greyset) returnif bannedcheck
if(fullurlin, change) setmodurl
if(true) returnif embeddedcheck
if(headerin,headermods) setmodheader
if(fullurlin, addheader) setaddheader
if(searchin,override) return setgrey
if(searchin,banned) return setblock
if(true) setgrey
# Entry function called by ICAP module to check respmod
function(icap-checkresponse)
if(viruscheckset) checknoscanlists
if(true) return checkresponse
# Checks embeded urls
# returns true if blocked, otherwise false
function(embeddedcheck)
if(embeddedin, localexception) return false
if(embeddedin, localgrey) return false
if(embeddedin, localbanned) return setblock
if(embeddedin, exception) return false
if(embeddedin, grey) return false
if(embeddedin, banned) return setblock
# Local checks
# returns true if matches local exception or banned
function(localcheckrequest)
if(connect) return localsslrequestcheck
ifnot(greyset) returnif localexceptioncheck
ifnot(greyset) localgreycheck
ifnot(greyset) returnif localbannedcheck
if(searchin,localbanned) return setblock
# Local SSL checks
# returns true if matches local exception
function(localsslrequestcheck)
if(sitein, localexception) return setexception
if(sitein, localgreyssl) returnif sslcheckmitm
if(sitein, localbanned) true
ifnot(returnset) return false
if(true) returnif sslcheckmitm
if(true) return setblock
# SSL site replace (used instead of dns kulge)
# returns true on match and successful replacement
function(sslreplace)
if(fullurlin,sslreplace) return setconnectsite
if(true) return false
# Local grey check
# returns true on match
function(localgreycheck)
if(urlin, localgrey) return setgrey
# Local banned check
# returns true on match
function(localbannedcheck)
if(urlin, localbanned) return setblock
# Local exception check
# returns true on match
function(localexceptioncheck)
if(urlin, localexception) return setexception
# Exception check
# returns true on match
function(exceptioncheck)
if(urlin, exception) return setexception
if(headerin, exceptionheader) return setexception
if(useragentin, exceptionuseragent) return setexception
# SSL Exception check
# returns true on match
function(sslexceptioncheck)
if(sitein, exception) return setexception
if(headerin, exceptionheader) return setexception
if(useragentin, exceptionuseragent) return setexception
if(true) return false
# Greylist check
# returns true on match
function(greycheck)
if(urlin, grey) return setgrey
# Banned list check
# returns true on match
function(bannedcheck)
if(true) returnif checkblanketblock
if(urlin, banned) return setblock
if(urlin,bannedextension) return setblock
if(useragentin, banneduseragent) return setblock
if(headerin, bannedheader) return setblock
# Local SSL list(s) check
# returns true on match
function(localsslcheckrequest)
if(sitein, localexception) return setexception
#if(sitein, localbanned) return setblock
# Check whether to go MITM
# returns true if yes, false if no
function(sslcheckmitm)
# use next line to have general MITM
if(true) return sslcheckmitmgeneral
# use next line instead of last to limit MITM to greylist
#if(true) return sslcheckmitmgreyonly
# Always go MITM
# returns true if yes, false if no
function(sslcheckmitmgeneral)
if(true) setgomitm
ifnot(returnset) return false
if(sitein, nocheckcert) setnocheckcert
if(true) sslreplace
if(true) return true
# Only go MITM when in greyssl list
# returns true if yes, false if no
function(sslcheckmitmgreyonly)
if(sitein, greyssl) setgomitm
ifnot(returnset) return false
if(sitein, nocheckcert) setnocheckcert
if(true) sslreplace
if(true) return true
# SSL request check
# returns true if exception or gomitm
function(sslrequestcheck)
if(true) returnif sslexceptioncheck
if(true) returnif sslcheckmitm
if(sitein, banned) return setblock
if(true) sslreplace
ifnot(returnset) returnif sslcheckblanketblock
if(true) setgrey
function(checknoscanlists)
if(urlin,exceptionvirus) unsetviruscheck
function(checknoscantypes)
if(mimein,exceptionvirus) return unsetviruscheck
if(extensionin,exceptionvirus) return unsetviruscheck
function(checknobypasslists)
if(urlin,bannedbypass) return unsetbypassallow
# ICAP SSL request check
# returns true if exception
function(icapsslrequestcheck)
if(true) returnif icapsquidbump
if(true) returnif sslexceptioncheck
if(true) sslreplace
if(sitein, banned) return setblock
# Blanket block
# returns true if to block
# Placeholder function - overide in fn.story
function(checkblanketblock)
# SSL Blanket block
# returns true if to block
# Placeholder function - overide in fn.story
function(sslcheckblanketblock)
# ICAP Squid bump
# override in site.story to return true if bump is being deployed on squid
function(icapsquidbump)
# File type blocking
# returns true if blocking
# Default uses banned lists and allows all others
# Overide in site.story or fn.story if only types in exception file type lists
# are to be allowed
function(checkfiletype)
if(mimein, bannedmime) return setblock
if(extensionin, bannedextension) return setblock
# SNI checking - determines default action when no SNI or TSL is present on a
# THTTPS connection
# Default blocks all requests with TLS or SNI absent that are not ip site exceptions
function(checksni)
ifnot(tls,,511) return setblock
ifnot(hassniset,,512) return setblock

View File

@ -0,0 +1,13 @@
plugname = 'clamdscan'
# edit this to match the location of your ClamD UNIX domain socket
clamdudsfile = '/run/clamav/clamd.ctl'
# If this string is set, the text it contains shall be removed from the
# beginning of filenames when passing them to ClamD.
# Use it to - for example - support a ClamD running inside a chroot jail:
# if DG's filecachedir is set to "/var/clamdchroot/downloads/" and pathprefix
# is set to "/var/clamdchroot", then file names given to ClamD will be of the
# form "/downloads/tf*" instead of "/var/clamdchroot/downloads/tf*".
#pathprefix = '/var/clamdchroot'

View File

@ -0,0 +1,45 @@
plugname = 'commandlinescan'
# Program to run & initial arguments - filename for scanning will be appended
#progname = /path/to/scanner
# At least one of the following three options must be defined!
# They are checked in the following order, with the first match determining
# the scan result:
# virusregexp - regular expression for extracting virus names from
# the scanner's output
# cleancodes - program return code(s), as a comma-separated list, for
# uninfected files
# infectedcodes - program return code(s), as a comma-separated list, for
# infected files
#virusregexp = (someregexp)
# Which submatch of the above contains the virus name? (0 = all matched text)
#submatch = 1
# cleancodes = 0
# infectedcodes = 1,2,3
# Default result when none of the other options triggers a match
# Valid values are "infected" and "clean"
#defaultresult = infected
#
# Example configuration for clamdscan
#
## Path to binary
#progname = '/usr/bin/clamdscan'
## Program returns 0 for clean files (for an easy out)
#cleancodes = 0
## Regular expression for virus names
#virusregexp = : ([ -/a-zA-Z0-9\.]+) FOUND
#submatch = 1
## Default scan result when the above don't match
#defaultresult = infected

View File

@ -0,0 +1,8 @@
plugname = 'icapscan'
# ICAP URL
# Use hostname rather than IP address
# Always specify the port
#
icapurl = 'icap://icapserver:1344/avscan'

View File

@ -0,0 +1,17 @@
# The default download manager.
# This is the safest option for unknown user-agents and content types, and
# hence a good one to include last.
# Which plugin should be loaded?
plugname = 'default'
# Regular expression for matching user agents
# When not defined, matches all agents.
#useragentregexp = '.*'
# Lists of mime types and extensions to manage
# When not defined, matches everything.
# These can be enabled separately; when both enabled,
# a request may match either list.
#managedmimetypelist = ''
#managedextensionlist = ''

View File

@ -0,0 +1,699 @@
# e2guardian config file for version 5.3.1
#NOTE This file is only read at start-up
#
# but the lists defined in this file are re-read on reload or gentle restart
# as is any rooms directory files.
# Language dir where languages are stored for internationalisation.
# The HTML template within this dir is only used when reportinglevel
# is set to 3. When used, e2guardian will display the HTML file instead of
# using the perl cgi script. This option is faster, cleaner
# and easier to customise the access denied page.
# The language file is used no matter what setting however.
#
languagedir = '/usr/share/e2guardian/languages'
# language to use from languagedir.
language = 'ukenglish'
#Debug Level
#Enable debug e2guardian
#debug one value:
#Eg
# debuglevel = 'ICAP'
#Enable ICAP debug informations only
#
#Eg
# debuglevel = 'ALL'
#Enable ALL debug informations
#
#Additive mode:
#Eg
# debuglevel = 'ICAP,NET'
#Enable ICAP and NET debug informations
#
#Soustractive mode:
#Eg
# debuglevel = 'ALL,-ICAP'
#Enable all debug informations but without ICAP debug informations
# debuglevel = 'ALL,-ICAP,-NET,-FILTER'
#Enable all debug informations but without ICAP, NETWORK and FILTER debug informations
#by default disabled, if this option is required just uncomment the line below
#works also with e2guardian -N (-N Do not go into the background)
#Possible value : ICAP CLAMAV ICAPC (icap client)
#debuglevel = 'ALL'
#Directory for result of debug level (log)
#Works only if debuglevel is enabled
#
#debuglevelfile = '/data/log/e2guardian/debuge2'
# Logging Settings
#
# 0 = none 1 = just denied 2 = all text based 3 = all requests
loglevel = 3
# Log Exception Hits
# Log if an exception (user, ip, URL, phrase) is matched and so
# the page gets let through. Can be useful for diagnosing
# why a site gets through the filter.
# 0 = never log exceptions
# 1 = log exceptions, but do not explicitly mark them as such
# 2 = always log & mark exceptions (default)
logexceptionhits = 2
# Log File Format
# 1 = Dansguardian format (space delimited)
# 2 = CSV-style format
# 3 = Squid Log File Format
# 4 = Tab delimited
# Protex format type 5 Tab delimited, squid style format with extra fields
# for filter block/result codes, reasons, filter group, and system name
# used in arrays so that combined logs show originating server.
# 5 = Protex format
# Protex format type 6 Same format as above but system name field is blank
# used in stand-alone systems.
# 6 = Protex format with server field blanked
logfileformat = 6
# Log a specific value from header
# low case only
# only used with logs: 1,5 and 6
logheadervalue = 'proxy-authorization:'
# truncate large items in log lines
# allowable values 10 to 32000
# default 2000
# unlimited not longer allowed - 0 will now set default of 2000
maxlogitemlength = 2000
# anonymize logs (blank out usernames & IPs)
#anonymizelogs = off
# Syslog logging
#
# Use syslog for access logging instead of logging to the file
# at the defined or built-in "loglocation"
#logsyslog = off
#Suffix to append to program name when logging through syslog
# Default is the e2Guardian instance number
#namesuffix = $z
# Log file location
#
# Defines the log directory and filename.
loglocation = '/data/log/e2guardian/access.log'
# Dymamic statistics log file location
#
# Defines the dstats file directory and filename.
# Once every 'dstatinterval' seconds, stats on number of threads in use,
# Q sizes and other useful information is written to this file.
# Format is similar to sar. See notes/dstats_format for more details.
# Default is not to write stats.
dstatlocation = '/data/log/e2guardian/dstats.log'
# Interval in seconds between stats output
# Default 300 (= 5 mins)
# Minimum 10
# Maximum 3600 (= 1 hour)
dstatinterval = 300 # = 5 minutes
# Time format is epoch GMT+0 by default | statshumanreadable change to local zone
statshumanreadable = on
# Container mode
# the process will not fork into the background AND log in stdout
# In this mode systemd service is disabled !
# Default:
dockermode = on
# Network Settings
#
# the IP that e2guardian listens on. If left blank e2guardian will
# listen on all IPs. That would include all NICs, loopback, modem, etc.
# Normally you would have your firewall protecting this, but if you want
# you can limit it to a certain IP. To bind to multiple interfaces,
# specify each IP on an individual filterip line.
# If mapportstoips is 'on' you can have the same IP twice so long as
# it has a different port.
filterip =
# the ports that e2guardian listens to. Specify one line per filterip
# line. If both mapportstoips and mapauthtoports are set to 'on'
# you can specify different authentication mechanisms per port but
# only if the mechanisms can co-exist (e.g. basic/proxy auth can't)
filterports = 8080
#filterports = 8081
# Map ports to IPs
# If enabled map filterports to filterip - number of filterports must then be same as
# number of filterip
# If disabled will listen on all filterports on all filterips.
# on (default) | off
#mapportstoips = off
#port for transparent https
#if defined enables tranparent https
transparenthttpsport = 8443
#port for ICAP
#if defined enables icap mode
icapport = 1344
# the ip of upstream proxy - optional - if blank e2g will go direct to sites.
# default is "" i.e. no proxy
proxyip = 127.0.0.1
# the port e2guardian connects to proxy on
proxyport = 3127
# Proxy timeout
# Set tcp timeout between the Proxy and e2guardian
# This is a connection timeout
# If proxy is remote you may need to increase this to 10 or more.
# Min 5 - Max 100
proxytimeout = 5
# Connect timeout
# Set tcp timeout between the e2guardian and upstream service (proxy or target host)
# This is a connection timeout
# For remote sites you may need to increase this to 10 or more.
# Min 1 - Max 100
# default 3
connecttimeout = 5
# Connect retries
# Set the number of retries to make on connection failure before giving up
# Min 1 - Max 100
# default 1
# Proxy header exchange
# Set timeout between the Proxy and e2guardian
# Min 20 - Max 300
# If this is higher than proxies timeout user will get proxy Gateway error page
# If lower e2guardian Gateway error page
proxyexchange = 61
# Pconn timeout
# how long a persistent connection will wait for other requests
# squid apparently defaults to 1 minute (persistent_request_timeout),
# so wait slightly less than this to avoid duff pconns.
# Min 5 - Max 300
pcontimeout = 55
# Whether to retrieve the original destination IP in transparent proxy
# setups and check it against the domain pulled from the HTTP headers.
#
# Be aware that when visiting sites which use a certain type of round-robin
# DNS for load balancing, DG may mark requests as invalid unless DG gets
# exactly the same answers to its DNS requests as clients. The chances of
# this happening can be increased if all clients and servers on the same LAN
# make use of a local, caching DNS server instead of using upstream DNS
# directly.
#
# See http://www.kb.cert.org/vuls/id/435052
# on (default) | off
#!! Not compiled !! originalip = off
# Banned image replacement
# Images that are banned due to domain/url/etc reasons including those
# in the adverts blacklists can be replaced by an image. This will,
# for example, hide images from advert sites and remove broken image
# icons from banned domains.
# on (default) | off
usecustombannedimage = on
custombannedimagefile = '/usr/share/e2guardian/transparent1x1.gif'
#Banned flash replacement
usecustombannedflash = on
custombannedflashfile = '/usr/share/e2guardian/blockedflash.swf'
# Filter groups options
# filtergroups sets the number of filter groups. A filter group is a set of content
# filtering options you can apply to a group of users. The value must be 1 or more.
# e2guardian will automatically look for e2guardianfN.conf where N is the filter
# group. To assign users to groups use the filtergroupslist option. All users default
# to filter group 1. You must have some sort of authentication to be able to map users
# to a group.
filtergroups = 1
filtergroupslist = '/etc/e2guardian/lists/filtergroupslist'
# default filtergroup for standard (explicit) mode
# optional defaults to 1
#defaultfiltergroup = 1;
# default filtergroup for transparent proxy mode
# optional defaults to 1
#defaulttransparentfiltergroup = 1;
# default filtergroup for ICAP mode
# optional defaults to 1
#defaulticapfiltergroup = 1;
# If on it a user without group is considered like unauthenfied
# E2guardian tries the next plugin
# If off the user is connected with group1
# Defaults to off
# authrequiresuserandgroup = off
# Authentication files location
# These are now replaced with pre-authstoryboard logic but lists defined here
#
# bannediplist is ONLY for banned client IP
iplist = 'name=bannedclient,messageno=100,logmessageno=103,path=/etc/e2guardian/lists/bannediplist'
# Put client dns names in bannedclientlist if required
#sitelist = 'name=bannedclient,messageno=100,logmessageno=104,path=/etc/e2guardian/lists/bannedclientlist'
# exceptioniplist is ONLY for exception client IP
iplist = 'name=exceptionclient,messageno=600,path=/etc/e2guardian/lists/exceptioniplist'
# Put client dns names in exceptionclientlist if required
#sitelist = 'name=exceptionclient,messageno=631,path=/etc/e2guardian/lists/exceptionclientlist'
# authexception lists are for exception sites/urls allowed before authentication# to allow for machines to update without user authentication
iplist = 'name=authexception,messageno=602,path=/etc/e2guardian/lists/authexceptioniplist'
sitelist = 'name=authexception,messageno=602,path=/etc/e2guardian/lists/authexceptionsitelist'
urllist = 'name=authexception,messageno=603,path=/etc/e2guardian/lists/authexceptionurllist'
#Note: only iplist, sitelist, ipsitelist and urllist can currently be defined for use with pre-authstoryboard.
# Per-Room definition directory
# A directory containing text files containing the room's name followed by IPs or ranges
# and optionaly site and url lists
# Think of it as bannediplist and/or exceptions on crack
# perroomdirectory = '/etc/e2guardian/lists/rooms/'
# Show weighted phrases found
# If enabled then the phrases found that made up the total which excedes
# the naughtyness limit will be logged and, if the reporting level is
# high enough, reported. on | off
showweightedfound = on
# Weighted phrase mode
# There are 3 possible modes of operation:
# 0 = off = do not use the weighted phrase feature.
# 1 = on, normal = normal weighted phrase operation.
# 2 = on, singular = each weighted phrase found only counts once on a page.
#
# IMPORTANT: Note that setting this to "0" turns off all features which
# extract phrases from page content, including banned & exception
# phrases (not just weighted), search term filtering, and scanning for
# links to banned URLs.
#
weightedphrasemode = 2
# Smart, Raw and Meta/Title phrase content filtering options
# Smart is where the multiple spaces and HTML are removed before phrase filtering
# Raw is where the raw HTML including meta tags are phrase filtered
# Meta/Title is where only meta and title tags are phrase filtered (v. quick)
# CPU usage can be effectively halved by using setting 0 or 1 compared to 2
# 0 = raw only
# 1 = smart only
# 2 = both of the above (default)
# 3 = meta/title
phrasefiltermode = 2
# Lower casing options
# When a document is scanned the uppercase letters are converted to lower case
# in order to compare them with the phrases. However this can break Big5 and
# other 16-bit texts. If needed preserve the case. As of version 2.7.0 accented
# characters are supported.
# 0 = force lower case (default)
# 1 = do not change case
# 2 = scan first in lower case, then in original case
preservecase = 0
# Note:
# If phrasefiltermode and preserve case are both 2, this equates to 4 phrase
# filtering passes. If you have a large enough userbase for this to be a
# worry, and need to filter pages in exotic character encodings, it may be
# better to run two instances on separate servers: one with preservecase 1
# (and possibly forcequicksearch 1) and non ASCII/UTF-8 phrase lists, and one
# with preservecase 0 and ASCII/UTF-8 lists.
# Hex decoding options
# When a document is scanned it can optionally convert %XX to chars.
# If you find documents are getting past the phrase filtering due to encoding
# then enable. However this can break Big5 and other 16-bit texts.
# off = disabled (default)
# on = enabled
hexdecodecontent = off
# Force Quick Search rather than DFA search algorithm
# The current DFA implementation is not totally 16-bit character compatible
# but is used by default as it handles large phrase lists much faster.
# If you wish to use a large number of 16-bit character phrases then
# enable this option.
# off (default) | on (Big5 compatible)
forcequicksearch = off
# Reverse lookups for banned site and URLs.
# If set to on, e2guardian will look up the forward DNS for an IP URL
# address and search for both in the banned site and URL lists. This would
# prevent a user from simply entering the IP for a banned address.
# It will reduce searching speed somewhat so unless you have a local caching
# DNS server, leave it off and use the Blanket IP Block option in the
# f1.story file instead.
reverseaddresslookups = off
# Reverse lookups for banned and exception IP lists.
# If set to on, e2guardian will look up the forward DNS for the IP
# of the connecting computer.
# If a client computer is matched against an IP given in the lists, then the
# IP will be recorded in any log entries; if forward DNS is successful and a
# match occurs against a hostname, the hostname will be logged instead.
# It will reduce searching speed somewhat so unless you have a local DNS server,
# leave it off.
reverseclientiplookups = off
# Perform reverse lookups on client IPs for successful requests.
# If set to on, e2guardian will look up the forward DNS for the IP
# of the connecting computer, and log host names (where available) rather than
# IPs against requests.
# This is not dependent on reverseclientiplookups being enabled; however, if it
# is, enabling this option does not incur any additional forward DNS requests.
logclienthostnames = off
# Max content filter size
# Sometimes web servers label binary files as text which can be very
# large which causes a huge drain on memory and cpu resources.
# To counter this, you can limit the size of the document to be
# filtered and get it to just pass it straight through.
# This setting also applies to content regular expression modification.
# The value must not be higher than maxcontentramcachescansize
# Do not set this too low as this will result in pages that contain a
# long preamble not being content filtered
# The size is in Kibibytes - eg 2048 = 2Mb
# use 0 to set it to maxcontentramcachescansize
maxcontentfiltersize = 1024
# Max content ram cache scan size
# This is only used if you use a content scanner plugin such as AV
# This is the max size of file that e2g will download and cache
# in RAM. After this limit is reached it will cache to disk
# This value must be less than or equal to maxcontentfilecachescansize.
# The size is in Kibibytes - eg 10240 = 10Mb
# use 0 to set it to maxcontentfilecachescansize
# This option may be ignored by the configured download manager.
maxcontentramcachescansize = 2000
# Max content file cache scan size
# This is only used if you use a content scanner plugin such as AV
# This is the max size file that DG will download
# so that it can be scanned or virus checked.
# This value must be greater or equal to maxcontentramcachescansize.
# The size is in Kibibytes - eg 10240 = 10Mb
maxcontentfilecachescansize = 20000
# File cache dir
# Where DG will download files to be scanned if too large for the
# RAM cache.
filecachedir = '/tmp'
# Delete file cache after user completes download
# When a file gets save to temp it stays there until it is deleted.
# You can choose to have the file deleted when the user makes a sucessful
# download. This will mean if they click on the link to download from
# the temp store a second time it will give a 404 error.
# You should configure something to delete old files in temp to stop it filling up.
# on|off (defaults to on)
deletedownloadedtempfiles = on
# Initial Trickle delay
# This is the number of seconds a browser connection is left waiting
# before first being sent *something* to keep it alive. The
# *something* depends on the download manager chosen.
# Do not choose a value too low or normal web pages will be affected.
# A value between 20 and 110 would be sensible
# This may be ignored by the configured download manager.
initialtrickledelay = 20
# Trickle delay
# This is the number of seconds a browser connection is left waiting
# before being sent more *something* to keep it alive. The
# *something* depends on the download manager chosen.
# This may be ignored by the configured download manager.
trickledelay = 10
# Download Managers
# These handle downloads of files to be filtered and scanned.
# They differ in the method they deal with large downloads.
# Files usually need to be downloaded 100% before they can be
# filtered and scanned before being sent on to the browser.
# Normally the browser can just wait, but with content scanning,
# for example to AV, the browser may timeout or the user may get
# confused so the download manager has to do some sort of
# 'keep alive'.
#
# There are various methods possible but not all are included.
# The author does not have the time to write them all so I have
# included a plugin systam. Also, not all methods work with all
# browsers and clients. Specifically some fancy methods don't
# work with software that downloads updates. To solve this,
# each plugin can support a regular expression for matching
# the client's user-agent string, and lists of the mime types
# and extensions it should manage.
#
# Note that these are the matching methods provided by the base plugin
# code, and individual plugins may override or add to them.
# See the individual plugin conf files for supported options.
#
# The plugins are matched in the order you specify and the last
# one is forced to match as the default, regardless of user agent
# and other matching mechanisms.
#
# NOTE - ONLY default downloadmanager is supported in v5
downloadmanager = '/etc/e2guardian/downloadmanagers/default.conf'
# Content Scanners (Also known as AV scanners)
# These are plugins that scan the content of all files your browser fetches
# for example to AV scan. You can have more than one content
# scanner. The plugins are run in the order you specify.
# This is one of the few places you can have multiple options of the same name.
#
# Some of the scanner(s) require 3rd party software and libraries eg clamav.
# See the individual plugin conf file for more options (if any).
#
#contentscanner = '/etc/e2guardian/contentscanners/clamdscan.conf'
#contentscanner = '/etc/e2guardian/contentscanners/icapscan.conf'
#contentscanner = '/etc/e2guardian/contentscanners/commandlinescan.conf'
# Content scanner timeout
# Some of the content scanners support using a timeout value to stop
# processing (eg AV scanning) the file if it takes too long.
# If supported this will be used.
# The default of 60 seconds is probably reasonable.
contentscannertimeout = 60
# Content scan exceptions // THIS MOVED to e2guardianf1.conf
# contentscanexceptions = off
# Auth plugins
#
# Handle the extraction of client usernames from various sources, such as
# Proxy-Authorisation headers and ident servers, enabling requests to be
# handled according to the settings of the user's filter group.
#
# If you do not use multiple filter groups, you need not specify this option.
#
#authplugin = '/etc/e2guardian/authplugins/proxy-basic.conf'
#authplugin = '/etc/e2guardian/authplugins/proxy-digest.conf'
#authplugin = '/etc/e2guardian/authplugins/proxy-ntlm.conf'
#authplugin = '/etc/e2guardian/authplugins/ident.conf'
#authplugin = '/etc/e2guardian/authplugins/ip.conf'
#authplugin = '/etc/e2guardian/authplugins/proxy-header.conf'
#authplugin = '/etc/e2guardian/authplugins/port.conf'
# Map auth to ports
# If enabled map auth plugins to ips/ports - number of authplugins must then be same as
# number of ports
# If disabled scan authplugins on all ports - number of authplugins can then be different
# to number of ports
# on (default) | off
#mapauthtoports = off
# Re-check replaced URLs
# As a matter of course, URLs undergo regular expression search/replace (urlregexplist)
# *after* checking the exception site/URL/regexpURL lists, but *before* checking against
# the banned site/URL lists, allowing certain requests that would be matched against the
# latter in their original state to effectively be converted into grey requests.
# With this option enabled, the exception site/URL/regexpURL lists are also re-checked
# after replacement, making it possible for URL replacement to trigger exceptions based
# on them.
# Defaults to off.
recheckreplacedurls = off
# Misc settings
# if on it adds an X-Forwarded-For: <clientip> to the HTTP request
# header. This may help solve some problem sites that need to know the
# source ip. on | off
forwardedfor = on
# if on it uses the X-Forwarded-For: <clientip> to determine the client
# IP. This is for when you have squid between the clients and e2guardian.
# Warning - headers are easily spoofed. on | off
usexforwardedfor = on
# as mentioned above, the headers can be easily spoofed in order to fake the
# request origin by setting the X-Forwarded-For header. If you have the
# "usexforwardedfor" option enabled, you may want to specify the IPs from which
# this kind of header is allowed, such as another upstream proxy server for
# instance If you want authorize multiple IPs, specify each one on an individual
# xforwardedforfilterip line.
# xforwardedforfilterip =
# if on it logs some debug info regarding accept()ing and failed connections
# which
# can usually be ignored. These are logged by syslog. It is safe to leave
# it on or off
logconnectionhandlingerrors = on
#sets the number of worker threads to use
#
# This figure is the maximum number of concurrent connections.
# If more connections are made, connections will queue until a worker thread is free.
# On large site you might want to try 5000 (max value 20000)
httpworkers = 500
# Process options
# (Change these only if you really know what you are doing).
# These options allow you to run multiple instances of e2guardian on a single machine.
# Remember to edit the log file path above also if that is your intention.
# PID filename
#
# Defines process id directory and filename.
#pidfilename = '/var/run/e2guardian.pid'
# Disable daemoning
# If enabled the process will not fork into the background.
# It is not usually advantageous to do this.
# on|off (defaults to off)
nodaemon = off
# Disable logging process
# on|off (defaults to off)
nologger = off
# Enable logging of "ADs" category blocks
# on|off (defaults to off)
logadblocks = off
# Enable logging of client User-Agent
# Some browsers will cause a *lot* of extra information on each line!
# on|off (defaults to off)
loguseragent = off
# Daemon runas user and group
# This is the user that e2guardian runs as. Normally the user/group nobody.
# Uncomment to use. Defaults to the user set at compile time.
# Temp files created during virus scanning are given owner and group read
# clamdscan, the two processes must run with either the same group or user ID.
#daemonuser = 'e2guardian'
#daemongroup = 'e2guardian'
# Mail program
# Path (sendmail-compatible) email program, with options.
# Not used if usesmtp is disabled (filtergroup specific).
#mailer = '/usr/sbin/sendmail -t' # NOT YET IMPLIMENTED
# Enable SSL support
# This must be present to enable MITM and/or Cert checking
# default is off
enablessl = off
#SSL certificate checking path
#Path to CA certificates used to validate the certificates of https sites.
# if left blank openssl default ca certificate bundle will be used
#Leave as default unless you want to load non-default cert bundle
#sslcertificatepath = ''
#SSL man in the middle
#CA certificate path
#Path to the CA certificate to use as a signing certificate for
#generated certificates.
# default is blank - required if ssl_mitm is enabled.
#cacertificatepath = '/home/e2/e2install/ca.pem'
#CA private key path
#path to the private key that matches the public key in the CA certificate.
# default is blank - required if ssl_mitm is enabled.
#caprivatekeypath = '/home/e2/e2install/ca.key'
#Cert private key path
#The public / private key pair used by all generated certificates
# default is blank - required if ssl_mitm is enabled.
#certprivatekeypath = '/home/e2/e2install/cert.key'
#Generated cert path
#The location where generated certificates will be saved for future use.
#(must be writable by the dg user)
# default is blank - required if ssl_mitm is enabled.
#generatedcertpath = '/home/e2/e2install/generatedcerts/'
#Warning: if you change the cert start/end time from default on a running
# system you will need to clear the generated certificate
# store and also may get problems on running client browsers
#Generated cert start time (in unix time) - optional
# defaults to 1417872951 = 6th Dec 2014
# generatedcertstart = 1417872951
#Generated cert end time (in unix time) - optional
# defaults to generatedcertstart + 10 years
#genratedcertend =
# generatedcertstart =
# monitor helper path
# If defined this script/binary will be called with start or stop appended as follows:-
# Note change in V4!!! - No longer detects cache failure
# At start after e2guardian has started listener and worker threads with
# ' start' appended
# When e2guardian is stopping with ' stop' appended
# monitorhelper = '/usr/local/bin/mymonitor'
# monitor flag prefix path
# If defined path will be used to generate flag files as follows:-
#
# At start after e2guardian has started listener and worker threads with
# 'running' appended
# When e2guardian is stopping with 'paused' appended
# Note change in V4!!! - No longer detects cache failure
# monitorflagprefix = '/home/e2g/run/e2g_flag_'
# Much logic has moved to storyboard files
preauthstoryboard = '/etc/e2guardian/preauth.story'
# Storyboard tracing
# Warning - produces verbose output - do not use in production
# Output goes to syslog (or stderr in debug mode)
# default off
# storyboardtrace = off
# Abort if list is missing or unreadable
# default is to warn but then ignore missing lists
# To abort on missing list set to on
# abortiflistmissing = off //NOT YET IMPLIMENTED
#Search sitelist for ip sites
# In v5 a separate set of lists has been introduced for IP sites
# and normally e2g will no longer check site lists for ip's
# If you want to keep backward list compatablity then set this to
# 'on' - but note this incurs an overhead - putting IP in ipsitelists
# and setting this to off gives the fastest implimentation.
# default is 'on'
searchsitelistforip = on
# http header checking setings
#
# Limit number of http header lines in a request/response
# (to guard against attacks)
# Minimum 10 max 250
# default 50
# maxheaderlines = 50

View File

@ -0,0 +1,527 @@
# e2guardian filter group config file for version 5.3.1
# This file is re-read on gentle restart and any changes actioned
# Filter group mode IS NOT LONGER SUPPORTED
# Unauthenticated users are treated as being in the default filter group.
# groupmode = 1 #DISABLED
# Filter group name
# Used to fill in the -FILTERGROUP- placeholder in the HTML template file, and to
# name the group in the access logs
# Defaults to empty string
#groupname = ''
groupname = 'no_name_group'
# Much logic has moved to storyboard files
storyboard = '/etc/e2guardian/examplef1.story'
# Enable legacy (DG) ssl logic
#
# The following option is replaced by storyboard logic
# ssllegacylogic = off
# Content filtering files location
bannedphraselist = '/etc/e2guardian/lists/bannedphraselist'
weightedphraselist = '/etc/e2guardian/lists/weightedphraselist'
exceptionphraselist = '/etc/e2guardian/lists/exceptionphraselist'
### NOTE - New format for all other list definitions in v5.0
### see notes/V5_list_definition for details
#banned lists
sitelist = 'name=banned,messageno=500,path=/etc/e2guardian/lists/bannedsitelist'
ipsitelist = 'name=banned,messageno=510,path=/etc/e2guardian/lists/bannedsiteiplist'
urllist = 'name=banned,messageno=501,path=/etc/e2guardian/lists/bannedurllist'
regexpboollist = 'name=banned,messageno=503,path=/etc/e2guardian/lists/bannedregexpurllist'
regexpboollist = 'name=banneduseragent,messageno=522,path=/etc/e2guardian/lists/bannedregexpuseragentlist'
sitelist = 'name=bannedssl,messageno=520,path=/etc/e2guardian/lists/bannedsslsitelist'
ipsitelist = 'name=bannedssl,messageno=520,path=/etc/e2guardian/lists/bannedsslsiteiplist'
#grey (i.e. content check) lists
sitelist = 'name=grey,path=/etc/e2guardian/lists/greysitelist'
ipsitelist = 'name=grey,path=/etc/e2guardian/lists/greysiteiplist'
urllist = 'name=grey,path=/etc/e2guardian/lists/greyurllist'
sitelist = 'name=greyssl,path=/etc/e2guardian/lists/greysslsitelist'
ipsitelist = 'name=greyssl,path=/etc/e2guardian/lists/greysslsiteiplist'
#exception lists
sitelist = 'name=exception,messageno=602,path=/etc/e2guardian/lists/exceptionsitelist'
ipsitelist = 'name=exception,messageno=602,path=/etc/e2guardian/lists/exceptionsiteiplist'
urllist = 'name=exception,messageno=603,path=/etc/e2guardian/lists/exceptionurllist'
regexpboollist = 'name=exception,messageno=609,path=/etc/e2guardian/lists/exceptionregexpurllist'
regexpboollist = 'name=exceptionuseragent,messageno=610,path=/etc/e2guardian/lists/exceptionregexpuseragentlist'
sitelist = 'name=refererexception,messageno=620,path=/etc/e2guardian/lists/refererexceptionsitelist'
ipsitelist = 'name=refererexception,messageno=620,path=/etc/e2guardian/lists/refererexceptionsiteiplist'
urllist = 'name=refererexception,messageno=620,path=/etc/e2guardian/lists/refererexceptionurllist'
sitelist = 'name=embededreferer,path=/etc/e2guardian/lists/embededreferersitelist'
ipsitelist = 'name=embededreferer,path=/etc/e2guardian/lists/embededreferersiteiplist'
urllist = 'name=embededreferer,path=/etc/e2guardian/lists/embededrefererurllist'
#modification lists
regexpreplacelist = 'name=change,path=/etc/e2guardian/lists/urlregexplist'
regexpreplacelist = 'name=sslreplace,path=/etc/e2guardian/lists/sslsiteregexplist'
#redirection lists
regexpreplacelist = 'name=redirect,path=/etc/e2guardian/lists/urlredirectregexplist'
contentregexplist = '/etc/e2guardian/lists/contentregexplist'
# local versions of lists
#local banned
sitelist = 'name=localbanned,messageno=560,path=/etc/e2guardian/lists/localbannedsitelist'
#ipsitelist = 'name=localbanned,messageno=560,path=/etc/e2guardian/lists/localbannedsiteiplist'
#urllist = 'name=localbanned,messageno=561,path=/etc/e2guardian/lists/localbannedurllist'
#sitelist = 'name=localbannedssl,messageno=580,path=/etc/e2guardian/lists/localbannedsslsitelist'
#ipsitelist = 'name=localbannedssl,messageno=580,path=/etc/e2guardian/lists/localbannedsslsiteiplist'
searchlist = 'name=localbanned,messageno=581,path=/etc/e2guardian/lists/localbannedsearchlist'
#local grey lists
sitelist = 'name=localgrey,path=/etc/e2guardian/lists/localgreysitelist'
#ipsitelist = 'name=localgrey,path=/etc/e2guardian/lists/localgreysiteiplist'
#urllist = 'name=localgrey,path=/etc/e2guardian/lists/localgreyurllist'
sitelist = 'name=localgreyssl,path=/etc/e2guardian/lists/localgreysslsitelist'
#ipsitelist = 'name=localgreyssl,path=/etc/e2guardian/lists/localgreysslsiteiplist'
#local exception lists
sitelist = 'name=localexception,messageno=662,path=/etc/e2guardian/lists/localexceptionsitelist'
#ipsitelist = 'name=localexception,messageno=662,path=/etc/e2guardian/lists/localexceptionsiteiplist'
#urllist = 'name=localexception,messageno=663,path=/etc/e2guardian/lists/localexceptionurllist'
# Filetype filtering
#
# Allow bannedregexpurllist with grey list mode
#
# The following option is replaced by storyboard logic
# bannedregexwithblanketblock = off
#
# The following option is replaced by storyboard logic
#blockdownloads = off
# Phrase filtering additional mime types (by default text/*)
# textmimetypes = 'application/xhtml+xml,application/xml,application/json,application/javascript,application/x-javascript'
# Uncomment the two lines below if want to only allow extentions/mime types in these lists
# You will also need to uncomment the checkfiletype function in site.story to enable this
#fileextlist = 'name=exceptionextension,path=/etc/e2guardian/lists/exceptionextensionlist'
#mimelist = 'name=exceptionmime,path=/etc/e2guardian/lists/exceptionmimelist'
#
# Use the following lists to block specific kinds of file downloads.
#
fileextlist = 'name=bannedextension,messageno=900,path=/etc/e2guardian/lists/bannedextensionlist'
mimelist = 'name=bannedmime,messageno=800,path=/etc/e2guardian/lists/bannedmimetypelist'
#
# In either file filtering mode, the following list can be used to override
# MIME type & extension blocks for particular domains & URLs (trusted download sites).
#
sitelist = 'name=exceptionfile,path=/etc/e2guardian/lists/exceptionfilesitelist'
ipsitelist = 'name=exceptionfile,path=/etc/e2guardian/lists/exceptionfilesiteiplist'
urllist = 'name=exceptionfile,path=/etc/e2guardian/lists/exceptionfileurllist'
# POST protection (web upload and forms)
# does not block forms without any file upload, i.e. this is just for
# blocking or limiting uploads
# measured in kibibytes after MIME encoding and header bumph
# use 0 for a complete block
# use higher (e.g. 512 = 512Kbytes) for limiting
# use -1 for no blocking
# NOTE: POST PROTECTION IS NOT YET IMPLIMENTED IN V5
#maxuploadsize = 512
#maxuploadsize = 0
maxuploadsize = -1
# Categorise without blocking:
# Supply categorised lists here and the category string shall be logged against
# matching requests, but matching these lists does not perform any filtering
# action.
#sitelist = 'name=log,path=/etc/e2guardian/lists/logsitelist'
#ipsitelist = 'name=log,path=/etc/e2guardian/lists/logsiteiplist'
#urllist = 'name=log,path=/etc/e2guardian/lists/logurllist'
#regexpboollist = 'name=log,path=/etc/e2guardian/lists/logregexpurllist'
# Outgoing HTTP header rules:
# Optional lists for blocking based on, and modification of, outgoing HTTP
# request headers. Format for headerregexplist is one modification rule per
# line, similar to content/URL modifications. Format for
# bannedregexpheaderlist is one regular expression per line, with matching
# headers causing a request to be blocked.
# Headers are matched/replaced on a line-by-line basis, not as a contiguous
# block.
# Use for example, to remove cookies or prevent certain user-agents.
regexpreplacelist = 'name=headermods,path=/etc/e2guardian/lists/headerregexplist'
regexpboollist = 'name=bannedheader,path=/etc/e2guardian/lists/bannedregexpheaderlist'
regexpboollist = 'name=exceptionheader,path=/etc/e2guardian/lists/exceptionregexpheaderlist'
# used for Youtube add cookies etc
regexpreplacelist = 'name=addheader,path=/etc/e2guardian/lists/addheaderregexplist'
#Virus checking exceptions - matched urls will not be virus checked
#mimelist = 'name=exceptionvirus,path=/etc/e2guardian/lists/contentscanners/exceptionvirusmimetypelist'
#fileextlist = 'name=exceptionvirus,path=/etc/e2guardian/lists/contentscanners/exceptionvirusextensionlist'
#sitelist = 'name=exceptionvirus,path=/etc/e2guardian/lists/contentscanners/exceptionvirussitelist'
#ipsitelist = 'name=exceptionvirus,path=/etc/e2guardian/lists/contentscanners/exceptionvirussiteiplist'
#urllist = 'name=exceptionvirus,path=/etc/e2guardian/lists/contentscanners/exceptionvirusurllist'
# Weighted phrase mode
# Optional; overrides the weightedphrasemode option in e2guardian.conf
# for this particular group. See documentation for supported values in
# that file.
#weightedphrasemode = 0
# Naughtiness limit
# This the limit over which the page will be blocked. Each weighted phrase is given
# a value either positive or negative and the values added up. Phrases to do with
# good subjects will have negative values, and bad subjects will have positive
# values. See the weightedphraselist file for examples.
# As a guide:
# 50 is for young children, 100 for old children, 160 for young adults.
naughtynesslimit = 50
# Search term blocking
# Search terms can be extracted from search URLs and filtered using one or
# both of two different methods.
# Method 1 is that developed by Protex where specific
# search terms are contained in a bannedsearchlist.
# (localbannedsearchlist and bannedsearchoveridelist can be used to suppliment
# and overide this list as required.)
# These lists contain banned search words combinations on each line.
# Words are separated by '+' and must be in sorted order within a line.
# so to block 'sexy girl' then the list must contain the line
# girl+sexy
# and this will block both 'sexy girl' and 'girl sexy'
# To use this method, the searchregexplist must be enabled and the bannedsearchlist(s) defined
# Method 2 is uses the
# bannedphraselist, weightedphraselist and exceptionphraselist, with a separate
# threshold for blocking than that used for normal page content.
# To do this, the searchregexplist must be enabled and searchtermlimit
# must be greater than 0.
#
# Search engine regular expression list (need for both options)
# List of regular expressions for matching search engine URLs. It is assumed
# that the search terms themselves will be contained in the
# of output of each expression.
regexpreplacelist = 'name=searchterms,path=/etc/e2guardian/lists/searchregexplist'
#
# Banned Search Term list(s) for option 1
searchlist = 'name=banned,path=/etc/e2guardian/lists/bannedsearchlist'
searchlist = 'name=override,path=/etc/e2guardian/lists/bannedsearchoveridelist'
# Search term limit (for Option 2)
# The limit over which requests will be blocked for containing search terms
# which match the weightedphraselist. This should usually be lower than the
# 'naughtynesslimit' value above, because the amount of text being filtered
# is only a few words, rather than a whole page.
# This option must be uncommented if searchregexplist is uncommented.
# A value of 0 here indicates that search terms should be extracted,
# but no phrase filtering should be performed on the resulting text.
#searchtermlimit = 0
#
# Search term phrase lists (for Option 2)
# If the three lines below are uncommented, search term blocking will use
# the banned, weighted & exception phrases from these lists, instead of using
# the same phrase lists as for page content. This is optional but recommended,
# as weights for individual phrases in the "normal" lists may not be
# appropriate for blocking when those phrases appear in a much smaller block
# of text.
# Please note that all or none of the below should be uncommented, not a
# mixture.
# NOTE: these are phrase lists and still use the old style defines
#bannedsearchtermlist = '/etc/e2guardian/lists/bannedsearchtermlist'
#weightedsearchtermlist = '/etc/e2guardian/lists/weightedsearchtermlist'
#exceptionsearchtermlist = '/etc/e2guardian/lists/exceptionsearchtermlist'
# Category display threshold
# This option only applies to pages blocked by weighted phrase filtering.
# Defines the minimum score that must be accumulated within a particular
# category in order for it to show up on the block pages' category list.
# All categories under which the page scores positively will be logged; those
# that were not displayed to the user appear in brackets.
#
# -1 = display only the highest scoring category
# 0 = display all categories (default)
# > 0 = minimum score for a category to be displayed
categorydisplaythreshold = 0
# Embedded URL weighting
# When set to something greater than zero, this option causes URLs embedded within a
# page's HTML (from links, image tags, etc.) to be extracted and checked against the
# bannedsitelist and bannedurllist. Each link to a banned page causes the amount set
# here to be added to the page's weighting.
# The behaviour of this option with regards to multiple occurrences of a site/URL is
# affected by the weightedphrasemode setting.
#
# NB: Currently, this feature uses regular expressions that require the PCRE library.
# As such, it is only available if you compiled e2guardian with '--enable-pcre=yes'.
# You can check compile-time options by running 'e2guardian -v'.
#
# Set to 0 to disable.
# Defaults to 0.
# WARNING: This option is highly CPU intensive!
embeddedurlweight = 0
# Temporary Denied Page Bypass
# This provides a link on the denied page to bypass the ban for a few minutes. To be
# secure it uses a random hashed secret generated at daemon startup. You define the
# number of seconds the bypass will function for before the deny will appear again.
# To allow the link on the denied page to appear you will need to edit the template.html
# or e2guardian.pl file for your language.
# 300 = enable for 5 minutes
# 0 = disable ( defaults to 0 )
# -1 - depreciated - for backward compatability enables cgibypass with bypassversion 1
bypass = 0
# Byapss version 2 is experimental, provide a secure cgi communication (see notes/cgi_bypass documentation)
#
# Bypass version
# can be 1 or 2
# Always use v2 unless you have old style cgi hash generation in use
# Default is 1
# bypassversion = 2
# cgibypass - Use a separate program/CGI to (in v1 generate) or (in v2 validate) link
# 'on' or 'off' (default)
# cgibypass = 'off'
# Temporary Denied Page Bypass Secret Key
# Rather than generating a random key you can specify one. It must be more than 8 chars.
# '' = generate a random one (recommended and default)
# 'Mary had a little lamb.' = an example
# '76b42abc1cd0fdcaf6e943dcbc93b826' = an example
bypasskey = ''
# magic key for cgi bypass v2 - used to sign communications between e2g and cgi
# default is blank
#cgikey = 'you must change this text in order to be secure'
# Users will not be able to bypass sites/urls in these lists
sitelist = 'name=bannedbypass,messageno=500,path=/etc/e2guardian/lists/bannedsitelistwithbypass'
#ipsitelist = 'name=bannedbypass,messageno=500,path=/etc/e2guardian/lists/bannedsiteiplistwithbypass'
#urllist = 'name=bannedbypass,messageno=501,path=/etc/e2guardian/lists/bannedurllistwithbypass'
# Infection/Scan Error Bypass
# Similar to the 'bypass' setting, but specifically for bypassing files scanned and found
# to be infected, or files that trigger scanner errors - for example, archive types with
# recognised but unsupported compression schemes, or corrupt archives.
# The option specifies the number of seconds for which the bypass link will be valid.
# 300 = enable for 5 minutes
# 0 = disable (default)
# -1 - depreciated - for backward compatability enables cgiinfectionbypass with bypassversion 1
infectionbypass = 0
# cgiinfectionbypass - Use a separate program/CGI to (v1 generate) or (v2 validate) link
# 'on' or 'off' (default)
# cgiinfectionbypass = 'off'
# Infection/Scan Error Bypass Secret Key
# Same as the 'bypasskey' option, but used for infection bypass mode.
infectionbypasskey = ''
# Infection/Scan Error Bypass on Scan Errors Only
# Enable this option to allow infectionbypass links only when virus scanning fails,
# not when a file is found to contain a virus.
# on = enable (default and highly recommended)
# off = disable
infectionbypasserrorsonly = on
# Disable content scanning
# If you enable this option you will disable content scanning for this group.
# Content scanning primarily is AV scanning (if enabled) but could include
# other types.
# (on|off) default = off.
disablecontentscan = off
# Disable content scanning with error (timeout, AV crash, etc)
# If you enable this option you will allow object with an unexpected result
# Content scanning primarily is AV scanning (if enabled) but could include
# other types.
# With "on" you can allow INFECTED objects
# (on|off) default = off. (default and highly recommended)
disablecontentscanerror = off
# If 'on' exception sites, urls, users etc will be scanned
# This is probably not desirable behavour as exceptions are
# supposed to be trusted and will increase load.
# Correct use of grey lists are a better idea.
# (on|off) default = off
contentscanexceptions = off
# Auth plugins
# Enable Deep URL Analysis
# When enabled, DG looks for URLs within URLs, checking against the bannedsitelist and
# bannedurllist. This can be used, for example, to block images originating from banned
# sites from appearing in Google Images search results, as the original URLs are
# embedded in the thumbnail GET requests.
# (on|off) default = off
deepurlanalysis = off
# reportinglevel
#
# -1 = log, but do not block - Stealth mode
# 0 = just say 'Access Denied'
# 1 = report why but not what denied phrase
# 2 = report fully
# 3 = use HTML template file (accessdeniedaddress ignored) - recommended
#
# If defined, this overrides the global setting in e2guardian.conf for
# members of this filter group.
#
reportinglevel = 3
# accessdeniedaddress is the address of your web server to which the cgi
# e2guardian reporting script was copied. Only used in reporting levels
# 1 and 2.
#
# This webserver must be either:
# 1. Non-proxied. Either a machine on the local network, or listed as an
# exception in your browser's proxy configuration.
# 2. Added to the exceptionsitelist. Option 1 is preferable; this option is
# only for users using both transparent proxying and a non-local server
# to host this script.
#
#accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/e2guardian.pl'
# HTML Template override
# If defined, this specifies a custom HTML template file for members of this
# filter group, overriding the global setting in e2guardian.conf. This is
# only used in reporting level 3.
#
# The default template file path is <languagedir>/<language>/template.html
# e.g. /usr/share/e2guardian/languages/ukenglish/template.html when using 'ukenglish'
# language.
#
# This option generates a file path of the form:
# <languagedir>/<language>/<htmltemplate>
# e.g. /usr/share/e2guardian/languages/ukenglish/custom.html
#
#htmltemplate = 'custom.html'
#Template for use to report network issues and sites which are not responding
# The default template file path is <languagedir>/<language>/neterr_template.html
# e.g. /usr/share/e2guardian/languages/ukenglish/neterr_template.html when using 'ukenglish'
# language.
#neterrtemplate = 'custom_neterr_template.html'
# Non standard delimiter (only used with accessdeniedaddress)
# To help preserve the full banned URL, including parameters, the variables
# passed into the access denied CGI are separated using non-standard
# delimiters. This can be useful to ensure correct operation of the filter
# bypass modes. Parameters are split using "::" in place of "&", and "==" in
# place of "=".
# Default is enabled, but to go back to the standard mode, disable it.
#nonstandarddelimiter = off
# Email reporting - original patch by J. Gauthier
# Use SMTP
# If on, will enable system wide events to be reported by email.
# need to configure mail program (see 'mailer' in global config)
# and email recipients
# default usesmtp = off
usesmtp = off #NOT YET TESTED
# mailfrom
# who the email would come from
# example: mailfrom = 'e2guardian@mycompany.com'
mailfrom = ''
# avadmin
# who the virus emails go to (if notify av is on)
# example: avadmin = 'admin@mycompany.com'
avadmin = ''
# contentdmin
# who the content emails go to (when thresholds are exceeded)
# and contentnotify is on
# example: contentadmin = 'admin@mycompany.com'
contentadmin = ''
# avsubject
# Subject of the email sent when a virus is caught.
# only applicable if notifyav is on
# default avsubject = 'e2guardian virus block'
avsubject = 'e2guardian virus block'
# content
# Subject of the email sent when violation thresholds are exceeded
# default contentsubject = 'e2guardian violation'
contentsubject = 'e2guardian violation'
# notifyAV
# This will send a notification, if usesmtp/notifyav is on, any time an
# infection is found.
# Important: If this option is off, viruses will still be recorded like a
# content infraction.
notifyav = off
# notifycontent
# This will send a notification, if usesmtp is on, based on thresholds
# below
notifycontent = off
# thresholdbyuser
# results are only predictable with user authenticated configs
# if enabled the violation/threshold count is kept track of by the user
thresholdbyuser = off
#violations
# number of violations before notification
# setting to 0 will never trigger a notification
violations = 0
#threshold
# this is in seconds. If 'violations' occur in 'threshold' seconds, then
# a notification is made.
# if this is set to 0, then whenever the set number of violations are made a
# notifaction will be sent.
threshold = 0
#NOTE to enable SSL MITM or NON-MITM SSL CERT checking
# enablessl must be defined as 'yes' in e2guardian.conf
#SSL certificate checking
# Check that ssl certificates for servers on https connections are valid
# and signed by a ca in the configured path
# ONLY for connections that are NOT MITM
#sslcertcheck = off - NOT implimented in V5 yet
#SSL man in the middle
# Forge ssl certificates for all non-exception sites, decrypt the data then re encrypt it
# using a different private key. Used to filter ssl sites
sslmitm = off
#Limit SSL MITM to sites in greysslsitelist(s)
# ignored if sslmitm is off
# SSL sites not matching greysslsitelist will be treat as if sslmitm is off.
# The following option is replaced by storyboard logic
#onlymitmsslgrey = off - ignored in V5
# Enable MITM site certificate checking
# ignored if sslmitm is off
# default (recommended) is 'on'
mitmcheckcert = on
#Do not check ssl certificates for sites listed
# Can be used to allow sites with self-signed or invalid certificates
# or to reduced CPU load by not checking certs on heavily used sites (e.g. Google, Bing)
# Use with caution!
# Ignored if mitmcheckcert is 'off'
#nocheckcertsitelist = '/etc/e2guardian/lists/nocheckcertsitelist'
sitelist = 'name=nocheckcert,path=/etc/e2guardian/lists/nocheckcertsitelist'
ipsitelist = 'name=nocheckcert,path=/etc/e2guardian/lists/nocheckcertsiteiplist'
#
# Auto switch to MITM with upstream connection error or to deliver block page
# ignored if sslmitm is off
# To revert to v4 type behavour switch this off
# Default is 'on'
# automitm = on

View File

@ -0,0 +1,48 @@
.Include</etc/e2guardian/common.story>
.Include</etc/e2guardian/site.story>
# Add any altered functions for this filtergroup here
# They will overwrite library or site level definitions
# To allow unfiltered access to this group
# uncomment next 4 lines
#function(checkrequest)
#if(true) return setexception
#function(thttps-checkrequest)
#if(true) return setexception
# To block all access to this group
# uncomment next 4 lines
#function(checkrequest)
#if(true,,105) return setblock
#function(sslexceptioncheck)
#function(localsslcheckrequest)
# Note: Blanket blocks are checked after exceptions
# and can be used to make a 'walled garden' filtergroup
# To create blanket block for http
# uncomment next line and one condition line.
#function(checkblanketblock)
#if(true,,502) return setblock # = ** total blanket
#if(siteisip,,505) return setblock # = *ip ip blanket
# To create blanket block for SSL
# uncomment next line and one condition line.
#function(sslcheckblanketblock)
#if(true,,506) return setblock # = **s total blanket
#if(siteisip,,507) return setblock # = **ips ip blanket
# To limit MITM to sslgreylist
# replaces onlymitmsslgrey e2guardianf1.conf option
# uncomment the next 2 lines
#function(sslcheckmitm)
#if(true) return sslcheckmitmgreyonly
# SNI checking - overrides default action when no SNI or TSL is present on a
# THTTPS connection
# To allow (tunnell) non-tls and/or non-sni connections uncomment the next 3 lines
#function(checksni)
#ifnot(tls,,511) return setexception # change to setblock to block only non-tls
#ifnot(hassniset,,512) return setexception

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,119 @@
# e2guardian messages file in AR Spanish
# Translated by Roberto Quiroga
"0","Message number absent" # needs translation
"1","Acceso Denegado"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Su direcci&oacute;n IP no esta autorizada a visitar: "
"101","Su direcci&oacute;n IP no esta autorizada navegar."
"102","El usuario no esta autorizado a visitar: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","La URL solicitada esta mal formada."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Se encontr&oacute; la frase no permitida: "
"301","Se encontr&oacute; una frase no permitida"
"400","Combinaci&oacute;n de frases no permitida: "
"401","Combinaci&oacute;n de frases no permitida."
"402","L&iacute;mite de ponderaci&oacute;n de frases de "
"403","L&iacute;mite de ponderaci&oacute;n de frases excedido"
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Sitio no permitido: "
"501","URL no permitida: "
"502","El sitio no esta en la lista permitida por el bloqueo activo."
"503","Banned Regular Expression URL: "
"503","URL bloqueada por Expresion Regular: "
"504","URL bloqueada por Expresion Regular."
"505","Solo se suministro la direccion IP y el bloqueo esta activo."
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Se encontr&oacute; una excepci&oacute;n por IP de origen."
"601","Se encontr&oacute; una excepci&oacute;n por usuario de origen."
"602","Se encontr&oacute; una excepci&oacute;n por lugar."
"603","Se encontr&oacute; una excepci&oacute;n por URL."
"604","Se encontr&oacute; una excepci&oacute;n por la frase: "
"605","Se encontr&oacute; una excepci&oacute;n por la combinaci&oacute;n de frases: "
"606","Bypass URL excepci&oacute;n."
"607","Bypass cookie excepci&oacute;n."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
# 606,607 by Daniel Barron - corrections welcome
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","La subida esta bloqueada."
"701","L&iacute;mite de subida excedido."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Clase MIME bloqueada: "
"900","Extension bloqueada: "
"1000","Clasificaci&oacute;n PICS excedida en el sitio indicado."
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,38 @@
<HTML><HEAD><TITLE>e2guardian - Acceso Denegado</TITLE></HEAD>
<BODY>
<CENTER><H2>EL ACCESO HA SIDO DENEGADO -USER-</H2>
<br>EL ACCESO A LA PAGINA: <P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... ha sido denegado por la siguiente raz&oacute;n:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00"><tr><td>Ud. esta viendo este mensaje de error porque la p&aacute;gina a la que<br>
intenta acceder contiene, o esta clasificada como conteniendo,<br>
material que se considera inapropiado.</td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>Si lo desea contacte al Administrador de Sistemas.</td></tr></table>
<P><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</BODY>
</HTML>
<!--
Translated by Roberto Quiroga
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
-->

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,119 @@
# e2guardian messages file in Bulgarian
# by Pavel Constantinov <the_deepblade@hotmail.com>
"0","Message number absent" # needs translation
"1"," "
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100"," IP : "
"101"," IP ."
"102"," : "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200"," URL ."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300"," : "
"301"," ."
"400"," : "
"401"," ."
"402"," "
"403"," ."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500"," : "
"501"," URL: "
"502"," Blanket Block ."
"503"," URL : "
"504"," URL ."
"505"," Blanket IP Block IP address."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600"," IP ."
"601"," IP ."
"602"," ."
"603"," URL-."
"604"," : "
"605"," : "
"606","Bypass URL exception."
"607","Bypass cookie exception."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
# 606,607 by Daniel Barron - corrections welcome
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700"," ."
"701"," ."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800"," MIME: "
"900"," : "
"1000"," ."
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,59 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; I) [Netscape]">
<title>e2guardian - Access Denied</title>
</head>
<body>
<center>
<h2>
ÄÎÑÒÚÏÚÒ Å ÎÒÊÀÇÀÍ, -USER-</h2></center>
<center>Äîñòúïúò äî ñòðàíèöàòà:
<p><b><a href="-URL-">-URL-</a></b>
<p>... å îòêàçàí ïîðàäè ñëåäíàòà ïðè÷èíà:
<p><b><font color="#FF0000">-REASONGIVEN-</font></b></center>
<center><table BORDER BGCOLOR="#FFEE00" >
<tr>
<td>
<center>Âèå âèæäàòå òàçè ãðåøêà, òúé êàòî ñòðàíèöàòà, êîÿòî ñå îïèòâàòå
äà
<br>âèäèòå, ñúäúðæà èëè å îçíà÷åíà êàòî ñúäúðæàùà íåïîäõîäÿù ìàòåðèàë.</center>
</td>
</tr>
</table></center>
<center><table BORDER BGCOLOR="#44DD44" >
<tr>
<td>Àêî èìàòå íÿêàêâè âúïðîñè, ñâúðæåòå ñå ñúñ ñâîÿ ICT êîîðäèíàòîð èëè
Ìðåæîâè ìåíèäæúð.</td>
</tr>
</table></center>
<center>
<p><font size=-2>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font></center>
</body>
<!C-
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
-->
</html>

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,120 @@
# e2guardian messages file
# Translated to Traditional Chinese (Big5) by: Fr. Visminlu Vicente L. Chua, S.J. 2002-10-10
# 2004-08-20: Translated 606 and 607
# 2008/10/16: Translated 608, 609, 1100, 1101, 1200, 1210, 1220, 1230
"0","Message number absent" # needs translation
"1","ڵŪ"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","zϥΪ IP }\sںG"
"101","zϥΪ IP }\sںC"
"102","zϥΪbW٤\sںG"
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","zҽШD URL 榡~C"
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","QTyryG"
"301","QTyryC"
"400","QTզXyryG"
"401","QTզXyryC"
"402","[vyry"
"403","WL[vyryC"
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","QT}G"
"501","QT URLG"
"502","ͮġAӨ}buզWv̡C"
"503","uWܡvoOQT URLG"
"504","uWܡvQT URLC"
"505","ϥ IP ͮġAӨӦa}uO@IPa}C"
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Pҥ~Ȥ IP ۦPC"
"601","Pҥ~ȤbۦPC"
"602","PÒ¥~}Û¦PC"
"603","PÒ¥~URLÛ¦PC"
"604","Ò¥~yryG"
"605","Õ¦XÒ¥~yryG"
"606","VL URL Ò¥~C"
"607","VL cookie Ò¥~C"
"608","yɲL URL ҥ~C"
"609","Wܨҥ~ URL kXG"
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","TWÇ¡C"
"701","WLWÇ·C"
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","QTMIMEwAG"
"900","QTɦWG"
"1000","W}WLFPICSХܼhC"
"1100","frΤ}eC"
"1101","si"
"1200","еy - bUAԱy ..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Uü§¹²¦¡C}ly ..."
"1220","yC</p><p>Io̤UG "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","ɮפwsb"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,46 @@
<HTML>
<HEAD>
<TITLE>e2guardian - 禁止讀取</TITLE>
</HEAD>
<BODY>
<CENTER><H2>禁止 -USER- 讀取</H2>
<br>讀取網頁:
<P><strong><a href="-URL-">-URL-</a></strong>
<P>... 被禁止因了以下理由:
<P><strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00">
<tr>
<td>您看到這個錯誤因為您要讀取的網頁有不適當的資料。
</td>
</tr>
</table>
<P><table border=1 bgcolor="#44dd44">
<tr>
<td>如您有問題請聯絡ICT協調員或網路管理員。
</td>
</tr>
</table>
<P><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</BODY>
</HTML>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
Translated to Traditional Chinese (Big5) by: Fr. Visminlu Vicente L. Chua, S.J. 2002-10-10
-->

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,119 @@
# e2guardian messages file in chinese gb2312
# By Chen YiFei
"0","Message number absent" # needs translation
"1","ܾ"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100"," IP ַȨ web : "
"101"," IP ַȨ web ʡ"
"102","ʺȨ web ʡ "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200"," URL ʽд"
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","ֱֹĶ: "
"301","ֱֹĶ"
"400","ֱֹ϶: "
"401","ֱֹ϶"
"402"," ȨΪ: "
"403","Ȩơ"
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","ֹվ: "
"501","ֹ URL: "
"502","ȫֹЧվ㲢ڰС"
"503","ʽֹ URL: "
"504","ֱʽֹ URL"
"505","ȫֹʹ IP Чõַһ IP ַ"
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","ƥһĿͻ IP ַ"
"601","ƥһĿͻʺš"
"602","ƥһվ㡣"
"603","ƥһ URL"
"604","Ķ:"
"605","϶: "
"606","Bypass URL exception."
"607","Bypass cookie exception."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
# 606,607 by Daniel Barron - corrections welcome
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","ֹϴļ"
"701","ļϴ޶"
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","ֹ MIME : "
"900","ֹļչ: "
"1000","վ PICS ǩ"
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,33 @@
<HTML><HEAD><TITLE>e2guardian - Access Denied</TITLE></HEAD>
<BODY>
<CENTER><H2>访问被拒绝 -USER-</H2>
<br>访问该网页:<P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... 因以下原因而被拒绝:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00"><tr><td>出现这个错误信息的原因是由于您企图访问的网页含有不适当的内容。</td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>如有任何疑问,请联系您的 ICT 协调人员或网管。</td></tr></table>
<P><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</BODY>
</HTML>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
-->

View File

@ -0,0 +1,173 @@
<html>
<head>
<title>Stahuji -FILENAME- (-FILESIZE- bytes)</title>
<script language='javascript'>
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language='javascript'>
<!--
document.write(unescape("\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
--!>

View File

@ -0,0 +1,119 @@
# DansGuardian messages file in Czech
# by Richard Bukovansky bukovansky@atcomp.cz
# updates,recode to utf8 by Jan Bubík bubik@acvyskov.cz
"0","Message number absent" # needs translation
"1","Přístup zamítnut"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Vaši IP adrese není povoleno prohlížet: "
"101","Vaše IP adresa nemá povoleno prohlížení."
"102","Vaše uživatelské jméno nemá povoleno prohlížet: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","Požadované URL je špatně zadáno."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Nalezena zakázaná fráze: "
"301","Nalezena zakázaná fráze."
"400","Nalezena zakázaná kombinace frází: "
"401","Nalezena zakázaná kombinace frází."
"402","Limit vážených frází: "
"403","Byl překročen limit pro vážené fráze."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Zakázaný webový server: "
"501","Zakázaná webová adresa: "
"502","Celoplošné blokování přístupu je aktivováno a tento webový server není povolen."
"503","Nalezena zakázaná webová adresa dle regularního výrazu: "
"504","Nalezena zakázaná webová adresa dle regularního výrazu."
"505","Celoplošné blokovaní IP adres je aktivováno a byla zadána IP adresa."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Nalezena IP adresa s vyjímkou."
"601","Nalezen uživatel s vyjímkou."
"602","Nalezen webový server s vyjímkou."
"603","Nalezena webová adresa s vyjímkou."
"604","Nalezena fráze s vyjímkou: "
"605","Nalezena kombinace frází s vyjímkou: "
"606","Nalezen uživatelem vyžádaný přístup k webové adrese."
"607","Nalezen uživatelem vyžádaný přístup k položce cookie."
"608","Nalezen uživatelem vyžádaný přístup ke škodlivému kódu."
"609","Nalezen regulární výraz s vyjímkou webové adresy: "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Nahrávání souborů na web je zakázáno."
"701","Limit nahrávání souborů na web byl překročen."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Zakázaný typ obsahu: "
"900","Zakázaná přípona souboru: "
"1000","Byle překročena úroveň hodnocení PICS na tomto webovém serveru."
"1100","Detekován virus nebo škodlivý obsah."
"1101","Blokována reklama"
"1200","Prosím vyčkejte - stahuji data k prověření..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Stahování dokončeno. Prověřuji..."
"1220","Prověřeno.</p><p>Pro stáhnutí klikněte zde: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","Soubor již neexistuje"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,42 @@
<HTML><HEAD>
<TITLE>DansGuardian - Přístup zakázán</TITLE>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</HEAD>
<BODY>
<CENTER><H2>PŘÍSTUP ZAKÁZÁN -USER-</H2>
<br>Přístup na tuto stránku:<P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... byl zakázán z důvodu:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00"><tr><td>Zobrazení tohoto chybového
hlášení způsobila stránka, na kterou jste se pokusil(a)<br>
přistoupit a obsahuje nebo je označena jako obsahující nepatřičný materiál.<br><br>
Kategorizace obsahu: -CATEGORIES- </td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>Máte-li nějaké dotazy, obraťte
se prosím na vašeho správce sítě či osobu pověřenou správou sítě.</td></tr></table>
<P><font size=-3>Powered by <a href="http://dansguardian.org?block" target="_blank">DansGuardian</a></font>
</center>
</BODY>
</HTML>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- HOST- gives the originating hostname if known.
- RAWFILTERGROUP- gives the group number.
- FILTERGROUP- gives the group number.
- SERVERIP- gives the IP address on which the filter is running (correct for multiple filterip lines, but not if filterip option is blank).
- BYPASS- gives URL which allows temporary bypass of denied page
- CATEGORIES- gives the categories assigned to the banned content
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the DansGuardian web site
on the Extras page.
Daniel Barron 2002-03-27
Czech
by Richard Bukovansky bukovansky@atcomp.cz
utf-8 version by Jan Bubík bubik@acvyskov.cz
-->

View File

@ -0,0 +1,173 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language='javascript'>
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language='javascript'>
<!--
document.write(unescape("\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->

View File

@ -0,0 +1,120 @@
# e2guardian messages file in Danish
#
# Translated by Peter Kilsgaard
"0","Message number absent" # needs translation
"1","Adgang ngtet"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Din IP address har ikke lov til at bruge internet: "
"101","Din IP address har ikke lov til at bruge internet."
"102","Dit brugernavn har ikke lov til at bruge internet: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","Den indtastede adresse er ikke valid."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Forbudt stning fundet: "
"301","Forbudt stning fundet."
"400","Forbudt stningskombination fundet: "
"401","Forbudt stningskombination fundet."
"402","Vgtede stningsgrnse p "
"403","Vgtede stningsgrnse overskredet."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Forbudt side: "
"501","Forbudt Adresse: "
"502","Total blokering er aktiveret og den forspurgte side er ikke p positiv listen."
"503","Forbudt ord i adressefelt: "
"504","Forbudt ord i adressefelt fundet."
"505","IP Blokering er aktiveret og den forspurgte side har IP ingen DNS navn."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Undtagelse PC IP match."
"601","Undtagelse brugernavn match."
"602","Undtagelse side match."
"603","Undtagelse adresse match."
"604","Undtagelses stning fundet: "
"605","Kombinations undtagelse stning fundet: "
"606","Bypass URL undtagelse."
"607","Bypass cookie undtagelse."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
# 606,607 by Daniel Barron - corrections welcome
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Web upload er forbudt."
"701","Web upload grnse overskredet."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Forbudt MIME Type: "
"900","Forbudt fil format: "
"1000","PICS niveau overskredet p den pgldende side."
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,68 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
<TITLE>e2guardian - Access Denied</TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.0.1 (Win32)">
<META NAME="CREATED" CONTENT="20021001;20151540">
<META NAME="CHANGED" CONTENT="16010101;0">
</HEAD>
<BODY LANG="en-US">
<H2 ALIGN=CENTER>ADGANG N&AElig;GTET -USER-</H2>
<P ALIGN=CENTER><BR>Adgang til denne side:</P>
<P ALIGN=CENTER><STRONG><A HREF="-URL-">-URL-</A></STRONG>
</P>
<P ALIGN=CENTER>... er blevet n&aelig;gtet p&aring; grund af:</P>
<P ALIGN=CENTER><STRONG><FONT COLOR="#ff0000">-REASONGIVEN-</FONT></STRONG>
</P>
<CENTER>
<TABLE BORDER=1 CELLPADDING=2 CELLSPACING=2 BGCOLOR="#ffee00">
<TR>
<TD>
<P>Denne meddelse kommer fordi, siden du fors&oslash;ger at f&aring;
adgang til indeholder, eller er blevet katagoriseret som, uegnet
materiale .</P>
</TD>
</TR>
</TABLE>
</CENTER>
<CENTER>
<TABLE WIDTH=481 BORDER=1 CELLPADDING=2 CELLSPACING=3 BGCOLOR="#44dd44" STYLE="page-break-before: always">
<COL WIDTH=469>
<TR>
<TD WIDTH=469>
<P ALIGN=CENTER>Hvis du har sp&oslash;rgsm&aring;l til
ovenn&aelig;vnte, <BR>bedes du kontakte netv&aelig;rksadministratoren</P>
</TD>
</TR>
</TABLE>
</CENTER>
<P ALIGN=CENTER STYLE="margin-bottom: 0cm"><FONT SIZE=1>Powered by
<A HREF="http://e2guardian.org?block" TARGET="_blank">e2guardian</A></FONT>
</P>
<P STYLE="margin-bottom: 0cm">
<!--
# Translated by Peter Kilsgaard
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
--><BR>
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,173 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language='javascript'>
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language='javascript'>
<!--
document.write(unescape("\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->

View File

@ -0,0 +1,119 @@
# e2guardian berichten in het Nederlands
# Door S.A. de Heer
# Updates door Eric Hameleers
"0","Message number absent" # needs translation
"1","Toegang geweigerd"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Uw IP adres mag niet websurfen: "
"101","Uw IP adres mag niet websurfen."
"102","Uw gebruikersnaam mag niet websurfen: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","De gevraagde URL is syntactisch incorrect."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Geblokkeerd woord gevonden: "
"301","Geblokkeerd woord gevonden."
"400","Geblokkerde combinatie van woorden gevonden: "
"401","Geblokkerde combinatie van woorden gevonden."
"402","Gewogen woorden limiet van: "
"403","Gewogen woorden limiet overschreden."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Geblokkeerde website: "
"501","Geblokkeerde URL: "
"502","Web blokkade is actief en deze website is niet in de toegangslijst."
"503","Geblokkeerde reguliere expressie in de URL: "
"504","Geblokkeerde reguliere expressie in de URL gevonden."
"505","IP adressen zijn geblokkeerd en dat adres is enkel een IP adres."
"506","SSL is geblokkeerd en deze website komt niet voor op de toegangslijsten."
"507","SSL IP adressen zijn geblokkeerd en dat adres is enkel een IP addres."
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Uitzonderings IP adres gevonden."
"601","Uitzonderings gebruiker gevonden."
"602","Uitzonderings website gevonden."
"603","Uitzonderings URL gevonden."
"604","Uitzonderings woord gevonden: "
"605","Uitzonderings combinatie van woorden gevonden: "
"606","URL omzeiling uitzondering."
"607","Cookie omzeiling uitzondering."
"608","Scan omzeiling URL uitzondering."
"609","Uitzondering reguliere expressie URL gevonden: "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Uploaden via het web is geblokkerd."
"701","Web upload limiet overschreden."
"750","Bestands-download is geblokkeerd en dit MIME type komt niet voor op de goedkeuringslijst: "
"751","Bestands-download is geblokkeerd en dit bestand komt niet voor op de goedkeuringslijsten: "
"800","Geblokkeerd MIME Type: "
"900","Geblokkeerd bestandstype: "
"1000","'PICS labeling' niveau overschrijding op bovenvermelde site."
"1100","Virus of onbetamelijke inhoud ontdekt."
"1101","Advertentie geblokkeerd."
"1200","Geduld a.u.b. - bezig met downloaden om te scannen..."
"1201","Waarschuwing: bestand te groot om te scannen. Vermoedt u dat dit bestand groter is dan "
"1202",", ververs dan deze pagina om direct te downloaden."
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Compleet. Scan wordt gestart..."
"1220","Scan compleet.</p><p>Klik hier om te downloaden: "
"1221","Download compleet; bestand niet gescand.</p><p>Klik hier om te downloaden: "
"1222","Bestand te groot voor tussenopslag.</p><p>Klik hier om opnieuw te downloaden zonder scan: "
"1230","Bestand niet langer beschikbaar"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,87 @@
<html>
<head>
<title>e2guardian - toegang geweigerd</title>
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<b>De toegang werd geweigerd!!</b>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
<font face=arial,helvetica size=3 color=black>
<b>-USER-&nbsp;</b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
YOUR ORG NAME
</td>
<td width=550 bgcolor=#FFFFFF align=center valign=center>
<font face=arial,helvetica color=black>
<font size=4>
Toegang tot de pagina:
<br><br>
<a href="-URL-" target="_blank">-URL-</a>
<br><br>
<font size=3>
... werd geweigerd om de volgende reden:
<br><br>
<font color=red>
<b>-REASONGIVEN-</b>
<font color=black>
<br><br>
Categorie&euml;n:
<br><br>
<font color=red>
<b>-CATEGORIES-</b>
<font color=black>
<br><br><br><br>
U ziet deze melding omdat de pagina die u probeerde te benaderen,
materiaal lijkt te bevatten dat ongeschikt is om te bekijken,
of gemarkeerd is als ongeschikt om te bekijken.
<br><br>
Als u hier vragen over heeft neem dan contact op met uw netwerkbeheerder.
<br><br><br><br>
<font size=1>
Verzorgd door <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
</td>
</tr>
</table>
</body>
</html>
<!--
De beschikbare variablelen zijn als volgt:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- HOST- gives the originating hostname if known.
- RAWFILTERGROUP- gives the group number.
- FILTERGROUP- gives the group name.
- SERVERIP- gives the IP address on which the filter is running (correct for multiple filterip lines, but not if filterip option is blank).
- BYPASS- gives URL which allows temporary bypass of denied page
- CATEGORIES- gives the categories assigned to the banned content
U dient de spatie te verwijderen tussen de - en de variabele om deze in uw HTML te kunnen gebruiken. De spaties in de voorbeelden hierboven zijn bedoeld om ze niet onnodig te laten verwerken.
Meer voorbeeld templates zijn wellicht te vinden op de e2guardian web site, op de Extras pagina.
Deze pagina werd ontworpen door Paul Richards. (http://www.ridney.com/)
Vertaling door Eric Hameleers (http://www.slackware.com/~alien/)
Daniel Barron 2003-09-01
-->

View File

@ -0,0 +1,181 @@
<html>
<head>
<title>
T&eacute;l&eacute;chargement de -FILENAME- (-FILESIZE- octets)
</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, temps restant : "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total t&eacute;l&eacute;charg&eacute; : "+filesizestring(got);
} else {
msg = "Temps restant : inconnu; "+filesizestring(speed)+"/s; total t&eacute;l&eacute;charg&eacute; : "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "T&eacute;l&eacute;chargement termin&eacute;. Inspection des logiciels malveillants en cours ...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "Fichier inspect&eacute;";
else if (type == 1)
var msg = "Fichier t&eacute;l&eacute;charg&eacute;, mais non inspect&eacute; car trop volumineux";
else if (type == 2)
var msg = "Fichier trop volumineux pour &ecirc;tre mis en cache, veuillez le t&eacute;l&eacute;charg&eacute;r directement";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Avertissement : fichier trop volumineux pour &egrave;tre inspect&eacute;. Si vous pensez que le fichier est plus volumineux que "+filesizestring(sizelimit)+", raffra&icirc;chissez la page pour le t&eacute;l&eacute;charger directement.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,122 @@
# e2guardian messages file in French
# Translated by: Bernard Wanadoo and Jacques Theys
# Improvements by Jeanuel
# Improvements by Mathieu Parent (2011)
#
# ! Quote "'" changed by backquote "`" to avoid bad interpretation !
"0","Message number absent" # needs translation
"1","Accès interdit"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","Accès interdit"
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Votre addresse IP n`est pas autorisée à naviguer sur le site : "
"101","Votre addresse IP n`est pas autorisée à naviguer."
"102","Votre compte utilisateur n`est pas autorisé à afficher le site : "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server`s SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","L`URL demandée n'est pas bien formée."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Phrase interdite : "
"301","Phrase interdite trouvée."
"400","Combinaison de mots interdite : "
"401","Combinaison de mots interdite trouvée."
"402","Limite de pondération "
"403","Limite de pondération dépassée."
"450","Terme de recherche interdit : "
"451","Terme de recherche interdit trouvé."
"452","Combinaison de termes de recherche interdite : "
"453","Combinaison de termes de recherche interdite trouvée."
"454","Limite de pondération de termes de recherche "
"455","Limite de pondération de termes de recherche dépassée."
"456","Exception de combinaison de termes de recherche autorisée : "
"457","Exception de terme de recherche autorisé : "
"500","Site interdit : "
"501","URL interdite : "
"502","Le mode liste blanche (Blanket Block) est actif et ce site n`est pas dans la liste autorisée, blanche ou grise."
"503","Expression régulière d`URL interdite : "
"504","Expression régulière d`URL interdite trouvée."
"505","Le mode liste blanche d`IPs (IP Blanket Block) est actif et cette addresse est une adresse IP uniquement."
"506","Le mode liste blanche SSL (SSL Blanket Block) est actif et ce site n`est pas dans la liste autorisée, blanche ou grise."
"507","Le mode liste blanche SSL d`IPs (SSL IP Blanket Block) est actif et cette addresse est une adresse IP uniquement."
"508","Expression régulière d`entète HTTP interdite : ",
"509","Expression régulière d`entète HTTP interdite trouvée."
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Exception d`adresse IP client trouvée."
"601","Exception d`utilisateur client trouvée."
"602","Exception de site trouvée : "
"603","Exception d`URL trouvée : "
"604","Exception de phrase trouvée : "
"605","Exception de combinaison de mots trouvée : "
"606","Exception d`URL sans controle trouvée."
"607","Exception de cookie sans controle trouvée."
"608","Exception d`URL sans inspection des logiciels malveillants trouvée."
"609","Exception d`expression régulière d'URL trouvée : "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local): " # needs translation
"663","URL (local): " # needs translation
"700","L`upload web est interdit."
"701","Dépassement de la limite d`upload Web."
"750","Le mode liste blanche de téléchargement (Blanket file download) est actif et ce type MIME n`est pas dans la liste blanche : "
"751","Le mode liste blanche de téléchargement (Blanket file download) est actif et ce fichier n`est pas dans la liste blanche."
"800","Type MIME interdit: "
"900","Type de fichier interdit : "
"1000","Niveau PICS depassé sur le site entier."
"1100","Logiciel malveillant détecté."
"1101","Publicité bloqué"
"1200","Veuillez patienter - téléchargement du fichier en cours ..."
"1201","Avertissement : fichier trop volumineux pour ètre inspecté. Si vous pensez que le fichier est plus volumineux que "
"1202",", raffraîchissez la page pour le télécharger directement."
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Téléchargement terminé. Inspection des logiciels malveillants en cours ..."
"1220","Inspection du fichier terminée.</p><p>Cliquez ici pour le télécharger : "
"1221","Télécharge terminé. fichier non inspecté.</p><p>Cliquez ici pour le télécharger : "
"1222","Fichier trop volumineux pour ètre mis en cache.</p><p>Cliquez ici pour le télécharger à nouveau, sans inspection des logiciels malveillants : "
"1230","Le fichier n`est plus disponible"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,89 @@
<html>
<head>
<title>e2guardian - Acc&eagrav;s interdit</title>
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<b>Acc&egrave;s interdit !</b>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
<font face=arial,helvetica size=3 color=black>
<b>-USER-&nbsp;</b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
YOUR ORG NAME
</td>
<td width=550 bgcolor=#FFFFFF align=center valign=center>
<font face=arial,helvetica color=black>
<font size=4>
L'acc&egrave;s &agrave; la page :
<br><br>
<a href="-URL-" target="_blank">-URL-</a>
<br><br>
<font size=3>
... a &eacute;t&eacute; interdit pour les raisons suivantes :
<br><br>
<font color=red>
<b>-REASONGIVEN-</b>
<font color=black>
<br><br>
Cat&eacute;gories:
<br><br>
<font color=red>
<b>-CATEGORIES-</b>
<font color=black>
<br><br><br><br>
Vous voyez ce message parce que vous tentez d'acc&eacute;der &agrave;
une page qui contient, ou est r&eacute;put&eacute;e contenir des &eacute;lements
qui ont &eacute;t&eacute; d&eacute;clar&eacute;s inappropri&eacute;s.
<br><br>
Pour toute question, contactez votre administrateur r&eacute;seau.
<br><br><br><br>
<font size=1>
Propuls&eacute; par <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
</td>
</tr>
</table>
</body>
</html>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- HOST- gives the originating hostname if known.
- RAWFILTERGROUP- gives the group number.
- FILTERGROUP- gives the group name.
- SERVERIP- gives the IP address on which the filter is running (correct for multiple filterip lines, but not if filterip option is blank).
- BYPASS- gives URL which allows temporary bypass of denied page
- CATEGORIES- gives the categories assigned to the banned content
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
This page was designed by Paul Richards. (http://www.ridney.com/)
Daniel Barron 2003-09-01
#Translated by: Mathieu Parent 2011
-->

View File

@ -0,0 +1,173 @@
<html>
<head>
<title>Herunterladen -FILENAME- (-FILESIZE- bytes)</title>
<script language='javascript'>
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" GB";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" MB";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" KB";
return bytes.toString()+" Bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, Restzeit: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; gesamt heruntergeladen: "+filesizestring(got);
} else {
msg = "Restzeit: unbekannt; "+filesizestring(speed)+"/s; gesamt heruntergeladen: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Herunterladen abgeschlossen! &Uuml;berpr&uuml;fung wird gestartet...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "Datei wurde auf Schadsoftware gepr&uuml;ft! Es wurde KEINE Schadsoftware gefunden!";
else if (type == 1)
var msg = "Datei heruntergeladen, aber aufgrund der Gr&ouml;ße nicht auf Schadsoftware gepr&uuml;ft";
else if (type == 2)
var msg = "Datei zu gross zur &Uuml;berpr&uuml;fung, bitte direktes Herunterladen starten";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warnung: Die Datei ist zu groß um auf Schadsoftware &uuml;berpr&uuml;ft zu werden. Wenn Sie vermuten das die Dateigr&ouml;ße "+filesizestring(sizelimit)+" &uuml;bersteigt, aktualisieren Sie diese Seite, um das direkte herunterladen erneut zu starten.";
}
//-->
</script>
</head>
<body>
<script language='javascript'>
<!--
document.write(unescape("\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->

View File

@ -0,0 +1,119 @@
# e2guardian 3 messages file in German
#
# Translated and adapted to Unicode by Peter Vollmar, Klaus Tachtler.
"0","Message number absent" # needs translation
"1","Zugriff verweigert"
"10","IP-Limit erreicht. Limit bei "
"11"," IP-Limit wurde gesetzt."
"50"," von "
"51","VERTRAUENSWÜRDIG"
"52","VERWEIGERT"
"53","INFIZIERT"
"54","ÜBERPRÜFT"
"55","INHALT MODIFIZIERT"
"56","URL MODIFIZIERT"
"57","HEADER MODIFIZIERT"
"58","HEADER HINZUGEFÜGT"
"59","NETZWERKFEHLER"
"70","SSL SEITE"
"71","IP-Limit"
"72","Inhalt überprüfen"
"100","Ihre Arbeitsstation hat keine Erlaubnis zum Surfen auf: "
"101","Ihre Arbeitsstation hat keine Erlaubnis zum Surfen"
"102","Ihr Benutzername hat keine Erlaubnis zum Surfen auf: "
"103","Client-IP geblockt"
"104","Lokation geblockt"
"105","Benutzer geblockt"
"110","Proxy authentication error" # needs translation
"121","Von Ihrer Lokation aus ist nur ein begrenzter Zugriff möglich"
"150","Das vom Server ausgelieferte Zertifikat ist ungültig"
"151","Es konnte keine SSL-Verbindung aufgebaut werden"
"152","Es wurde kein Zertifikat gefunden"
"153","Es konnte kein privater Schlüssel geladen werden"
"154","Es konnte keine Verbindung zum Client hergestellt werden"
"155","Es wurde kein SSL-Zertifikat vom Server ausgeliefert"
"156","Das vom Server ausgelieferte SSL-Zertifikat, passt nicht zum Namen der Domain"
"157","Es konnte kein Verbindung zum lokalen Proxy hergestellt werden"
"158","Verbindungsaufbau fehlgeschlagen"
"159","Es konnte kein Verbindung zum Proxy-Server aufgebaut werden"
"160","Die SSL-Verbindung zum Server konnte nicht hergestellt werden"
"200","Die angeforderte URL ist ungültig"
"201","Antwort vom Upstream-Proxy nicht möglich (Zeitüberschreitung)"
"202","Antwort vom Upstream-Proxy nicht möglich (Fehler)"
"203","Die angeforderte Seite antwortet nicht"
"204"," - Bitte versuchen Sie es später noch einmal"
"205","Upstream-Proxy antwortet nicht (Netzwerkfehler)"
"206"," - Bitte versuchen Sie es später noch einmal"
"207","Die angeforderte Seite existiert nicht"
"208","Die angeforderte Seite hat keine IPv4-Adresse"
"209","Vorübergehender Ausfall des DNS-Dienstes - Bitte versuchen Sie es erneut"
"210","DNS-Dienstfehler - Bitte versuchen Sie es später noch einmal"
"300","Verbotener Ausdruck gefunden: "
"301","Verbotener Ausdruck gefunden"
"400","Verbotene Kombination von Ausdrücken gefunden: "
"401","Verbotene Kombination von Ausdrücken gefunden"
"402","Gewichtete Ausdrucksbeschränkung von "
"403","Gewichtete Ausdrucksbeschränkung überschritten"
"450","Verbotener Suchausdruck gefunden: "
"451","Verbotener Suchausdruck gefunden."
"452","Verbotene Suchausdrücke gefunden: "
"453","Verbotene Suchausdrücke gefunden."
"454","Gewichtetes Suchausdruck-Limit erreicht: "
"455","Gewichtetes Suchausdruck-Limit wurde erreicht."
"456","Kombination von erlaubten Ausdrücken wurde gefunden: "
"457","Erlaubter Ausdruck gefunden: "
"500","Verbotene Seite: "
"501","Verbotene URL: "
"502","Totalsperre für Nur-IP-Adressen aktiv, diese Seite ist nicht auf der Erlaubt-Liste"
"503","Aufgrund von regulären Ausdrücken verbotene URL: "
"504","Aufgrund von regulären Ausdrücken verbotene URL gefunden"
"505","Totalsperre für IP-Adressen aktiv, diese Adresse ist nur eine IP."
"506","HTTPS-Verbindungen sind nur zu vertrauenswürdige Seiten erlaubt."
"507","HTTPS-Verbindungen zu IP-Adressen sind nicht erlaubt."
"508","Verbindungen mit diesem Browser (oder dieser Anwendungen) sind nicht gestattet: "
"509","Verbindungen mit diesem Browser (oder dieser Anwendungen) sind nicht gestattet."
"510","Geblockte Seite (IP) "
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Geblockte HTTPS-Seite: "
"521","Geblockte Ausdrücke: "
"522","Geblockter Benutzer-Agent: "
"560","Geblockte Seite (lokal): "
"561","Geblockte URL (lokal): "
"580","Geblockte HTTPS-Seite (lokal): "
"581","Geblockte Ausdrücke (lokal): "
"600","Übereinstimmung mit Client-IP in Ausnahmeliste"
"601","Übereinstimmung mit Client-Benutzer in Ausnahmeliste"
"602","Übereinstimmung mit Seite in Ausnahmeliste"
"603","Übereinstimmung mit URL in Ausnahmeliste"
"604","Ausnahme-Ausdruck gefunden: "
"605","Kombination von Ausnahme Ausdrücken gefunden: "
"606","Umgehungs-URL gefunden"
"607","Umgehungs-Cookie gefunden"
"608","Überprüfe Umgehungs-URL Ausnahme."
"609","Ausnahme von regular expression URL gefunden: "
"610","Benutzer-Agent Suchmuster-Abgleich: "
"620","Ursprungsseite gefunden: "
"630","URL gefunden in "
"631"," erlaubte Lokations-Liste"
"632","Lokation überschreibt die Liste der zulässigen Seiten"
"662","Seite (lokal)."
"663","URL (lokal)."
"700","Web-Upload verboten"
"701","Web-Upload-Schwellwert erreicht"
"750","Globale Datei-Download Überprüfung ist aktiv und dieser Datei-Typ (MIME type) ist nicht auf der Erlaubt-Liste: "
"751","Globale Datei-Download Überprüfung ist aktiv und diese Datei ist nicht auf der Erlaubt-Liste"
"800","Verbotener Datei-Typ (MIME Type): "
"900","Verbotene Datei-Erweiterung: "
"1000","PICS-Kennzeichnungsschwellwert überschritten"
"1100","Ein Virus oder unerlaubter Inhalt wurde gefunden."
"1101","Werbung blockiert"
"1200","Bitte warten - die heruntergeladene Datei wird überprüft..."
"1201","Warnung: Datei ist zu gross um überprüft zu werden. Wenn Sie glauben das die Datei größer als "
"1202"," ist, rufen Sie die Seite erneut auf, um ein direktes herunterladen durchzuführen."
"1203","WARNUNG: Es konnte keine Inhaltsüberprüfung durchgeführt werden!"
"1210","Herunterladen abgeschlossen. Starte Überprüfung..."
"1220","Überprüfung abgeschlossen.</p><p>Zum herunterladen hier klicken: "
"1221","Herunterladen abgeschlossen. Datei konnte nicht überprüft werden.</p><p>Zum herunterladen hier klicken: "
"1222","Datei zu gross zum zwischenspeichern.</p><p>Zum erneuten herunterladen, OHNE Überprüfung, hier klicken: "
"1230","Die Datei wurde bereits abgerufen und ist daher nicht mehr gespeichert!"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,77 @@
<html>
<head>
<title>e2guardian - Zugriff verweigert</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<b>Zugriff verweigert!</b>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
<font face=arial,helvetica size=3 color=black>
<b>-USER-&nbsp;</b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
IHRE FIRMA
</td>
<td width=550 bgcolor=#FFFFFF align=center valign=center>
<font face=arial,helvetica color=black>
<font size=4>
Der Zugriff auf die Seite
<br><br>
<a href="-URL-" target="_blank">-URL-</a>
<br><br>
<font size=3>
wurde mit folgender Begründung verweigert:
<br><br>
<font color=red>
<b>-REASONLOGGED-</b>
<font color=black>
<br><br><br><br>
Sie sehen diese Fehlermeldung, weil die von Ihnen gewünschte Seite unangebrachte Inhalte aufweist oder als solche gekennzeichnet ist.
<br><br>
Bei Fragen oder Beschwerden wenden Sie sich bitte an Ihren Netzwerkadministrator.
<br><br><br><br>
<font size=1>
Powered by <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
</td>
</tr>
</table>
</body>
</html>
<!--
Translated and adapted for Unicode by Peter Vollmar
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
This page was designed by Paul Richards. (http://www.ridney.com/)
Daniel Barron 2003-09-01
-->

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,118 @@
# e2guardian messages file in Hebrew
# by Nitzo Tomer <nitzo2001@yahoo.com>
"0","Message number absent" # needs translation
"1"," "
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100"," -IP : "
"101"," -IP ."
"102"," : "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200"," ."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300"," : "
"301"," ."
"400"," : "
"401"," ."
"402"," "
"403"," ."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500"," : "
"501"," : "
"502"," &quot; ."
"503"," : "
"504"," ."
"505"," &quot ."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600"," IP ."
"601"," ."
"602"," ."
"603"," ."
"604"," : "
"605"," : "
"606"," ."
"607"," ."
"608"," URL ."
"609"," URL : "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700"," ."
"701"," ."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800"," MIME : "
"900"," : "
"1000"," PICS &quot; ."
"1100"," ."
"1101"," "
"1200"," - ..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210"," . ..."
"1220"," .</p><p> : "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,89 @@
<html>
<head>
<title> e2guardian - äâéùä ðãçéú</title>
<meta http-equiv = "Content-Type" content = "text/html; charset=ISO-8859-8-I">
</head>
<body bgColor = "#ffffff">
<center>
<table height = "540" cellSpacing = "0" cellPadding = "2" width = "700" border = "0" dir = "rtl">
<tr>
<td align = "center" bgColor = "#fea700" colSpan = "2" height = "100">
<font face = "arial,helvetica" size = "6"><b dir = "rtl"> äâéùä ðãçúä!</b> </font>
</td>
</tr>
<tr>
<td align = "left" bgColor = "#fffacd" colSpan = "2" height = "30">
<font face = "arial,helvetica" color = "black" size = "3"><b dir = "rtl">-USER- </b></font>
</td>
</tr>
<tr>
<td vAlign = "bottom" align = "center" width = "150" bgColor = "#b0c4de">
<font face = "arial,helvetica" color = "black" size = "1" dir = "rtl"> YOUR ORG NAME </font>
</td>
<td vAlign = "middle" align = "center" width = "550" bgColor = "#ffffff">
<font face = "arial,helvetica" color = "black"><font size = "4" dir = "rtl"> äâéùä ìëúåáú:
<br>
<br>
<A href = "-BYPASS-" target = "_blank" dir = "ltr">-URL-</A>
<br>
<br><font size = "3" dir = "rtl"> ... ðãçúä îäñéáä äáàä:
<br>
<br><font color = "red"><b>-REASONGIVEN-</b><font color = "black" dir = "rtl"><br>
<br>
<br>
<br>
àúä øåàä àú äåãòú ùâéàä æå îëéååï ùðéñéåï äâéùä ùìê ðøàä ëîëéì, àå îñåîï ëîëéì, çåîø ùîåòøê ëìà
îúàéí.
<br>
<br>
àí éù ìê ùàìåú ëìùäï ôðä ìîúàí äîéãò ú÷ùåøú åèëðåìåâéä àå ìîðäì äøùú ùìê.
<br>
<br>
<br>
<br><font size = "1"> Powered by <a href = "http://www.e2guardian.org?block" target = "_blank">
e2guardian</a></font></font></font></font></font></font></td>
</tr>
</table>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
This page was designed by Paul Richards. (http://www.ridney.com/)
Daniel Barron 2003-09-01
--></center>
</body></html>

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,117 @@
# e2guardian 3 messages file in Hungarian
"0","Message number absent" # needs translation
"1","A hozzfrs tiltott"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Az n IP cme nem engedlyezett ehhez a bngszhz: "
"101","Az n IP cme nem engedlyezett ehhez a bngszhz."
"102","A felhasznlneve nem engedlyezett ehhez e abngszhz: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","A krt URL formtuma nem tnik biztonsgosnak."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Tiltott kifejezs: "
"301","Tiltott kifejezs."
"400","Tiltott sszettel kifejezs: "
"401","Tiltott sszettel kifejezs."
"402","A slyozott kifejezs hatra "
"403","A slyozott kifejezs elrte a hatrt."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Tiltott oldal: "
"501","Tiltott URL: "
"502","A domain-alap szrs aktv s ez az oldal sem a 'fehr', sem a 'szrke' listn nincs fent."
"503","Tiltott regulris kifejezs URL: "
"504","Tiltott regulris kifejezs URL."
"505","A cmtartomny alap szrs aktv s ez csak egy egyszer IP-cm."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Kifogsolhat kliens IP egyezs."
"601","Kifogsolhat kliens felhasznl egyezs."
"602","Kifogsolhat oldalegyezs."
"603","Kifogsolhat URL-egyezs."
"604","Kifogsolhat kifejezs: "
"605","Kombincis kifogsolhat kifejezs: "
"606","Tovbbugrat URL kifogs."
"607","Tovbbugrat sti kifogs."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","A Webre trtn feltlts tiltva."
"701","A Webre trtn feltlts korltjt elrte."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Tiltott MIME Tpus: "
"900","Tiltott kiterjeszts: "
"1000","A PICS szervezet jellsi szintjt elrte a fels oldal."
"1100","Vrussal fetztt llomny."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,77 @@
<html>
<head>
<title>e2guardian - A hozz<7A>f<EFBFBD>r<EFBFBD>s tiltva</title>
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<b>A hozz<7A>f<EFBFBD>r<EFBFBD>s tiltva!</b>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
<font face=arial,helvetica size=3 color=black>
<b>-USER-&nbsp;</b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
YOUR ORG NAME
</td>
<td width=550 bgcolor=#FFFFFF align=center valign=center>
<font face=arial,helvetica color=black>
<font size=4>
A hozz<7A>f<EFBFBD>r<EFBFBD>s ehhez az oldalhoz:
<br><br>
<a href="-URL-" target="_blank">-URL-</a>
<br><br>
<font size=3>
... nem lehets<74>ges a k<>vetkez<65> ok miatt:
<br><br>
<font color=red>
<b>-REASONGIVEN-</b>
<font color=black>
<br><br><br><br>
<20>n az<61>rt l<>tja ezt a hiba<62>zenetet, mert <20>gy t<>nik, amit <20>n megk<67>s<EFBFBD>relt el<65>rni tartalmaz
vagy besorol<6F>sa alapj<70>n tartalmazhat helytelennek v<>lt anyagokat.
<br><br>
Amennyiben <20>nnek ezzel kapcsolatban agg<67>lyai mer<65>ltek fel, vegye fel a kapcsolatot az <20>n
Inform<72>ci<63>s- <20>s kommunk<6E>ci<63>technol<6F>giai koordin<69>tor<6F>val vagy a h<>l<EFBFBD>zati menedzser<65>vel.
<br><br><br><br>
<font size=1>
Powered by <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
</td>
</tr>
</table>
</body>
</html>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
This page was designed by Paul Richards. (http://www.ridney.com/)
Daniel Barron 2003-09-01
-->

View File

@ -0,0 +1,173 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language='javascript'>
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language='javascript'>
<!--
document.write(unescape("\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->

View File

@ -0,0 +1,121 @@
# e2guardian messages file in Indonesian
#
# Indonesian translation by: Kumoro Wisnu Wibowo <kum@ag-it.com>
#
"0","Message number absent" # needs translation
"1","Akses Ditolak"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Alamat IP Anda tidak diperbolehkan untuk browsing: "
"101","Alamat IP Anda tidak diperbolehkan untuk browsing."
"102","Username Anda tidak diperbolehkan untuk browsing: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","Format alamat URL yang diminta tidak benar."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Frase yang ditolak ditemukan: "
"301","Frase yang ditolak ditemukan."
"400","Kombinasi frase yang ditolak ditemukan: "
"401","Kombinasi frase yang ditolak ditemukan."
"402","Bobot batas frase dari "
"403","Bobot batas frase terlewati."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Situs yang ditolak: "
"501","Alamat URL yang ditolak: "
"502","Blanket Block aktif dan situs tersebut tidak dalam white list."
"503","Alamat Regular Expression URL yang ditolak: "
"504","Alamat Regular Expression URL ditemukan."
"505","Blanket IP Block aktif dan alamat tersebut adalah hanya alamat IP saja."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","IP klien pengecualian cocok."
"601","User klien pengecualian cocok."
"602","Situs pengecualian cocok."
"603","Alamat URL pengecualian cocok."
"604","Frase pengecualian ditemukan: "
"605","Kombinasi frase pengecualian ditemukan: "
"606","Bypass URL cocok."
"607","Bypass cookie cocok."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
# 606,607 by Daniel Barron - corrections welcome
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Web upload ditolak."
"701","Batas untuk web upload terlewati."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Tipe MIME yang ditolak: "
"900","Ekstensi yang ditolak: "
"1000","Level Label PICS terlewati pada situs di atas."
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,37 @@
<HTML><HEAD><TITLE>e2guardian - Akses Ditolak</TITLE></HEAD>
<BODY>
<CENTER><H2>ACCESS DITOLAK -USER-</H2>
<br>Akses ke halaman:<P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... telah ditolak untuk alasan sebagai berikut:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00"><tr><td>Anda melihat pesan kesalahan ini karena halaman yang ingin Anda akses<br>
mengandung isi yang telah dianggap sebagai tidak pantas.<br></td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>Apabila Anda mempunyai pertanyaan-pertanyaan, silakan kontak Manager IT atau
Manager Network Anda.</td></tr></table>
<P><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</BODY>
</HTML>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
Indonesian translation by: Kumoro Wisnu Wibowo <kum@ag-it.com>
-->

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,118 @@
# e2guardian messages file in IT Italian
# Translated by andrea at diclemente.net
"0","Message number absent" # needs translation
"1","Accesso Negato"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Al tuo indirizzo IP non e' permesso di navigare il web: "
"101","Al tuo indirizzo IP non e' permesso di navigare il web."
"102","Al tuo username non permesso di navigare il web: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","L'URL richiesta e' malformata."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Trovata una frase vietata: "
"301","Trovata una frase vietata."
"400","Trovata una combinazione di frasi vietata: "
"401","Trovata una combinazione di frasi vietata."
"402","Il limite di frasi pesate di "
"403","E' stato superato il limite per le frasi pesate."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Sito vietato: "
"501","URL vietato: "
"502","Il blocco 'Blanket' e' attivo e il sito non e' nella white list."
"503","URL con espressione regolare vietata: "
"504","URL con espressione regolare vietata trovato."
"505","Il blocco 'Blanket' e' attivo e l'indirizzo e' formato dal solo indirizzo IP."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Exception client IP match."
"601","Exception client user match."
"602","Exception site match."
"603","Exception URL match."
"604","Exception phrase found: "
"605","Combination exception phrase found: "
"606","Bypass URL exception."
"607","Bypass cookie exception."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Il Web-upload e' vietato."
"701","E' stato superato il limite per il Web upload."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","MIME Type vietato: "
"900","Extensione vietata: "
"1000","Si e' oltrepassato il limite del livello PICS sul sito."
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,38 @@
<HTML><HEAD><TITLE>e2guardian - Accesso Negato</TITLE></HEAD>
<BODY>
<CENTER><H2>L'ACCESSO E' STATO NEGATO -USER-</H2>
<br>L'accesso alla pagina:<P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... e' stato negato per il seguente motivo:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00"><tr><td>Stai vedendo questo errore perche' la pagina che hai cercato<br>
di accedere contiene, o e' marcata come contenente, materiale che<br>
e' stato ritenuto non appropriato.</td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>Se hai ulteriori domande, contatta il tuo coordinatore ICT o Network Manager.</td></tr></table>
<P><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</BODY>
</HTML>
<!--
# Translated by andrea at diclemente.net
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
-->

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,117 @@
# e2guardian messages file in 日本語
"0","Message number absent" # needs translation
"1","アクセス拒否"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","あなたのIPアドレスは閲覧の許可がありません: "
"101","あなたのIPアドレスは閲覧の許可がありません。"
"102","あなたのユーザ名は閲覧の許可がありません: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","要求されたURLは不適切です。"
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","禁止されたフレーズが見つかりました: "
"301","禁止されたフレーズが見つかりました。"
"400","拒否された結合フレーズが見つかりました: "
"401","拒否された結合フレーズが見つかりました。"
"402","重み付けされたフレーズの制限を越えました(規定値:測定値) "
"403","重み付けされたフレーズの制限を越えました。"
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","拒否されたサイト: "
"501","拒否されたURL: "
"502","統括的な遮断は有効です。そしてそれらのサイトはホワイトリストかグレーリストにありません。"
"503","拒否された正規表現のURL: "
"504","拒否された正規表現のURLが見つかりました。"
"505","統括的なIPの遮断は有効です。そしてそれらのアドレスはIPのみのアドレスです。"
"506","統括的なSSLの遮断は有効です。そしてそれらのサイトはホワイトリストかグレーリストにありません。"
"507","統括的なSSL IPの遮断は有効です。そしてそれらのアドレスはIPのみのアドレスです。"
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","例外クライアントIPマッチ。"
"601","例外クライアントユーザマッチ。"
"602","例外サイトマッチ。"
"603","例外URLマッチ。"
"604","例外フレーズが見つかりました: "
"605","結合例外フレーズがみつかりました: "
"606","例外迂回URL"
"607","例外迂回Cookie。"
"608","例外スキャン迂回URL"
"609","例外正規表現URLマッチ: "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Webのアップロードは拒否されました。"
"701","Webのアップロードは制限を越えました。"
"750","統括的なファイルのダウンロードは有効です。そしてこのMIMEタイプはホワイトリストにありません: "
"751","統括的なファイルのダウンロードは有効です。そしてこのファイルはホワイトリストにマッチしませんでした。"
"800","拒否されたMIMEタイプ: "
"900","拒否された拡張: "
"1000","PICSラベリングレベルは上のサイトで超えました。"
"1100","ウィルスか不正なコンテンツを検出しました。"
"1101","広告は拒否されました"
"1200","お待ちください。 - ダウンロードファイルのスキャン中です・・・"
"1201","警告: ファイルはスキャンするのに大きすぎます。 このふぁいるが"
"1202","より大きいと疑うならば直接ダウンロードするためにこのページをリフレッシュしてください。"
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","ダウンロード完了。スキャンを開始します..."
"1220","スキャンが完了しました。</p><p>ダウンロードをするにはここをクリックしてください: "
"1221","ダウンロードは完了しました。ファイルはスキャンされませんでした。</p><p>ダウンロードをするにはここをクリックしてください: "
"1222","ファイルはキャッシュするのに大きすぎます。</p><p>スキャンを迂回させて、再ダウンロードするためにここをクリックしてください: "
"1230","ファイルは長いこと利用可能ではありません"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,61 @@
<html>
<head>
<title>Access Denied</title>
<meta http-equiv="Content-Type:text/html; Charset=UTF-8">
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<b>アクセスは拒否されました。</b>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
<font face=arial,helvetica size=3 color=black>
<b>-USER-&nbsp;</b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
www.shonbori.com
</td>
<td width=550 bgcolor=#FFFFFF align=center valign=center>
<font face=arial,helvetica color=black>
<font size=4>
アクセス先URL:
<br><br>
<a href="-URL-" target="_blank">-URL-</a>
<br><br>
<font size=3>
は以下の理由により拒否されました。:
<br><br>
<font color=red>
<b>-REASONGIVEN-</b>
<font color=black>
<br><br>
カテゴリ:
<br><br>
<font color=red>
<b>-CATEGORIES-</b>
<font color=black>
<br><br><br><br>
不適切と思われるコンテンツがページ内に含まれている・含まれていると思われる場合に
このエラーページが表示されます
<br><br>
何か質問がありましたら、以下に連絡してください。
<br>
<a href="mailto:webmaster@shonbori.com">webmaster@shonbori.com</a>
<br><br><br><br>
<font size=1>
Powered by <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,119 @@
# e2guardian 3 messages file
# Lithuanian version by Nerijus Baliūnas and Mantas Kriaučiūnas
# charset=utf-8
"0","Message number absent" # needs translation
"1","Tinklalapis uždraustas"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Iš jūsų IP adreso negalima pasiekti tinklalapio: "
"101","Draudžiama naršyti iš jūsų IP adreso."
"102","Jūsų naudotojui negalima pasiekti tinklalapio: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","Neteisingas URL."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Rasta uždrausta frazė: "
"301","Rasta uždrausta frazė."
"400","Rasta uždrausta frazių kombinacija: "
"401","Rasta uždrausta frazių kombinacija."
"402","Sumuojamų frazių limitas "
"403","Viršytas sumuojamų frazių limitas."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Uždraustas adresas (site): "
"501","Uždraustas URL: "
"502","Leidžiamas priėjimas tik prie tinklalapių, esančių 'baltame' ar 'pilkame' sąraše, bet šio tinklalapio juose nėra."
"503","Draudžiamas URL regexp: "
"504","Rastas draudžiamas URL regexp."
"505","Priėjimas prie IP adresų uždraustas, o šis adresas yra tik IP adresas."
"506","Aktyvus Blanket SSL Block ir šis tinklalapis nėra 'baltame' ar 'pilkame' sąraše."
"507","Aktyvus Blanket SSL IP Block ir šis adresas yra tik IP adresas."
"508","Uždrausta reguliarioji išraiška (regexp) HTTP antraštėje: ",
"509","Rasta draudžiama reguliarioji išraiška (regexp) HTTP antraštėje."
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Kliento IP yra išimčių sąraše."
"601","Kliento vardas yra išimčių sąraše."
"602","Adresas yra išimčių sąraše."
"603","URL yra išimčių sąraše."
"604","Rasta frazė iš išimčių sąrašo: "
"605","Rasta frazių kombinacija iš išimčių sąrašo: "
"606","URL apėjimo išimtis."
"607","Slapuko apėjimo išimtis."
"608","URL skanavimo apėjimo išimtis."
"609","Regexp URL yra išimčių sąraše: "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Nusiuntimas (upload) yra uždraustas."
"701","Viršytas nusiuntimo (upload) limitas."
"750","Aktyvus Blanket failų atsiuntimas ir šis MIME tipas nėra 'baltame' sąraše: "
"751","Aktyvus Blanket failų atsiuntimas ir šis failas netinka pagal 'baltus' sąrašus."
"800","Uždraustas MIME tipas: "
"900","Uždraustas praplėtimas: "
"1000","Viršytas šio tinklalapio PICS vertinimo kriterijus."
"1100","Aptiktas virusas arba negeras turinys."
"1101","Reklama užblokuota"
"1200","Palaukite - siunčiame tikrinimui nuo virusų..."
"1201","Dėmesio: failo negalime patikrinti, nes jis per didelis. Jei manote, kad šis failas yra didesnis nei "
"1202",", tuomet nueikite į šį puslapį iš naujo (refresh) ir atsisiųskite nepatikrintą failą."
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Atsiųsta. Tikriname nuo virusų..."
"1220","Patikrinta.</p><p>Atsisiųskite: "
"1221","Siuntimas baigtas; failas nebuvo patikrintas.</p><p>Spustelėkite čia jei norite atsisiųsti: "
"1222","Failas per didelis.</p><p>Jei norite atsisiųsti nepatikrintą failą - spustelėkite čia: "
"1230","Failas neprieinamas"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,49 @@
<html>
<head>
<title>e2guardian - Tinklalapis uždraustas</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<center>
<h2>TINKLALAPIS UŽDRAUSTAS -USER-</h2>
<br>Interneto turinio filtravimo sistema neleidžia Jums atidaryti šio tinklalapio:<p>
<strong><a href="-URL-">-URL-</a></strong>
<p>dėl šios priežasties:<p>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p>tinklalapis pateko į šias kategorijas:<p>
<strong><font color="#ff0000">-CATEGORIES-</font></strong>
<p><table border=1 bgcolor="#FFEE00">
<tr><td>
Tinklalapis, kurį Jūs bandėte pasiekti, pripažintas nepriimtinu.
</td></tr></table>
<p><table border=1 bgcolor="#44dd44"><tr><td>Jei turite klausimų, kreipkitės į kompiuterio ar tinklo administratorių.</td></tr></table>
<p><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</body>
</html>
<!--
Translated by Nerijus Baliūnas and Mantas Kriaučiūnas (mantas@akl.lt), edited by Mantas Kriaučiūnas for HTML and Unicode
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- HOST- gives the originating hostname if known.
- RAWFILTERGROUP- gives the group number.
- FILTERGROUP- gives the group name.
- SERVERIP- gives the IP address on which the filter is running (correct for multiple filterip lines, but not if filterip option is blank).
- BYPASS- gives URL which allows temporary bypass of denied page
- CATEGORIES- gives the categories assigned to the banned content
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2003-09-01
-->

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,143 @@
# e2guardian 3 messages file in Malay language
# Edited by Sazarul Izam <izam@oscc.org.my>
"0","Message number absent" # needs translation
"1","Akses Tidak Dibenarkan"
# Access Denied
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","IP anda tidak dibenarkan untuk melayari web: "
"101","IP anda tidak dibenarkan untuk melayari web."
"102","Nama pengguna anda tidak dibenarkan untuk melayari web: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","URL yang diminta adalah malformed."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Frasa larangan dikesan: "
# Banned Phrase found:
"301","Frasa larangan dikesan."
# Banned phrase found.
"400","Kombinasi frasa larangan dikesan: "
# Banned combination phrase found:
"401","Kombinasi frasa larangan dikesan."
# Banned combination phrase found.
"402","Had beban frasa oleh "
# Weighted phrase limit of
"403","Melebihi had beban frasa."
# Weighted phrase limit exceeded.
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Laman larangan: "
# Banned site:
"501","URL larangan: "
# Banned URL:
"502","Blok Blanket adalah aktif dan laman tersebut tidak tersenarai dalam white atau grey list." # Blanket Block is active and that site is not on the white or grey list.
"503","URL Ekspresi Biasa larangan: "
# Banned Regular Expression URL:
"504","URL Ekspresi Biasa larangan dikesan."
# Banned Regular Expression URL found.
"505","Blok Blanket IP adalah aktif dan alamat tersebut hanyalah alamat IP."
#Blanket IP Block is active and that address is an IP only address.
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","IP pengecualian klien sepadan."
# Exception client IP match.
"601","Pengguna pengecualian klien sepadan."
# Exception client user match.
"602","Laman pengecualian sepadan."
# Exception site match.
"603","URL pengecualian sepadan."
# Exception URL match.
"604","Frasa pengecualian sepadan: "
# Exception phrase found:
"605","Kombinasi frasa pengecualian sepadan: "
# Combination exception phrase found:
"606","URL pintasan sepadan."
# Bypass URL exception.
"607","Cookie pintasan sepadan."
# Bypass cookie exception.
"608","Scan bypass URL." # needs translation
"609","URL pattern match: " # needs translation
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Muatnaik laman dilarang."
# Web upload is banned.
"701","Muatnaik laman melebihi had."
# Web upload limit exceeded.
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Jenis MIME larangan: "
# Banned MIME Type:
"900","Extension larangan: "
# Banned extension:
"1000","Penglabelan PICS melebihi peringkat pada laman di atas."
# PICS labeling level exceeded on the above site.
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading file for scanning..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than "
"1202",", then refresh this page to download directly."
"1203","WARNING: Could not perform content scan!"
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: "
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: "
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,60 @@
<HTML><HEAD><TITLE>e2guardian - Akses Tidak Dibenarkan</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF"><CENTER><TABLE WIDTH="90%" CELLSPACING="10"
CELLPADDING="5" BORDER="0">
<TR>
<TD BGCOLOR="#C0C0C0" ALIGN="RIGHT">
<FONT FACE="verdana, arial,sans serif" COLOR="#FFFFFF" SIZE="2"><B>D a n s G u a r d i a n
&nbsp; </b>
</FONT>
<FONT FACE="verdana, arial, sans serif" COLOR="#000000" SIZE="2">h a l a m a n &nbsp;
t i d a k &nbsp; b a i k &nbsp; b e r h e n t i &nbsp; d i &nbsp; s i n i</FONT>
</TD></TR>
<TR><TD BGCOLOR="#F6F4F4" ALIGN="CENTER">
<TABLE WIDTH="100%" CELLSPACING="10" CELLPADDING="10" BORDER="0">
<TR>
<TD BGCOLOR="#FF0000" ALIGN="CENTER">
<FONT FACE="verdana, arial, sans serif" COLOR="#FFFFFF" SIZE="6"><B>H A L A
N G A N</b></FONT>
</TD></TR>
<TR>
<TD BGCOLOR="#E2E2E2" ALIGN="CENTER">
<FONT FACE="verdana, arial, sans serif" COLOR="#000000" SIZE="4"><B>Akses ke halaman berkenaan
tidak dibenarkan </b>
</FONT>
<FONT FACE="verdana, arial, sans serif" COLOR="#000000" SIZE="2"><P>URL: <a
href="-URL-">-URL-</a><BR>-REASONGIVEN-<P>Sila hubungi Pentadbir Rangkaian jika terdapat
kesilapan berhubung perkara ini</FONT>
</TD></TR>
</TD></TR>
</TABLE><TR><TD BGCOLOR="#C0C0C0" ALIGN="RIGHT"><FONT FACE="verdana, arial,
sans
serif" COLOR="#FFFFFF" SIZE="2">Penapis Kandungan Web oleh </FONT>
<A HREF="http://e2guardian.org?block" target="_blank"><B><FONT FACE="verdana,
arial,
sans serif" COLOR="#FFFFFF" SIZE="2">e2guardian</FONT></b></a>
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
Edited by Sazarul Izam Md. Saad <izam@oscc.org.my> for malay template 2006-03-20
-->

View File

@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@ -0,0 +1,120 @@
# e2guardian messages file in MX Spanish
# Translated by Vladimir Gomez
# Typo corrected by Pedro Fortuny 2003/10/13
"0","Message number absent" # needs translation
"1","Acceso Denegado"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Su direcci&oacute;n IP no tiene permiso para ver: "
"101","Su direcci&oacute;n IP no esta autorizada a navegar en Internet."
"102","Su usuario no tiene autorizaci&oacute; para ver: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","El URL solicitado esta mal formado."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Frase no permitida: "
"301","Frase no permitida."
"400","Combinaci&oacute;n de palabras/frases no permitida: "
"401","Combinaci&oacute;n de palabras/frases no permitida."
"402","La frase excede el nivel "
"403","La p&aacute;gina solicitada excede el nivel de frases permitidas."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Sitio no permitido: "
"501","URL no permitido: "
"502","Blanket Block esta activado y el sitio no se encuentra en la lista de permitidos."
"503","URL bloqueada por Expresi&oacute;n Regular: "
"504","URL bloqueada por Expresi&oacute;n Regular."
"505","No se puede accesar un sitio por su direcci&oacute;n IP cuando Blanket IP Block est&aacute; activado."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Direcci&oacute;n ip del cliente presente en la lista de excepciones."
"601","Usuario presente en la lista de excepciones."
"602","Sitio presente en la lista de excepciones."
"603","URL presente en la lista de excepciones."
"604","Frase presente en la lista de excepciones."
"605","Combinaci&oacute;n de frases presente en la lista de excepciones: "
"606","Puente URL excepciones."
"607","Puente cookie excepciones."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
# 606,607 by Daniel Barron - corrections welcome
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","No esta permitido enviar archivos a sitios en Internet."
"701","El archivo que intenta enviar excede el tama&ntilde;o permitido."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Clase MIME no permitida: "
"900","Extensi&oacute;n de archivo bloqueada: "
"1000","Las etiquetas del sitio exceden el nivel PICS."
"1100","Virus or bad content detected." # needs translation
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,40 @@
<HTML><HEAD><TITLE>e2guardian - Acceso Denegado</TITLE></HEAD>
<BODY>
<CENTER><H2>ACCESO DENEGADO -USER-</H2>
<br>El acceso a la p&aacute;ina:<P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... ha sido denegado por la siguiente raz&oacute;n:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00"><tr><td>Usted esta viendo esta
p&aacute;gina de error porque <BR>el sitio que est&aacute; tratando de ver
o su contenido <BR>han sido catalogados como inapropiados.</td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>Si requiere acceso a esta
p&aacute;gina por favor pongase en contacto <BR>con el Administrador de Sistemas
o el Administrador de la Red.</td></tr></table>
<P><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</BODY>
</HTML>
<!--
Translated by Vladimir Gomez
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
Daniel Barron 2002-03-27
-->

View File

@ -0,0 +1,173 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language='javascript'>
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language='javascript'>
<!--
document.write(unescape("\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->

View File

@ -0,0 +1,120 @@
# e2guardian messages file
# Polish version by Piotr Kapczuk <piotr.kapczuk@hoop.pl>
# charset=iso-8859-2
"0","Message number absent" # needs translation
"1","Dostp Zabroniony"
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Zakazano dostpu z twojego adresu IP do strony: "
"101","Przegldanie stron www z twojego adresu IP jest niedozwolone."
"102","Zakazano dostpu z twoj nazw uytkownika do strony: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","dany URL jest le skonstruowany."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Znaleziono zakazan fraz: "
"301","Znaleziono zakazan fraz."
"400","Znaleziono zakazan kombinacj fraz: "
"401","Znaleziono zakazan kombinacj fraz."
"402","Limit fraz liczonych wagowo "
"403","Przekroczono limit fraz liczonych wagowo."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","Zakazany adres (site): "
"501","Zakazany URL: "
"502","Dostp zezwolony jedynie do wybranych stron, a ta strona nie jest na licie dozwolonych."
"503","Zakazane Wyraenie Regularne dla URL: "
"504","Znaleziono zakazane Wyraenie Regularne w URL."
"505","Dostp po samych adresach IP jest zakazany, a ten adres jest jedynie adresem IP."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","IP klienta pasuje do wyjtkw."
"601","Nazwa uytkownika pasuje do wyjtkw."
"602","Adres pasuje do wyjtkw."
"603","URL pasuje do wyjtkw."
"604","Znaleziono fraz, ktra pasuje do wyjtkw: "
"605","Znaleziono kombinacj fraz, ktra pasuje do wyjtkw: "
"606","Bypass URL wyjtkw."
"607","Bypass cookie wyjtkw."
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
# 606,607 by Daniel Barron - corrections welcome
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Wgrywanie do sieci jest zakazane."
"701","Przekroczono limit wgrywanych danych."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Zakazany typ MIME: "
"900","Zakazane rozszerzenie: "
"1000","Wedle etykietowania PICS przekroczono dopuszczalny poziom zakazanych treci."
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,40 @@
<HTML><HEAD><TITLE>e2guardian - Dostęp Zabroniony</TITLE>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=iso-8859-2">
</HEAD>
<BODY>
<CENTER><H2>ZABRONIONO DOSTĘPU -USER-</H2>
<br>Dostęp do strony:<P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... został zabroniony z następującego powodu:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00">
<tr><td>
Ten błąd pojawia się, ponieważ strona, do której próbowano uzyskać dostęp,<br>
zawiera lub też jest oznakowana jako zawierająca treści uznane za nieodpowiednie.
</td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>Jeśli masz jakieś pytania lub wątpliwości skontaktuj się ze swoim Administratorem Sieci</td></tr></table>
<P><font size=-3>Powered by <a href="http://e2guardian.org?block" target="_blank">e2guardian</a></font>
</center>
</BODY>
</HTML>
<!--
Dostępne są następujące zmienne:
- URL- zwraca URL do którego próbował dostać się użytkownik.
- REASONGIVEN- zwraca powód (np. bez cytowania zakazanej frazy).
- REASONLOGGED- zwraca powód, który jest rejestrowany, włączając w to pełne szczegóły.
- USER- zwraca nazwę użytkownika jeśli jest znana
- IP- zwraca źródłowy adres IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
Aby używać tych zmiennych w swoim HTMLu usuń spację pomiędzy - a zmienną.
Zmienne są już stosowane powyżej, tak więc nie ma potrzeby dokonywania dodatkowych przeróbek.
Więcej przykładowych szablonów można znaleźć na witrynie e2guardiana, na stronie Extras.
Daniel Barron 2002-03-27
Tłumaczenie Piotr Kapczuk <piotr.kapczuk@hoop.pl>
-->

View File

@ -0,0 +1,173 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language='javascript'>
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language='javascript'>
<!--
document.write(unescape("\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"));
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->

View File

@ -0,0 +1,122 @@
# e2guardian 3 messages in Brazilian Portuguese
# Mensagens do e2guardian 3 file em Portugus do Brasil (pt-BR)
# Translated/traduzido (?) by/por Henrique Araujo - Sys Admin
# henrique@colegiosaogoncalo.g12.br
# Cuiab - MT, Brasil
"0","Message number absent" # needs translation
"1","Acesso negado."
"10","IP limit exceeded. There is a " # needs translation
"11"," IP limit set." # needs translation
"50"," in " # needs translation
"51","TRUSTED" # needs translation
"52","DENIED" # needs translation
"53","INFECTED" # needs translation
"54","SCANNED" # needs translation
"55","CONTENTMOD" # needs translation
"56","URLMOD" # needs translation
"57","HEADERMOD" # needs translation
"58","HEADERADD" # needs translation
"59","NETERROR" # needs translation
"70","SSL SITE" # needs translation
"71","IP Limit" # needs translation
"72","Content scanning" # needs translation
"100","Seu endere&ccedil;o IP n&atilde;o tem permiss&atilde;o de acesso &agrave;&nbsp; web: "
"101","Seu endere&ccedil;o IP n&atilde;o tem permiss&atilde;o de acesso &agrave;&nbsp; web: "
"102","Esse nome de usu&aacute;rio n&atilde;o tem permiss&atilde;o de acesso &agrave;&nbsp; web: "
"103","Banned Client IP" # needs translation
"104","Banned Location" # needs translation
"105","Banned User" # needs translation
"110","Proxy authentication error" # needs translation
"121","Only limited access allowed from your location" # needs translation
"150","Certificate supplied by server was not valid" # needs translation
"151","Could not open ssl connection" # needs translation
"152","Failed to get ssl certificate" # needs translation
"153","Failed to load ssl private key" # needs translation
"154","Failed to negotiate ssl connection to client" # needs translation
"155","No SSL certificate supplied by server" # needs translation
"156","Server's SSL certificate does not match domain name" # needs translation
"157","Unable to create tunnel through local proxy" # needs translation
"158","Opening tunnel failed" # needs translation
"159","Could not connect to proxy server" # needs translation
"160","Failed to nogotiate ssl connection to server" # needs translation
"200","A URL requerida est&aacute; mal formada."
"201","Unable to get response from upstream proxy (timeout)" # needs translation
"202","Unable to get response from upstream proxy (error)" # needs translation
"203","The site requested is not responding" # needs translation
"204"," - Please try again later" # needs translation
"205","Upstream proxy is not responding (network error)" # needs translation
"206"," - Please try again later" # needs translation
"207","The site requested does not exist" # needs translation
"208","The site requested does not have an IPv4 address" # needs translation
"209","Temporary DNS service failure - please try again" # needs translation
"210","DNS service failure - please try again later" # needs translation
"300","Encontrada frase proibida: "
"301","Encontrada frase proibida: "
"400","Encontrada combina&ccedil;&atilde;o de frases proibida: "
"401","Encontrada combina&ccedil;&atilde;o de frases proibida: "
"402","Limite de frase ponderada de "
"403","Limite de frase ponderada excedido."
"450","Banned search term found: " # needs translation
"451","Banned search term found." # needs translation
"452","Banned combination search term found: " # needs translation
"453","Banned combination search term found." # needs translation
"454","Weighted search term limit of " # needs translation
"455","Weighted search term limit exceeded." # needs translation
"456","Exception combination search term found: " # needs translation
"457","Exception search term found: " # needs translation
"500","S&iacute;tio proibido: "
"501","URL proibida: "
"502","Bloqueio geral est&aacute; ativo e aquele s&iacute;tio n&atilde;o est&aacute; na lista livre."
"503","Express&atilde;o Regular proibida em URL: "
"504","Encontrada Express&atilde;o Regular proibida em URL: "
"505","Bloqueio geral de IP est&aacute; ativo e aquele endere&ccedil;o n&atilde;o possui nome."
"506","HTTPS access is only allowed to trusted sites." # needs translation
"507","HTTPS access by IP address is not allowed." # needs translation
"508","Access not allowed using this browser (or app): " # needs translation
"509","Access not allowed using this browser (or app)." # needs translation
"510","Blocked IP site " # needs translation
"511","Tranparent https connection is not TLS: " # needs translation
"512","Tranparent https connection does not have SNI: " # needs translation
"520","Blocked HTTPS site: " # needs translation
"521","Banned Search Words: " # needs translation
"522","Blocked User-Agent: " # needs translation
"560","Blocked site (local): " # needs translation
"561","Blocked URL (local): " # needs translation
"580","Blocked HTTPS site (local): " # needs translation
"581","Banned Search Words (local): " # needs translation
"600","Cliente IP est&aacute; na lista de exce&ccedil;&otilde;es."
"601","Usu&aacute;rio est&aacute; na lista de exce&ccedil;&otilde;es."
"602","S&iacute;tio est&aacute; na lista de exce&ccedil;&otilde;es."
"603","URL est&aacute; na lista de exce&ccedil;&otilde;es."
"604","Encontrada frase na lista de exce&ccedil;&otilde;es: "
"605","Encontrada combina&ccedil;&atilde;o de frases na lista de exce&ccedil;&otilde;es: "
"606","Desvio tempor&aacute;rio de bloqueio (Bypass URL.)"
"607","Desvio tempor&aacute;rio de bloqueio (Bypass cookie.)"
"608","Scan bypass URL exception."
"609","Exception regular expression URL match: "
"610","User-Agent pattern match: " # needs translation
"620","Referer match: " # needs translation
"630","URL match in " # needs translation
"631"," location allow list" # needs translation
"632","Location overide allow list matched" # needs translation
"662","Site (local)." # needs translation
"663","URL (local)." # needs translation
"700","Transfer&ecirc;ncia de arquivos para web proibida."
"701","Limite de transfer&ecirc;ncia de arquivos para web excedido."
"750","Blanket file download is active and this MIME type is not on the white list: " # needs translation
"751","Blanket file download is active and this file is not matched by the white lists." # needs translation
"800","Tipo MIME proibido: "
"900","Extens&atilde;o proibida: "
"1000","N&iacute;vel de rotulagem PICS excedido no s&iacute;tio acima."
# 1,1000 by Andson Gomes - html internet
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading to be scanned..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than " # needs translation
"1202",", then refresh this page to download directly." # needs translation
"1203","WARNING: Could not perform content scan!" # needs translation
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: " # needs translation
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: " # needs translation
"1230","File no longer available"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,83 @@
<html>
<head>
<title>e2guardian - Access Denied</title>
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<b>O acesso foi negado!</b>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
<font face=arial,helvetica size=3 color=black>
<b>Usu<EFBFBD>rio: -USER-&nbsp;</b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
Empresa S/A
</td>
<td width=550 bgcolor=#FFFFFF align=center valign=center>
<font face=arial,helvetica color=black>
<font size=4>
O acesso a p<>gina:
<br><br>
<a href="-URL-" target="_blank">-URL-</a>
<br><br>
<font size=3>
... foi negado devido a seguinte raz<61>o:
<br><br>
<font color=red>
<b>-REASONGIVEN-</b>
<font color=black>
<br><br>
Categorias:
<br><br>
<font color=red>
<b>-CATEGORIES-</b>
<font color=black>
<br><br><br><br>
Voc<6F> est<73> vendo esta mensagem porque o que voc<6F> tentou acessar parece conter material que foi julgado impr<70>prio.
<br><br>
Se voc<6F> tiver alguma d<>vida favor entrar em contato com a equipe de suporte de sua rede.
<br><br><br><br>
<font size=1>
Powered by <a href="http://www.e2guardian.org?block" target="_blank">e2guardian</a>
</td>
</tr>
</table>
</body>
</html>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- HOST- gives the originating hostname if known.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page
- CATEGORIES- gives the categories assigned to the banned content
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
More example templates are likely to be found on the e2guardian web site
on the Extras page.
This page was designed by Paul Richards. (http://www.ridney.com/)
Daniel Barron 2003-09-01
-->

Some files were not shown because too many files have changed in this diff Show More