Scott Ullrich
a3755fe7df
Exclude loader.conf from being update during kernel update
2011-01-28 17:09:17 -05:00
Warren Baker
20413b72bf
Added Captive Portal RRD graphs, there are two graphs one for the number of logged in users since last rrd poll, and concurrent number of users logged in.
2011-01-28 17:16:19 +02:00
Ermal
9b2e42c9fa
When setting the ip from the console also enable the interface otherwise the HTTP_REFERER checks will not let you use the GUI.
2011-01-28 16:03:42 +00:00
Ermal
9d0b063579
Make this actually work as it should. The warnings about default queue should be ok now.
2011-01-28 14:39:48 +00:00
jim-p
fc05822bb8
Don't pass these by reference. Might be related to ticket #1231
2011-01-27 16:54:28 -05:00
Ermal
a798fd3e7a
At least bring the interface up. Sometimes even though the linkup is reported interfaces like em(4) do not come up.
2011-01-26 22:47:46 +00:00
Ermal
c3770c78c8
Ups actually single quotes are needed when / is the first char of a command. Requirment enforced by the parser.
2011-01-26 22:44:22 +00:00
Ermal
f7f227509f
Remove last references to dnswatch.
2011-01-26 22:15:40 +00:00
Ermal
f8c10a18a9
Use filterdns instead of dnswatch which will be retired.
2011-01-26 21:12:07 +00:00
Ermal
422b8b4ef0
Switch to filterdns new and shiny for taking care of dns in CP.
2011-01-26 18:40:22 +00:00
Ermal
c3c7fc0627
These are pf type aliases.
2011-01-26 18:29:54 +00:00
jim-p
1749da310c
Fix exec bit for savecore
2011-01-26 12:44:55 -05:00
jim-p
e5323cca19
Run dumpon earlier, split dumpon/ddb from savecore and run savecore later.
2011-01-26 12:42:47 -05:00
Ermal
ee4fc984e1
Silence warnings.
2011-01-26 10:17:31 +00:00
Erik Fonnesbeck
0ad7bcd834
Fix case for disabling RRD graphing for spamd package.
2011-01-25 16:12:38 -07:00
jim-p
27d5c1dd0a
Setup textdumps too while we're at it. Handy.
2011-01-25 17:23:50 -05:00
jim-p
726b5d8533
Fix exec bits on rc.dumpon
2011-01-25 17:05:03 -05:00
Scott Ullrich
1e2ee7148d
Redirect to correct page
2011-01-25 17:03:32 -05:00
jim-p
c3a56ba93a
Add support for dumpon/savecore to run on full installs.
2011-01-25 17:02:05 -05:00
jim-p
3b39d0ac8c
Whitespace fix
2011-01-25 17:02:04 -05:00
Scott Ullrich
1b01056c7d
Redirect to correct page
2011-01-25 17:00:41 -05:00
Scott Ullrich
96920d07ad
Restart lighty captive portal after sync
2011-01-25 15:20:08 -05:00
Scott Ullrich
c4e228f333
Transform PORTAL_REDIRURL variable
2011-01-25 15:11:44 -05:00
Scott Ullrich
ec192fe543
Fix url. Do not include mod_accesslog twice
2011-01-25 14:55:54 -05:00
Scott Ullrich
2953848baf
remove single quotes
2011-01-25 14:09:42 -05:00
Scott Ullrich
9abe1997c8
Brute force dnswatch kill if needed
2011-01-25 13:38:12 -05:00
Scott Ullrich
a00e1d896b
move pre-auth url before after auth url for consistency.
2011-01-25 13:24:35 -05:00
Scott Ullrich
f6a0f98299
Set form field type, make URL boxes same size
2011-01-25 13:23:36 -05:00
Scott Ullrich
766070204d
move option near the other
2011-01-25 13:22:17 -05:00
Scott Ullrich
ecc193491c
Increase textbox size. Clarify the original Redirection URL purpouse
2011-01-25 13:19:51 -05:00
Scott Ullrich
38060391d5
Handle PORTAL_REDIRURL variable
2011-01-25 13:13:01 -05:00
Scott Ullrich
e0f1a8d6ec
Adding CP pre-authentication redirect URL box
2011-01-25 13:09:29 -05:00
Scott Ullrich
75d12406a0
Launch dnswatch correctly.
2011-01-25 13:03:46 -05:00
Scott Ullrich
8b73cc7ee5
Allowed hostname is now working. Make bw up and down checks a bit more strict using intval() and comparing >0. Fix bw and upload checks allowing either to be set.
2011-01-25 13:00:32 -05:00
Scott Ullrich
0b108edab3
Allowed hostname is now working. Make bw up and down checks a bit more strict using intval() and comparing >0. Fix bw and upload checks allowing either to be set.
2011-01-25 12:58:59 -05:00
Scott Ullrich
620ac186ea
Misc fixups
2011-01-25 12:31:47 -05:00
Scott Ullrich
79e99eb47e
Make allowedhostname an array.
2011-01-25 12:30:18 -05:00
Scott Ullrich
9592c1327f
Prevent drop down menu creation
2011-01-25 12:12:54 -05:00
Scott Ullrich
d413cd50f3
Adding switch to prevent dropdown menu creation.
2011-01-25 12:11:54 -05:00
Scott Ullrich
4e97813592
Adding tab for allowed hostnames
2011-01-25 12:07:43 -05:00
Scott Ullrich
55c18b30a9
Adding preliminary version of allowed hostnames. Allowed hostnames function similar to allowed IP addresses and permit the captive portal to pass traffic out. An example usage of this is to allow access to a hotel web page freely and then require authentcation hotlinking from this point.
2011-01-25 11:55:07 -05:00
Scott Ullrich
f23a6091d4
Fix formatting. Die, VIM, DIE!
2011-01-25 11:35:33 -05:00
Scott Ullrich
5060dea773
Reformat file. VIM needs to die a flaming death.
2011-01-25 10:32:54 -05:00
Chris Buechler
f0e69fca01
don't show version on this page either, to match the other pages
2011-01-25 05:32:14 -05:00
Erik Fonnesbeck
d11e01f4ee
Comment out this code since it currently segfaults and get_real_interface could cause major slowdown here for some configurations.
2011-01-25 02:16:40 -07:00
Erik Fonnesbeck
5357f38682
Remove extra call to get_real_interface.
2011-01-25 01:34:37 -07:00
Erik Fonnesbeck
5691915776
Use the first element of the array instead of the array itself for the comparison.
2011-01-25 01:03:49 -07:00
Erik Fonnesbeck
a1476a942b
Revert "I think this is supposed to be get_real_interface too, not get_parent." - This function should not call get_real_interface here to avoid slowdown from recursion.
...
This reverts commit 54ac5d9080 .
2011-01-25 00:45:58 -07:00
gnhb
20cb9803c2
Make get_parent_interface return an array to handle MLPPP and make it find vlan parents too.
...
Also, update interface_netgraph_needed to handle MLPPP on vlans.
2011-01-25 14:16:11 +07:00
gnhb
a3af81460c
Add NULL check to wireless functions.
...
The old interface_translate_type_to_real function used previously would return OPTX
if it was passed "OPTX" and OPTX existed but was unassigned, whereas get_real_interface returns NULL, so now we
check for NULL.
2011-01-25 11:36:28 +07:00