Monday, 9 December 2019

SSL On SQUID 2.7.STABLE9

#===  service squid start =====#
#==================START CONFIGURATION====================#
cache_mgr triman@anonymos.com
### 2019/ December ##
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
#acl ncsa_user proxy_auth REQUIRED
#http_access allow ncsa_user
auth_param basic program /usr/lib64/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5

Sunday, 8 December 2019

Cara Rebuild Squid (Upgrade)

/etc/init.d/squid3 stop
mkdir /root/squid
cd  /root/squid

lalu rebuild sesuai kebutuhn

apt-get install build-essential fakeroot devscripts gawk gcc-multilib dpatch
apt-get build-dep squid3
apt-get build-dep openssl
apt-get build-dep wccp
apt-get build-dep wccpv2
apt-get source squid3
apt-get install libssl-dev

squid -v

Block ADS dengan Mikrotik

Berikut Scriptnya....

/ip firewall layer7-protocol
add name=ADS regexp="^.+(windowsupdate.coman|alyticspixel.microsoft.com|dl.w\
    s.microsoft.com|googlesyndication.com|doubleclick.net|beritavideo.info).*\
    \$"

/ip firewall filter
add action=drop chain=forward layer7-protocol=ADS
^.+(windowsupdate.com|analyticspixel.microsoft.com|dl.ws.microsoft.com|googlesyndication.com|doubleclick.net|adclick.g.doubleclick.net|googleads.g.doubleclick.net|beritavideo.info).*$


Cukup sederhana, dan lihjat hasilnya...

Monday, 2 December 2019

Optional SQUID 2.7.STABLE5 SSL

Squid,conf Maxsimal1

#########################################################################
#    CONTROL # WELCOME TO SQUID 2.7.STABLE5 #  -------------------- # #
#      # ---------------------------- #     2019 #-------------------- #
# squid -k parse #  T R I M A N  #    DESEMBER #
#########################################################################
#==========================START CONFIGURATION==========================#
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
#acl ncsa_user proxy_auth REQUIRED
#http_access allow ncsa_user