pcp
[Top] [All Lists]

pcp updates: brolley+scox merges, auth

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp updates: brolley+scox merges, auth
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 6 May 2013 03:35:35 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: oVrPhcNtQlKvpZJ4TIE9BOlXc8TIBw==
Thread-topic: pcp updates: brolley+scox merges, auth
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 src/include/pcp/impl.h         |    8 
 src/libpcp/src/access.c        |    4 
 src/libpcp/src/auxconnect.c    |   52 +--
 src/libpcp/src/auxserver.c     |    3 
 src/libpcp/src/connect.c       |    5 
 src/libpcp/src/internal.h      |   13 
 src/libpcp/src/logconnect.c    |    4 
 src/libpcp/src/p_userauth.c    |    3 
 src/libpcp/src/secureconnect.c |  567 +++++++++++++++++++++++++++++++++++------
 src/libpcp/src/secureserver.c  |  233 +++++++++++++++-
 src/pmatop/pmatop.py           |  170 ++++++++----
 src/pmcd/src/client.c          |   15 +
 src/pmcd/src/client.h          |    7 
 src/pmcd/src/dopdus.c          |    2 
 src/pmdbg/pmdbg.c              |    7 
 src/pmproxy/pmproxy.c          |    4 
 src/python/pcp/pmsubsys.py     |   38 +-
 17 files changed, 906 insertions(+), 229 deletions(-)

commit 975c4f47bb6098bd88f6327fabc315e8814dad0b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon May 6 17:34:19 2013 +1000

    Further work toward establishing authenticated connections
    
    Initialise sasl for client/server connection handling, ensure
    appropriate callbacks are setup, devised a mechanism whereby
    command line connection attributes associated with each client
    connection can make their way into the callback routines.

commit 769327a0bc0bd0c729b7be7abf52e6ebd07c5b45
Merge: 4910b26 ec914dc
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon May 6 13:42:57 2013 +1000

    Merge branch 'scox/dev' of git://sourceware.org/git/pcpfans into dev
    
    Conflicts:
        src/pmatop/pmatop.py

commit ec914dc81b0aa3bd65eb41c4c5001f4d43ba09ac
Author: Stan Cox <scox@xxxxxxxxxx>
Date:   Sun May 5 22:53:56 2013 -0400

    Improve atop default mode compatibility.
    
    * pmatop.py (minutes_seconds): Improve generality.
      (_ProcessorPrint): Add curf, csw, numcpu.
      (_DiskPrint): Add lvm name, MBr/s, MBw/s, busy, avio
      (_NetPrint): Add icmpi, icmpo
      (_ProcPrint): Add vmsize, rss, state, %cpu, %mem
      (main): Add 'z', 'h' command
    
    * pmsubsys.py (get_atom_value): Allow for shrinking/expanding lists.
      Add new metrics.

commit 4910b26280845cb3398c6716ad6d2a786b5e7885
Merge: dd704b7 99d255d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon May 6 12:03:04 2013 +1000

    Merge branch 'brolley/dev' of git://sourceware.org/git/pcpfans into dev

commit dd704b7a095c3987a90bb7ebdaab25795541c463
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon May 6 12:02:33 2013 +1000

    Further work toward establishing authenticated connections
    
    Addition of user-auth-specific trace debugging flag.
    Initial code beginning to use the authentication PDUs
    to communicate SASL authentication information between
    clients and pmcd.

commit 99d255d276eee6f9780867bb9ce6a4a0b83314f7
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Fri May 3 11:05:09 2013 -0400

    Remove __pmLock_libpcp locks from around calls to __pmGetAddrInfo().
    
    One of the benefits of using getaddrinfo() and getnameinfo(),
    as opposed to their deprecated counterparts, gethostbyname() and
    gethostbyaddr(), is that the new APIs are re-entrant. As such, it
    is not necessary to enforce locks around calls to these functions
    nor the iteration over the returned data.
    
    This commit removes the remaining locks around __pmGetAddrInfo().
    There were no remaining locks around __pmGetNameInfo().

commit 5ce967184944cb2e32f676b73036a9d8100221fa
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 1 12:17:42 2013 -0400

    Don't look up the host name in __pmGetAddrInfo().
    
    This is not necessary for a few reasons:
    1) The caller of __pmGetAddrInfo already has the host name.
    2) The host name is most often not requested from the resulting
       __pmHostEnt structure.
    3) There already exists __pmHostEntGetName() for this purpose when
       the host name is needed from the __pmHostEnt structure.
    
    This commit moves the lookup of the host name from __pmGetAddrInfo()
    to __pmHostEntGetName(), where it is done only once (at the first
    request).

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: brolley+scox merges, auth, Nathan Scott <=