Skip to content

fixed IPv6 iptables rules for enabled firewalld#2609

Merged
arkodg merged 1 commit into
moby:masterfrom
bboehmke:firewalld_passthrough_ipv6
Jan 14, 2021
Merged

fixed IPv6 iptables rules for enabled firewalld#2609
arkodg merged 1 commit into
moby:masterfrom
bboehmke:firewalld_passthrough_ipv6

Conversation

@bboehmke

@bboehmke bboehmke commented Jan 7, 2021

Copy link
Copy Markdown
Contributor

This should address moby/moby#41861

Comment thread iptables/iptables.go

startTime := time.Now()
output, err := Passthrough(Iptables, args...)
output, err := Passthrough(ipv, args...)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not pass iptable.Version directly ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because
iptable.Version = "IPV6"
and
IP6Tables = "ipv6"

Not sure if Firewalld likes uppercase.

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@thaJeztah

Copy link
Copy Markdown
Member

@arkodg PTAL

@fnkr

fnkr commented Jan 12, 2021

Copy link
Copy Markdown

Hi, this fixes moby/moby#41861, can someone merge it please?

@thaJeztah

Copy link
Copy Markdown
Member

@cpuguy83 @arkodg @tiborvass ptal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants