Skip to content

Commit

Permalink
client, server: forbid using reserved IPv6 anycast addresses as unicast
Browse files Browse the repository at this point in the history
Previously, we treated all IPv6 addresses as assignable, but that causes
problems with setups that expect the first address in a subnet to be the
router anycast address.

Note that this does not fix existing innernet networks, and those
experiencing this problem are advised to revised to recreate their
network after this fix has been merged. Sorry for the annoyance.

Fixes #131
  • Loading branch information
mcginty committed Sep 5, 2021
1 parent 20a07cf commit 9c5380c
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 74 deletions.
137 changes: 67 additions & 70 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ colored = "2"
dialoguer = "0.8"
hostsfile = { path = "../hostsfile" }
indoc = "1"
ipnetwork = { git = "https://github.com/mcginty/ipnetwork" } # pending https://github.com/achanda/ipnetwork/pull/129
ipnetwork = { git = "https://github.com/mcginty/ipnetwork", rev = "393f2d89e41ac6c1c0d80a31fc0997c387a7f7ba" }
lazy_static = "1"
log = "0.4"
regex = { version = "1", default-features = false, features = ["std"] }
Expand Down
Loading

0 comments on commit 9c5380c

Please sign in to comment.