3 tincds, one down, pinging down machine from others loses connection

Guus Sliepen guus at sliepen.warande.net
Tue Feb 5 17:32:10 CET 2002


On Tue, Feb 05, 2002 at 09:12:43AM -0600, ebina1 wrote:

> I was assuming this hang was somehow caused by the ConnnectTo from A to 
> B while B
> was down and A was trying to ping B.
> 
> However, I just tried removing the ConnectTo = B line from A's tinc.conf.
> I get the same problem, once A connects to C, if from A I try to ping an 
> address
> that is on the VPN (192.168.0.0/16) but not on either A or C's subnets
> (192.168.0.0/24 and 102.168.1.0/24) it causes the tincd on A to hang.

It's hard for me to guess where the problem lies. Could you recompile
tinc with CFLAGS = -g, run it with ulimit -c 10000 (for bash) or limit
coredumpsize 10000 (for tcsh), kill -9 when it runs and then use gdb to
get a backtrace? Something like this:

# ulimit -c 10000
# ./tincd -n <netname> -ddddd
... wait until it hangs ....
# kill -9 `cat /var/run/tinc.netname.pid`
# gdb ./tincd core
...
(gdb) bt
... backtrace follows here ...

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen <guus at sliepen.warande.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20020205/8aee39aa/attachment.pgp


More information about the Tinc mailing list