Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Need help downloading large firewall logs (around 8GB)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Need help downloading large firewall logs (around 8GB) (Read 2811 times)
eduardodextil
Newbie
Posts: 2
Karma: 0
Need help downloading large firewall logs (around 8GB)
«
on:
July 13, 2023, 11:54:46 pm »
I am currently running on OPNsense 22.7.11. My OPNsense box is connected to a high traffic network and generates log files worth 300MB daily. I am trying to retrieve this log files and the end of the month.
When I attempt to download the log files, it downloads an empty blank file.
I have tried editing the php.ini file in the /usr/local/opnsense/service/templates/OPNsense/WebGui directory increasing the memory limit, upload max_size, post_max_size and changing the execution time as indefinite but I have had no luck so far.
Any Ideas on what parameters I could tune to successfully download large files from OPNsense. ?
I have 16GB memory
115GB disk space.
Thank you.
Logged
Patrick M. Hausen
Hero Member
Posts: 6795
Karma: 571
Re: Need help downloading large firewall logs (around 8GB)
«
Reply #1 on:
July 14, 2023, 09:01:14 am »
Enable SSH and use scp or sftp.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
CJ
Hero Member
Posts: 832
Karma: 30
Re: Need help downloading large firewall logs (around 8GB)
«
Reply #2 on:
July 14, 2023, 03:07:59 pm »
Also, with that much log traffic being generated, you're probably best off having OPNSense send everything to a remote log server instead of trying to manually download the logs occasionally.
Logged
Have Answer, Will Blog
eduardodextil
Newbie
Posts: 2
Karma: 0
Re: Need help downloading large firewall logs (around 8GB)
«
Reply #3 on:
July 14, 2023, 09:15:02 pm »
Remote logging might not be an option in this scenario.
Do you have an idea of what might be preventing this download from working ? Is there an hard coded limit set for firewall download apart from those parameters on the php.ini file ?, Are some design constraint or parameter that can be adjusted ?
After removing some of the firewall log files via STFP, and increasing the limit of the php.ini file the largest size of firewall log files I was able to download was around 600MB.
I also experienced a behavior where the log files are displayed on the web interface instead of a exported log file. This occurrence happened once and I have not been able to reproduce it since.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Need help downloading large firewall logs (around 8GB)