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

Bug#573605: ITP: libnss-gw-name -- nss module that names the current gateway’s IP address



Package: wnpp
Severity: wishlist
Owner: Joachim Breitner <nomeata@debian.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I programed this little helper and plan to upload it to Debian shortly.

* Package name    : libnss-gw-name
  Version         : 0.1-1
  Upstream Author : Joachim Breitner <nomeata@debian.org>
* URL             : http://www.joachim-breitner.de/projects#libnss-gw-name
* License         : GPL
  Programming Lang: C
  Description     : nss module that names the current gateway’s IP address

This Name Service Switch (NSS) module resolves the name
“gateway.current” to the IP of the current default gateways of the
system. This allows easy access to router configuration and to check if
connectivity problems are local or not.


I don’t have much experience with either writing an NSS module nor with
using the libnl library, so I’d appreciate a quick review of the code at
http://git.nomeata.de/?p=libnss-gw-name.git, especially with regard to
the NSS return codes and proper releasing of nl resources.


Greetings,
Joachim


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuaTocACgkQ9ijrk0dDIGzGOQCfUgEaV94avMtox4m82uPMCWgK
0SQAoI6FmG2MsVzAjCxsgCDCXE0XcfT/
=e1Nq
-----END PGP SIGNATURE-----



Reply to: