~AreEnn
~AreEnn_
~R4SAS
~acetone
~orignal
~villain
&N00B
+Xeha
Cicada3301
Enigma
GFW
Guest41481
Leopold
Opax
ananas_
anon
anontor
b3t4f4c3
duanin2
duck
fidoid
iiii_
karamba_i2p
mareki2p
nik0tr
not_bob_afk
opal
osoznayka
plazzz_alive
poriori
profetikla
qend
rc13
shaye
slfd
soos
teeth
ua32
un
unset
weko
РЕЗАК
profetikla
Hello. There is a tunnel property called "enableuniquelocal" but it seems to only support IPv4 addresses. Could it be expanded to also support IPv6 addresses in the fd::/8 range like how the java I2P router does it?
orignal
how do you make a local address for v6?
profetikla
sysctl net.ipv6.ip_nonlocal_bind=1
orignal
I mean asddress foman
profetikla
+ routing to ::1
orignal
format
profetikla
fdxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
orignal
please tell how many bytes we can use and which bytes
orignal
you think 15 bytes?
profetikla
15 is what java uses at apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelServer.java and it's within wikipedia's unique local address range
profetikla
wikipedia's listing of*
orignal
thanks
orignal
will try to implement
profetikla
thank you <3
orignal
ping fd::1
orignal
please tell me what's I'm doing wrong
profetikla
you don't need to ping it. it just has to be the source address of the request
orignal
ping6 -I fd::1 ::1
orignal
also fails
profetikla
it fails for me too on a machine that is using i2p's unique local ipv6 addresses
orignal
so how it should work?
orignal
it's linux with ipv6
profetikla
I'll try to find an example
profetikla
oops I kind of gave two different formats. the range is fd00::/8 instead of fd::/8. it was correct in my more explicit fdxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx message
profetikla
ping -6 -I fd00::1 ::1
profetikla
For route: ip -6 route add local fd00::/8 dev lo
orignal
ping -6 -I fd00::1 ::1
orignal
failed
orignal
ping: bind icmp socket: Невозможно назначить запрошенный адрес
orignal
telnet -b fd00::1 ::1 22
orignal
telnet: bind: Cannot assign requested address
profetikla
Did you change the sysctl?
orignal
no
profetikla
sysctl net.ipv6.ip_nonlocal_bind=1
orignal
счас
orignal
still no reponse
profetikla
Did you add route?
profetikla
the telnet command worked for me
orignal
works now
profetikla
\o/
orignal
so, what do we check? host for ::1?
profetikla
java has some kind of isLoopbackAddress function. ::1 is enough for my use case
orignal
fine
orignal
let's do it
orignal
сделал
orignal
done