Commit Graph

11197 Commits

Author SHA1 Message Date
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
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
Renato Botelho
4021ec36a9 CARP IPs were being checked twice in some cases. Fixes #2823 2013-02-18 18:10:27 -03:00
Jean Cyr
34cb864556 Avoid Warning: Invalid argument supplied for foreach() in /etc/inc/system.inc
Warning: Invalid argument supplied for foreach() in /etc/inc/system.inc

Don't use captiveportal configuration option variable if it isn't set
2013-02-17 21:21:48 -05:00
Renato Botelho
5705c60a24 Revert "Merge pull request #417 from miken32/cp-database-fix"
It breaks customizations, it's not a good time for such big change.

This reverts commit 40c7b1a98b, reversing
changes made to d896f86751.
2013-02-17 11:34:44 -03:00
jim-p
290296cdc0 Fix test for enabling upnp anchor. Unbreaks upnp for many. 2013-02-17 09:03:46 -05:00
rbgarga
2d7e911174 Merge pull request #419 from bcyrill/patch-6
Remove #2760 workaround
2013-02-17 03:43:02 -08:00
rbgarga
cae9d2ca9c Merge pull request #418 from bcyrill/bogons_mem
Update bogons update routine
2013-02-17 03:42:02 -08:00
bcyrill
9ffce6c1e8 Remove #2760 workaround
Since pfctl has been patched there is no need for the #2760 issue workaround anymore.
2013-02-17 01:34:47 +01:00
Renato Botelho
923e440b75 Fix #2818. Last change didn't work, it needs to be one more step out of the loop. 2013-02-16 13:55:24 -02:00
bcyrill
45bc16b974 Update bogons update routine 2013-02-15 23:08:15 +01:00
Renato Botelho
7790196644 Restart snmpd on rc.newwanip. It should fix #2756 2013-02-15 15:40:38 -02:00
jim-p
c6e83f5e6d Add php shell scripts to (en|dis)able carp. 2013-02-15 10:17:18 -05:00
Renato Botelho
fa77faffbf Fix #2818. Save information about all phase1 on ipsecpinghosts instead of only the last one 2013-02-15 08:20:14 -02:00
Renato Botelho
71034b51ff Treat openvpn tunnel IPs as local IPs and prevent warning on login page when acessing it using tun IP address. Fixes #1681 2013-02-15 08:12:16 -02:00
rbgarga
40c7b1a98b Merge pull request #417 from miken32/cp-database-fix
Use associative array for captive portal database
2013-02-15 01:35:27 -08:00
Michael Newton
f1ab195e81 self-explanatory now, no comments needed 2013-02-14 22:06:06 -08:00
Michael Newton
00109fef22 while we're here, send named termination causes 2013-02-14 22:01:24 -08:00
Michael Newton
91ca7e9fa0 use associative array for captive portal to prevent confusion, messiness, and abuse 2013-02-14 21:14:38 -08:00
Michael Newton
e35ab948a3 only send Accounting-On at boot; can't tell if CP's being newly enabled or not 2013-02-14 16:11:34 -08:00
Michael Newton
cf2859f3f7 whitespace fixes 2013-02-14 15:26:00 -08:00
Michael Newton
62f20eab88 add support for RADIUS NAS accounting, fixes redmine feature request 2143 2013-02-14 15:19:06 -08:00
Warren Baker
2ccc41c1c5 Add privileges to CP 'Allowed hostnames' and fix a typo on edit IPs 2013-02-14 20:09:38 +02:00
Warren Baker
120404e07f Keep Unbound here for syslog messages 2013-02-14 19:59:54 +02:00
Warren Baker
950c9a182e Backout Unbound for now bring back in 2.2. Fixes #2817 2013-02-14 19:50:24 +02:00
Renato Botelho
03e96afb7d Set $interfacegw properly and avoid losing default route in some circumstances 2013-02-14 10:18:01 -02:00
Ermal
1e5da31d31 Also do checks for ipv6 on is_ipaddr_configured 2013-02-14 07:46:13 +00:00
Ermal
d97741c2b2 Check for the right function name since the previous was present in util.inc not interfaces.inc 2013-02-14 07:39:19 +00:00
Renato Botelho
f1a831b8a8 Restore require_once(interfaces.inc) on get_configured_ip_addresses(), it's required by get_interface_ip() 2013-02-13 21:00:04 -02:00
Ermal
a1e4e2a79f Two interfaces, carp, ip aliases might be on the same subnet as their parent. What needs to be checked is the ip itself 2013-02-13 22:40:22 +00:00
Ermal
c7ada9743f Remove dead code 2013-02-13 21:58:52 +00:00
Ermal
1b584e3ff3 During bootup do not try to resolve hostnames filterdns will handle those 2013-02-13 21:58:52 +00:00
jim-p
bddd2be844 Add a knob in the GUI to set the RADIUS authentication timeout. Previous default was 3s, new is 5s. When using two-factor auth via external (e.g. phone), this needs to be set much higher, 60-120. 2013-02-13 15:55:55 -05:00
Ermal
77daff1863 Use full path to nohup 2013-02-13 18:19:19 +00:00
Ermal
fba1804f83 Assign the output of exec to a var to avoid any issues 2013-02-13 18:19:18 +00:00
Phil Davis
785145350b Say goodbye to routed at bootup
Now that routed/RIP has been removed from the base system, it generates errors trying to start it in the base system boot script.
(I guess that if it is installed as a package, the package start code will bring it up at the end of the base system boot)
2013-02-13 08:04:13 +05:45
bcyrill
a0ad97f278 Remove redundant variable 2013-02-12 22:03:52 +01:00
Jim P
f5b89c3948 Merge pull request #410 from bcyrill/patch-1
Update etc/inc/services.inc
2013-02-12 12:35:48 -08:00
jim-p
f8edf05d87 Fix these tests, they will never succeed the way we set these variables using the old test. Fixes #1987 2013-02-12 15:28:06 -05:00
bcyrill
60214e06f0 Update etc/inc/services.inc
Fix path to chmod
2013-02-12 21:24:58 +01:00
Ermal
100f3e7191 Resolves #1284. Merge patch submitted a bit differentely 2013-02-12 20:18:46 +00:00
jim-p
eac5237654 Do the syslogd restart unconditionally. It happens on IPv4 as well as IPv6. See http://forum.pfsense.org/index.php/topic,58345.0.html 2013-02-12 12:27:22 -05:00
Ermal
096f2962a9 Ticket #1629 Another round of fixes related to state clearing 2013-02-12 12:01:29 +00:00
Ermal
cef329942a Correct value extaction 2013-02-12 08:59:00 +00:00
Ermal Luçi
ec0ed17a5d Merge pull request #406 from miken32/nas-identifier
Support for custom NAS-Identifier
2013-02-12 00:56:36 -08:00
Michael Newton
f9dc100c3c fix typo 2013-02-11 14:35:54 -08:00
Renato Botelho
e6c6001328 Check interfaces and VIP IP address overlap
- Check if interface IP overlaps other interfaces or localip from mpd
  based services
- Check if VIPs IP overlaps interfaces or other VIPs address

It fixes #1723
2013-02-11 18:35:50 -02:00
Michael Newton
07c132f90a check for configured NAS ID otherwise use default hostname 2013-02-11 11:00:01 -08:00
Michael Newton
eb1627906a remove unsed getNasID function 2013-02-11 10:59:08 -08:00