-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Networking improvements to support Docker Swarm / VXLAN #5062
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1018,9 +1018,9 @@ CONFIG_NETFILTER_FAMILY_BRIDGE=y | |
# CONFIG_NETFILTER_NETLINK_QUEUE is not set | ||
CONFIG_NETFILTER_NETLINK_LOG=m | ||
# CONFIG_NETFILTER_NETLINK_OSF is not set | ||
CONFIG_NF_CONNTRACK=m | ||
CONFIG_NF_CONNTRACK=y | ||
# CONFIG_NF_LOG_NETDEV is not set | ||
# CONFIG_NF_CONNTRACK_MARK is not set | ||
CONFIG_NF_CONNTRACK_MARK=m | ||
# CONFIG_NF_CONNTRACK_ZONES is not set | ||
# CONFIG_NF_CONNTRACK_PROCFS is not set | ||
# CONFIG_NF_CONNTRACK_EVENTS is not set | ||
|
@@ -1048,34 +1048,34 @@ CONFIG_NF_NAT_FTP=m | |
CONFIG_NF_NAT_IRC=m | ||
CONFIG_NF_NAT_SIP=m | ||
CONFIG_NF_NAT_MASQUERADE=y | ||
# CONFIG_NF_TABLES is not set | ||
CONFIG_NF_TABLES=m | ||
CONFIG_NETFILTER_XTABLES=m | ||
|
||
# | ||
# Xtables combined modules | ||
# | ||
# CONFIG_NETFILTER_XT_MARK is not set | ||
# CONFIG_NETFILTER_XT_CONNMARK is not set | ||
CONFIG_NETFILTER_XT_MARK=m | ||
CONFIG_NETFILTER_XT_CONNMARK=m | ||
|
||
# | ||
# Xtables targets | ||
# | ||
# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set | ||
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set | ||
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set | ||
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m | ||
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set | ||
# CONFIG_NETFILTER_XT_TARGET_HL is not set | ||
# CONFIG_NETFILTER_XT_TARGET_HMARK is not set | ||
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set | ||
# CONFIG_NETFILTER_XT_TARGET_LED is not set | ||
# CONFIG_NETFILTER_XT_TARGET_LOG is not set | ||
# CONFIG_NETFILTER_XT_TARGET_MARK is not set | ||
CONFIG_NETFILTER_XT_TARGET_MARK=m | ||
CONFIG_NETFILTER_XT_NAT=m | ||
# CONFIG_NETFILTER_XT_TARGET_NETMAP is not set | ||
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set | ||
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set | ||
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set | ||
# CONFIG_NETFILTER_XT_TARGET_REDIRECT is not set | ||
CONFIG_NETFILTER_XT_TARGET_REDIRECT=m | ||
CONFIG_NETFILTER_XT_TARGET_MASQUERADE=m | ||
# CONFIG_NETFILTER_XT_TARGET_TEE is not set | ||
# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set | ||
|
@@ -1093,7 +1093,7 @@ CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m | |
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set | ||
# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set | ||
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set | ||
# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set | ||
CONFIG_NETFILTER_XT_MATCH_CONNMARK=m | ||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m | ||
# CONFIG_NETFILTER_XT_MATCH_CPU is not set | ||
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set | ||
|
@@ -1110,12 +1110,12 @@ CONFIG_NETFILTER_XT_MATCH_IPRANGE=m | |
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set | ||
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set | ||
# CONFIG_NETFILTER_XT_MATCH_MAC is not set | ||
# CONFIG_NETFILTER_XT_MATCH_MARK is not set | ||
CONFIG_NETFILTER_XT_MATCH_MARK=m | ||
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set | ||
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set | ||
# CONFIG_NETFILTER_XT_MATCH_OSF is not set | ||
CONFIG_NETFILTER_XT_MATCH_OWNER=m | ||
# CONFIG_NETFILTER_XT_MATCH_POLICY is not set | ||
CONFIG_NETFILTER_XT_MATCH_POLICY=m | ||
# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set | ||
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set | ||
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set | ||
|
@@ -1129,11 +1129,16 @@ CONFIG_NETFILTER_XT_MATCH_STATE=m | |
# CONFIG_NETFILTER_XT_MATCH_STRING is not set | ||
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set | ||
# CONFIG_NETFILTER_XT_MATCH_TIME is not set | ||
# CONFIG_NETFILTER_XT_MATCH_U32 is not set | ||
CONFIG_NETFILTER_XT_MATCH_U32=m | ||
CONFIG_NETFILTER_XT_MATCH_IPVS=m | ||
# end of Core Netfilter Configuration | ||
|
||
# CONFIG_IP_SET is not set | ||
# CONFIG_IP_VS is not set | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This list of added modules is needed for round robin virtual server loadbalancing in netfilter, used by Docker Swarm to load balance incoming connections over multiple worker nodes, on each of those nodes. |
||
CONFIG_IP_VS=y | ||
CONFIG_IP_VS_RR=y | ||
CONFIG_IP_VS_NFCT=y | ||
CONFIG_IP_VS_PROTO_TCP=y | ||
CONFIG_IP_VS_PROTO_UDP=y | ||
|
||
# | ||
# IP: Netfilter Configuration | ||
|
@@ -1866,7 +1871,7 @@ CONFIG_WIREGUARD=m | |
CONFIG_MACVLAN=m | ||
# CONFIG_MACVTAP is not set | ||
# CONFIG_IPVLAN is not set | ||
# CONFIG_VXLAN is not set | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And this is how it started, enabling VXLAN overlay networking support in the kernel. |
||
CONFIG_VXLAN=m | ||
# CONFIG_GENEVE is not set | ||
# CONFIG_BAREUDP is not set | ||
# CONFIG_GTP is not set | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was originally a Module, but later complained it needed to be compiled into the kernel, probably caused by some other compiled netfilter module.