Skip to content

Commit

Permalink
mxrouterctl: Do not enable IPv6 routing
Browse files Browse the repository at this point in the history
We don't use ipv6 currently. There might be problems if ipv6 routing is
enabled, e.g. potential reachability without the appropriate filewall
rules.

For now, just don't enable it.
  • Loading branch information
donald committed Sep 22, 2023
1 parent c970065 commit bf60dd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mxrouter/mxrouterctl
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,10 @@ sub start {
unless exists $want_route->{$_};
}

unless (get_ipv6_forwarding()>0) {
warn "enable IPV6 forwarding\n" unless $opt_quiet;
set_ipv6_forwarding(1);
}
# unless (get_ipv6_forwarding()>0) {
# warn "enable IPV6 forwarding\n" unless $opt_quiet;
# set_ipv6_forwarding(1);
# }

unless (get_ipv4_routing()>0) {
warn "enable IPV4 routing\n" unless $opt_quiet;
Expand Down

0 comments on commit bf60dd0

Please sign in to comment.