summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* use tabs rather than spaces, as most of this already did.Chris Buechler2014-11-041-8/+6
|
* remove old DISABLE_PHP_LINT_CHECKING, which dates way back to the CVS days ↵Chris Buechler2014-11-0411-11/+0
| | | | and hasn't been relevant in years.
* touch up textChris Buechler2014-11-041-3/+3
|
* fix invalid ipsec.confChris Buechler2014-11-041-1/+1
|
* Use a better method of finding disks for SMART.jim-p2014-11-041-0/+13
| | | | Old code was inaccurate and also listed entries that were symlinks to other disks
* Restore 3 values back on NAT-T settings Just Enable now its Auto as per ↵Ermal2014-11-041-3/+5
| | | | strongswan default. and off disabled mobike. Ticket #3979
* fix commentChris Buechler2014-11-041-1/+1
|
* Fixup dhcpd interface enabled checkPhil Davis2014-11-031-4/+1
|
* Fix console set interface IP addressPhil Davis2014-11-031-7/+5
| | | | | | | | | | | | | | | | | | | Problem as per forum https://forum.pfsense.org/index.php?topic=83651.0 The problem comes whenever services_dhcpd_configure is called - the global $config gets reset from the actual current config, and any pending changes in the current process are lost. It was introduced by commit 86ce2df in which services_dhcpdv4_configure() does: require_once('pkg-utils.inc') and pkg-utils.inc does various stuff like: if(file_exists("/cf/conf/use_xmlreader")) require_once("xmlreader.inc"); else require_once("xmlparse.inc"); which seems to cause a reset of the $config variable, thus losing the pending changes the user has entered at the console. The top-level code in rc.initial.setlanip really does not need to (and should not) implement any changes along the way - it should collect all the answers from the user, then write_config and then make all the necessary calls to routines to implement the changes on the running system. This fixes it - defer any calls to services_dhcpd_configure() until after all questions are answered and write_config has happened.
* Fix indentRenato Botelho2014-11-031-517/+517
|
* Indent here as wellWarren Baker2014-11-031-7/+7
|
* Set interface address from consol tidy outputPhil Davis2014-11-031-5/+4
| | | | | | | | | While trying to see why this is not working for me (forum https://forum.pfsense.org/index.php?topic=83651.0 ) I have fixed some little things: 1) Get the new-lines right so the output of the restarting looks neat 2) Fix a comparison that had just a single equal sign - it did not break anything real because the subsequent code was just text output to the console. Now that text output does take notice of the correctly-evaluated condition, and $interface is not overwritten. The issue in the forum post, about the interface IP address config not actually changing, is still the case, at least for me. IMO these little tidy ups might as well be committed. They make this code better!
* Properly configure NAT Tranversal setting.Ermal2014-11-011-21/+28
|
* Remove debugging codeErmal2014-11-011-3/+1
|
* Properly test if FCGI is calling or are being triggered from shell. Normally ↵Ermal2014-11-011-2/+2
| | | | Fixes #3361
* Properly test if FCGI is calling or are being triggered from shell. Normally ↵Ermal2014-11-011-1/+1
| | | | Fixes #3361
* Fixes #3938. Do more error checking.Ermal2014-11-011-2/+4
|
* Fixes #3941. When optimizations of the loops were made this brought the ↵Ermal2014-11-011-6/+6
| | | | problems of overriding default gateway by dynamic interfaces. Try to stick to the first found for now!
* clarify logs generated by newwanip(v6) when restarting packages, it's not ↵Chris Buechler2014-11-012-2/+2
| | | | only IP changes that end up here (by design).
* Fix two more instances of rrd.tgz renaming.jim-p2014-10-311-2/+2
|
* Kill states associated with the old WAN IP when WAN IP has changed. RetainChris Buechler2014-10-301-1/+4
| | | | | | hidden config option to wipe all states on IP change, as there seemed to be circumstances where the 'pfctl -k $oldip' didn't suffice for others (much of history in redmine ticket, some on forum and elsewhere). ticket
* Allow accept_unencrypted_mainmode_messages to be enabled if neededErmal2014-10-301-0/+5
|
* only kill all states if the IP changed. ticket #1629Chris Buechler2014-10-301-3/+5
|
* Hide burst for limiters, since it doesn't do anything. more details inChris Buechler2014-10-291-9/+10
| | | | ticket #3933
* fix up textChris Buechler2014-10-292-4/+4
|
* FreeBSD fails to set advskew back to 0 after you set it to any otherChris Buechler2014-10-281-4/+16
| | | | | | | value. That's a separate issue that needs fixing upstream, but in the mean time, we can work around it by removing all CARP VIPs in the same way we do when "Temporarily Disable CARP" is chosen before adding them all back. Ticket #3910
* Add option to kill all states on IP change, currently a hidden option for ↵Chris Buechler2014-10-281-0/+6
| | | | more testing. ticket #1629
* Remove redundancy as pointed out by phil-davisRenato Botelho2014-10-281-7/+3
|
* Merge pull request #1297 from phil-davis/patch-23Renato Botelho2014-10-281-7/+42
|\
| * Support converting an IP range to an array of addressesPhil Davis2014-10-241-12/+52
| | | | | | so that it can be used for expanding ranges in host alias input.
* | Decode recently created cert and key. It fixes #3964. While here, fix ↵Renato Botelho2014-10-281-3/+3
| | | | | | | | logical condition to create a new cert if crt or key is not present
* | domain and search should not both be defined in resolv.conf per FreeBSD man ↵Chris Buechler2014-10-251-4/+4
| | | | | | | | page and handbook (only the latter is actually used). Change this to just not use domain, and set the search to the system's domain where not using the function that generates the search list for dynamic WANs.
* | Enable unity plugin as per request from ↵Ermal2014-10-241-3/+2
| | | | | | | | https://forum.pfsense.org/index.php?topic=79737.msg452808#msg452808
* | Merge pull request #1313 from phil-davis/patch-9Renato Botelho2014-10-231-1/+8
|\ \
| * | Prevent Internal Server Error if range is backwardsPhil Davis2014-10-211-1/+8
| | | | | | | | | | | | Fixes redmine #3950 - ip_range_to_subnet_array can easily swap the input parameters if the caller has passed/entered them the wrong way around. That is both friendly to the caller and ensures that a hostile caller can't blow up the routine. This patch is for master (2.2)
* | | remove the command number shown in the shell prompt, it's a pointlessChris Buechler2014-10-211-1/+1
|/ / | | | | | | waste of screen space
* | hostnames can end with a . (and actually always do, it's just usually ↵Chris Buechler2014-10-211-1/+1
| | | | | | | | implied), so allow that here. Fixes wrong input validation in parts of nsupdate GUI, among other things.
* | Merge pull request #1306 from phil-davis/patch-3Renato Botelho2014-10-201-0/+4
|\ \
| * | Support up to 4 DNS Servers in DHCPPhil Davis2014-10-071-0/+4
| | |
* | | Let user decide if he wants to proceed to the upgrade when sha256 fails to ↵Renato Botelho2014-10-201-1/+8
| | | | | | | | | | | | download. Fixes #3576
* | | Underscores are valid characters in domains. Fixes #3219Chris Buechler2014-10-191-1/+1
| | |
* | | Ticket #3932 For more than 100 entries create pipes in line with the rules ↵Ermal2014-10-181-7/+21
| | | | | | | | | | | | file to speedup the process
* | | Add command line script to generate and activate a new GUI certificate.jim-p2014-10-151-0/+8
| | |
* | | Fix descriptions and cn on generated GUI cert to be consistent.jim-p2014-10-151-3/+3
| | |
* | | Reintroduce the vfs.forcesync systlErmal2014-10-151-1/+2
| | |
* | | Merge pull request #1309 from phil-davis/patch-5Renato Botelho2014-10-151-2/+2
|\ \ \
| * | | Fix #3935 Properly allow WAN without LANPhil Davis2014-10-151-2/+2
| | | | | | | | | | | | Was broken by https://github.com/pfsense/pfsense/commit/bd0b5d2dc7a279d3473a65a11d67efb5e39392be
* | | | Tame the poodle. Disable SSLv3.jim-p2014-10-151-0/+1
|/ / /
* | | rename interfaces_carp_setup to interfaces_sync_setup and call it during ↵Ermal2014-10-154-5/+6
| | | | | | | | | | | | bootup since it does not only relate to carp interfaces.
* | | Ticket #3789. Put a start at using the proxyurl/proxyport from system ↵Ermal2014-10-151-0/+8
| | | | | | | | | | | | configured settings for bogons. It still does not consider the user/pass configured
OpenPOWER on IntegriCloud