OPNsense Forum

English Forums => General Discussion => Topic started by: ZLoBNbIY on December 02, 2015, 12:39:42 pm

Title: [SOLVED] Lightsquid
Post by: ZLoBNbIY on December 02, 2015, 12:39:42 pm
Hey, when to wait for lightsquid or sarg. without them as it is inconvenient to analyze logs proxy
Title: Re: Lightsquid
Post by: bluepr0 on December 16, 2015, 03:59:53 pm
That would be great!
Title: Re: Lightsquid
Post by: phoenix on December 16, 2015, 04:06:57 pm
I would suggest that it's better to forward these logs to a central syslog server, you can do better historical analysis there rather than on the firewall.
Title: Re: Lightsquid
Post by: franco on January 09, 2016, 01:25:44 am
I will try to see if lightsquid and sarg can make it into the package repository at least for manual install :)

https://github.com/opnsense/tools/issues/22
Title: Re: Lightsquid
Post by: khanisense on January 12, 2016, 05:08:27 am
I will try to see if lightsquid and sarg can make it into the package repository at least for manual install :)

https://github.com/opnsense/tools/issues/22
Hello all and thank you in advance, franco. Keep up the great work.  :)
Title: Re: Lightsquid
Post by: franco on January 13, 2016, 09:04:28 am
Added lightsquid and sarg to the packages for 15.7.25 and up. Note that these need to be installed from the command line and operated manually until someone steps up and helps to write a proper plugin for the GUI. Thanks guys!

# pkg install lightsquid
# pkg install sarg
Title: Re: [SOLVED] Lightsquid
Post by: tm.shyam on October 26, 2016, 05:01:57 am
@franco,

Mate, I tried installing via shell and it says "no packages available to install matching lightsquid have been found in the repositories"
Title: Re: [SOLVED] Lightsquid
Post by: phoenix on October 26, 2016, 08:16:56 am
@franco,

Mate, I tried installing via shell and it says "no packages available to install matching lightsquid have been found in the repositories"
They both show up for me in the current release of OPNsense:

Code: [Select]
root@opnsense:~ # pkg search lightsquid
lightsquid-1.8_4               Light and fast web based squid proxy traffic analyser
root@opnsense:~ # pkg search sarg
sarg-2.3.10_2                  Squid log analyzer and HTML report generator
root@opnsense:~ #
Title: Re: [SOLVED] Lightsquid
Post by: franco on October 26, 2016, 11:46:11 am
Maybe you're still on a version < 15.7.25 ? 16.7.6 is recent...
Title: Re: [SOLVED] Lightsquid
Post by: tm.shyam on October 30, 2016, 11:06:21 am
Thanks Franco,

Found the issue, it was a WAN interface which did not had access to internet causing the problem.

both packages are been installed via cli.

would you have an idea how to access the lisghtsquid page via gui? is there any specific settings/configs required for put it on gui?

thanks mate.
Title: Re: [SOLVED] Lightsquid
Post by: tm.shyam on October 30, 2016, 11:12:51 am
@phoenix

mate, did you managed to get sarg or light-squid on gui? or do we have any other apps/pkg in opnsense to view proxy usage report with access report?

OPNSense is simply awesome, though it needs bit more features to inbuilt.
Title: Re: [SOLVED] Lightsquid
Post by: franco on October 30, 2016, 11:14:05 am
There is no GUI support for FreeBSD packages for proxy visualisation.
Title: Re: [SOLVED] Lightsquid
Post by: tm.shyam on October 30, 2016, 11:33:31 am
thank you franco, I wish there is one like pfsense does.
Title: Re: [SOLVED] Lightsquid
Post by: franco on October 30, 2016, 05:32:18 pm
I wish too. Our plugin framework is the perfect platform for contributors to step up and help make this a reality in the future. :)

https://github.com/opnsense/plugins


Cheers,
Franco
Title: Re: [SOLVED] Lightsquid
Post by: fabian on October 30, 2016, 09:28:51 pm
The problem is that both programs generate HTML reports which needs to be parsed and regenerated to fit in the design of the other pages. If those tools would generate machine readable files (csv, xml, json etc.), than it would be simple to create a plugin for them.