Skip to content
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

Fix istio mark #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix istio mark #7

wants to merge 1 commit into from

Conversation

ueokande
Copy link

This is not a hex number, but in decimal

$ INBOUND_TPROXY_MARK=${ISTIO_INBOUND_TPROXY_MARK:-1337}
$ iptables -t mangle -A ISTIO_DIVERT -j MARK --set-mark ${INBOUND_TPROXY_MARK}
$ iptables -t mangle -L ISTIO_DIVERT
Chain ISTIO_DIVERT (0 references)
target     prot opt source               destination         
MARK       all  --  anywhere             anywhere             MARK set 0x539

Copy link
Contributor

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

Indeed, the linked document also clearly shows it as decimal. Thanks for the fix!

@danderson care to merge this?

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.

2 participants