[root] / trunk / net / net / inc / TPServerSocket.h Repository:
ViewVC logotype

Log of /trunk/net/net/inc/TPServerSocket.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 23091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 15:04:27 2008 UTC (6 years, 9 months ago) by rdm
File length: 2267 byte(s)
Copied from: trunk/net/inc/TPServerSocket.h revision 23090
Diff to previous 20882
moving the follwing directories to "net":

alien, auth, glite, globusauth, krb5auth, ldap, monalisa, net, netx,
rootd, rpdutils, srputils, xrootd

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2267 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2267 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2320 byte(s)
Diff to previous 12012
remove :$ from tag line

Revision 12012 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 10 17:49:47 2005 UTC (9 years, 7 months ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2330 byte(s)
Diff to previous 10271
remove references to TMacSystem (does not exist anymore) and TWin32System
which actually is called TWinNTSystem.

Revision 10271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 11 12:34:34 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2405 byte(s)
Diff to previous 1486
From Gerri:
Description: patch to support authentication in TServerSocket for
general server application based on ROOT.

New files:

- net/src/DaemonUtils.cxx, net/inc/DaemonUtils.h
  wrappers around server-side functions implemented in
  rpdutils/src/rpdutils.cxx

- rpdutils/inc/rpddefs.h
  common definitions previously in rpdp.h

- tutorials/authserv.C, tutorials/authclient.C
  macros to test authentication between to remote ROOT
  sessions; see macro headers for instructions.

Patched files:

config:
 - rootrc.in
   New envs (SrvAuth.<xxx>) to steer authentication in TServerSocket,
   reflecting the command lines options to rootd/proofd

globusauth/src:
 - GlobusAuth.cxx
   Few changes to cope with new socket "type" (i.e. non-rootd or proofd
   related).

net:
 - Module.mk
   Drop DaemonUtils from the list of sources to be compiled;
   add definition of DAEMONUTILSO used in rpdutils/Module.Mk

net/inc
 - LinkDef.h
   Add pragmas for global variables kSrvAuth and kSrvNoAuth, new options
   to TServerSocket::Accept
- NetErrors.h
  Add new error code kErrBadRTag to indicate unsuccessful verification of
  the random tag associated to a token or password exchange
- TPServerSocket.h
  Add option to method Accept()
- TServerSocket.h ...
  Add option to method Accept() and a few methods, to set, display and
  modify the defaults.
  Add hooks to authentication code and cleanup code.
  Add list of accepted authentication for cleanup at closing.
  Add cleanup call in destructor.
  Add new method Authenticate().

net/src:
 - NetErrors.cxx
   Add string for new errord code kErrBadRTag.
 - TAuthenticate.cxx
   Increase the client protocol number for backward compatibility.
   Add support for new server socket "type" sock.
   Add send of kROOTD_BYE after failures to avoid warning messages
   on the server side.
   Add signature of random tags in methods ClearAuth() (for passwords)
   and AuthExists (for tokens)
 - TPServerSocket.cxx
   Add support for authentication in Accept()
 - TPSocket.cxx
   Add check on the server socket type in constructor
 - TServerSocket.cxx
   Add support for authentication in Accept().
   Implement new method Authenticate() to run authentication; this method
   loads dynamically the new library libSrvAuth.so .
   Implement methods to manage options.
   Add cleanup call in destructor.
 - TSocket.cxx
   Add support for new server socket type in CreateAuthSocket().
   Improved parsing of protocol in CreateAuthSocket().
   Improved description in CreateAuthSocket header.

proofd/src:
 - proofd.cxx
   Add check on the return code of RpdInitSession.

rootd/src:
 - rootd.cxx
   Add check on the return code of RpdInitSession.

rpdutils:
 - Module.mk
   Add rules to build libSrvAuth.so

rpdutils/inc:
 - rpdp.h
   Move const definitions in rpddefs.h
   Include rpddefs.h
   Add new signature for RpdIntiSession to be used in DaemonUtils.cxx
   Add new method RpdSetMethInitFlag to reset from DaemonUtils.cxx
   Add new signature for RpdCleanupAuthTab to clean the entry related
   to a specified token (called by TServerSocket).
   Add return codes to all the authentication-relatd functions.

rpdutils/src:
 - rpdutils.cxx
   Add static method 'rpdmemset' cleanup properly buffers used
   for passwords, avoiding compiler optimizations.
   Add static method 'rpdcrypt' to provide some protection when
   crypt is not available (preparation for some support for win32gdk)
   Add pre-compiler variable R__NOCRYPT to treat those cases.
   Add implementation of new methods RpdSetMethInitFlag(int) and
   RpdCleanupAuthTab(const char *).
   Fix small problem in RpdCleanupAuthTab(const char *, int, int)
   for option 'all' causing partial cleanup.
   Add generation/ transmission/ check of a random tag in RpdUser and
   RpdCheckAuthTab.
   Make all authentication functions to return a code instead of
   void; drop all 'exit' calls.
   Add implementation of special RpdInitSession signature for TServerSocket

Revision 1486 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 00:03:55 2001 UTC (13 years, 11 months ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2381 byte(s)
Diff to previous 1479
introduce proper inheritance: TPServerSocket derives from TServerSocket and
TPSocket derives from TSocket.

Revision 1479 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 17:11:25 2001 UTC (14 years ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2935 byte(s)
Diff to previous 1477
remove several compile warnings.

Revision 1477 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jan 26 16:55:08 2001 UTC (14 years ago) by rdm
Original Path: trunk/net/inc/TPServerSocket.h
File length: 2817 byte(s)
two new classes supporting parallel socket operation. Using this technique
network transfers are striped over a set of parallel sockets thereby
dramatically increasing the network performance over fat pipes (grid like
infrastructure). Instead of waiting for an ACK before sending a next
fragment and thereby not filling up the pipe completely, the sockets
send fragments in parallel, keeping the pipe full. These two new classes
have the same interface as the standard TSocket and TServerSocket classes.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9