Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171915 - genkernel default configuration misses netfilter + iptables support
Summary: genkernel default configuration misses netfilter + iptables support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-03-23 13:23 UTC by Matze Braun
Modified: 2007-04-05 15:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matze Braun 2007-03-23 13:23:26 UTC
The default configuration in genkernel misses netfilter and iptables support. Using a linux box as router or dedicated firewall is a very common scenario and having iptables available there is essential. So you should add something like this in the default config:

CONFIG_NETFILTER=y
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_MATCH_HASHLIMIT=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_ARPTABLES=m

though I must admit, that I'm not an expert in this area. So I don't know if these defaults fit most people (they certainly fit all the cases where I use iptables though...)
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-26 23:35:15 UTC
This is already fixed in subversion.
Comment 2 Matze Braun 2007-03-31 11:30:23 UTC
I just update genkernel, and the latest one in portage seems to have it fixed. You can close this bug I guess.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-05 15:01:08 UTC
This is fixed in genkernel 3.4.7 which is now in the tree.