Project

General

Profile

« Previous | Next » 

Revision cd577ebd

Added by Ermal LUÇI almost 12 years ago

Enable filtering on ipfw sysctl not dependent on ipfw module otherwise issue reported here http://forum.pfsense.org/index.php/topic,64412.0.html happens

View differences:

etc/inc/captiveportal.inc
153 153
		/* make sure ipfw is not on pfil hooks */
154 154
		mwexec("/sbin/sysctl net.inet.ip.pfil.inbound=\"pf\" net.inet6.ip6.pfil.inbound=\"pf\"" .
155 155
		       " net.inet.ip.pfil.outbound=\"pf\" net.inet6.ip6.pfil.outbound=\"pf\"");
156
		/* Activate layer2 filtering */
157
		mwexec("/sbin/sysctl net.link.ether.ipfw=1 net.inet.ip.fw.one_pass=1");
158 156
	}
157
	/* Activate layer2 filtering */
158
	mwexec("/sbin/sysctl net.link.ether.ipfw=1 net.inet.ip.fw.one_pass=1");
159 159

  
160 160
	/* Always load dummynet now that even allowed ip and mac passthrough use it. */
161 161
	if (!is_module_loaded("dummynet.ko")) {

Also available in: Unified diff