1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-15 19:54:02 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
Hans Dedecker
013b91dc6d nat46: harden 464xlat teardown logic
Quit the teardown function in case the file 464-$cfg-anycast is not
present as it means no clean up of ip rules is required.
It fixes error traces like "cat: can't open '/tmp/464-wan6_4-anycast':
No such file or directory" and "Error: inet6 prefix is expected rather
than "lookup"."
At the same time remove the unused variable anycast_active.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2018-01-16 15:35:57 +01:00
Hans Dedecker
eba05ae682 464xlat: add ip rule logic in the proto shell handler
Integrate ip rule support for the prelocal routing table lookup in the 464xlat
proto shell handler as netifd does not install anymore an ip rule for the prelocal
routing table.
The prelocal routing table ip rule needs to be installed before the local routing
table ip rule so the 464xlat traffic with as destination the IPv6 anycast address
is routed to the nat46 module otherwise the traffic will be dropped in the IPv6
local table.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-02 15:39:17 +02:00
Hans Dedecker
8e12b6fd3e nat46: Remove unnecessary 464xlat wan forwarding rule
Remove unnecessary 464xlat wan forwarding firewall rule with as
outgoing interface the 464xlat interface and as destination the
local IPv6 464xlat address as it's never hit.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2015-08-04 14:45:15 +02:00
Hans Dedecker
64ceee8d87 nat46: Fix 464xlat interface teardown
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2015-08-04 14:39:53 +02:00
Steven Barth
326d4de13c nat46: shorten prefix for 464xlat interface
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-17 15:11:53 +02:00
Steven Barth
3ed7001954 nat46: initial 464xlat support
Signed-off-by: Steven Barth <steven@midlink.org>
2015-03-31 16:47:54 +02:00