public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] IPv6 support for nfs-utils tcpwrapper shim (take 2)
@ 2010-01-15 21:31 Chuck Lever
       [not found] ` <20100115212102.18214.19398.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Chuck Lever @ 2010-01-15 21:31 UTC (permalink / raw)
  To: steved; +Cc: chris.mason, linux-nfs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/6] IPv6 support for nfs-utils tcpwrapper shim
@ 2010-01-15 17:49 Chuck Lever
       [not found] ` <20100115174426.30104.3492.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Chuck Lever @ 2010-01-15 17:49 UTC (permalink / raw)
  To: steved; +Cc: chris.mason, linux-nfs

These patches provide IPv6 support for the tcpwrapper shim inside
nfs-utils.  It assumes that the generic tcpwrapper library can
support IPv6 addresses.  It has not been extensively tested, but
I think the framework is reasonable, and only minor bug fixes might
be needed as we go along.

---

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     |  112 +++++++++++++++++++----
 support/misc/tcpwrapper.c     |  203 ++++++++++++++++++++++++-----------------
 utils/mountd/mount_dispatch.c |    6 -
 utils/statd/statd.c           |    5 -
 utils/statd/statd.man         |    3 -
 8 files changed, 223 insertions(+), 124 deletions(-)

-- 
chuck[dot]lever[at]oracle[dot]com

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-18  1:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 21:31 [PATCH 0/6] IPv6 support for nfs-utils tcpwrapper shim (take 2) Chuck Lever
     [not found] ` <20100115212102.18214.19398.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-15 21:31   ` [PATCH 1/6] tcpwrappers: Use xlog() instead of perror(3) and syslog(2) Chuck Lever
2010-01-15 21:31   ` [PATCH 2/6] tcp_wrappers: Use getifaddrs(3) if it is available Chuck Lever
2010-01-15 21:31   ` [PATCH 3/6] tcp_wrapper: Clean up logit() Chuck Lever
2010-01-15 21:31   ` [PATCH 4/6] tcpwrapper: Fix signage problems in the tcp_wrappers hash function Chuck Lever
2010-01-15 21:31   ` [PATCH 5/6] tcpwrapper: Eliminated shadowed declaration warnings Chuck Lever
2010-01-15 21:32   ` [PATCH 6/6] tcpwrapper: Add support for IPv6 Chuck Lever
2010-01-18  1:54   ` [PATCH 0/6] IPv6 support for nfs-utils tcpwrapper shim (take 2) Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2010-01-15 17:49 [PATCH 0/6] IPv6 support for nfs-utils tcpwrapper shim Chuck Lever
     [not found] ` <20100115174426.30104.3492.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-15 17:50   ` [PATCH 5/6] tcpwrapper: Eliminated shadowed declaration warnings Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox