Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace php calls to php-cgi, binary is not being renamed anymore | Renato Botelho | 2015-08-20 | 1 | -3/+3 |
| | |||||
* | only read file if it exists, and only foreach if an array. | Chris Buechler | 2015-08-03 | 1 | -9/+13 |
| | |||||
* | Introduce a new item to $g global, 'product_version' and stop reading ↵ | Renato Botelho | 2015-07-31 | 1 | -6/+6 |
| | | | | /etc/version all around | ||||
* | Strip any \r when parsing URL table ports file | Phil Davis | 2015-07-27 | 1 | -1/+1 |
| | | | | If the URL table ports file at the URL specified has lines separated by "\r\n" rather than just "\n", then the code here ends up with ports that look like "80\r" "443\r" ... and group_ports() does not match any of those and the final file ends up empty. That seems a shame just because the file was made in some editor that put "\r\n" line breaks. I messed about for a while trying to make my URL table ports alias work until I realized this. This change first strips out any "\r" from the string, thus making it work with files that have either pure "\n" line breaks or "\r\n" line breaks. | ||||
* | Introduce Netgate RCC-DFF to the list of known platforms | Renato Botelho | 2015-06-23 | 1 | -2/+4 |
| | |||||
* | Code spacing | Phil Davis | 2015-06-15 | 1 | -43/+45 |
| | | | | | | | 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. | ||||
* | Make the host uuid opt-out | Ermal LUÇI | 2015-06-11 | 1 | -3/+10 |
| | |||||
* | Send the machine uuid with the headers requesting the version file | Ermal LUÇI | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | Send the machine uuid with the headers requesting the version file | Ermal LUÇI | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | A number of things block waiting for file download timeouts, sometimes ↵ | Chris Buechler | 2015-06-03 | 1 | -2/+2 |
| | | | | | | | multiple times across multiple files (many URL Table aliases, for instance). The long timeout causes very long boot times (10-20+ minutes) on many configs with pfblocker if booted disconnected from the Internet. This is strictly the timeout for the HTTP/HTTPS connection attempt. Once connected, it can run past that. 5 seconds should be more than enough for any properly-functioning network. Part of Ticket #4442. Conflicts: etc/inc/pfsense-utils.inc | ||||
* | device_type isn't used here | Chris Buechler | 2015-06-02 | 1 | -2/+2 |
| | |||||
* | really fix botched manual merge request. Ticket #4720 | Chris Buechler | 2015-06-01 | 1 | -2/+2 |
| | |||||
* | fix manual merge mistake. Ticket #4720 | Chris Buechler | 2015-06-01 | 1 | -1/+1 |
| | |||||
* | set the serial port appropriately for RCC-VE platforms. sync from factory | Chris Buechler | 2015-06-01 | 1 | -4/+15 |
| | | | | | | | repo. Ticket #4720 Conflicts: etc/inc/pfsense-utils.inc | ||||
* | Code style bits and pieces from etc | Phil Davis | 2015-05-31 | 1 | -23/+21 |
| | |||||
* | Merge pull request #1081 from PiBa-NL/cert_usage | Ermal LUÇI | 2015-05-27 | 1 | -1/+1 |
|\ | |||||
| * | Certificate Manager, call packages plugin function to show used certificates | PiBa-NL | 2014-04-13 | 1 | -1/+1 |
| | | |||||
* | | Move pt_BR translation from ISO to UTF-8 | Renato Botelho | 2015-05-14 | 1 | -1/+1 |
| | | |||||
* | | No need to deal with hw.usb.no_pf anymore, it's part of default loader.conf | Renato Botelho | 2015-05-13 | 1 | -3/+1 |
| | | |||||
* | | Remove unused function add_text_to_file() | Renato Botelho | 2015-05-07 | 1 | -21/+0 |
| | | |||||
* | | Remove boot_serial='yes' from loader.conf when serial is disabled, error ↵ | Renato Botelho | 2015-04-16 | 1 | -1/+2 |
| | | | | | | | | introduced by me on commit 986e77a2eab | ||||
* | | Merge pull request #1601 from phil-davis/check-overlapping-subnets | Renato Botelho | 2015-04-15 | 1 | -18/+76 |
|\ \ | |||||
| * | | Check for overlapping subnets when saving interface addresses | Phil Davis | 2015-04-10 | 1 | -18/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This checks if a static IP address entered for an interface has a subnet that overlaps with any other configured subnet. e.g.: LAN is IPv4 10.10.12.1/24 Then try to set OPT1 to 10.10.13.1/23 - it overlaps with LAN because "/23" covers the "12" and "13" together. In the input errors message, display to the user the other interfaces and subnets that overlap/conflict. Then the user has some idea what it is that conflicts and can easily go looking in the right place for the problem. Do the same thing for IPv6 address/CIDR. Note: I have not enhanced any of the checks for conflicts with static routes - there could be cases where a user has a static route like 10.0.0.0/8 pointing to some internal router that has the rest of 10.0.0.0/8 behind it, but the user has some direct-attached subnet inside that - e.g. 10.1.2.0/24 - the routing table should cope with this, delivering directly to 10.1.2.0/24 and routing for the rest of 10.0.0.0/8. So we cannot invalidate all overlaps with static routes. I think this validation will not invalidate any exotic-but-valid use cases. I can't think of when the interface subnets on 2 interfaces can overlap and still be a valid/useful configuration. This should stop people setting up dumb mixes of LAN/OPT1/OPT2... with random addresses and CIDR prefix that overlap each other. | ||||
* | | | Setup ADI boards to boot only using serial to avoid duplicated output when ↵ | Renato Botelho | 2015-04-10 | 1 | -4/+14 |
|/ / | | | | | | | VGA redirection is enabled | ||||
* | | verify certs by default here | Chris Buechler | 2015-04-03 | 1 | -3/+1 |
| | | |||||
* | | Code style for pfsense-utils | Phil Davis | 2015-02-28 | 1 | -472/+627 |
| | | |||||
* | | Silent kenv when smbios.system.product is not present. While here, add ↵ | Renato Botelho | 2015-02-04 | 1 | -3/+7 |
| | | | | | | | | VirtualBox to the list of virtualenvs | ||||
* | | need $g here so product_name is set in user agent | Chris Buechler | 2015-02-01 | 1 | -1/+1 |
| | | |||||
* | | Simplify use of other serial ports setting all of them as onifconsole when ↵ | Renato Botelho | 2015-01-27 | 1 | -4/+5 |
| | | | | | | | | serial is enabled | ||||
* | | Do not translate function return string | Renato Botelho | 2015-01-22 | 1 | -3/+3 |
| | | |||||
* | | fix syntax and unbreak pfsense-utils.inc | Renato Botelho | 2015-01-16 | 1 | -1/+1 |
| | | |||||
* | | Ticket #3997, teach code to track carp through uniqids(). Missing carp GUI ↵ | Ermal LUÇI | 2015-01-15 | 1 | -8/+6 |
| | | | | | | | | changes and upgrade code | ||||
* | | Improve URL and URL ports alias update data: | Renato Botelho | 2015-01-08 | 1 | -23/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Move redundant code to a function parse_aliases_file(). Before the max number of items was not being respected when URL content is updated, only when alias was saved. Same was happening with ip/subnet/port validation and user could end up with a bad pf.conf - Remove unused variables These changes were based on Pull Request #1264. It should fix #4189 Submitted by:▸ PiBa-NL | ||||
* | | Update /etc/ttys from new partition when upgrading nanobsd, and in this case ↵ | Renato Botelho | 2014-12-26 | 1 | -3/+5 |
| | | | | | | | | do not call reload_ttys(). It should fix #4140 | ||||
* | | Remove unused variable | Renato Botelho | 2014-12-26 | 1 | -3/+0 |
| | | |||||
* | | Remove these booting settings since are useless | Ermal LUÇI | 2014-11-28 | 1 | -2/+0 |
| | | |||||
* | | Show Mtu on status interfaces. | Ermal LUÇI | 2014-11-25 | 1 | -0/+1 |
| | | |||||
* | | Be friendly to large interface systems | Ermal LUÇI | 2014-11-24 | 1 | -0/+1 |
| | | |||||
* | | Fixes #1047, overhaul handling of flags for hardware offloading and make it ↵ | Ermal LUÇI | 2014-11-24 | 1 | -13/+58 |
| | | | | | | | | work correctly for system_advanced page settings. Lagg is still a special case that needs a reboot. | ||||
* | | Make proper check if IP address is configured on another interfaces and ↵ | Renato Botelho | 2014-10-03 | 1 | -3/+13 |
| | | | | | | | | ignore current one. It fixes #3807 | ||||
* | | find_dhclient_process() returns an int, not string | Renato Botelho | 2014-09-09 | 1 | -1/+1 |
| | | |||||
* | | Convert almost all /sbin/sysctl calls to php functions | Renato Botelho | 2014-07-07 | 1 | -14/+14 |
| | | |||||
* | | Back to cons25 for now since we found some issues with xterm on serial console | Renato Botelho | 2014-07-02 | 1 | -2/+2 |
| | | |||||
* | | More refinements to the unofficial package repository warning ( Issue #484 ) ↵ | jim-p | 2014-07-02 | 1 | -2/+13 |
| | | | | | | | | -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition. | ||||
* | | Set proper serial parameters on boot.config and loader.conf for nanobsd ↵ | Renato Botelho | 2014-07-01 | 1 | -13/+22 |
| | | | | | | | | without vga | ||||
* | | Make proper checks to check if we should or not enable serial console | Renato Botelho | 2014-07-01 | 1 | -1/+8 |
| | | |||||
* | | Fix typo on var name | Renato Botelho | 2014-07-01 | 1 | -1/+1 |
| | | |||||
* | | Fix #3647 and other improvements: | Renato Botelho | 2014-07-01 | 1 | -81/+20 |
| | | | | | | | | | | | | | | | | | | - Remove auto_login(), now gettytab is a constant file - Add reload_ttys(), that will send a SIGHUP to init and make it reload /etc/ttys - Change serial speed on /etc/ttys when necessary - Change console and serial auto_login on /etc/ttys when necessary - Change default type from cons25 to xterm | ||||
* | | Set default serial speed to 115200 for 2.2, fixes #3715 | Renato Botelho | 2014-06-26 | 1 | -6/+3 |
| | | |||||
* | | /etc/version_kernel and /etc/version_base no longer exist, use php_uname to ↵ | jim-p | 2014-05-16 | 1 | -2/+4 |
| | | | | | | | | get the info instead. |