Tidy up widgets XHTML
Close BR tagAdd CDATA sections to scriptsHTML width paramter must be a whole number, not a decimal.
Make get_static routes behave correctly with aliases
Make sure some value is present here during boot
Merge pull request #447 from phil-davis/master
DNS Forwarder allow blank forwarding IP address
DNS Forwarder example text
It was a bit silly putting the examples inside gettext() calls - they should not be translated to other languages in this context. And I made it a "localdomain" example, to match the pfSense wizard default name.
DNS Forwarder allow null forwarding address
dnsmasq allows a blank forwarding IP address to be specified in --server parameters. In that case, dnsmasq will attempt a local lookup of the name (e.g. in hosts file), but will not forward the request on to the standard name servers....
Merge pull request #446 from un0x/master
Added IE Mobile for WP8 to list of mobile browsers
Use the correct interface number (old code broke for >= 10)
Save ppp info and realif on interfaces.apply to be able to cleanup old configuration when changing interface type. Fixes #2758
Make parent interface and all VLANs use the same MTU. Fixes #2786
When adding a new static route, check if network address conflicts with interfaces. It will complement ticket #2852
Fix validation of conflict between interface ip address and static routes. Fixes #2852
Merge pull request #445 from phil-davis/master
Services status widget display 1st sentence of description
Some packages (e.g. bandwidthd, dansguardian, HAVP, nmap, squid3...) have a very verbose package description. This is displayed in the description column of the services status widget. That makes it take a lot of space on the dashboard. IMHO the first sentence gives a good concise description, so this change just displays the first sentence (text before a "."). Note: I purposely left the "." out of the string, I think it looks neater along with the descriptions of other built-in services - "DHCP Service" "DNS Forwarder"...
Merge pull request #436 from phil-davis/master
Add DynDNS No-IP Free account support
Fix GPS lat/lon code to properly convert to the format Google wants for the link.
Merge pull request #444 from mdima/master
Just make the page validate as XHTML
The only XHTML errors remaining are the ones of the general includes.
Added IE mobile for WP8
Reconfigure routing when a new gateway is added
Send ipprotocol parameter when adding new gateways from interfaces.php
Fix extra curly that is breaking firewall rules
Remove *_defaultgwv6 also
Don't allow adding IP Alias or CARP VIP on network or broadcast addresses. Fixes #2768
Add check for ipv6 subnet when adding aliases with CARP parents
Simplify code
Silent php -l removing pass-by-reference
Fix indent and whitespaces
Update translatio files
Unbreak the html table, this was missing a table cell close tag, also add trim() on the output.
Fix typo
Fix wording for VoIP address option in the shaper. Add rule going the other direction to catch connections initiated both ways.
Do not count active vouchers as used. Fixes #1550
Fix indent and whitespace
Just set defaultgw after all gateways are processed, it fixes return_gateways_array()
Consider CP allowed IPs for both directions. It will help ticket #2780
Hide 'Perform full backup prior to upgrade' option on nano, also hide restore full backup. Fixes #2844
Fix whitespaces, indent and unclosed html tags
Fix response read for 'add new gateway' applet at interface configuration
Add a pfSsh.php script to remove the shaper settings from the console if needed.
Merge pull request #442 from mdima/master
Status Queue page: Adds the IF name not shown for FAIRQ or PRIQ
Merge pull request #429 from ExolonDX/master
Tidy up HTML errors in INDEX.PHP
Merge pull request #441 from neo14/master
Set correct netmask for IPv6 addresses when creating an easy rule: pass
no IPv6 check when an easy rule: pass is created
The easyrule_pass_rule_add() now checks for an IPv6 address and sets thenetmask accordingly.This is the fix for bug: http://redmine.pfsense.org/issues/2843
Merge pull request #440 from neo14/master
trim ping host
trim whitespace from ping host
Added trim() function to the $host variable. If whitespace is in frontof the host or IP address the ping command will fail.
Merge pull request #439 from phildd/master
Avoid DynDNS timeout delay when gateway is down
Fix indent, whitespaces and unbalanced <tr> and <td> tags
When a dynamic DNS entry is set on an interface that has a private IP, the code has to find the ultimate public IP of that interface by using checkip.dyndns.org. If the interface is currently down (e.g. ISP is down or the cable is unplugged...) then there is a timeout delay while waiting for checkip.dyndns.org to (not) respond....
When auth algorithm is hmac-sha512, it produces long lines and wrap them, what breaks the parser. Ignore lines that starts with a space to fix it. Fixes #2842
Merge pull request #438 from mdima/master
Status Queue page: Fixes the Drops issue and adds the Queue length information to the page.
Update usr/local/www/status_queues.php
Fixes the Drops issue and adds the Queue length information to the page.
Better check for the right bits being set.
Always clear the OpenVPN route when using shared key, no matter what the tunnel network "CIDR" is set to, it still needs it.
Show cert start/end dates in list.
Add VPNs and PPPoE rules before regular ones. Fixes #2837
Create rules for grouped interfaces before regular ones. Fixes #2837
Ignore swap partitions when looking for external config file
Make sure captiveportal section of config is an array, reported on ticket #2838
The free No-IP account requires the IP address to be changed within every 30 days. If there is no change, the "last updated" date at No-IP does not get updated and the account lapses.This change implements a double-update when the cache age reaches 25 days, or the user does "Save & Force Update" on the GUI. It updates the IP to a dummy address (192.168.1.1) and then 10 seconds later puts it back the way it was. After this process, the "last updated" date on the No-IP site updates....
Encrypt backup after rrd data is added, it fixes #2836
Merge pull request #435 from phil-davis/master
Put common DynDNS code and constants into services.inc
Remove leading spaces from DYNDNS_PROVIDER_DESCRIPTIONS
Remove leading spaces to make the string consistent.
Use common code and constants from services.inc
to reduce code duplication
Reduce code duplication
Add common DynDNS constants and code
to system.inc to remove code duplication
Add onchange tag to checkbox too
Merge pull request #433 from phil-davis/master
Cleanup code handling 25 day dyndns update
The code that checks if an IP has not changed for 25 days has out-of-date comments and uses "25" in multiple places and the magic number for 25 days in seconds. Clean this up so that "25" is set once in a variable and used everywhere else for logging and calculating seconds. This makes the code easier to read and maintain, particularly if in future the max age needs to be changed for some/all providers.
Merge pull request #432 from phil-davis/master
Whitespace and text typos dyndns.class
Standardise tabbing and fix a few text typos, before making any real functional changes.
Merge pull request #431 from phildd/master
Fix is_altq_capable
Fixes traffic shaper determine which interfaces should be displayed and used.
Unset enable parameter instead of set its value to false. Fixes #1838
Copy full dhcpd conf from master to slave. Fixes #2600
Make sure we create / delete SPDs and SADs on secondary node when it changes on primary. Fixes #2303
simplify logic a bit
Set pfsync0 as down when it's not being used
Fixes on HA setup:
- Configure pfsync when configuration is changed- Disable pfsync when it's disabled on GUI- Remove syncpeer and back it to default multicast address when it's removed from conf
Fixes #2491
Don't forget zones here too
Include zones on voucher expire page tabs.
Insert new NAT rules on the top of the list when top plus icon is used. Fixes #1118
Without any "widgets" selected, INDEX.PHP (i.e. the "dashboard")produces 230+ HTML errors, so:
Remove the "closehead" php variableClose INPUT, BR and IMG tagsAdd ALT parameter to IMG tagsAdd CDATA sections to SCRIPT tags...
Add NAT rule based on NAT rule below it instead of at the bottom of the list. Fixes #1118
Do not allow bridge members to be assigned to itself. Fixes #1153
Allow deleting all aliases but the last one within the same subnet of a CARP IP. Fixes #2406
Set if interface is enable before try to configure static arp. Fixes #1988
Avoid conflicting interface IP address with static routes. Fixes #2039
find_interface_ipv6 should return the first configured address, not the last one
Improve error message since we can have ipv6 set here
Add missing check for IPv6 overlap on interfaces, it complements the change made for ticket #1723
Teach is_ipaddr_configured to check ipv6 for single IPs. While I'm here, reduce code duplication
Remove unused function remove_numbers()