mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
Backport dev fix for ipv6 exit routing
This commit is contained in:
parent
2127afc0f7
commit
90e8b8e964
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
lokinet (0.9.8-1~ubuntu2204.3) jammy; urgency=medium
|
||||
|
||||
* backport dev fix: use ::/0 to fixing missing ipv6 routing
|
||||
|
||||
-- Jason Rhinelander <jason@imaginary.ca> Wed, 18 May 2022 13:17:53 -0300
|
||||
|
||||
lokinet (0.9.8-1~ubuntu2204.2) jammy; urgency=medium
|
||||
|
||||
* add missing oxenmq headers
|
||||
|
22
debian/patches/0004-use-0.patch
vendored
Normal file
22
debian/patches/0004-use-0.patch
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
From: majestrate <jeff@oxen.io>
|
||||
Date: Wed, 18 May 2022 12:16:46 -0400
|
||||
Subject: use ::/0
|
||||
|
||||
makes us map all ranges not just ipv4 when exit mode is on by default.
|
||||
---
|
||||
llarp/rpc/rpc_server.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/llarp/rpc/rpc_server.cpp b/llarp/rpc/rpc_server.cpp
|
||||
index 5bb14e8..5545358 100644
|
||||
--- a/llarp/rpc/rpc_server.cpp
|
||||
+++ b/llarp/rpc/rpc_server.cpp
|
||||
@@ -432,7 +432,7 @@ namespace llarp::rpc
|
||||
const auto range_itr = obj.find("range");
|
||||
if (range_itr == obj.end())
|
||||
{
|
||||
- range.FromString("0.0.0.0/0");
|
||||
+ range.FromString("::/0");
|
||||
}
|
||||
else if (not range.FromString(range_itr->get<std::string>()))
|
||||
{
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,3 +1,4 @@
|
||||
0007-Pass-debian-version-as-GIT_VERSION.patch
|
||||
0002-add-missing-oxenmq-headers.patch
|
||||
0003-Change-default-DNS-to-127.0.0.1-953.patch
|
||||
0004-use-0.patch
|
||||
|
Loading…
Reference in New Issue
Block a user