Commit Graph

5193 Commits

Author SHA1 Message Date
Renato Botelho
aed5681ae0 Merge pull request #3277 from phil-davis/patch-2 2016-12-13 18:07:04 -02:00
jim-p
5fda51cd2a Check for lo0 when reconfiguring VIPs on sync. Fixes #7010 2016-12-13 14:25:17 -05:00
Phil Davis
dadc11d7a7 status_dcp_leases change if statement style 2016-12-13 20:46:10 +05:45
Phil Davis
86115e712b Status DHCP Leases show CID and other enhancements
1) If there is a Client Id specified then show it (otherwise it is possible to define a Static Mapping that has only Client Id and all other fields empty, which would look like an empty row in the displayed table).
2) Ignore empty static lease entries - when an interface has no static mappings the "static" section of the DHCP server settings can be "" which was resulting in a single-element that was empty being displayed as an empty row.
3) If there are no leases to display, then make a row with the message "No leases to display" so the user knows the system at least tried.
4) If there are no leases in use, then make a row with the message "No leases are in use" so the user knows the system at least tried.
2016-12-13 19:02:02 +05:45
Renato Botelho
cc9213e0bc Merge pull request #3276 from phil-davis/patch-10 2016-12-13 10:58:26 -02:00
Renato Botelho
6371edbd5f Merge pull request #3275 from phil-davis/patch-9 2016-12-13 10:56:56 -02:00
Renato Botelho
cd598ba9bc Merge pull request #3272 from phil-davis/patch-7 2016-12-13 10:55:26 -02:00
Renato Botelho
4cc53fbddc Merge pull request #3270 from phil-davis/patch-5 2016-12-13 10:53:08 -02:00
Renato Botelho
495aefc35c Merge pull request #3269 from phil-davis/patch-2 2016-12-13 10:50:37 -02:00
Renato Botelho
572dce1ff0 Merge pull request #3268 from blkeller/apu2-serial-fix 2016-12-13 10:46:06 -02:00
Phil Davis
b790824308 dhcpv6_pd_str_help add default case
When the interface concerned does not yet have its details known (e.g. Track Interface values from upstream have not come yet) then we might as well at least give the caller some reasonable text.
e.g. I was adding V6 Static Mappings on an interface that has "Track Interface" and no IPv6 delegation yet. The error message that tries to tell me the type of input I need to put or the static IP offset had no example at all.
2016-12-13 18:18:43 +05:45
Phil Davis
d59ac1d6b8 Services DHCPv6 Static Edit fix var name
The example format at the end of the error message was not coming out.
2016-12-13 18:13:45 +05:45
Phil Davis
cd2b1e7644 Status DHCP Leases table row end
Each row of the table needs a tr end, only the last row was getting the tr end.
2016-12-13 15:21:14 +05:45
Phil Davis
3cb06e5ffa DHCPv6 Relay Form_IpAddress is V6 2016-12-13 11:28:52 +05:45
Phil Davis
bdda1446ca DHCP4 Relay must relay to an IPv4 address
This code would accept an IPv6 address, but that causes an error to be reported by the DHCP (v4) Relay service on startup.
Validate the destination server IP address(es) to ensure they are IPv4.
2016-12-13 11:24:39 +05:45
Phil Davis
03444470be Improve input validation for services_dhcpv6_relay
Make the same imrovements as was done for services_dhcp_relay in commit ac999f3b78
2016-12-13 11:11:19 +05:45
Brett Keller
089c18f384 Add PC Engines APU2 to the list of serial-only platforms
The vidconsole needs to be explicitly disabled for PC Engines APU2,
otherwise the comconsole is garbled and mostly unusable during the
boot block and boot loader.
2016-12-12 15:10:41 -06:00
Brett Keller
ffda0181a4 Add specific platform detection for PC Engines APU2
Based detection on $product rather than $hw_model, because $hw_model
returns the name of the AMD SoC, which might be used on other boards.
2016-12-12 14:46:47 -06:00
jim-p
c165a17e02 Encode the auth server list before passing it on the CLI, to avoid issues with special characters that break when interpreted as URL parameters during OpenVPN auth. Fixes #7002 2016-12-12 15:37:27 -05:00
jim-p
e719538c01 This script is not called directly in a way that requires a shabang, and it interferes with the script output, preventing successful authentication. Fixes #7008 2016-12-12 15:24:36 -05:00
Renato Botelho
ebdcad3bd3 Do not allow a group name to start with 'pkg-', reserve it for packages use (e.g. tinc) 2016-12-12 16:43:38 -02:00
Renato Botelho
2326f3252a Update interface group name validation rules to match ifconfig 2016-12-12 16:43:38 -02:00
Renato Botelho
7ec6e2831f Fix #6976: Make sure interface description, interface name and alias don't have the same name 2016-12-12 16:43:38 -02:00
Renato Botelho
ee5284ceba Ticket #6976: Check disabled interfaces 2016-12-12 16:43:38 -02:00
jim-p
6d40829b69 Fix CA input validation to (again) allow an import without a key. Fixes #7001 2016-12-12 13:29:33 -05:00
jim-p
d4ed1bd9a8 Ensure that mobile IPsec client addresses are added to vpn_networks. Fixes #7005 2016-12-12 12:55:30 -05:00
Renato Botelho
7739e0ce77 Merge pull request #3267 from noledge/patch-1 2016-12-12 09:40:56 -02:00
Renato Botelho
fcfe803165 Merge pull request #3264 from phil-davis/patch-2 2016-12-12 09:37:27 -02:00
noledge
6ba184a1d6 Update services_captiveportal.php
fixes https://redmine.pfsense.org/issues/6391
2016-12-11 16:55:29 +01:00
Phil Davis
ac999f3b78 Improve input validation for services_dhcp_relay
While looking at interactions between DHCP Relay and DHCP Server, I noticed a few annoying/inconsistent things in driving the UI:
1) If there were validation errors on the Destination Server IP Addresses that the user input, messages would be given about invalid addresses but the data in the Destination Server row(s) would be reset to what it was before the user started editing, losing whatever they changes they had been trying to make so far.
2) Empty rows would be reported as errors. The code already did some ignoring of empty rows, but not entirely successfully.
This change:
a) Reports which IP addresses were invalid
b) Preserves the data that the user tried to enter, so they can correct it and try again.
c) Ignores any empty rows, only reporting an error if all the rows are empty.
2016-12-10 20:12:40 +05:45
Phil Davis
632a238f1f Comment typos in itemid.inc 2016-12-10 15:38:36 +05:45
Luiz Otavio O Souza
ca8ab3c958 Add a gateway state plugin hook.
Pull Request #3093
2016-12-09 23:13:45 -06:00
Luiz Otavio O Souza
140f1f6fe4 Revert the workaround now that the pf parsing issue is fixed.
Ticket #6985
2016-12-09 22:35:52 -06:00
Jared Dillard
726ebc6587 move export button to heading for status monitoring page 2016-12-09 17:27:38 -06:00
Renato Botelho
be1bc23393 Fix #6472: Enable/Disable associated firewall rule when NAT rule changes 2016-12-09 18:24:33 -02:00
Renato Botelho
8a915911ef Ticket #6472: Respect disabled field
Respect disabled field when creating firewall associated rule
2016-12-09 18:24:07 -02:00
Renato Botelho
8aa2dd2622 Ticket #6472: Add toggle_id
Introduce toggle_id() used to enable/disable associated firewall rules
2016-12-09 18:23:32 -02:00
Renato Botelho
15586fff17 Do not set disabled or nordr fields when they are not selected. Checks are using isset() and not its boolean value 2016-12-09 18:23:32 -02:00
Renato Botelho
75bb5037ee Simplify logic 2016-12-09 18:22:55 -02:00
Renato Botelho
21408bb481 Fix comments 2016-12-09 18:22:55 -02:00
Renato Botelho
9f61bcc92c $array doesn't need to be a reference here 2016-12-09 18:22:55 -02:00
Steve Beaver
cdec7893fe Rule type icon should not change to 'X' when disabled 2016-12-09 14:46:47 -05:00
jim-p
73a0719a28 Update simplepie (RSS Parsing library) to 1.4.3 2016-12-09 13:26:28 -05:00
jim-p
530eceb9bc Fix copy/paste error in variable test. 2016-12-09 13:03:11 -05:00
Steve Beaver
898aa92c90 Change (assign) to Assignments in Interfaces menu
Add HTML divider in Interfaces menu to separate actions form the interface list
2016-12-09 12:25:14 -05:00
Steve Beaver
8d8b2fc7f9 Fix log file deletion 2016-12-09 11:35:42 -05:00
Renato Botelho
5eab2de4ec Fix #6996 using existing variable 2016-12-09 13:47:31 -02:00
Renato Botelho
4c6135c288 Fix #6857
During boot local_sync_acocunts() should be able to access LDAP server
on a non-local network or also resolve LDAP server hostname. To make it
possible move calls to create static routes and start dnsmasq/unbound
to run earlier
2016-12-08 11:11:42 -02:00
Renato Botelho
bde382dd31 Merge pull request #3261 from phil-davis/zoneedit 2016-12-08 09:52:18 -02:00
Phil Davis
176d24e120 Specify IP to set for zoneedit 2016-12-08 17:17:49 +05:45