summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete console menu option that was a remnant of the livecd which ↵jim-p2016-12-293-100/+1
| | | | was removed some time ago.
* Only fetch ZFS status if ZFS is loaded. Otherwise it can load it ↵jim-p2016-12-291-4/+7
| | | | unintentionally on a system that doesn't need it.
* Add reroot support to system_reboot_sync() and to the /etc/rc.initial.reboot ↵jim-p2016-12-292-2/+14
| | | | menu. Ticket #6045
* Teach /etc/rc.reboot to reroot when -r parameter is specifiedRenato Botelho2016-12-291-2/+6
|
* Remove old hacks used to upgrade from 2.1 to 2.2Renato Botelho2016-12-293-9/+1
|
* Merge pull request #3323 from phil-davis/print_info_boxRenato Botelho2016-12-291-2/+2
|\
| * Put print_info_box severity class in quotesPhil Davis2016-12-291-2/+2
| | | | | | | | | | These should be strings in quotes, otherwise PHP looks for them to be constants and would be issuing notice level "errors" underneath.
* | Fix variable reference. Ticket #7047jim-p2016-12-281-1/+1
|/
* Add version and build data to status output. Ticket #7047jim-p2016-12-281-4/+32
|
* Add playback scripts to drill into pf tables and anchors to list their contents.jim-p2016-12-282-0/+62
|
* Fix license for gatewaystatus playback scriptjim-p2016-12-281-0/+19
|
* Bring status.php up-to-date and add a number of new items as listed on ↵jim-p2016-12-281-79/+120
| | | | | | | | | | | | | | | | | | redmine. Fixes #7047 Added: The firewall platform and serial number ARP Table NDP Table Gateway status (See #7046) ZFS disk/pool info gmirror status Limiter info Load balancer info Also fixed the captive portal code to show IPFW rules Reorganized output filenames Added a new exec method to call a PHP function rather than a shell exec, required to get the gateway status to work efficiently.
* Add a pfSense php shell playback script to show the gateway status. Ticket #7046jim-p2016-12-281-0/+3
|
* Add a function to format and return plain text output showing the gateway ↵jim-p2016-12-281-0/+43
| | | | status, for use by a shell script and status.php. Ticket #7046
* Do not output PHP shell starup message unless it is run interactively. Fixes ↵jim-p2016-12-281-6/+15
| | | | #7045
* Merge pull request #3317 from phil-davis/patch-1Renato Botelho2016-12-281-2/+1
|\
| * Refactor to use notify_all_remotePhil Davis2016-12-281-2/+1
| | | | | | While looking at notices.inc I noticed (pardon the pun) that notify_all_remote did exactly the same as these 2 lines of code. notify_all_remote() might as well be used here, to save having the same code repeated.
* | Merge pull request #3320 from phil-davis/patch-4Renato Botelho2016-12-281-55/+0
|\ \
| * | Remove unused print_noices and print_notice_boxPhil Davis2016-12-281-55/+0
| |/ | | | | | | When looking into how the notices features work these days, I found that these functions are no longer used anywhere. Maybe they should be deleted?
* | Merge pull request #3318 from phil-davis/patch-2Renato Botelho2016-12-281-24/+0
|\ \
| * | Remove unused get_notices() from xmlrpc.phpPhil Davis2016-12-281-24/+0
| | |
| * | Fix get_notices parameter in xmlrpc.phpPhil Davis2016-12-281-2/+2
| |/ | | | | | | This looks to me like the var name here should be $category Note: I don't see where this get_notices() inside class pfsense_xmlrpc_server is ever unused anyway - so maybe get_notices() can just be deleted from here?
* | Merge pull request #3319 from phil-davis/patch-3Renato Botelho2016-12-281-0/+2
|\ \
| * | Fix #3454 Do not show Mark All as Read button when no privPhil Davis2016-12-281-0/+2
| |/ | | | | | | If the user does not have access to index.php then the "Mark All as Read" button for the notices popup does not work for them anyway, so do not show it. This fixes the obvious UI inconsistency - where the user has a button that they press, but it is not effective.
* | Merge pull request #3321 from phil-davis/patch-5Renato Botelho2016-12-281-1/+6
|\ \ | |/ |/|
| * Change system admin to firewall adminPhil Davis2016-12-281-1/+1
| |
| * Fix #7043 Do not display crash reporter link when no crash_reporter accessPhil Davis2016-12-281-1/+6
|/
* Allow capturing based on MAC address as well.jim-p2016-12-271-2/+4
|
* Disable "setfirst" line in pfSense-dhclient-script for now. Ticket #7042jim-p2016-12-271-1/+5
|
* Merge pull request #3300 from plumbeo/disconnect-allRenato Botelho2016-12-272-14/+51
|\
| * Captive portal: add button to disconnect all usersplumbeo2016-12-242-14/+51
| | | | | | | | Add a function to disconnect all logged in users and a button to call it in the captive portal status page.
* | Merge pull request #3307 from blkeller/ignore-client-uidsRenato Botelho2016-12-272-0/+14
|\ \
| * | Add new "Ignore client identifiers" DHCP featureBrett Keller2016-12-222-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exposes the underlying dhcpd configuration option "ignore-client-uids" in the pfSense "Services / DHCP Server" GUI by adding an "Ignore client identifiers" checkbox. As of ISC dhcpd version 4.3.0+, there is a new configuration statement available, "ignore-client-uids". According to the ISC's documentation, "If the 'ignore-client-uids' statement is present and has a value of 'true' or 'on', the UID for clients will not be recorded." While this behavior does not strictly adhere to the DHCP specification, it can be very useful in environments where devices on the network dual boot or PXE boot. Normally, if the network stacks in a single device's different operating systems (including PXE firmware) make DHCP requests with differing client identifiers, the server will treat each request with a unique identifier as having come from a unique client, even when they come from the same device. Thus, different operating systems on the same device and NIC might hold different leases with different IP addresses. Once activated, the "ignore-client-uids" option tells the DHCP server not to record client identifiers in new DHCP leases, which forces the server to fall back on hardware (MAC) addresses to uniquely identify clients. Now different operating systems on the same device and NIC will hold the same lease (based on MAC address), which should keep a device's IP address consistent regardless of its currently running operating system. Same as with most other general and pool-specific DHCP server options in pfSense, note that turning on this option only affects new leases. Any leases that existed prior to enabling this option will still contain their respective client identifiers. Manually deleting older leases or flushing the entire lease table can expedite a full migration to the new server behavior, if desired.
* | | Merge pull request #3266 from PiBa-NL/IPv6-prefixdelegation-size59Renato Botelho2016-12-273-1/+5
|\ \ \
| * \ \ Add case for 59 to prefix functions merge_ipv6_delegated_prefix / ↵PiBa-NL2016-12-261-0/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | dhcpv6_pd_str_help Add case for 59 to prefix functions merge_ipv6_delegated_prefix / dhcpv6_pd_str_help
| | * | | Add case for 59 to prefix functionsPhil Davis2016-12-131-0/+2
| | | | | | | | | | | | | | | Maybe these functions should have a case added for prefix length 59?
| * | | | IPv6, allow DHCP6 server to use a prefix size of /59 and /61 like dhcp ↵PiBa-NL2016-12-171-0/+2
| |/ / / | | | | | | | | | | | | client does
| * | | IPv6, allow DHCP6 client to use a prefix size of /59PiBa-NL2016-12-111-1/+1
| | | |
* | | | Merge pull request #3312 from phil-davis/staticroutesRenato Botelho2016-12-275-7/+18
|\ \ \ \
| * | | | Fix #3560 correctly handle disabled static routesPhil Davis2016-12-275-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) util.inc - add parameter to get_staticroutes() so the caller can choose to see all static routes or only the ones that are currently enabled. 2) filter.inc - just process enabled static routes when making direct networks list, tonathosts etc. 3) services.inc - only include enabled static routes when making confogs for DHCP(6) Relay. 4) unbound.inc - only include enable static routes in unbound_acls_config 5) rc.newroutedns - only trigger if there is an enabled static route. Note: GUI validation has been left as-is. e.g. in system_gateways we don not allow to delete a gateway if there is a disabled static route using it... If people want to delete "higher level" stuff, then they need to first delete the disabled static route(s). Otherwise it will get rather "risky" having disabled static routes in the config that refer to gateways that no longer exist, or have a subnet range that now matches a local interafce or...
* | | | | Fix nested aliases with FQDN (Fixes #6982)Renato Botelho2016-12-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make $use_filterdns a parameter. It needs to be persistent across recursive calls otherwise it ends up not adding necessary items to filterdns depending of how items are sorted
* | | | | Remove unused variableRenato Botelho2016-12-271-5/+4
| | | | |
* | | | | Merge pull request #3314 from phil-davis/patch-1Renato Botelho2016-12-271-2/+2
|\ \ \ \ \
| * | | | | PPTP Remote IP is host or V4Phil Davis2016-12-271-2/+2
|/ / / / / | | | | | | | | | | Now that Form_IpAddress() supports a range of types of input, this can be specified as HOSTV4.
* | | | | Merge pull request #3248 from phil-davis/ipaddressnopatternRenato Botelho2016-12-279-28/+60
|\ \ \ \ \
| * | | | | Form_IpAddress add types remove patternsPhil Davis2016-12-0310-29/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Add alias and host types to Form_IpAddress with the appropriate hover text. 2) Remove the patterns - the UI of those is not so effective anyway, so leave the validation of input to the back end. 3) Update uses of Form_IpAddress to use the appropriate Alias or Host type as needed. 4) Remove explicit setPattern() from those uses of Form_IpAddress.
* | | | | | Merge pull request #3308 from plumbeo/details-popupRenato Botelho2016-12-271-10/+60
|\ \ \ \ \ \
| * | | | | | Captive portal: add popup with session details to the active sessions list ↵plumbeo2016-12-271-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in the status page
* | | | | | | Merge pull request #3311 from phil-davis/patch-1Renato Botelho2016-12-271-6/+4
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Fix DNS Server Gateway CheckPhil Davis2016-12-271-6/+4
|/ / / / / / | | | | | | | | | | | | | | | | | | If I enter a DNS server IP address that is on a locally connected network, and choose a gateway for it, this code was supposed to give an error message. But no error was given because $_POST[$dnsgwitem] is actually the name of the gateway, but old line 197 called interface_has_gateway() which was expecting an interface to be passed. Just get rid of the interface_has_gateway() test, and come into this foreach() whenever the users chooses a gateway that is not "none".
OpenPOWER on IntegriCloud