summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Protect single quotes as well to prevent JS injection, due to the way this ↵jim-p2015-06-161-10/+10
| | | | | | | | | | | | page uses single quotes for attributes.
* | | Encode parameters in system_advanced_firewall.php before displaying back to ↵jim-p2015-06-161-5/+5
| | | | | | | | | | | | the user.
* | | Keep a copy of old mtree binary during upgrade and use it to avoid crashing. ↵Renato Botelho2015-06-162-2/+8
| | | | | | | | | | | | Fixes #4563
* | | Check also for old FreeBSD release versionsRenato Botelho2015-06-161-1/+1
| | |
* | | Merge pull request #1722 from chapmajs/fix_hughesnet_pdErmal LUÇI2015-06-151-1/+1
|\ \ \
| * | | Fixing PD size selection for HughesNetJonathan2015-06-151-1/+1
| | | |
* | | | Remove the GUI for the pc-sysinstaller as well and add it to obsoletee filesErmal LUÇI2015-06-153-1278/+3
| | | |
* | | | Remove pc-sysinstall since it was never finished and probably will be not ↵Ermal LUÇI2015-06-1582-10305/+0
|/ / / | | | | | | | | | the choice. If needed can be resurrected
* | | Merge pull request #1721 from phil-davis/styleRenato Botelho2015-06-15186-1558/+1604
|\ \ \
| * | | Code spacingPhil Davis2015-06-15186-1558/+1604
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* | | | Merge pull request #1718 from phil-davis/patch-2Renato Botelho2015-06-151-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | status_queues missing semi-colonPhil Davis2015-06-151-1/+1
|/ / / | | | | | | This really looks like it should have a semi-colon. Somehow the PHP interpreter is not being fussy about it in this context, I guess being followed by the "endif;" keyword the interpreter guesses the previous statement must be done.
* | | Ticket #4655 well manually merge pull/1715. Thanks: PhilErmal LUÇI2015-06-151-3/+9
| | |
* | | add input validation for proxy URL, port, user.Chris Buechler2015-06-141-0/+12
|/ / | | | | | | | | Conflicts: usr/local/www/system_advanced_misc.php
* | Ok another round of this which unbreaks input error validation messagesErmal LUÇI2015-06-131-3/+6
| |
* | Make this right finally :). Thanks-ti: Phil-davisErmal LUÇI2015-06-121-3/+2
| |
* | Add hostid script in the source to solve the issue with platforms that do ↵Ermal LUÇI2015-06-121-0/+137
| | | | | | | | not have proper uuid or duplicate uuid which breaks carp/pfsync and other things in HA setup.
* | Merge pull request #1716 from edwinlee11/patch-1Ermal LUÇI2015-06-121-2/+0
|\ \
| * | Remove track6-interface and track6-prefix-id from interfaces->lan in default ↵Edwin Lee2015-06-121-2/+0
| |/ | | | | | | | | | | | | | | | | | | | | config.xml 1. <track6-interface>wan</track6-interface> and <track6-prefix-id>0</track6-prefix-id> of interfaces->lan from /conf.default/config.xml will get copied over to /cf/conf/config.xml 2. Without going to the LAN interface configuration page to click "Save" at least once, those 2 entries will stay there (even after going through the first run wizard). 3. In the services_radvd_configure function in /etc/inc/services.inc, the existence of those 2 entries will cause /var/etc/radvd.conf to be written with "AdvSendAdvert on;" for the LAN interface 4. Hence, IPv6 router advertisements will be periodically sent even if IPv6 is never enabled for the network.
* | Activate the redirection that for some reason got disabledErmal LUÇI2015-06-121-2/+2
|/
* Ticket #4655 Do not behave against the logic of checkbox and description.Ermal LUÇI2015-06-111-2/+2
|
* Merge pull request #1710 from stilez/patch-4Renato Botelho2015-06-111-10/+2
|\
| * simplify is_ipaddrv4() and fix zero-padding issue stilez2015-06-071-10/+2
| | | | | | | | | | | | | | Fixes these two issues: 1) The historical workaround of testing IPv4 for validity by (a) converting to long (b) converting back again, then (c) comparing to see if it's the same as the original, is redundant. The old issue with ip2long() was fixed in PHP 5.2.10 and invalid IPv4 can now be tested simply by ip2long() === FALSE. 2) The workaround didn't really work optimally anyway as it mis-reported otherwise valid IPs as invalid if any octet or the IP as a whole was zero padded. Some IP lists or IP data sources users might use could be zero padded - an avoidable headache.
* | Merge pull request #1714 from brunostein/fix_checking_nat_destination_portRenato Botelho2015-06-111-2/+2
|\ \
| * | fix checking for overlaps of NAT destination portbruno2015-06-111-2/+2
|/ /
* | Make the host uuid opt-outErmal LUÇI2015-06-112-3/+28
| |
* | Revert "Ticket #4442 Do not process URL aliases during bootup but trigger it ↵Chris Buechler2015-06-102-4/+3
| | | | | | | | | | | | just after finished booting. This completely solves the bootup delays without lowering the timeout as before. Probably need to increase a bit the timeouts now to be friendly to other connections" This reverts commit ec9eb7891780e5f142838c03203ad8ce267ed89e.
* | Send the machine uuid with the headers requesting the version fileErmal LUÇI2015-06-101-1/+1
| |
* | Send the machine uuid with the headers requesting the version fileErmal LUÇI2015-06-101-1/+1
| |
* | Fixes #4537 On 32bit platform do not enable direct dispatch on IPsec since ↵Ermal LUÇI2015-06-101-0/+3
| | | | | | | | it crashes the system
* | Activate sync for the root slice in fstab during upgrade. Ticket #4523jim-p2015-06-101-0/+6
| |
* | If the filesystem is corrupted i do not think fixing pwd DB is a good thing..Ermal LUÇI2015-06-091-4/+0
| |
* | No need to do the same exercise twice.Ermal LUÇI2015-06-091-6/+0
| |
* | Do not call fsck just out of nowhere here since it cannot be the problem or ↵Ermal LUÇI2015-06-091-6/+4
| | | | | | | | fix.
* | Do not disable APc hereErmal LUÇI2015-06-091-3/+0
| |
* | Restore the file system in R/W mode during most of rc script seems required ↵Ermal LUÇI2015-06-091-0/+15
| | | | | | | | on nano. Should unbreak nanobsd
* | Add a space to the script to avoid that appended parameters seem the same as ↵Ermal LUÇI2015-06-091-1/+1
| | | | | | | | existing one
* | Use skel as the source of new user files rather than copying from root.jim-p2015-06-085-1/+28
| | | | | | | | Reported-By: https://twitter.com/fitchitis/status/607850849172373504
* | Do not synchronize alias url during filter reload rather trigger one if neededErmal LUÇI2015-06-081-2/+3
| |
* | Ticket #4442 Do not process URL aliases during bootup but trigger it just ↵Ermal LUÇI2015-06-072-3/+4
| | | | | | | | after finished booting. This completely solves the bootup delays without lowering the timeout as before. Probably need to increase a bit the timeouts now to be friendly to other connections
* | Fixes #4651 use proper var name on global to have the correct id put on the ruleErmal LUÇI2015-06-071-1/+1
| |
* | Re-generate broken .mo files, it fixes #4705Renato Botelho2015-06-072-0/+0
| |
* | Obsolete old pt_BR ISO8859 directory and not current oneRenato Botelho2015-06-071-1/+1
|/
* Clean up, organize, and expand the info presented by status.php. Save the ↵jim-p2015-06-051-79/+97
| | | | | | | output to individual text files and compress them into a .tgz for later download. Conflicts: usr/local/www/status.php
* Fix CARP plugin call for packages, interface was coming through as NULL ↵jim-p2015-06-052-2/+2
| | | | during CARP events.
* Add INIT event for CARP as an alternate for 'backup', otherwise scripts ↵jim-p2015-06-051-0/+6
| | | | would not take down services during a MASTER->INIT transition.
* Also sanitize OpenVPN static/tls keys in status.phpjim-p2015-06-051-0/+2
|
* Merge pull request #1706 from phil-davis/setupwizardlanRenato Botelho2015-06-042-15/+48
|\
| * Setup Wizard can result in invalid LAN DHCP pool calculationPhil Davis2015-06-022-15/+48
| | | | | | | | | | | | | | | | | | | | | | | | 1) consider where the LAN IP is in the subnet range and then put the DHCP pool in the biggest remaining segment, either above or below. 2) Check the size of the available segment. If it is reasonably big then leave some space at either end of the segment, like the old code was doing. Otherwise give all the space to the pool. 3) Do not allow subnet mask 32 - I can't think of a use case for LAN to have a /32 subnet mask, it kind of breaks the whole concept of LAN. 4) Provide more detailed separate messages if the user tries to use the network address or broadcast address as the LAN IP.
* | Merge pull request #1707 from phil-davis/patch-1Renato Botelho2015-06-041-2/+2
|\ \
OpenPOWER on IntegriCloud