diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/frickin/frickin.inc | 4 | ||||
-rw-r--r-- | config/frickin/frickin.xml | 2 | ||||
-rw-r--r-- | config/imspector/imspector.xml | 8 | ||||
-rw-r--r-- | config/imspector/services_imspector_logs.php | 6 |
4 files changed, 9 insertions, 11 deletions
diff --git a/config/frickin/frickin.inc b/config/frickin/frickin.inc index 16bffab8..8b57b8ae 100644 --- a/config/frickin/frickin.inc +++ b/config/frickin/frickin.inc @@ -77,7 +77,7 @@ EOD; mwexec("/usr/bin/killall frickin"); mwexec("chmod a+rx /usr/local/etc/rc.d/frickin.sh"); - mwexec("/usr/local/etc/rc.d/frickin.sh"); + mwexec_bg("/usr/local/etc/rc.d/frickin.sh"); // file_notice("System -> Advanced -> Scrub", "pfSenses scrub option has been disabled. See http://www.openbsd.org/faq/pf/scrub.html for more info.", "Scrub"); // $config['system']['scrubnodf'] = "enabled"; @@ -138,4 +138,4 @@ function frickin_generate_rules($type) { return $rules; } -?>
\ No newline at end of file +?> diff --git a/config/frickin/frickin.xml b/config/frickin/frickin.xml index 89d3f2c8..497d4cd3 100644 --- a/config/frickin/frickin.xml +++ b/config/frickin/frickin.xml @@ -47,7 +47,7 @@ <faq>Currently there are no FAQ items provided.</faq> <name>frickin</name> <version>2.0-BETA1</version> - <title>none</title> + <title>Frickin PPTP Proxy</title> <include_file>/usr/local/pkg/frickin.inc</include_file> <menu> <name>Frickin PPTP</name> diff --git a/config/imspector/imspector.xml b/config/imspector/imspector.xml index 076dca13..1c272679 100644 --- a/config/imspector/imspector.xml +++ b/config/imspector/imspector.xml @@ -9,11 +9,7 @@ /* authng.xml part of pfSense (http://www.pfSense.com) - Copyright (C) 2007 to whom it may belong - All rights reserved. - - Based on m0n0wall (http://m0n0.ch/wall) - Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>. + Copyright (C) 2007 Ryan Wagoner <rswagoner@gmail.com>. All rights reserved. */ /* ========================================================================== */ @@ -46,7 +42,7 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>imspector</name> - <version>0.4</version> + <version>0.5</version> <title>Services: IMSpector</title> <savetext>Change</savetext> <aftersaveredirect>/services_imspector_logs.php</aftersaveredirect> diff --git a/config/imspector/services_imspector_logs.php b/config/imspector/services_imspector_logs.php index 616d3dfc..09ba870e 100644 --- a/config/imspector/services_imspector_logs.php +++ b/config/imspector/services_imspector_logs.php @@ -102,13 +102,14 @@ if ($_POST['mode'] == "render") { $line = fgets($fd); if(feof($fd)) continue; - preg_match('/([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),(.*)/', $line, $matches); + preg_match('/([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),(|.*),(.*)/', $line, $matches); $address = $matches[1]; $timestamp = $matches[2]; $direction = $matches[3]; $type = $matches[4]; $filtered = $matches[5]; - $data = $matches[6]; + $category = $matches[6]; + $data = $matches[7]; if($direction == '0') { $bgcolor = $convo_remote_bgcolor; @@ -123,6 +124,7 @@ if ($_POST['mode'] == "render") { print("<tr bgcolor='$bgcolor'><td style='width: 30px; vertical-align: top;'>[$time]</td>\n <td style=' width: 60px; vertical-align: top;'>$user</td>\n + <td style=' width: 60px; vertical-align: top;'>$category</td>\n <td style='vertical-align: top;'>$data</td></tr>\n"); } print("</table>\n"); |