Bug: more than one Port line in host file crashes tincd

Sandy McArthur Jr sandy at mcarthur.org
Wed May 14 16:44:03 CEST 2014


My bad, my problem is with duplicate Address lines in a host's config. I
thought it was Port because most hosts use the default port and I
identified the problem host config with my only two hosts that have
non-default ports.

Also, I was unable to recreate this problem with a tinc 1.0.24 on an intel
CPU. I was getting this on an mips CPU running tinc 1.0.19 as comes with
OpenWrt. (I don't yet know how to upgrade tinc on OpenWrt firmwares.)


On Wed, May 14, 2014 at 4:43 AM, Guus Sliepen <guus at tinc-vpn.org> wrote:

> On Tue, May 13, 2014 at 01:14:24PM -0400, Sandy McArthur Jr wrote:
>
> > I found a tincd crash caused by having two "Port" statements in a host's
> > file.
> >
> > I realize this is a bug in an old version of tinc that may be fixed but I
> > spent the past few hours tracking it down so I'm sharing it in hopes
> others
> > can make use of this info.
> >
> > I was "cleaning" up my Tinc VPN of a collection of OpenWrt routers and
> > tincd started crashing with "Got fatal signal 11 (Segmentation fault)" in
> > the log file. Below is an trimmed and anonymized host config fragments
> that
> > would crash my version of tincd.
>
> I tried to recreate the problem, but I cannot reproduce the crash, neither
> with
> 1.0.19 or 1.0.24. Could you send me a copy of your tinc.conf and all hosts/
> config files, and the output of tincd -n <netname> -d5 -D?
>
> --
> Met vriendelijke groet / with kind regards,
>      Guus Sliepen <guus at tinc-vpn.org>
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
>


-- 
Sandy McArthur, Jr.

"No nation could preserve its freedom in the midst of continual warfare."
- Letters and Other Writings of James Madison (1865), Vol. IV, p. 491
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20140514/aafda63e/attachment.html>


More information about the tinc mailing list