summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
Commit message (Collapse)AuthorAgeFilesLines
* Introduce Netgate RCC-DFF to the list of known platformsRenato Botelho2015-06-231-2/+4
|
* Code spacingPhil Davis2015-06-151-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-outErmal LUÇI2015-06-111-3/+10
|
* 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
|
* A number of things block waiting for file download timeouts, sometimes ↵Chris Buechler2015-06-031-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 hereChris Buechler2015-06-021-2/+2
|
* really fix botched manual merge request. Ticket #4720Chris Buechler2015-06-011-2/+2
|
* fix manual merge mistake. Ticket #4720Chris Buechler2015-06-011-1/+1
|
* set the serial port appropriately for RCC-VE platforms. sync from factoryChris Buechler2015-06-011-4/+15
| | | | | | | repo. Ticket #4720 Conflicts: etc/inc/pfsense-utils.inc
* Code style bits and pieces from etcPhil Davis2015-05-311-23/+21
|
* Merge pull request #1081 from PiBa-NL/cert_usageErmal LUÇI2015-05-271-1/+1
|\
| * Certificate Manager, call packages plugin function to show used certificatesPiBa-NL2014-04-131-1/+1
| |
* | Move pt_BR translation from ISO to UTF-8Renato Botelho2015-05-141-1/+1
| |
* | No need to deal with hw.usb.no_pf anymore, it's part of default loader.confRenato Botelho2015-05-131-3/+1
| |
* | Remove unused function add_text_to_file()Renato Botelho2015-05-071-21/+0
| |
* | Remove boot_serial='yes' from loader.conf when serial is disabled, error ↵Renato Botelho2015-04-161-1/+2
| | | | | | | | introduced by me on commit 986e77a2eab
* | Merge pull request #1601 from phil-davis/check-overlapping-subnetsRenato Botelho2015-04-151-18/+76
|\ \
| * | Check for overlapping subnets when saving interface addressesPhil Davis2015-04-101-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 Botelho2015-04-101-4/+14
|/ / | | | | | | VGA redirection is enabled
* | verify certs by default hereChris Buechler2015-04-031-3/+1
| |
* | Code style for pfsense-utilsPhil Davis2015-02-281-472/+627
| |
* | Silent kenv when smbios.system.product is not present. While here, add ↵Renato Botelho2015-02-041-3/+7
| | | | | | | | VirtualBox to the list of virtualenvs
* | need $g here so product_name is set in user agentChris Buechler2015-02-011-1/+1
| |
* | Simplify use of other serial ports setting all of them as onifconsole when ↵Renato Botelho2015-01-271-4/+5
| | | | | | | | serial is enabled
* | Do not translate function return stringRenato Botelho2015-01-221-3/+3
| |
* | fix syntax and unbreak pfsense-utils.incRenato Botelho2015-01-161-1/+1
| |
* | Ticket #3997, teach code to track carp through uniqids(). Missing carp GUI ↵Ermal LUÇI2015-01-151-8/+6
| | | | | | | | changes and upgrade code
* | Improve URL and URL ports alias update data:Renato Botelho2015-01-081-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 Botelho2014-12-261-3/+5
| | | | | | | | do not call reload_ttys(). It should fix #4140
* | Remove unused variableRenato Botelho2014-12-261-3/+0
| |
* | Remove these booting settings since are uselessErmal LUÇI2014-11-281-2/+0
| |
* | Show Mtu on status interfaces.Ermal LUÇI2014-11-251-0/+1
| |
* | Be friendly to large interface systemsErmal LUÇI2014-11-241-0/+1
| |
* | Fixes #1047, overhaul handling of flags for hardware offloading and make it ↵Ermal LUÇI2014-11-241-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 Botelho2014-10-031-3/+13
| | | | | | | | ignore current one. It fixes #3807
* | find_dhclient_process() returns an int, not stringRenato Botelho2014-09-091-1/+1
| |
* | Convert almost all /sbin/sysctl calls to php functionsRenato Botelho2014-07-071-14/+14
| |
* | Back to cons25 for now since we found some issues with xterm on serial consoleRenato Botelho2014-07-021-2/+2
| |
* | More refinements to the unofficial package repository warning ( Issue #484 ) ↵jim-p2014-07-021-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 Botelho2014-07-011-13/+22
| | | | | | | | without vga
* | Make proper checks to check if we should or not enable serial consoleRenato Botelho2014-07-011-1/+8
| |
* | Fix typo on var nameRenato Botelho2014-07-011-1/+1
| |
* | Fix #3647 and other improvements:Renato Botelho2014-07-011-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 #3715Renato Botelho2014-06-261-6/+3
| |
* | /etc/version_kernel and /etc/version_base no longer exist, use php_uname to ↵jim-p2014-05-161-2/+4
| | | | | | | | get the info instead.
* | Changes to make it work behind a bluecoat proxy - added a user agent, and ↵Manuel Silvoso2014-04-301-0/+1
| | | | | | | | changed url scheme
* | Oops specify mode of operation to fopenErmal2014-04-301-1/+1
| |
* | Make the alias url processing functions not memory hungry!Ermal2014-04-301-14/+47
| |
* | Rewrite update_alias_url_data to be with small memory footprint. Also return ↵Ermal2014-04-301-21/+25
| | | | | | | | the status if an update is performed to callers and remove the write_config call embedded here since its not good to have this by default.
OpenPOWER on IntegriCloud