Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] Help Install Lightsquid
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Help Install Lightsquid (Read 35274 times)
maekar
Newbie
Posts: 23
Karma: 1
[SOLVED] Help Install Lightsquid
«
on:
May 08, 2017, 03:16:38 pm »
Hi, I need to install Lightsquid but all tutorials I find are for Apache and non-FreeBSD.
Anyone are using it? How can I do?
«
Last Edit: May 18, 2017, 07:19:08 pm by franco
»
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Help Install Lightsquid
«
Reply #1 on:
May 08, 2017, 10:47:13 pm »
lightsquid is just a package you can install via pkg. There is no plugin for that. If you would copy the output html somewhere under /usr/local/www it will be served by the internal web server but no authentication will be forced. be sure that it does not violate users privacy. As an alternative you can download the file via SSH and view it locally. Variant 3: setup a webserver and use it (lighttpd is already installed for the GUI, nginx is in the repository).
Logged
franco
Administrator
Hero Member
Posts: 17707
Karma: 1618
Re: Help Install Lightsquid
«
Reply #2 on:
May 09, 2017, 06:50:28 am »
Installing the package from the shell:
# pkg install lightsquid
Logged
maekar
Newbie
Posts: 23
Karma: 1
Re: Help Install Lightsquid
«
Reply #3 on:
May 17, 2017, 03:13:56 pm »
Hi, thanks for the replies, I got it. The steps for OPNSense are:
1) Install the package.
2) Go to /usr/local/etc/lightsquid/lightsquid.cfg and change the path of access.log to /var/log/squid/access.log
3) Run /usr/local/www/lightsquid/lightparser.pl, the first time with access.log.*.gz too:
/usr/local/www/lightsquid/lightparser.pl
/usr/local/www/lightsquid/lightparser.pl /var/log/squid/access.log.0.gz
/usr/local/www/lightsquid/lightparser.pl /var/log/squid/access.log.1.gz
...
4) Use crontab -e to program it (in no less than 10 minutes period).
5) Visit opnsense-IP/lightsquid/index.cgi
«
Last Edit: May 17, 2017, 03:16:38 pm by maekar
»
Logged
aynar
Newbie
Posts: 14
Karma: 1
Re: [SOLVED] Help Install Lightsquid
«
Reply #4 on:
January 15, 2018, 12:24:27 pm »
hi!
I have the same problem
even with the solution you proposed I still have this error
LigthSquid diagnostic.
Error : report folder '/usr/local/www/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content)
Please check config file !
can someone help me!!!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] Help Install Lightsquid