16 Commits

Author SHA1 Message Date
Ad Schellevis
8f060d4a7a Netflow/insight and the endless UFS instability... in some cases sqlite can't figure out database inconsistencies by itself. In these cases it is practical to force a repair (rebuild) of the underlaying files manually.
This commit adds an option in reporting_settings.php to request a dump/import from https://github.com/opnsense/core/blob/18.1.9/src/opnsense/site-python/sqlite3_helper.py#L69
2018-06-15 10:31:00 +02:00
Ad Schellevis
4cbc8e1dd1 python, improve performance of reverse_log_reader() by avoiding string copies while parsing. Tried the new method using a 50MB suricata log file, which was parsed about 30% quicker then using the previous version. 2018-05-20 18:45:13 +02:00
Franco Fichtner
342b898218 src: a bit of python code style 2018-04-06 05:37:31 +00:00
Franco Fichtner
345bbec96b src: a bit of python code style 2018-04-03 06:53:55 +00:00
Ad Schellevis
407e4f1ded add clog reader to log_helper module 2017-10-16 21:48:25 +02:00
Ad Schellevis
f2599d3ae6 support stream input in reverse_log_reader() 2017-10-16 21:42:25 +02:00
Ad Schellevis
d567d90012 IPS, cleanup. move libs to shared location 2017-10-16 16:12:59 +02:00
Ad Schellevis
9666ba5b48 better sqlite3 repair and corruption detection for network insight 2017-08-11 19:18:35 +02:00
Franco Fichtner
0c2fefab03 src: transform Ad's copyrights, add e-mail everywhere 2017-08-06 11:19:35 +02:00
Ad Schellevis
1474f77ddc dhcpd watcher (unbound) cleanup mac address, remove ; 2017-04-04 20:15:20 +02:00
Ad Schellevis
e7137c1ec3 dhcpd.leases using wrong timezone, closes https://github.com/opnsense/core/issues/1521 2017-04-04 19:45:42 +02:00
Ad Schellevis
151e633d09 (dhcpd/unbound) don't try to handle empty section, closes https://github.com/opnsense/core/issues/1320 2016-12-31 16:25:50 +01:00
Ad Schellevis
b0aeb04b3f fix typo 2016-08-07 18:51:17 +02:00
Ad Schellevis
5ec2101ac2 (insight) check database integrity before start, repair if broken 2016-08-07 16:10:19 +02:00
Franco Fichtner
a8006f272e src: align a few headers and sweep whitespace 2016-03-07 07:30:02 +01:00
Franco Fichtner
2a1afe9ec3 site-python: move to private opnsense dir
Discussed with: @adschellevis
2016-02-29 20:34:28 +01:00