[PATCH 0/6] IPv6 support for nfs-utils tcpwrapper shim (take 2)

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

 



These patches provide IPv6 support for the tcpwrapper shim inside
nfs-utils.

We've confirmed that libwrap.a (at least the version included in
Fedora 12) does support IPv6.  Some of the man pages are missing some
updates.

I've constructed some simple unit tests using an old program that can
send bogus SM_NOTIFY requests.  Switching hostnames and IPv6 addresses
in and out of /etc/hosts.{allow,deny} shows this code with my patches
to be operating as designed, for basic scenarios.

I also added more verbose logging in from_local() to confirm how the
new getifaddrs(3) code is working.  No unpleasant surprises there.

Testing resulted in no operational changes to the logic in any of
these patches, but the extra logging seemed worth including, hence
this redrive.

---

Chuck Lever (6):
      tcpwrapper: Add support for IPv6
      tcpwrapper: Eliminated shadowed declaration warnings
      tcpwrapper: Fix signage problems in the tcp_wrappers hash function
      tcp_wrapper: Clean up logit()
      tcp_wrappers: Use getifaddrs(3) if it is available
      tcpwrappers: Use xlog() instead of perror(3) and syslog(2)


 aclocal/ipv6.m4               |    4 -
 configure.ac                  |    2 
 support/include/tcpwrapper.h  |   12 +-
 support/misc/from_local.c     |  121 +++++++++++++++++++++---
 support/misc/tcpwrapper.c     |  203 ++++++++++++++++++++++++-----------------
 utils/mountd/mount_dispatch.c |    6 -
 utils/statd/statd.c           |    5 -
 utils/statd/statd.man         |    3 -
 8 files changed, 232 insertions(+), 124 deletions(-)

-- 
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux