Tag Archives: proxy

How to change proxy with reg file

Create a new file and call it proxy.reg
Run and say yes.

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "MigrateProxy"=dword:00000001 "ProxyEnable"=dword:00000001 "ProxyHttp1.1"=dword:00000000 "ProxyServer"="http://proxyhost:proxyport" "ProxyOverride"="<local>;192.168.0.*;"
Code language: JavaScript (javascript)

How to install and configure LightSquid Log analyzer

What is LightSquid?
LightSquid is lite and fast log analizer for squid proxy

root@prox:~# apt -y install lightsquid libcgi-session-perl root@prox:~# vi /etc/lightsquid/lightsquid.cfg # line 23: change the PATH to log file $logpath ="/var/log/squid"; root@prox:~# vi /etc/apache2/conf-available/lightsquid.conf <Location "/lightsquid/"> # add CGI permission and network range you allow to access from Options +ExecCGI AddHandler cgi-script .cgi .pl Require local Require ip 10.0.0.0/24 root@prox:~# a2enmod cgid Enabling module cgid. To activate the new configuration, you need to run: systemctl restart apache2 root@prox:~# a2enconf lightsquid Enabling conf lightsquid. To activate the new configuration, you need to run: systemctl reload apache2 root@prox:~# systemctl restart apache2 # generate reports root@prox:~# /usr/share/lightsquid/lightparser.pl # reports are generated daily by /etc/cron.d/lightsquid
Code language: Bash (bash)

Access to [http://(hostname or IP address)/lightsquid/] with Web Browser on a Client Computer, then Squid Log Reports site is shown and it’s possible to Proxy statics.