pcp
[Top] [All Lists]

pcp updates: per-user auth (wip)

To: pcp@xxxxxxxxxxx
Subject: pcp updates: per-user auth (wip)
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 23 Apr 2013 02:21:33 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1450674076.1665753.1366698079282.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Z98Rcf0AzCRw5U+5QkWJFQlzUxoZiQ==
Thread-topic: pcp updates: per-user auth (wip)
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 configure                      |   74 ++
 configure.in                   |   23 
 qa/.gitignore                  |    1 
 qa/375                         |    6 
 qa/375.darwin.3                |  193 +++++
 qa/375.irix                    |  193 -----
 qa/375.linux.3                 |  190 +++++
 qa/375.solaris.3               |  190 +++++
 qa/513                         |   10 
 qa/513.out                     |  196 -----
 qa/513.out.1                   |  196 +++++
 qa/513.out.2                   |  204 +++++
 qa/src/pducrash.c              |   48 +
 src/include/builddefs.in       |    2 
 src/include/pcp/impl.h         |    7 
 src/libpcp/src/GNUmakefile     |   14 
 src/libpcp/src/auxserver.c     |    2 
 src/libpcp/src/check-statics   |   11 
 src/libpcp/src/config.c        |    7 
 src/libpcp/src/internal.h      |    1 
 src/libpcp/src/nss_connect.c   | 1477 ----------------------------------------
 src/libpcp/src/nss_server.c    |  402 -----------
 src/libpcp/src/p_userauth.c    |   90 ++
 src/libpcp/src/pdu.c           |    1 
 src/libpcp/src/secureconnect.c | 1479 +++++++++++++++++++++++++++++++++++++++++
 src/libpcp/src/secureserver.c  |  411 +++++++++++
 src/pmcd/src/pmcd.c            |    2 
 src/pmdas/pmcd/help            |   16 
 src/pmdas/pmcd/root_pmcd       |    3 
 src/pmdas/pmcd/src/pmcd.c      |   42 -
 30 files changed, 3182 insertions(+), 2309 deletions(-)

commit fd0738e8cca386a482adc6cb9b1d271433748b77
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Apr 23 16:19:59 2013 +1000

    Early stages of protocol level support for per-user authentication
    
    This commit adds the necessary PDU encoding/decoding for SASL-based
    authentication to libpcp.
    
    The routines backing the pmconfig(1) utility are updated so that it
    reports on the presence/absence of libpcp authentication support as
    well.
    
    The pmcd pmda is updated to export the PDU traffic in/out count for
    the user authentication PDU, and an additional feature metric.  Also
    tightened up the bounds checking in the fetch routine for pmdapmcd's
    PDU counters.
    
    Build system is updated to sniff out the presence of a SASL library
    and header files, and incorporate their use into the libpcp build.
    
    QA tests which make use of pmcd.pdu_{in,out} metrics are updated to
    cater for the additional PDU (qa/375), and the pducrash.c utility
    has been updated to verify handling of the PDU contents (qa/513).
    
    Finally, pmcd now advertises the per-user authentication capability
    in the feature bits it sends to clients - no clients notice it yet,
    however (like a tree falling in a forest...).

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: per-user auth (wip), Nathan Scott <=