Archive > 17.1 Legacy Series

[SOLVED] Help Install Lightsquid

(1/1)

maekar:
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?

fabian:
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).

franco:
Installing the package from the shell:

# pkg install lightsquid

maekar:
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



aynar:
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!!!

Navigation

[0] Message Index

Go to full version