[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#831427: ITP: ipv6pref -- preloadable library and wrapper script to influence address selection for IPv6 programs



Package: wnpp
Severity: wishlist
Owner: Stefan Tomanek <stefan.tomanek+debian@wertarbyte.de>

* Package name    : ipv6pref
  Version         : 1.0.0
  Upstream Author : Stefan Tomanek <stefan.tomanek@wertarbyte.de>
* URL             : https://github.com/wertarbyte/ipv6pref
* License         : GPLv3
  Programming Lang: C
  Description     : preloadable library and wrapper script to influence address selection for IPv6 programs

Many systems that support IPv6 connectivity employ Privacy Extensions during
address configuration. This loads to periodic reconfiguration of the IPv6
address used for establishing connections. In some cases it is desirable to use
the permanent address instead, e.g. for long-running connections (SSH sessions
come to mind). 'ipv6pref.so' is a small library that wraps around the socket()
function and - once hooked into the program via LD_PRELOAD - takes the value of
an environment variable (IPV6PREF_ADDR) into account: if set to 'pub', it
advices the kernel to use the permanent, non-random address for the newly
created socket, if set to 'tmp', it defaults to the privacy-enhanced addresses.
A small wrapper script 'ipv6pref' (symlinked to 'v6pub' and 'v6tmp') is
supplied to simplify the address selection for single commands.


Reply to: