Hello, I'm upgrading to 1.0.14 I did some manual tricks in my Gentoo Portage because seems that upstream Gentoo did not update the portage yet, does anybody know how to Contact Gentoo Linux to have the package updated ? Question 1: I notice in my log file I had many entries like this with 1.0.13: 1307284053 tinc.ninux[15152]: Lost 251 packets from GREG1 (151.28.100.141 port 655) 1307284062 tinc.ninux[15152]: Lost 168 packets from GREG1 (151.28.100.141 port 655) 1307284072 tinc.ninux[15152]: Lost 146 packets from GREG1 (151.28.100.141 port 655) where GREG1 is one of my VPN clients. I had similar lines for many other clients. I'm running a tincd network of about 60 nodes. setting ReplayWindow = 0 will help me get rid of this ?>From the change log I don't understand if it is better to have it verybig or none. Question 2: I don't understand how I can have date and time in my log lines instead of thos long numbers :) Has it to do with tincd options or with syslog options ? However in my /var/log/messages I have standard date and time formats :) Gentoo runs tincd as follows : /usr/sbin/tincd --net=ninux --logfile=/var/log/tinc.ninux.log --pidfile=/var/run/tinc.ninux.pid Thanks for now :) Saverio PS OpenWRT already updated the package repository to Tinc 1.0.14
Hi! Am Sonntag, 5. Juni 2011, 18:41:46 schrieb ZioPRoTo (Saverio Proto):> I did some manual tricks in my Gentoo Portage because seems that > upstream Gentoo did not update the portage yet, does anybody know how > to Contact Gentoo Linux to have the package updated ?Yes, you open a bug at bugs.gentoo.org and attach your ebuild. Then somebody will hopefully pick it up and integrate it into portage. (at least this was the way to do version bumps when I was using Gentoo) bye then julian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20110605/3770aeae/attachment.pgp>
On Sun, Jun 05, 2011 at 06:41:46PM +0200, ZioPRoTo (Saverio Proto) wrote:> I notice in my log file I had many entries like this with 1.0.13: > > 1307284053 tinc.ninux[15152]: Lost 251 packets from GREG1 (151.28.100.141 port 655) > 1307284062 tinc.ninux[15152]: Lost 168 packets from GREG1 (151.28.100.141 port 655) > 1307284072 tinc.ninux[15152]: Lost 146 packets from GREG1 (151.28.100.141 port 655) > > where GREG1 is one of my VPN clients. I had similar lines for many > other clients. I'm running a tincd network of about 60 nodes. > > setting ReplayWindow = 0 will help me get rid of this ? > > From the change log I don't understand if it is better to have it very > big or none.Setting it to 0 will get rid of the log entries, but it does not get rid of the fact that you have a lot of packet loss. By setting it to 0 you will also disable protection against replay attacks. So, it is safer to set ReplayWindow to a large value. Try 64.> I don't understand how I can have date and time in my log lines > instead of thos long numbers :) Has it to do with tincd options or > with syslog options ? However in my /var/log/messages I have standard > date and time formats :) > Gentoo runs tincd as follows : > > /usr/sbin/tincd --net=ninux --logfile=/var/log/tinc.ninux.log > --pidfile=/var/run/tinc.ninux.pidAh, that is because if you use --logfile, syslog is not used at all. Those long numbers are "UNIX time" (the number of seconds since 1970-01-01 00:00 UT). I have been too lazy to have it write time in a human readable format. However, I do remember someone sending me a patch that does that, so I'll find it and apply it. However, the --logfile option is more something that is useful when debugging tinc related issues; it does not work in comination with log rotation for example. I would recommend removing the --logfile option, and the --pidfile option also, because it is redundant.> PS OpenWRT already updated the package repository to Tinc 1.0.14Great :) -- 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-signature Size: 198 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20110605/bc086093/attachment.pgp>
2011/6/5 ZioPRoTo (Saverio Proto) <zioproto at gmail.com>:> I did some manual tricks in my Gentoo Portage because seems that > upstream Gentoo did not update the portage yet, does anybody know how > to Contact Gentoo Linux to have the package updated ? >I bumped to 1.0.14 in bleeding-edge overlay on May 11-th (I'm not a Gentoo dev) and I did contacted dragonheart on May 13-th, but with no respond. -- jasiu
> Ah, that is because if you use --logfile, syslog is not used at all. Those longThanks Guus. It is not my choice, it is the way Gentoo devs integrated tincd in the Gentoo distribution. It is the Gentoo init.d script that takes care of that. I will fill a bug on the Gentoo bug tracker. Saverio
>> Ah, that is because if you use --logfile, syslog is not used at all. Those long > > Thanks Guus. > > It is not my choice, it is the way Gentoo devs integrated tincd in the > Gentoo distribution. It is the Gentoo init.d script that takes care of > that. I will fill a bug on the Gentoo bug tracker.Here we are, finally I found the time to fill the bug for the gentoo devs http://bugs.gentoo.org/show_bug.cgi?id=371357 Saverio PS note that 1.0.14 is not yet in the gentoo portage