5923 Commits

Author SHA1 Message Date
Ad Schellevis
5c6a2ef883 remove duplicate code in interfaces.inc 2016-09-14 21:23:50 +02:00
Ad Schellevis
87011debbf (vips) remove odd logic 2016-09-14 21:21:09 +02:00
Ad Schellevis
ac8eba7d0f another test 2016-09-13 20:28:30 +02:00
Ad Schellevis
bc2765ea86 bring vips down when interface is down, fix carp setup order. 2016-09-12 20:50:52 +02:00
Ad Schellevis
b90babbfd2 add opnsense-auth helper for pam support, https://github.com/opnsense/core/issues/998 2016-09-12 20:38:48 +02:00
Ad Schellevis
7b59e10cf8 (openvpn, auth) remove dead code 2016-09-12 18:36:11 +02:00
Ad Schellevis
9ba2b2f620 (ipsec, xauth) cleanup ipsec.auth-user.php script before moving to pam.
The old script had a lot of unused code in it, either stuff that couldn't be configured from OPNsense or dead code.
2016-09-12 18:16:46 +02:00
Ad Schellevis
f4e6e6f457 add some comments 2016-09-09 21:09:49 +02:00
Ad Schellevis
c7b1e46219 (interfaces/qinq) fix typo's 2016-09-09 18:02:48 +02:00
Ad Schellevis
ed4c923c97 Revert "(ids) style fix", aaa0ddafe1 can cause "Allowed memory size of ... bytes exhausted", better to set a sane default max here.
This reverts commit aaa0ddafe1179cebc68146bdc3c30b8b90c564b8.
2016-09-09 15:16:25 +02:00
Ad Schellevis
cf34abbac4 (firmware) change loader.conf.local generation, as discussed with @fichtner 2016-09-09 09:43:06 +02:00
Ad Schellevis
65653b7c97 missing global in filter.inc 2016-09-08 15:06:12 +02:00
Ad Schellevis
0e158f0b0c (filter.inc) simply check if not empty 2016-09-08 14:05:33 +02:00
Ad Schellevis
6c7224072d missed an enter in the previous commit 2016-09-08 10:48:29 +02:00
Ad Schellevis
af66f0da7c (firmware) add configd "firmware loader" commands to control the contents of /boot/loader.conf.local
plugins can use this call to register new bootup parameters, new commands added:

configctl firmware loader show
configctl firmware loader rm <parameter>
configctl firmware loader edit <parameter> <value>
2016-09-08 10:44:55 +02:00
Ad Schellevis
d3d583ab83 (firewall, nat) change "Redirect target IP" to alias/host selectionbox like the rest. 2016-09-06 21:00:06 +02:00
Ad Schellevis
801d7ca05a (crashreport) PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/services_unbound.php on line 176 2016-09-05 21:24:43 +02:00
Ad Schellevis
64f3742fb3 (crashreport) PHP Warning: Illegal string offset 'rule' in /usr/local/www/diag_logs_filter.php on line 277 2016-09-05 21:17:01 +02:00
Ad Schellevis
2f741d7ad4 (crashreport) limit output chunks to 5MB, if we can't find </head> within that area it's very unlikely that it exists in the output.
report:
PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 35997807 bytes) in /usr/local/www/csrf/csrf-magic.php on line 144
2016-09-05 21:12:57 +02:00
Ad Schellevis
aab13817d7 (packet capture) limit the maximum number of output lines, prevent "PHP Fatal error: Allowed memory size of ..."
collected from crashreport
2016-09-05 20:26:51 +02:00
Ad Schellevis
d26cbd6615 (crashreport) PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/vpn_openvpn_csc.php on line 406 2016-09-05 20:16:17 +02:00
Ad Schellevis
ca1270a8cf missing parameter in system_usermanager_settings_ldapacpicker.php 2016-09-05 20:08:39 +02:00
Ad Schellevis
69e28f8491 (firewall) remove extra button, closes https://github.com/opnsense/core/issues/1173 2016-09-05 18:29:35 +02:00
Ad Schellevis
9503d722d9 (firewall) unhide bottom row for https://github.com/opnsense/core/issues/1173 2016-09-05 16:11:38 +02:00
Ad Schellevis
e98569bbec (IDS) missing plugin for https://github.com/opnsense/core/issues/1018 2016-09-05 14:24:48 +02:00
Ad Schellevis
b9ff688b9e (IDS) add syslog support, closes https://github.com/opnsense/core/issues/1018 2016-09-05 14:24:07 +02:00
Ad Schellevis
69d2c462e7 (mvc) glitch in JS error handling, closes https://github.com/opnsense/core/issues/1163 2016-09-05 11:48:17 +02:00
Ad Schellevis
f7217de593 Merge pull request #1155 from fabianfrz/cleanup
changes in services_unbound_advanced.php
2016-09-05 11:38:28 +02:00
Ad Schellevis
9dfee192dd (openvpn, csc) add tunnel_networkv6 for https://github.com/opnsense/core/issues/1161 2016-09-05 10:21:06 +02:00
Ad Schellevis
6abb99d072 Merge pull request #1171 from fabianfrz/translation
fix translation in firewall_virtual_ip.php
2016-09-05 09:04:58 +02:00
Ad Schellevis
15374ba7e2 (cron) missing translation, thanks @fabianfrz 2016-09-04 20:06:37 +02:00
Ad Schellevis
c3daf44a7c (cron) add some spacing 2016-09-04 16:44:37 +02:00
Fabian Franz
a94af0da51 fix translation in firewall_virtual_ip.php 2016-09-04 13:26:46 +02:00
Fabian Franz
d1e9265fa9 changes in services_unbound_advanced.php
* translation fixes (for example submit button)
* remove some not operators
* make short echo tags look more like a template
2016-09-03 17:27:37 +02:00
Franco Fichtner
d73199570f dashboard: this needs absolte redirects, some missed spots
Relative redirect is used almost everywhere, but to be honest
it looks safer to make all paths absolute.

PR: https://github.com/opnsense/core/issues/1168
2016-09-02 10:06:01 +02:00
Franco Fichtner
a85a46b8d0 dashboard: url_safe() redirects
PR: https://github.com/opnsense/core/issues/1168
2016-09-02 09:55:20 +02:00
Franco Fichtner
73e585432c pkg: small typo in keyword file 2016-09-02 09:20:27 +02:00
Franco Fichtner
bd66467db8 rc: do not clobber php.ini up front
PR: https://forum.opnsense.org/index.php?topic=3573.0
2016-09-02 08:29:40 +02:00
Ad Schellevis
f95082442a add ksort() to previous 2016-09-01 20:59:43 +02:00
Ad Schellevis
74e8e203b1 (openvpn) refactor openvpn_get_cipherlist and openvpn_get_digestlist, fix compatibilty with both --show-ciphers outputs 2016-09-01 20:52:46 +02:00
Franco Fichtner
6f503e565a system: add dynamic DNS update to cron 2016-09-01 20:50:58 +02:00
Franco Fichtner
c6d2cca0e9 lang: s/Automagic/Automatic/g
Suggested by: SimonB
2016-08-31 16:19:49 +02:00
Franco Fichtner
927f4e0efe plugins: do not call write_config() in plugins_interfaces()
Since we weaved the latter into the former, we can now get rid of
the transition code.  The behaviour doesn't change.
2016-08-31 09:36:49 +02:00
Franco Fichtner
143e759f00 ids: first pass for simpler ruleset handling #1129
This does:

o Enable/disable all text as opposed to confusing icons of
  checkboxes.  Also mark them as "primary".
o Make the info button a pencil / edit button as we can modify
  data from there.
o Minor cleanups.

Missing:

o Removing the toggle buttons for each rule (the edit button
  is sufficient).  Haven't done this because the rowtoggle
  mechanism is probably better adapted by @adschellevis.
o Maybe move the enable disable all buttons back to the bottom.
2016-08-31 08:40:33 +02:00
Franco Fichtner
1611955b2d openvpn: more tweaks for previous
There is no need to visually overload the field descriptions with
stop chars like a slash, the help is sufficient in explaining that
multiple networks can be used and the chances are high that most
will only ever use one network here.
2016-08-31 07:54:26 +02:00
Franco Fichtner
db356ac9b0 openvpn: annotate IPv4 where appropriate
Suggested by: SimonB via Pootle
2016-08-31 07:48:23 +02:00
Franco Fichtner
9a557bdf8f make: and once more ;) 2016-08-29 20:32:09 +02:00
Franco Fichtner
75e4f8ee2a make: tweak previous 2016-08-29 20:27:33 +02:00
Franco Fichtner
571bc8c9a6 make: make use of WRKSRC and PKGDIR 2016-08-29 20:08:47 +02:00
Ad Schellevis
8eae446e8b rework https://github.com/opnsense/core/pull/1160 2016-08-29 20:04:20 +02:00