OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: skywalker007 on April 23, 2018, 06:13:43 pm

Title: Squid access log over syslog
Post by: skywalker007 on April 23, 2018, 06:13:43 pm
Trying to make squid logging over syslog.
There is a config in the UI to switch on syslog for squid.
I added a remote syslog server in the system settings.
Still not seeing any access logs remotely.
Does any of these config options:
Code: [Select]
System events
 Firewall events
 DHCP service events
 DNS service events
 Mail service events
 Portal Auth events
 VPN (PPTP, IPsec, OpenVPN) events
 Gateway Monitor events
 Server Load Balancer events
 Wireless event
need to be activated? Nothing looks like proxy.
I enabled system events to validate the remote logging works at all and it does.
Any hints?
thanks, Till
Title: Re: Squid access log over syslog
Post by: netranger on December 16, 2018, 03:20:05 pm
Did you find out how?
I am in the exact same situation. External logging works, but no Webproxy logs.
Title: Re: Squid access log over syslog
Post by: scream on July 29, 2019, 10:21:12 am
I search also for such a solution.

I always used this as option in my squid.conf:

Code: [Select]
access_log udp://192.168.4.63:514
Unfortunatly there are no option to add custom options to squid.conf and also no possibility to specify IP/Port in the settings. I can just select between (File, File (Extended) and Syslog).
Syslog is already forwarded but it seems to not forward the squid stuff.

Title: Re: Squid access log over syslog
Post by: franco on July 31, 2019, 01:11:16 pm
This was answered on GitHub: https://github.com/opnsense/core/issues/3609


Cheers,
Franco