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

Allow NDP packets from/to non link-local IPv6 #5904

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Line wrap the file at 100 chars. Th
### Changed
- Change default obfuscation setting to `auto`.
- Migrate obfuscation settings for existing users from `off` to `auto`.
- Allow NDP packets from/to non link-local IPv6.

#### Android
- Add support for all screen orientations.
Expand Down
3 changes: 0 additions & 3 deletions talpid-core/src/firewall/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,23 +486,20 @@ impl<'a> PolicyBatch<'a> {
}
for chain in &[&self.out_chain, &self.forward_chain] {
let mut rule = Rule::new(chain);
check_net(&mut rule, End::Dst, *super::IPV6_LINK_LOCAL);
check_icmpv6(&mut rule, 135, 0);
add_verdict(&mut rule, &Verdict::Accept);
self.batch.add(&rule, nftnl::MsgType::Add);
}
// Incoming Neighbor solicitation (part of NDP)
for chain in &[&self.in_chain, &self.forward_chain] {
let mut rule = Rule::new(chain);
check_net(&mut rule, End::Src, *super::IPV6_LINK_LOCAL);
check_icmpv6(&mut rule, 135, 0);
add_verdict(&mut rule, &Verdict::Accept);
self.batch.add(&rule, nftnl::MsgType::Add);
}
// Outgoing Neighbor advertisement (part of NDP)
for chain in &[&self.out_chain, &self.forward_chain] {
let mut rule = Rule::new(chain);
check_net(&mut rule, End::Dst, *super::IPV6_LINK_LOCAL);
check_icmpv6(&mut rule, 136, 0);
add_verdict(&mut rule, &Verdict::Accept);
self.batch.add(&rule, nftnl::MsgType::Add);
Expand Down