search for: sockaddr2str

Displaying 5 results from an estimated 5 matches for "sockaddr2str".

2015 May 16
1
tinc 1.1 "Got ADD_EDGE ... which does not match existing entry"
...o good: > > > > Connection with aaa_vpnhub1 (1.2.3.4 port 443) activated > > Error while translating addresses: ai_family not supported > > > > (And then the tinc process exists) > > Hm, I couldn't reproduce it, but I committed a fix anyway that makes > sockaddr2str() handle AF_UNSPEC addresses. It might just have moved the > problem though. Thanks Guus. At least it does not explode anymore ;) "tinc dump edges" contains a wild mix of "local unspec port unspec", "local unknown port unknown" and some adresses, but I assume tha...
2015 May 15
2
tinc 1.1 "Got ADD_EDGE ... which does not match existing entry"
On Fri, 15 May 2015, Guus Sliepen wrote: > On Fri, May 15, 2015 at 10:26:46PM +0200, Sven-Haegar Koch wrote: > > > Another strange and difficult to understand thing - seems like all the > > easy bugs in 1.1 are gone ;) > [...] > > Got ADD_EDGE from aaa_vpnhub1 (1.2.3.4 port 443) for haegar_tokamak > > -> igor which does not match existing entry (Local
2009 Oct 27
1
using tinc in a mixed ipv4/ipv6 network
...kupable dns and B's reverse lookup does not match its original dns name in Address = ... statement (as it is a dynamic dialin host). I've configured tinc to be in Mode=Switch and put all public keys of all nodes on all hosts. It is not difficult to trace the error back to netutl.c line 94 (sockaddr2str, tinc 1.0.10) but I ask myself whether it is intended to stop tinc from working if just some hosts in the network are connected by ipv6? Or is there some way to circumvent this problem? Thanks Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozill...
2010 Sep 17
1
friend of a friend type darknets
...*/ diff -Nur tinc-1.0.13/src/protocol_edge.c tinc-1.0.13-patched/src/protocol_edge.c --- tinc-1.0.13/src/protocol_edge.c 2010-03-13 18:53:33.000000000 +0100 +++ tinc-1.0.13-patched/src/protocol_edge.c 2010-09-18 00:05:18.471993705 +0200 @@ -39,7 +39,13 @@ bool x; char *address, *port; - sockaddr2str(&e->address, &address, &port); + if(foaf){ + address = xstrdup("0.0.0.0"); + port = xstrdup("0.0.0.0"); + }else{ + sockaddr2str(&e->address, &address, &port); + } + x = send_request(c, "%d %x %s %s %s %s %x %d...
2015 May 16
0
tinc 1.1 "Got ADD_EDGE ... which does not match existing entry"
...r Koch wrote: > This change is not so good: > > Connection with aaa_vpnhub1 (1.2.3.4 port 443) activated > Error while translating addresses: ai_family not supported > > (And then the tinc process exists) Hm, I couldn't reproduce it, but I committed a fix anyway that makes sockaddr2str() handle AF_UNSPEC addresses. It might just have moved the problem though. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signatur...