Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

Make disabling Netfilter possible at runtime #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-kr
Copy link

@a-kr a-kr commented Sep 30, 2011

Linux firewall (Netfilter, managed by iptables utility) affects the control flow of networking code in several ways, even when there are no firewall rules specified. For instance, when Netfilter is enabled, incoming IP packets are always reassembled. Short of recompiling the kernel, there is no standard way to disable Netfilter completely.

This patch allows user to disable Netfilter at runtime by executing the following command:

echo 0 > /proc/net/netfilter/enabled

Writing value "1" to this ProcFS file turns Netfilter back on.

@kartoch
Copy link

kartoch commented Apr 17, 2013

Is this patch now integrated in Linux or just a personal patch for netkit ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants