summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Make sure we don't have any extra whitespace here.jim-p2012-08-071-2/+3
|
* Change rcfileprefix to a constantphildd2012-08-071-12/+11
|
* Change rcfileprefix to a constantphildd2012-08-071-5/+5
|
* Change rcfileprefix to a constantphildd2012-08-071-2/+2
|
* Minor text typo in DynDNS log messagePhil Davis2012-08-061-6/+6
| | | I noticed the "Inital" typo in my syslog, so thought I might as well scan through the DynDNS messages and fix it up.
* Minor fix to percentage output on pkg installPhil Davis2012-08-031-3/+5
| | | | A variable not changed in a cut-paste. When on console, update_progress_bar should also only be called for 1-9 then every 10% progress, to reduce serial output volume.
* Activate more Hash, DH, and PFS options that are available in racoon now. ↵jim-p2012-08-021-6/+31
| | | | Note that SHA256-512 are RFC4868 compliant in FreeBSD, may break with other incompatible stacks.
* Ensure conf_mount_rw and conf_mount_ro are matchedPhil Davis2012-08-021-18/+27
| | | | | | | | | | | | | | | | | | | | | | | On nanobsd, running /etc/rc.update_bogons.sh gives: [2.1-BETA0][admin@test02.homedomain]/tmp(12): /etc/rc.update_bogons.sh 1 /etc/rc.update_bogons.sh: cannot create /etc/bogonsv6: Read-only file system The code does 1 conf_mount_rw but 2 conf_mount_ro This is also seen in system.log: Aug 2 17:47:59 test02 admin: rc.update_bogons.sh is starting up. Aug 2 17:47:59 test02 admin: rc.update_bogons.sh is beginning the update cycle. Aug 2 17:49:27 test02 admin: Bogons file downloaded: 1 addresses added. Aug 2 17:49:29 test02 php: : Reference 1000 is going negative, not doing unreference. Aug 2 17:49:29 test02 admin: Bogons files downloaded: no changes. Aug 2 17:49:29 test02 admin: rc.update_bogons.sh is ending the update cycle. The V6 bogons file does not get applied because the filesystem is RO by that point. I have reviewed the whole logic of this shell script. I believe it handles the various cases correctly now. On nanobsd I get the following in system.log: Aug 2 18:17:13 test02 admin: rc.update_bogons.sh is starting up. Aug 2 18:17:13 test02 admin: rc.update_bogons.sh is beginning the update cycle. Aug 2 18:18:02 test02 admin: Bogons V4 file downloaded: no changes. Aug 2 18:18:10 test02 admin: Bogons V6 file downloaded: 58959 addresses added. Aug 2 18:18:52 test02 admin: rc.update_bogons.sh is ending the update cycle.
* Tidy package cleanup outputPhil Davis2012-08-021-0/+2
| | | | Add a "done." and newline after "Cleaning up..." Then when output is going to the serial console the next line will start cleanly and %age figures will not write over the top of "Clean".
* Tidy up percentage logging to consolePhil Davis2012-08-021-2/+8
| | | | | When on the console, the code only intended to update the percentage downloaded every 10%. Due to string-and-int type differences, the test was not working, all percentages were being logged. This is fixed. Also, add a newline after 100% - then whatever outputs next gets a clean start on a new line of output. Tidies up the console output during a post-firmware-upgrade package install.
* Ensure this gets a set default value or things can breakjim-p2012-08-011-0/+3
|
* Correct variable name. Fixes #2571jim-p2012-08-011-1/+1
|
* Silence tar command to not garble consoleErmal2012-08-011-5/+5
|
* To not clobber the console add \r when outputing status information on consoleErmal2012-08-011-20/+20
|
* Correct mod_evasive setting per CP to confirm to what the CP page ↵Ermal2012-08-011-3/+4
| | | | description says. Resolves #2270
* Refine testErmal2012-08-011-3/+3
|
* Do some cleanup of code for zonesErmal2012-08-011-14/+9
|
* Correct generation of lighty config for CP now that zone is passed as parameterErmal2012-08-011-35/+16
|
* Merge pull request #196 from mtharp/dhcpv6-relayErmal Luçi2012-07-311-10/+13
|\ | | | | Get DHCPv6 relay working (#1663)
| * Construct the arguments to dhcrelay -6 correctlyMichael Tharp2012-07-301-10/+13
| | | | | | | | Implements ticket #1663
* | Try to keep existing files rather than unlinking/replacing when restoring ↵jim-p2012-07-311-2/+2
| | | | | | | | the package libraries during a package removal. Needs some testing, but for NanoBSD it fixes #1049
* | Unlock on returnErmal2012-07-311-0/+2
| |
* | There is no need to remove the @ from function names. Also properly unlock ↵Ermal2012-07-311-27/+27
| | | | | | | | in case of exception. Size is constant and we know it no need for extra call to shmop. Put some more error checking just in case
* | Don't conf_mount_rw every time packages are listedPhil Davis2012-07-311-3/+3
| | | | | | | | Every time System:Packages is selected, the code does a conf_mount_rw, checks for existence of some dirs, then does conf_mount_ro. This makes navigating the package install GUI slow on nanobsd, and it is not needed. Do is_dir checks first, then conf_mount_rw only if they need to be created. The is_dir function works fine on a read-only filesystem.
* | Make access to shared memory atomicPhil Davis2012-07-311-13/+30
|/ | | | Use lock and unlock to make sure that all incrementing and decrementing of the reference count in the shared memory section is atomic. This ensures that there are not unusual timing conditions that could see 2 callers trying to update the reference count at the same time, which could result in the count never returning to zero. If that happened, then the filesystems would never be restored to read-only. (this is really just relevant to nanobsd) (note that shmop_* calls in php do not do any locking themselves - callers must coordinate their own access to the shared memory section) I also made the number stored in the shared memory be an ordinary integer followed by null chars to pad out the rest of the shared memory section. This makes the numbers stored look normal, and ensures that there is no other rubbish left in memory after them to cause problems on reading.
* Fix negative testjim-p2012-07-301-2/+2
|
* Pad data when adding to refcount reference, to avoid some oddities with how ↵jim-p2012-07-301-2/+2
| | | | php handles such data. http://forum.pfsense.org/index.php/topic,51188.msg278141.html#msg278141
* Remove this filter configure call, something else will take care of this and ↵smos2012-07-281-2/+0
| | | | we don't need to do that here.
* Supress the error message if the ldap bind doesnt happenWarren Baker2012-07-271-1/+1
|
* Add the new 100.64/10 nat 444 CGN/LSN shared transition space netblock here. ↵smos2012-07-272-0/+2
| | | | Also add it as a private network in the private network block
* 99./8 is not private IP spaceChris Buechler2012-07-261-1/+0
|
* Merge pull request #192 from phil-davis/masterSeth Mos2012-07-251-17/+22
|\ | | | | Validate advanced gateway monitoring settings
| * Put apinger default values into a functionPhil Davis2012-07-251-17/+22
| | | | | | The default advanced apinger parameter values are now returned by function return_apinger_defaults. So they can easily be obtained by any code that cares.
* | Allow dom_title width parameter to be nullphildd2012-07-261-2/+2
|/ | | | This prevents warning messages if called without the width parameter - reported in forum http://forum.pfsense.org/index.php/topic,51822.0.html The code already handles width being NULL or blank, it just needs to be explicitly defaulted when the parameter is not passed at all.
* Add done after NTP Time Client start messagePhil Davis2012-07-251-2/+3
| | | Add a done and newline so the console messages at boot all line up the same.
* Merge pull request #98 from namezero111111/patch-1Ermal Luçi2012-07-221-0/+9
|\ | | | | Minimal non-intrusive change for SSHDCond package extra parameters
| * Minimal non-intrusive change for SSHDCond package extra parametersNamezero2012-05-041-0/+9
| |
* | Remove unused set_time_limit in php.iniPhil Davis2012-07-221-2/+1
| |
* | Expand cipher list and remove a cipher that Safari on iOS does not like ↵jim-p2012-07-181-1/+1
| | | | | | | | after recent lighttpd changes. Fixes #2553
* | Fix these perms toojim-p2012-07-182-0/+0
| |
* | Fix perms on rc.openvpn, seems to work with that set.jim-p2012-07-181-0/+0
| |
* | Actually reflect the right timeout values for redmine ticket #2552smos2012-07-181-1/+1
| |
* | Set the date.timezone from the XML directly when we setup PHP to prevent ↵smos2012-07-181-3/+7
| | | | | | | | | | | | | | | | | | messages Adjust the timeouts to something more sane then 99999999. Do note that these might need to be adjusted later. Also note that most of these are not applicable when used from the CLI. The maximum time limit is now 1 hour, execution time is 15 minutes and input time for post is 30 minutes (firmware upgrade) Redmine ticket #2552
* | Make sure that we process the logic statement correctly, otherwise we might ↵smos2012-07-181-2/+2
| | | | | | | | accidentally end up missing dual stacked or tunneled interface gateways
* | Merge pull request #175 from marcelloc/masterSeth Mos2012-07-151-48/+53
|\ \ | | | | | | pkg_edit - add show_disable_value option to select_source xml option
| * | include check to avoid function_exist errorsmarcelloc2012-07-121-48/+53
| | |
* | | Correctly handle getopt so notifications are sentWarren Baker2012-07-111-1/+1
| | |
* | | Be more verbose during upgrade to see why nanobsd isn't carrying over the ↵jim-p2012-07-082-0/+4
| | | | | | | | | | | | setting as expected.
* | | Fix for this crash report, received after resetting a test system to factory ↵Phil Davis2012-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defaults and setting up initila stuff: i386 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Sat Jul 7 21:34:19 EDT 2012 root@FreeBSD_8.3_pfSense_2.1.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 Crash report details: PHP Errors: [08-Jul-2012 14:51:29 UTC] PHP Fatal error: Cannot use string offset as an array in /etc/inc/system.inc on line 1274
* | | Move locale files from /usr/share to /usr/local/shareVinicius Coque2012-07-061-1/+1
|/ /
OpenPOWER on IntegriCloud