Commit Graph

20924 Commits

Author SHA1 Message Date
Renato Botelho
d348160eb4 Unset enable parameter instead of set its value to false. Fixes #1838 2013-02-22 15:10:47 -03:00
Renato Botelho
c4bd43ccba Copy full dhcpd conf from master to slave. Fixes #2600 2013-02-22 14:22:40 -03:00
Renato Botelho
d026178fa6 Make sure we create / delete SPDs and SADs on secondary node when it changes on primary. Fixes #2303 2013-02-22 11:56:34 -03:00
Renato Botelho
dc2e5552a2 simplify logic a bit 2013-02-22 09:43:23 -03:00
Renato Botelho
fb6a3e7a1a Set pfsync0 as down when it's not being used 2013-02-22 09:40:11 -03:00
Renato Botelho
b32ea59d5a 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
2013-02-22 09:34:23 -03:00
jim-p
2ead5ea7de Don't forget zones here too 2013-02-21 20:18:49 -05:00
jim-p
506bca1210 Include zones on voucher expire page tabs. 2013-02-21 20:03:47 -05:00
Renato Botelho
5d764d64b9 Insert new NAT rules on the top of the list when top plus icon is used. Fixes #1118 2013-02-21 16:30:42 -03:00
Renato Botelho
3202763c8b Add NAT rule based on NAT rule below it instead of at the bottom of the list. Fixes #1118 2013-02-21 16:15:07 -03:00
Renato Botelho
95540233e3 Do not allow bridge members to be assigned to itself. Fixes #1153 2013-02-21 15:18:33 -03:00
Renato Botelho
ef88e1e1d8 Fix indent and whitespaces 2013-02-21 14:21:02 -03:00
Renato Botelho
b030e03510 Allow deleting all aliases but the last one within the same subnet of a CARP IP. Fixes #2406 2013-02-21 12:28:54 -03:00
Renato Botelho
873e49ec1c Set if interface is enable before try to configure static arp. Fixes #1988 2013-02-21 11:16:58 -03:00
Renato Botelho
42fa2c0142 Avoid conflicting interface IP address with static routes. Fixes #2039 2013-02-21 11:05:02 -03:00
Renato Botelho
acc68ffad2 find_interface_ipv6 should return the first configured address, not the last one 2013-02-21 08:43:28 -03:00
Renato Botelho
8de7e1805a Improve error message since we can have ipv6 set here 2013-02-21 08:30:11 -03:00
Renato Botelho
6e828f9865 Add missing check for IPv6 overlap on interfaces, it complements the change made for ticket #1723 2013-02-21 08:23:46 -03:00
Renato Botelho
2c98a93536 Teach is_ipaddr_configured to check ipv6 for single IPs. While I'm here, reduce code duplication 2013-02-21 08:19:39 -03:00
Renato Botelho
8d8b1af708 Remove unused function remove_numbers() 2013-02-21 07:41:41 -03:00
Renato Botelho
2ccac12588 A nic family name can contain numbers on it, remove only the index in the end. Fixes #2010 2013-02-21 07:41:23 -03:00
Ermal
eed221974e Remove unimplemented option 2013-02-20 21:40:18 +00:00
Renato Botelho
9a15b8d2e9 Fix issues on "Set interface(s) IP address" option
- Avoid duplicate gateway entries
- Fix checking if a default gw already exists
- Set IPv6 to none when user choose it
- Set gateway on interface
2013-02-20 16:50:54 -03:00
Renato Botelho
b82e46967a fix typo 2013-02-20 14:55:40 -03:00
Renato Botelho
ebbfc4b771 Revert "Preselect interface subnet mask for carp interfaces"
This was not a good change, it just consider ipv4, and it doesn't
respect the previous selected value. Revert it now and think on a better
solution later.

Fixes #2829

This reverts commit d94eb90446.
2013-02-20 12:15:27 -03:00
Renato Botelho
1f56ce5866 Fix dhcp v6 config section name for console setup and check on interfaces.php, the correct is dhcpdv6 instead of dhcpd6. Fixes #2827 2013-02-20 09:41:26 -03:00
Renato Botelho
2675f511cc Fix sort param to call bandwidth_by_ip 2013-02-20 08:51:55 -03:00
Ermal Luçi
a386126069 Merge pull request #428 from mdima/master
Status Queue: Uniform units in the interface.
2013-02-20 00:00:06 -08:00
Michele Di Maria
31e41cf41f Status Queue: Uniform units in the interface.
Uniform units in the interface.
2013-02-20 08:33:35 +01:00
Ermal
ae88de13ca Some more code cleanup 2013-02-19 21:46:47 +00:00
Ermal
1cf47c498c Put the alerts behind comments for someone wanting to debug this. The errors are from CSRF though ticket #2826 should not happen and functionality is not impacted by this. 2013-02-19 21:42:40 +00:00
Ermal
647df2d42a Remove single quotes committed wrongly 2013-02-19 19:14:56 +00:00
Ermal
ffac939ef9 Use jQuery() as all other code 2013-02-19 18:13:14 +00:00
Ermal
b1b930dd1b Use jQuery fully on traffic graph. Also remove some unused code from bandwidth_by_ip 2013-02-19 18:03:22 +00:00
Ermal
b406c78a1f Be explicit on the testing 2013-02-19 17:20:33 +00:00
jim-p
c3ebb2f867 Try to use our git PBI instead of the tbz version. 2013-02-19 10:48:31 -05:00
jim-p
5823264a93 Add some PHP shell scripts for managing packages from the CLI.
pfSsh.php playback installpkg git
pfSsh.php playback uninstallpkg git
pfSsh.php playback listpkg
2013-02-19 10:36:12 -05:00
jim-p
28a20fdbf4 Default to using sha256 for a ca/cert digest algorithm, since sha1 is no longer recommended. 2013-02-19 09:08:01 -05:00
jim-p
741d748d72 Correct some inconsistencies in keylen/csr_keylen. Should fix csr generation errors mentioned on ticket #2820 2013-02-19 09:06:32 -05:00
Renato Botelho
1fea5ad99e Get the correct interface subnet 2013-02-19 08:41:57 -03:00
rbgarga
30a9067275 Merge pull request #426 from N0YB/Interfaces_Types_Config_Sections_Spacer_Row
Interfaces Types Config Sections Spacer Row
2013-02-19 02:17:09 -08:00
N0YB
1c4846e90f Interfaces Types Config Sections Spacer Row
Fix spacer (last) row display inconsistency
Missed one
2013-02-18 22:56:12 -08:00
Renato Botelho
79ea2726b5 Display right interface name on alias list when alias interface os CARP. Fixes #2824 2013-02-18 20:14:02 -03:00
rbgarga
9e696e9ae5 Merge pull request #425 from N0YB/Interfaces_Types_Config_Sections_Spacer_Row
Interfaces Types Config Sections Spacer Row
2013-02-18 14:51:02 -08:00
rbgarga
672717cf9c Merge pull request #423 from N0YB/Interfaces_Static_IP_Gateway_Add_New
Interfaces Static IP v4 & v6 Gateway Add New
2013-02-18 14:50:11 -08:00
N0YB
a236affe7a Interfaces Types Config Sections Spacer Row
Fix spacer (last) row display inconsistency
2013-02-18 13:40:45 -08:00
Renato Botelho
4021ec36a9 CARP IPs were being checked twice in some cases. Fixes #2823 2013-02-18 18:10:27 -03:00
N0YB
bd10508a2e Interfaces Static IP v4 & v6 Gateway Add New
Fix mismatched table row tags
2013-02-18 11:23:27 -08:00
jim-p
24c0145c2c Add Digest Algorithm option to the CSR screen, should fix #2820 2013-02-18 08:46:17 -05:00
Chris Buechler
3e9c81b228 Merge pull request #422 from jean-m-cyr/master
Avoid Warning: Invalid argument supplied for foreach() in /etc/inc/system.inc
2013-02-17 18:51:30 -08:00