Commit Graph

22290 Commits

Author SHA1 Message Date
jim-p
85bdf99766 Add Auth Digest to OpenVPN wizard also. 2013-10-30 16:01:39 -04:00
jim-p
97d5b59b41 Add an Authentication Digest Algorithm drop-down to OpenVPN server/client (SHA1 is the default since that is OpenVPN's default) 2013-10-30 15:47:59 -04:00
Renato Botelho
204bec2835 Revert "Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280"
Another solution will be implemented

This reverts commit 6721d6d044.
2013-10-29 07:35:41 -02:00
Renato Botelho
6721d6d044 Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280 2013-10-29 07:06:05 -02:00
Chris Buechler
9aca739060 fix typo 2013-10-28 19:20:37 -05:00
Renato Botelho
1dc0e7f4f1 Make return_gateways_array() return all disabled gateways when $disabled is true, it should fix #3291 2013-10-28 14:20:26 -02:00
Ermal Luçi
b84ac9c64f Merge pull request #822 from CharlieMarshall/interfacesWidget
cleanup interfaces.widget.php
2013-10-28 06:29:11 -07:00
Renato Botelho
20623f576e Fix an attempt to read unset variable $rtent 2013-10-28 10:35:45 -02:00
Charlie Marshall
0c951d98a3 cleanup interfaces.widget.php 2013-10-25 20:15:05 +01:00
Renato Botelho
bf75550387 Use a more accurate error message, fixes #3282 2013-10-25 10:42:02 -02:00
jim-p
cbe12b8de3 Add source address selection to syslog settings, so it can work more effectively over a VPN. Fixes #355 2013-10-24 16:33:56 -04:00
Renato Botelho
b8250344f5 Fix #3235
. diag_nanobsd.php:
 . Since conf_mount_ro() is always being called, always call
   conf_mount_rw to keep refcount correct
 . Do not show refcount_read() return when it's -1
. config.lib.inc
 . Increment and decrement refcount even if nanobsd_force_rw is set.
   This is necessary to avoid partition being mounted as RO when
   nanobsd_force_rw is disabled and any process requested it to be RW
2013-10-24 18:07:12 -02:00
Renato Botelho
a4e4b5609c Make sure pf rule labels never have more than 63 chars. It should fix #3208 2013-10-23 11:58:56 -02:00
Renato Botelho
a3e232db7d Merge pull request #813 from phil-davis/master
Fix logic in detecting if OpenVPN resync needed, fixes #3255
2013-10-23 04:52:31 -07:00
Ermal
10d9290f5b Prepend ipsec_ here as well for better protection 2013-10-22 18:49:34 +00:00
Ermal
7b95ffdd72 Use the pid of the process for the tmp file also prepend ovpn_ here to make it clear 2013-10-22 18:46:12 +00:00
Ermal
45758be466 Correct even here the routes from cisco-avpair processing 2013-10-22 18:44:41 +00:00
Ermal
eb7d43c0f5 Use the pid of the process for the tmp file 2013-10-22 18:42:52 +00:00
jim-p
9f293b1c04 Fix cisco-avpair processing, and route processing from avpair replies. 2013-10-22 11:45:36 -04:00
jim-p
afdf29d3a4 Make the RADIUS settings respect the description of the timeout field. If the timeout value is left blank, use 5 seconds, don't print an error. 2013-10-22 10:53:02 -04:00
Renato Botelho
2b6e6fee80 Make it more explicit that 'update freq.' unit is days 2013-10-22 12:40:19 -02:00
Renato Botelho
6ff717819d Remove unused variable 2013-10-22 12:39:03 -02:00
Renato Botelho
edc56e4876 Add missing privileges to the list, it fixes #3279 2013-10-22 11:31:56 -02:00
Renato Botelho
c03d4be130 Fix typo and whitespace 2013-10-22 11:31:44 -02:00
Renato Botelho
9b104557fe Fix priv name 2013-10-22 11:31:38 -02:00
jim-p
6ccefb28f0 Optimize DHCPv4 lease display online status for static leases. Do not re-parse complete ARP table for each lease, as it can be slow with large ARP tables. 2013-10-22 08:59:51 -04:00
Renato Botelho
6794e407b0 Fix #3283, use jQuery to change attributes based on id 2013-10-21 18:01:35 -02:00
Renato Botelho
f4100c0e83 Set id for select elements created dynamicaly created 2013-10-21 17:58:49 -02:00
Renato Botelho
dd8722db1f Limit CIDR choices for IPv4 on GRE interface, fixes #3277 2013-10-21 12:03:02 -02:00
Renato Botelho
dda9c67f7f Fix #3259. Save 'packet loss rate' and 'bucket size' for limiter queues 2013-10-21 10:59:02 -02:00
Renato Botelho
36b7f21544 Fix #3273
- When you disable a interface, it destroys vlan interface from system.
Do not report error when interface doesn't exist.
- While I'm here, use pfSense_interface_destroy() instead of ifconfig
2013-10-18 17:41:32 -03:00
Renato Botelho
40a8f669c2 Prevent a possible division by zero. it fixes #3212 2013-10-18 17:32:26 -03:00
Renato Botelho
06896c6a9d Actually there is no reason to set a variable just to use once 2013-10-18 11:38:02 -03:00
Renato Botelho
4e8a79a830 Fix #3242 and some code cleanup:
- Only explode '/' and set address_subnet when address is a subnet, it
  fixes issue reported at #3242
- While I'm here, do some cleanup on the way addresses are treated
  - Remove unecessary variable $tracker, we already have $counter set
    with the same value
  - Use if:endif and while:endwhile where there is html block inside the
    block
  - Use more meaning names for variables instead of item, item2, item3
    and item4
  - Use while($counter <= $count()) instead of using foreach referencing
    array using $counter inside
2013-10-18 11:26:03 -03:00
Renato Botelho
ea10844765 Make sure vlan interface exist when it's being configured, it fixes #3270 2013-10-18 10:40:56 -03:00
Renato Botelho
c48fdaa40e Fix #3268 - avoid pf table names conflict:
. Create a list of reserved table names for the hardcoded ones
. Use this list to validate aliases and load balance pool names
. Check if alias names don't conflict with LB pool names and vice-versa
2013-10-16 09:18:10 -03:00
Renato Botelho
c858a03512 Merge pull request #817 from stephanel/master
Added OVH DynHOST in dynamic DNS services
2013-10-15 06:30:52 -07:00
Renato Botelho
09dfec24c6 Merge pull request #819 from CharlieMarshall/responsive
make dashboard responsive (theme pfsense_ng_fs)
2013-10-15 06:10:31 -07:00
Charlie Marshall
b18a99d3c0 some tidying up 2013-10-14 20:33:43 +01:00
Charlie Marshall
e5e0fd39f5 make dashboard responsive 2013-10-14 20:27:47 +01:00
Renato Botelho
8deaf333f2 Add Captive Portal Zones privileges definition. Fix #3216 2013-10-14 15:53:59 -03:00
Renato Botelho
b4a62651f8 Allow special chars to be used on IPSec mobile login banner. Fixes #3247 2013-10-11 10:59:20 -03:00
Renato Botelho
2d72659aec Set default value to radius_protocol during upgrade, it should fix #3226 2013-10-11 09:19:56 -03:00
Renato Botelho
0f0f7b2cbe Fix 'Packet loss rate' and 'Bucket Size' range checking 2013-10-11 08:25:29 -03:00
Phil Davis
feb2e013ed Remove redundant test for OpenVPN resync_needed 2013-10-11 02:20:39 -07:00
Jim P
e97b547eb7 Merge pull request #818 from jdillard/master
added favicon to logged in pages
2013-10-10 21:11:40 -07:00
Jared Dillard
cfa352c643 added favicon to logged in pages 2013-10-10 21:46:20 -05:00
jim-p
aa0753e388 Needs parens 2013-10-10 12:59:19 -04:00
jim-p
a3cc14095d Add upgrade code to change the DHCP next-server value to nextserver since it was renamed sometime in 2.1 but upgrade code didn't follow. Also shuffle the upgrade code blocks a bit since we need these on 2.1.x and nobody should be on 2.2 yet, so the impact should be minimal to renumber the one bit specific to 2.2. 2013-10-10 12:47:51 -04:00
Stéphane
a4a56eb0e7 Added OVH DynHOST in dynamic DNS services 2013-10-09 21:01:53 +02:00