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

Don't add exclusion routes for IPs that are part of connected networks #2258

Merged
merged 3 commits into from
Jul 17, 2024

Conversation

lixmal
Copy link
Contributor

@lixmal lixmal commented Jul 11, 2024

When adding a host route for a peer's IP address that belongs to a connected network, macOS may stop using ARP/NDP to resolve the IP address. This will lead to unreachability of the targeted IP.

Describe your changes

This PR prevents adding exclusion routes for connected networks.

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

This prevents arp/ndp issues on macOS leading to unreachability of that IP.
Copy link

sonarcloud bot commented Jul 17, 2024

@mlsmaycon mlsmaycon merged commit e78ec2e into main Jul 17, 2024
22 checks passed
@mlsmaycon mlsmaycon deleted the fix/no-exclusion-routes-for-local-networks branch July 17, 2024 17:50
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.

None yet

2 participants