How to save Captive Portal Logs as per day wise
-
Hi,
regarding Captive Portal logs
portalauth.log files contains 4740 entries
How to increase the logs in the file and
How to save logs file as per day wiseIf any more options in Captive portal logs
please guide me….
-
portalauth.log files contains 4740 entries
How to increase the logs in the file andThe code - mostly PHP - should be modified.
Note : only login sequence details can be logged.
As soon as the visitor's IP and MAC are in the captive portal's firewall table, communication becomes pretty untraceable.
Except, of course, if you use stuff like "squid" and the like.How to save logs file as per day wise
Use and external syslogger : Status / System / LogsSettings and activate Enable Remote Logging
Install on the destination IP (a device on LAN) a "syslogger". With this syslogger you can do anything you can imagine, and probably even more.If any more options in Captive portal logs
please guide me….Possible.
But you will have to modify the code - mostly PHP - for this. -
Hi,
alternatively, to have logs inside pfSense with a rotation can be done as below (Method I had used long ago with pfSense 2.2.x):
a) install the Syslog-ng package on pfSense
b) configures Syslog-ng in Services / Syslog-ng / General as follows
Enable (checked)
Interface Selection: LAN
Default Port: 5140
Leaving the rest unchanged and Savec) Now configure the default syslog pfSense to send logs to a remote server where the "remote server" is the same pfSense, then go to Status / System / Settings, activate Enable Remote Logging and put as ip address of the remote server to the LAN interface with the 5140 port, for example 192.168.1.1:5140, for Remote Syslog Contents choose what you want to send. Finally Save
As a final result, Syslog-ng logs will be found in the pfSense filesystem, specifically in /var/syslog-ng/default.log and they can be rotated by turning the configuration of Syslog-ng