Log of /trunk/net/net/inc/TPSocket.h
Parent Directory
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: 4088 byte(s)
Copied from:
trunk/net/inc/TPSocket.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
10798 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 15 17:48:03 2004 UTC (10 years, 1 month ago) by
rdm
Original Path:
trunk/net/inc/TPSocket.h
File length: 4145 byte(s)
Diff to
previous 8239
From Gerri:
Purpose:
- Add new Select functionality in TMonitor and TSocket
This functionality will be used for asyncronous threaded
reader of TXNetFile.
- Add support for creation of a TNetFile using an existing
connection (reuse connection that was already opened by
TXNetFile while remore side is rootd and not xrootd).
net/inc/TMonitor.h
- add new private member Bool_t fMainLoop to tell if the
monitoring has to be on the main loop or outside.
- add argument 'Bool_t mainloop' to the constructor, default kTRUE
- add new method SetInterest() to change interest mask of
a socket
- add new Select() method for the out-of-main-loop case
net/src/TMonitor.cxx
- add implemention for the new methods.
net/inc/TNetFile.h
- add new signature for method Create() to open a TNetFile
using an existing connection (used to optmize the rootd
fall back support in TXNetFile).
net/src/TNetFile.cxx
- add support for new Create()
net/inc/TPSocket.h
- add new constructor to setup a parallel socket using
an existing connection (used to optmize the rootd
fall back support in TXNetFile).
- add support for new constructor in method Init()
net/src/TPSocket.cxx
- add implentation of new ctor and related modifications
in Init().
net/inc/TSocket.h
- add new method Select() to monitor the socket outside
the main event loop
- add new method SetDescriptor() used in TXSocket to save
the TSocket part
- add new member fTcpWindowSize and corresponding getter
for use in the new TPSocket ctor
- add a 'TSocket *' argument to CreateAuthSocket (default 0)
to allow re-using of an existing connection
net/src/TSocket.cxx
- add new method Select() to monitor the socket outside
the main event loop
Revision
8239 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 19 00:11:19 2004 UTC (10 years, 11 months ago) by
rdm
Original Path:
trunk/net/inc/TPSocket.h
File length: 4020 byte(s)
Diff to
previous 1541
Big authentication patch by Gerri:
General purpose:
Add support for 'authenticated' sockets on client side
and prepare for support of server authenticated sockets.
Main changes:
o TSocket, TPsocket:
Added support of 'authenticated' sockets: authentication
is delegated to TSocket by calling a static method
CreateAuthSocket() returning a TSocket*.
TSocket is now the only class calling TAuthenticate.
o TFTP, TNetFile, TSlave:
modified to cope with new socket authentication scheme.
o TAuthDetails replaced by TSecContext containing:
- local authentication info
- expiration time
- pointer to a security context for the method (if any)
- information for cleanup (via TSecContextCleanup)
o A list of valid TSecContext has been added to TROOT,
accessible via gROOT->GetListOfSecContexts().
o THostAuth rewritten using arrays to avoid multiple use
of 'new'; functionality extended by the addition of
several new methods.
o TAuthenticate:
- Loading of information from .rootauthrc has been optimized;
this allowed to simplify method signatures and drop several
methods. Also collection and transmission of authentication
information from TSlave to TProofServ gets simplified by the
new scheme.
- Added support for server dependent directives in .rootauthrc
- Added check for changes in .rootauthrc each time a new
TAuthenticate is instantiated, so that changes in the file
are picked-up interactively.
- Checking for an existing TSecContext (previously TAuthDetails)
has been improved
- Improved diagnostics for SshAuth
- Enlarged support for authentication method indication in protocol:
UsrPwd: rootup/proofup
SRP: roots/proofs (already supported)
Krb5: rootk/proofk (already supported)
Globus: rootg/proofg
SSH: rootsh/proofsh
UigGid: rootug/proofug
o GlobusAuth.cxx, Krb5Auth.cxx, SRPAuth.cxx
- Adapted to new class TSecContext
- Added support for improved search for reusable TSecContext
- Drop globals used to store established security contexts
(saved in TSecContext) and related methods
o Automatic creation of <RootDir>/etc/system.rootauthrc from
compilation flags; this has priority on old envs
'Rootd.Authentication' and 'Proofd.Authentication' and is
superseded by $HOME/.rootauthrc
o Automatic creation of <RootDir>/etc/system.authdaemonrc from
compilation flags; this is superseded by $HOME/.rootauthrc
o rpdutils:
- several almost identical methods moved in from rootd/proofd
- several new methods to simplify manipulation of the
authentication tab file
- moved (and improved) check for running of sshd in RpdSshAuth,
performed only in case of failure (to avoid spurious messages
printed by sshd in /var/log/messages)
o proofd.cxx, rootd.cxx
- increased protocol version
- all initialization stuff (included authentication and
login) done via RpdInitSession
- postpone opening of parallels sockets after authentication
(to solve problem of Kerberos/Globus authentication with
parallel sockets)(rootd)
- Fixed problem with kerberos and globus authentication in rootd
with parallel sockets.
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/TPSocket.h
File length: 3458 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.