Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Just set defaultgw after all gateways are processed, it fixes ↵ | Renato Botelho | 2013-02-27 | 1 | -18/+21 |
| | | | | return_gateways_array() | ||||
* | Consider CP allowed IPs for both directions. It will help ticket #2780 | Renato Botelho | 2013-02-27 | 1 | -0/+2 |
| | |||||
* | Hide 'Perform full backup prior to upgrade' option on nano, also hide ↵ | Renato Botelho | 2013-02-27 | 1 | -0/+3 |
| | | | | restore full backup. Fixes #2844 | ||||
* | no IPv6 check when an easy rule: pass is created | Thomas Rieschl | 2013-02-26 | 1 | -0/+4 |
| | | | | | | The easyrule_pass_rule_add() now checks for an IPv6 address and sets the netmask accordingly. This is the fix for bug: http://redmine.pfsense.org/issues/2843 | ||||
* | Avoid DynDNS timeout delay when gateway is down | phildd | 2013-02-26 | 1 | -0/+6 |
| | | | | | | 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. This causes a big delay when Services->Dynamic DNS is selected. Ift he new DynDNS dashboard widget is enabled, then the big delay happens while drawing up the dashboard display - not very user-friendly. This code checks to see if the interface is down - if so it avoids bothering to do the external IP check. | ||||
* | When auth algorithm is hmac-sha512, it produces long lines and wrap them, ↵ | Renato Botelho | 2013-02-26 | 1 | -1/+1 |
| | | | | what breaks the parser. Ignore lines that starts with a space to fix it. Fixes #2842 | ||||
* | Better check for the right bits being set. | jim-p | 2013-02-25 | 1 | -2/+2 |
| | |||||
* | Always clear the OpenVPN route when using shared key, no matter what the ↵ | jim-p | 2013-02-25 | 1 | -6/+13 |
| | | | | tunnel network "CIDR" is set to, it still needs it. | ||||
* | Show cert start/end dates in list. | jim-p | 2013-02-25 | 1 | -0/+11 |
| | |||||
* | Add VPNs and PPPoE rules before regular ones. Fixes #2837 | Renato Botelho | 2013-02-25 | 1 | -2/+3 |
| | |||||
* | Create rules for grouped interfaces before regular ones. Fixes #2837 | Renato Botelho | 2013-02-25 | 2 | -4/+31 |
| | |||||
* | Fix indent and whitespaces | Renato Botelho | 2013-02-25 | 1 | -58/+58 |
| | |||||
* | Make sure captiveportal section of config is an array, reported on ticket #2838 | Renato Botelho | 2013-02-25 | 2 | -5/+7 |
| | |||||
* | Remove leading spaces from DYNDNS_PROVIDER_DESCRIPTIONS | Phil Davis | 2013-02-24 | 1 | -1/+1 |
| | | | Remove leading spaces to make the string consistent. | ||||
* | Add common DynDNS constants and code | Phil Davis | 2013-02-24 | 1 | -0/+21 |
| | | | to system.inc to remove code duplication | ||||
* | Cleanup code handling 25 day dyndns update | Phil Davis | 2013-02-24 | 1 | -8/+8 |
| | | | 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. | ||||
* | Whitespace and text typos dyndns.class | Phil Davis | 2013-02-23 | 1 | -97/+98 |
| | | | Standardise tabbing and fix a few text typos, before making any real functional changes. | ||||
* | Fix is_altq_capable | phildd | 2013-02-23 | 1 | -1/+1 |
| | | | Fixes traffic shaper determine which interfaces should be displayed and used. | ||||
* | simplify logic a bit | Renato Botelho | 2013-02-22 | 1 | -2/+4 |
| | |||||
* | Set pfsync0 as down when it's not being used | Renato Botelho | 2013-02-22 | 1 | -1/+1 |
| | |||||
* | Fixes on HA setup: | Renato Botelho | 2013-02-22 | 1 | -1/+3 |
| | | | | | | | | | - 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 | ||||
* | Set if interface is enable before try to configure static arp. Fixes #1988 | Renato Botelho | 2013-02-21 | 1 | -1/+1 |
| | |||||
* | find_interface_ipv6 should return the first configured address, not the last one | Renato Botelho | 2013-02-21 | 1 | -0/+1 |
| | |||||
* | Teach is_ipaddr_configured to check ipv6 for single IPs. While I'm here, ↵ | Renato Botelho | 2013-02-21 | 1 | -5/+9 |
| | | | | reduce code duplication | ||||
* | Remove unused function remove_numbers() | Renato Botelho | 2013-02-21 | 1 | -6/+0 |
| | |||||
* | A nic family name can contain numbers on it, remove only the index in the ↵ | Renato Botelho | 2013-02-21 | 1 | -2/+6 |
| | | | | end. Fixes #2010 | ||||
* | CARP IPs were being checked twice in some cases. Fixes #2823 | Renato Botelho | 2013-02-18 | 1 | -10/+10 |
| | |||||
* | Avoid Warning: Invalid argument supplied for foreach() in /etc/inc/system.inc | Jean Cyr | 2013-02-17 | 1 | -3/+5 |
| | | | | | | Warning: Invalid argument supplied for foreach() in /etc/inc/system.inc Don't use captiveportal configuration option variable if it isn't set | ||||
* | Revert "Merge pull request #417 from miken32/cp-database-fix" | Renato Botelho | 2013-02-17 | 2 | -108/+108 |
| | | | | | | | It breaks customizations, it's not a good time for such big change. This reverts commit 40c7b1a98bfdc61261154adaac5fdefc234ecb08, reversing changes made to d896f86751bae79625197da6c80d709fdf185448. | ||||
* | Fix test for enabling upnp anchor. Unbreaks upnp for many. | jim-p | 2013-02-17 | 1 | -1/+1 |
| | |||||
* | Remove #2760 workaround | bcyrill | 2013-02-17 | 1 | -7/+0 |
| | | | Since pfctl has been patched there is no need for the #2760 issue workaround anymore. | ||||
* | Fix #2818. Last change didn't work, it needs to be one more step out of the ↵ | Renato Botelho | 2013-02-16 | 1 | -2/+2 |
| | | | | loop. | ||||
* | Fix #2818. Save information about all phase1 on ipsecpinghosts instead of ↵ | Renato Botelho | 2013-02-15 | 1 | -2/+2 |
| | | | | only the last one | ||||
* | Treat openvpn tunnel IPs as local IPs and prevent warning on login page when ↵ | Renato Botelho | 2013-02-15 | 1 | -0/+13 |
| | | | | acessing it using tun IP address. Fixes #1681 | ||||
* | Merge pull request #417 from miken32/cp-database-fix | rbgarga | 2013-02-15 | 2 | -108/+108 |
|\ | | | | | Use associative array for captive portal database | ||||
| * | self-explanatory now, no comments needed | Michael Newton | 2013-02-14 | 1 | -41/+41 |
| | | |||||
| * | while we're here, send named termination causes | Michael Newton | 2013-02-14 | 1 | -11/+11 |
| | | |||||
| * | use associative array for captive portal to prevent confusion, messiness, ↵ | Michael Newton | 2013-02-14 | 2 | -98/+98 |
| | | | | | | | | and abuse | ||||
* | | only send Accounting-On at boot; can't tell if CP's being newly enabled or not | Michael Newton | 2013-02-14 | 1 | -4/+4 |
| | | |||||
* | | whitespace fixes | Michael Newton | 2013-02-14 | 1 | -7/+7 |
| | | |||||
* | | add support for RADIUS NAS accounting, fixes redmine feature request 2143 | Michael Newton | 2013-02-14 | 3 | -1/+92 |
|/ | |||||
* | Add privileges to CP 'Allowed hostnames' and fix a typo on edit IPs | Warren Baker | 2013-02-14 | 1 | -1/+13 |
| | |||||
* | Keep Unbound here for syslog messages | Warren Baker | 2013-02-14 | 1 | -2/+2 |
| | |||||
* | Backout Unbound for now bring back in 2.2. Fixes #2817 | Warren Baker | 2013-02-14 | 4 | -571/+3 |
| | |||||
* | Set $interfacegw properly and avoid losing default route in some circumstances | Renato Botelho | 2013-02-14 | 1 | -0/+2 |
| | |||||
* | Also do checks for ipv6 on is_ipaddr_configured | Ermal | 2013-02-14 | 2 | -6/+14 |
| | |||||
* | Check for the right function name since the previous was present in util.inc ↵ | Ermal | 2013-02-14 | 1 | -2/+1 |
| | | | | not interfaces.inc | ||||
* | Restore require_once(interfaces.inc) on get_configured_ip_addresses(), it's ↵ | Renato Botelho | 2013-02-13 | 1 | -0/+1 |
| | | | | required by get_interface_ip() | ||||
* | Two interfaces, carp, ip aliases might be on the same subnet as their ↵ | Ermal | 2013-02-13 | 2 | -14/+18 |
| | | | | parent. What needs to be checked is the ip itself | ||||
* | Remove dead code | Ermal | 2013-02-13 | 1 | -11/+0 |
| |