loading netfilter modules

Brian J. Murrell
Tue, 03 Feb 2009 17:16:34 -0000

This might start out a little OT but please bear with me as depending on
the answer to the OT question, this might come back around to being
quite on-topic for the list.

I''m wondering, given a kernel with no netfilter/iptables modules
installed (into the running kernel, they are in the /lib/modules/$(uname
-r) tree obviously), when I do:

iptables -I foo -m state ...

Is the xt_state module supposed to somehow magically get autoloaded into
the kernel or will that iptables command fail until something/somebody
externally issues a "modprobe xt_state"?

Thanx,