summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-05-20 15:41:55 +0000
committerErmal Luçi <eri@pfsense.org>2008-05-20 15:41:55 +0000
commit697a51eba42eeb1f1de7fad6092747a978356884 (patch)
treecb70c242daecd244dbd96d4168993c64a1dade2b /etc
parentb1cc2eb23c7861ca4f57689e39242b3adabe55b7 (diff)
downloadpfsense-697a51eba42eeb1f1de7fad6092747a978356884.zip
pfsense-697a51eba42eeb1f1de7fad6092747a978356884.tar.gz
Actually make the ipfw hook first one.
In multi-WAN case it may not see the packet at all if it is as the last hook.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 4e42380..9359662 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -73,8 +73,11 @@ function captiveportal_configure() {
*/
mwexec("/sbin/sysctl net.inet.ip.pfil.inbound=\"ipfw,pf\"");
- /* TODO: Should check that this does not break accounting. */
- //mwexec("/sbin/sysctl net.inet.ip.pfil.outbound=\"pf\"");
+ /*
+ * TODO: Check if disabling ipfw hook
+ * does not break accounting.
+ */
+ mwexec("/sbin/sysctl net.inet.ip.pfil.outbound=\"ipfw,pf\"");
/* stop accounting on all clients */
captiveportal_radius_stop_all();
OpenPOWER on IntegriCloud