Package: tinc Version: 1.0.14-1 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi, when using tinc on a laptop or another mobile machine, it increases usability if tinc tries to re-connect its peers immediatelly after a network interface is up (instead of waiting for some retry timer to expire). I think this can be achieved by putting a script in /etc/network/if-up.d that sends SIGALRM to all running tinc instances. I have attached the script I am using, but I guess it can be improved (e.g. maching on executable path, not just binary name). Greetings, Joachim - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages tinc depends on: ii dpkg 1.16.0.3 Debian package management system ii install-info 4.13a.dfsg.1-6 Manage installed documentation in ii libc6 2.13-5 Embedded GNU C Library: Shared lib ii liblzo2-2 2.04-1 data compression library ii libssl1.0.0 1.0.0d-2 SSL shared libraries ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime tinc recommends no packages. tinc suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk3webQACgkQ9ijrk0dDIGwn7QCggK0kHYV+ATsgrEveSm196f0P OdQAn3CGyhffnCdcd3pUQ/FL4EE5GM5l =n51K -----END PGP SIGNATURE-----
#!/bin/sh set -e PATH=/sbin:/bin:/usr/sbin:/usr/bin if [ "$METHOD" = loopback ]; then exit 0 fi pkill -SIGALRM tincd

