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

No ARP spoof guard for packets from host gateway #200

Closed
wenyingd opened this issue Dec 6, 2019 · 1 comment · Fixed by #210
Closed

No ARP spoof guard for packets from host gateway #200

wenyingd opened this issue Dec 6, 2019 · 1 comment · Fixed by #210
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@wenyingd
Copy link
Contributor

wenyingd commented Dec 6, 2019

Describe the bug
Antrea only has ARP spoofing guard flows for packets from local Pod, but not have check for ARP packets from host gateway. It might introduce security risk if a Pod running in host-network mode on the Node with CAP_NET_RAW and trying to do ARP spoofing.

To Reproduce
Deploy Antrea

Expected
cookie=0x1a, table=10, priority=200,arp,in_port=gw0,arp_spa=$gw_ip,arp_sha=$gw_mac actions=resubmit(,20)

Actual behavior
cookie=0x1a, table=10, priority=200,arp,in_port=gw0 actions=resubmit(,20)

Versions:

  • Antrea: 0.1/0.2
@wenyingd wenyingd added the bug label Dec 6, 2019
@wenyingd wenyingd self-assigned this Dec 6, 2019
@antoninbas
Copy link
Contributor

I agree that this is probably a nice thing to add.

@McCodeman McCodeman added the kind/bug Categorizes issue or PR as related to a bug. label Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants