Commit Graph

8189 Commits

Author SHA1 Message Date
Erik Fonnesbeck
678dfd0fa8 Add a setting for the data type of values used with DHCP option numbers and input validation for each type. Fixes #962 2010-11-09 05:14:29 -07:00
Erik Fonnesbeck
5d27a3dc14 Add a function type to the field types allowed, to allow more field types without directly adding all of them to row helper. 2010-11-09 03:02:54 -07:00
Chris Buechler
5868547083 fix input validation for GRE 2010-11-08 21:23:29 -05:00
jim-p
6e8b0ec310 Add a button to connect a non-mobile IPsec VPN from Status > IPsec. Sends a ping from a local IP in the p2 subnet (if one exists on the router) to the remote p2 subnet. 2010-11-08 17:21:27 -05:00
Scott Ullrich
61ab4cd327 Return disabled interfaces as well 2010-11-08 10:53:00 -05:00
Scott Ullrich
157b9d46a2 Return disabled interfaces as well 2010-11-08 10:52:46 -05:00
Warren Baker
4395500c09 Recent move (d32d3970d5) of routed/ items required additional files to be updated to reflect correct path. 2010-11-08 08:44:20 +02:00
Scott Ullrich
818c54ee19 Do not use sub array 2010-11-06 15:34:36 -04:00
Scott Ullrich
43a0ac8a29 Make sure ipsec is incuded in valid interfaces 2010-11-06 15:31:52 -04:00
Scott Ullrich
e5fee34061 Move Note to bottom of page 2010-11-06 15:24:05 -04:00
Scott Ullrich
366e2be817 Show interface description 2010-11-06 15:22:59 -04:00
Scott Ullrich
2c4a13d91b Interface names should appear as uppercase 2010-11-06 14:40:01 -04:00
Scott Ullrich
9c3cac0cb5 Interface names should appear as uppercase 2010-11-06 14:38:38 -04:00
Scott Ullrich
5aaae0e32e Do not escape strings twice 2010-11-06 14:34:28 -04:00
Scott Ullrich
0f08affeb4 Misc fixes. Use htmlspecialchars() in more places. Use escaped shell argument. 2010-11-06 14:26:07 -04:00
Scott Ullrich
66d57db5e4 Interface names should appear as uppercase 2010-11-06 14:11:35 -04:00
Scott Ullrich
4cea35b344 Interface names should appear as uppercase 2010-11-06 14:10:09 -04:00
jim-p
c1f95f5c44 Various CRL fixes. 2010-11-06 14:08:18 -04:00
Scott Ullrich
e8ad860fb4 Interface names should appear as uppercase 2010-11-06 14:03:23 -04:00
Scott Ullrich
9455610597 Define variable a bit earlier in case its shared 2010-11-06 14:01:57 -04:00
Scott Ullrich
d815d5faec Use get_configured_interface_list() so Ermal does not yell at me :) 2010-11-06 14:00:11 -04:00
Scott Ullrich
98bcf1f8b5 Fix misc input validation errors. Move routed/* to same dir as pkg items 2010-11-06 12:40:54 -04:00
Scott Ullrich
6a93718873 Ensure passed interface is valid 2010-11-06 12:31:03 -04:00
Scott Ullrich
8625c24f8e Use htmlspecialchars() for santitized output 2010-11-06 12:24:59 -04:00
Scott Ullrich
50b2f6ab4c Ensure that we are working with a proper passed interface.. 2010-11-06 12:15:01 -04:00
jim-p
0397625421 If the anti-lockout rule is active, show it in the rules list for the LAN interface (or WAN if the interface count is 1, same rules as in filter.inc for putting the rule in the ruleset) 2010-11-05 10:12:28 -04:00
jim-p
428e66b61b Warn a user when entering the OpenVPN client/server screens that they need a CA/Cert if none exist. 2010-11-04 14:30:50 -04:00
jim-p
9882cbef8e Use addslashes() here to prevent unescaped quotes from causing PHP errors. Fixes advanced/custom options in OpenVPN wizard. 2010-11-04 13:18:29 -04:00
jim-p
3339c56f95 Use a different variable name here to avoid colliding with another of the same name. 2010-11-04 10:39:17 -04:00
jim-p
9ad0ab8085 Use != here to avoid a potential issue with empty() testing intermediate arrays. 2010-11-03 17:26:44 -04:00
jim-p
42724fdd08 Add a button to the filter reload screen to force a config sync (only shows up if a config sync peer is defined). 2010-11-03 17:18:08 -04:00
jim-p
366006156f Fix saving of off/disabled PPPoE server instances. Fixes #987 2010-11-03 16:11:00 -04:00
jim-p
b039f099e6 Don't show empty user IPsec keys. 2010-11-03 10:26:12 -04:00
Ermal
9cb94dd46b Ticket #980. Bring CP widget up to date. Also bind lighty for CP to 127.0.0.1 it should not be accessible otherwise. 2010-11-03 13:25:54 +00:00
jim-p
6bc1e79a7d Don't use pconfig in a widget, it can cause issues with other widget settings. 2010-11-02 16:48:06 -04:00
jim-p
60e76c58df CSS changes, fixes misaligned cursor in some password fields. Fixes item 1 in ticket #830 2010-11-02 16:07:29 -04:00
jim-p
a6607b5fe0 More VPN log fixes, for consistency. Ticket #912 2010-11-02 15:14:11 -04:00
jim-p
b2b6130819 Switch from buttons to tabs, add a mode to view raw mpd logs for each vpn type, and some general cleanup. Fixes #912 2010-11-02 14:11:55 -04:00
jim-p
fbeaba6614 Remove these now-obsolete linkup/linkdown scripts. 2010-11-02 13:22:49 -04:00
jim-p
874e5f2cc9 Fix VPN log page to use the updated log format (again). Ticket #912. 2010-11-02 12:52:10 -04:00
jim-p
2f9d2dc2f0 Use a unified vpn-linkup script that detects the type based on interface name. 2010-11-02 11:57:40 -04:00
jim-p
14905d9fce Show login/logout events for pptp, pppoe server, and l2tp. Could use some work to simplify. Ticket #912. 2010-11-01 17:02:22 -04:00
jim-p
6d1091dc25 Add individual linkdown scripts so the service type can be set in the log. 2010-11-01 16:15:24 -04:00
jim-p
d282c96c52 Add service type to vpn log 2010-11-01 16:05:14 -04:00
jim-p
a2071365fb Sync service status widget code with service status page. Fixes #984 2010-11-01 14:46:28 -04:00
jim-p
08724afa0a Test for arrays first, should fix #968 2010-11-01 14:13:17 -04:00
Erik Fonnesbeck
b7ccf315a7 Make the change here, too. 2010-10-29 03:55:51 -06:00
Ermal
e3bbd29a56 Replace \r from custom options otherwise it breaks config. 2010-10-28 18:34:38 +00:00
jim-p
7c2551881c Fix logging parameters. 2010-10-28 10:29:26 -04:00
jim-p
c815b877cf Fix pfctl -b parameters to prevent the killing of unintended states. 2010-10-28 10:29:00 -04:00