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
a-kr wants to merge 1 commit into
maxonthegit:masterfrom
a-kr:nf-disabler
Open

Make disabling Netfilter possible at runtime#3
a-kr wants to merge 1 commit into
maxonthegit:masterfrom
a-kr:nf-disabler

Conversation

@a-kr

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

Copy link
Copy Markdown

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

kartoch commented Apr 17, 2013

Copy link
Copy Markdown

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