summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rather than setting the value directly, minimize exposure to eval() in ↵RELENG_2_3_2jim-p2017-02-071-2/+5
| | | | update_config_field() from wizard.php by constructing a variable reference, then set the value using the reference rather than passing user input through eval(). Fixes #7230
* Convert easyrule.php to use a confirmation landing page so that the ↵jim-p2017-02-072-22/+67
| | | | | | parameters can be submitted via POST. Also, remove the JavaScript confirmation box since it is now redundant. Fixes #7228 The confirmation page displays the submitted parameters for an extra user sanity check. Also fixed a bunch of page formatting issues that were not apparent because users rarely if ever saw output from the page.
* Encode the contents of pkg_filter before output. Fixes #7227jim-p2017-02-071-1/+1
|
* Encode 'from' and 'to' before output on pkg_mgr_install.php. Fixes #7225jim-p2017-02-071-1/+1
|
* Add .zanata-cache to .gitignoreRenato Botelho2017-02-061-0/+1
|
* Revert PERL related default options from net-mgmt/net-snmpDanilo G. Baio (dbaio)2017-02-061-1/+1
| | | | (cherry picked from commit 282d025d9756ba8ace2bcfa092e87d5ad6d338da)
* Build acme pkgjim-p2017-02-031-0/+1
|
* The confirmation checkboxes on diag_resetstate.php should not be checked by ↵jim-p2017-01-171-2/+2
| | | | default.
* Add IPsec to the state table interface list.jim-p2017-01-121-0/+1
|
* Enable net-snmpd for experimentationjim-p2017-01-122-0/+4
|
* Do not write a 'restrict' line to the NTP config if it will be empty. Fixes ↵jim-p2017-01-111-10/+12
| | | | #7110
* Fix IPv4/IPv6 copy paste error in OpenVPN client-specific overrides. Ticket ↵jim-p2016-12-301-1/+1
| | | | #7053
* Fix field type for TFTP in DHCP server settingsjim-p2016-12-231-0/+1
|
* Fix variable name used to pre-fill the NTP orphan mode field, add ↵jim-p2016-12-231-1/+2
| | | | placeholder with the default while I'm here. Fixes #7034
* Fix display of the number of states in the firewall rules pageplumbeo2016-12-211-1/+1
| | | | | | For numbers greater than 1000 format_number() returns strings formatted like N.NNN K/M/G/T, that get cut to only the integer part if '%d' is used. (cherry picked from commit ef0e956e48ec1b97a307a546cbc24d00872cde1f)
* Fix up validation and encoding on Captive Portal status pages. Fixes #7019jim-p2016-12-175-46/+69
|
* Suppress error logging for Diag > Command Prompt so an error in user-entered ↵jim-p2016-12-161-1/+1
| | | | code doesn't offer to submit a crash report. A notice is still generated since PHP <7 doesn't yet have error_clear_last(). Fixes #6702
* If nothing is enabled that requires xinetd, do not run xinetd. Fixes #6308jim-p2016-12-151-12/+16
|
* Set proper options for scponly. Fixes #7012jim-p2016-12-151-0/+3
|
* Check for lo0 when reconfiguring VIPs on sync. Fixes #7010jim-p2016-12-131-1/+1
|
* Fix copy/paste error in variable test.jim-p2016-12-091-2/+2
|
* Create a dummy /etc/printcap when starting bsnmpd so it it will not log ↵jim-p2016-12-021-0/+5
| | | | errors. Fixes #6838
* Add missing L2TP from this gateway handling case. Fixes #6980jim-p2016-12-021-0/+1
|
* Fix reversed accounting styleplumbeo2016-12-021-1/+1
| | | | (cherry picked from commit f3838572c59ea5ebe656851511c75d217afec815)
* Send packages to files03 tooRenato Botelho2016-11-281-1/+1
|
* Disable PAM when using only key-based authentication, otherwise ↵jim-p2016-11-251-1/+1
| | | | keyboard-interactive fails. Fixes #6963
* Build hpingjim-p2016-11-181-0/+1
|
* Fix #6918 Allow aliases with capital letters in rulesPhil Davis2016-11-142-2/+20
| | | | | | | | | | Expand the types of Form_IpAddress so that the caller can specify exactly what combination of IPv4, IPv6 address and alias is allowed for the field. Set the appropriate input pattern and hover help text. Only toLowercase() the entered value if it has a ":" in it - i.e. it looks like it is intended to be an IPv6 address (rather than an IPv4 or an alias name).
* Consider the IPv6 checksum options when dealing with "Disable hardware ↵Luiz Otavio O Souza2016-11-101-0/+12
| | | | | | | | checksum offload". Ticket #5321 (cherry picked from commit 411d4e6e55475cc66b997ca3e47478dbe10b4e1b)
* Fix bug where CARP vip status is incorrent in the interface when moreFredrik Rönnvall2016-11-101-1/+4
| | | | | | than one CARP vip is configured for an interface. (cherry picked from commit 5116a8aa60ad87c0a47aafeca422cc323147ea14)
* Remove "use lowercase" hintPhil Davis2016-11-101-2/+2
| | | | | | | As it is no longer relevant, because the code now automatically converts to lowercase. (cherry picked from commit 6a54698517430760ddcbc84dd0476046d3926b31)
* Fix #6864 automatically convert IPv6 input to lowercasePhil Davis2016-11-101-0/+5
| | | | | | | | | | 1) As the user leaves the field, or presses Save, onChange will fire and convert the input string to lowercase. This saves the user havng to even think about it. 2) Provide some extra text that describes the expected format, to avoid them getting just "Please match the requested format" (cherry picked from commit d461ff40e364fc0ecc003b9f673cbad7c6a08f2f)
* Enable ALTQ for cxl. Fixes #6830Renato Botelho2016-11-041-1/+1
|
* OpenBSD removed the pf FAQ page for shaping, so link to the proper page on ↵jim-p2016-11-041-4/+4
| | | | archive.org since they offer no current equivalent and no other suitable replacement page is immediately available. Fixes #6781
* Fix #6758Renato Botelho2016-10-272-0/+2
| | | | | | | | extensions.ini must be readable by any users otherwise any php script called by a non-root user will not be able to use PHP extensions This is a direct fix for RELENG_2_3_2 since extensions.ini is not being used anymore on RELENG_2_3 or master
* Import a patch to fix Net_IPv6::compress("::")Renato Botelho2016-10-271-2/+4
| | | | | Obtained from: https://github.com/phil-davis/Net_IPv6/commit/638b96a253164b65c63825c38e79812b6c5f448d Submitted by: @phil-davis
* Make sure we consume staging packages on build process after pfSense-repo ↵Renato Botelho2016-10-261-13/+19
| | | | became a package
* Fix display advanced after input error for system_gateways_editPhil Davis2016-10-251-6/+6
| | | | | | | | | | | | | | Use case: 1) Edit a gateway that has no advanced settings (i.e. the Advanced section does not need to open on page load) - that works fine. 2) Modify the Gateway IP Address to something invalid like 1:2::z 3) Press Save The error is shown - "A valid gateway IP address must be specified" - good. The Advanced section is shown - not good. The problem is that after POSTing the page, and the resulting validation, finding an input error, and re-displaying the page, each of the $pconfig keys is set, even though set to the empty string "". So the isset() tests are true, and it gets the wrong idea. We only care about these parameters if they are not "". In this case !empty() gives the correct result, because although a value of 0 will be considered empty, 0 is not allowed by the front-end of the UI anyway (as it happens, these parameters are not allowed to be 0), so we never get that case. And by the way, I generally hate empty() because of having to think of all its quirks. (cherry picked from commit ebfcfeb59ab4093d6e0d60e95c880d3339e4789d)
* Better handle no dhcpv6 leases filePhil Davis2016-10-251-3/+10
| | | | (cherry picked from commit 2355c154b7598f937ba2121429659f5676ce4d96)
* Fix #6872 CP bandwidth 0 is no validPhil Davis2016-10-251-1/+1
| | | | | The front-end validation prevents zero from being entered. "Leave empty" is the way to specify no limit. (cherry picked from commit b7f2ebb5448f7992cceec899504bdd0a29058fb9)
* Make setup_serial_port() write config files safelyRenato Botelho2016-10-141-72/+91
| | | | | | | | | | This function used to replace /boot.conf, /boot/loader.conf and /etc/ttys on every call. Depending of the moment a power failure happens, any of these files can be blank and it'll break console setup on next boot. Usa safe_write_file() to save these 3 files to disk to make sure they are sync'd
* Change safe_write_file $content parameter to accept an arrayRenato Botelho2016-10-141-2/+10
|
* Make $force_binary parameter optional, default to falseRenato Botelho2016-10-141-2/+2
|
* Prevent /etc/ttys to miss essential linesRenato Botelho2016-10-141-3/+40
| | | | | | | We do not create /etc/ttys from scratch but we change it on every boot. If original file is corrupted for some reason we can end up with a file missing essential lines. Added a check to verify if these lines are missing and add them back in this case
* Merge pull request #3153 from NewEraCracker/RELENG_2_3_2+Renato Botelho2016-10-121-3/+10
|\
| * Backport save_widget_settings with 3 arguments from RELENG_2_3NewEraCracker2016-10-121-3/+10
| | | | | | | | Commit 6f1410582412fe771f51bd8b67bcbb952da97db6 introduced code relying on this
* | Fixup ntpd IPv6 restrict clauses.phroggie2016-10-121-1/+1
|/ | | | | | | | This should eliminate the following errors from the ntpd log file when using IPv6 or dual-stack networks: "syntax error, unexpected T_Mask, expecting T_EOC" (cherry picked from commit daed7646d7e8e5d555676299ce660408b490ef81)
* Fix typo: The input field is named source_hash_keyNewEraCracker2016-10-071-3/+3
| | | | (cherry picked from commit 870b9bc11b993ce8122b448083d29a04bcb30151)
* Fix static blackhole routes. Bug was introduced inphroggie2016-10-071-1/+1
| | | | | | 8be135cd114fbc9294ec9dafed2125d0e553956c (February, 2013). (cherry picked from commit 580bef1ee3052437487553fcc5dc8428ca665098)
* Spelling mistake "system_gateways.php"Colin Fleming2016-10-071-1/+1
| | | | | | Fix spelling mistake in "system_gateways.php" (cherry picked from commit 47180823dc0560801085a227abf512e265363b16)
OpenPOWER on IntegriCloud