Log of /trunk/net/net/src/TFTP.cxx
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: 31366 byte(s)
Copied from:
trunk/net/src/TFTP.cxx 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
13044 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 27 16:36:38 2005 UTC (9 years, 2 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 31091 byte(s)
Diff to
previous 12144
From Gerri:
This is the patch to import the new XROOTD and to enable TXNetSystem.
Three files:
- 'adds-netx.tgz' contains the new class TXNetSystem;
- 'xrootd-20051026-1709.src.tgz' is the tagged version of XROOTD
- 'cvs-patch' the modifications needed to integrate the two things in ROOT:
- config/rootrc.in:
add plugin info for TXNetSystem
- base/src/TSystem.cxx:
fix the number of arguments in loading the TXNetSystem plugin
- netx/inc/TXNetFile.h, .cxx:
make a couple of generic auxilliary methods static so that they can be
used by TXNetSystem
- net/inc/TNetFile.h, .cxx:
add Create method in TNetSystem, used by TXNetSystem to re-use the
open connection in case of rootd
- net/inc/TFTP.h, .cxx:
additional 'TSocket *' argument in the constructor to allow re-using an
open connection; default behaviour not changed
- netx/inc/LinkDef.h:
add pragma statement for TXNetSystem
- netx/Module.mk:
add support for building on an external XROOTD distribution
- xrootd/Module.mk:
changes to use the new version; still using the 'classic' configure
script:
will move to autoconf with the next patch
Revision
12123 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 22 20:18:12 2005 UTC (9 years, 7 months ago) by
brun
Original Path:
trunk/net/src/TFTP.cxx
File length: 31011 byte(s)
Diff to
previous 11834
From Constantin Loizides
This patch implements:
- decentralized, automatic mutex initialization,
see R__LOCKGUARD2 in TVirtualMutex
- PROOF parallel startup fixes
- more thread protection (in base, cont, meta, rest to be done)
- cleanups
From Eddy Offermann:
TString::Atoi and Atof are made const.
Revision
11047 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 7 18:02:37 2005 UTC (9 years, 11 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 30825 byte(s)
Diff to
previous 10666
From Maarten and Kristjan Gulbrandsen:
Here is the patch with the restructured PROOF code. It parameterizes
PROOF startup, currently implementing "Standard", Condor, MLM and PEAC.
It can easily be extended with other "TProof" classes, e.g. AliEn Proof.
Or what ever next Grid implementation or scheduler comes along.
The MLM, Multi Level Master, code uses a basic packetizer, based on a
MSD (massstorage domain) tag. In MLM mode we have multi-tier client
server setup, like:
client -> super master -> sub master 0 -> slave[0..N]
...
-> sub master M -> slave[0..N]
It also contains a large number of smaller fixes. Credit for most of
the work goes to Kris!
We have tested this on multipe platforms (RH7.3, RH9, SL3) and in
multiple configurations. Should be stable.
Revision
10316 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 15 16:55:07 2004 UTC (10 years, 3 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 30842 byte(s)
Diff to
previous 9377
introduce a more complete TSystem::GetPathInfo() method that takes a
new FileStat_t structure as argument. This FileStat_t structure mimics the
common struct stat. This allows for full support of the file mode bits
(via the new enum EFileModeMask and the inline function R_ISDIR(), R_ISCHR(),
R_SIBLK(), R_ISREG(), R_ISLNK(), R_ISFIFO() and R_ISSOCK()).
The TSystem derived helper clsses for the remote file access protocols
have been updated too (all already supported struct stat in their POSIX
layers). Modified rootd to also support FileStat_t. With this change we
can get rid of machine dependent file permission checking code in several
places, notably in the TGFSContainer, which now can correctly display
file attributes for remote protocols.
Revision
9377 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 2 18:36:57 2004 UTC (10 years, 6 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 29709 byte(s)
Diff to
previous 8808
From Gerri:
Patch to support 'system' functionality via the rootd daemon, so one
can get file stat and access info and directory browsing via rootd.
- TNetFile.h, .cxx
New class TNetSystem inheriting from TSystem.
- net/inc/LinkDef.h
Added #pragma for TNetSystem
- TFTP.h, .cxx
New methods AccessPathName, GetPathInfo, GetDirEntry,
OpenDirectory, FreeDirectory
- TSystem.h, .cxx
New method ConsistentWith to allow different matching
criteria in the search for existing helpers (method
FindHelper)
- rootd.cxx
New functions RootdAccess, RootdFreeDir, RootdGetDirEntry,
RootdOpenDir
- MessageTypes.h
New messages kROOTD_OPENDIR, kROOTD_FREEDIR, kROOTD_DIRENTRY,
kROOTD_ACCESS
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/src/TFTP.cxx
File length: 24900 byte(s)
Diff to
previous 8024
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
7810 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 30 13:16:51 2003 UTC (11 years ago) by
brun
Original Path:
trunk/net/src/TFTP.cxx
File length: 24514 byte(s)
Diff to
previous 7656
Mega patch to add support for large files (bigger than 2 GBytes)
----------------------------------------------------------------
==========>NEW VERSION 4.00/00 <===========
Because this new version has a considerable number of changes,
and new important additions by Philippe are scheduled for the coming days
we are starting a new major version 4.
-Support for large files
-Automatic schema evolution for foreign classes
-New data type Double32_t
Large files are currently tested only under Linux with gcc3.2.
Support for other systems will be gradually added in the coming days.
By default under Linux, files are created with the option LARGEFILE.
Note that when creating a Tree, the default maximum size for a Tree
is set to 1.9 GBytes. You can change this default value by calling
TTree::SetMaxTreeSize(Long64_t maxsize)
The implementation of this new feature has required changes in many places.
The files produced by this new version can still be read by old ROOT versions
if their size if smaller than 2 GBytes. And obviously, the new version
can digest old ROOT files.
WARNING: note the following backward incompatibility:
-TSystem::GetPathInfo has a new signature: (also TUnixSystem, TWinNTSystem, etc)
old: GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
new: GetPathInfo(const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);
-TFile::SysSeek and TFile::SysStat have a new signature (also TNetFile, TWebFile, etc)
old: Int_t SysSeek(Int_t fd, Long_t offset, Int_t whence);
Int_t SysStat(Int_t fd, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
new: Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence);
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);
-TTree::SetMaxTreeSize has a new signature:
old: void TTree::SetMaxTreeSize(Int_t maxsize)
new: void TTree::SetMaxTreeSize(Long64_t maxsize)
All references to Seek_t have been replaced by Long64_t.
Revision
7656 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 10:33:08 2003 UTC (11 years, 2 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 24480 byte(s)
Diff to
previous 7456
From Gerri:
- remove globals in Krb5Auth, SRPAuth and GlobusAuth
- error printing in case of failure in TAuthenticate
(print a list of failed messages only if unsuccessful
in the end)
- fix a problem with globus credential transmission when
running as non-root
- a couple of protections in TSlave related to SRP
- a few fixes to avoid some spurious error messages
printed by proofd
Revision
7456 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 22 18:48:36 2003 UTC (11 years, 3 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 24520 byte(s)
Diff to
previous 7175
From Gerri:
Patched files:
configure
o improved detection of patch details for globus
README/README.GLOBUS
o updated
etc/hostcert.conf
o add example for non-root runs
globusauth/src/GlobusAuth.cxx
o remove redundant 'access' calls
net/src/TAuthenticate.cxx
o fix return value in method GetPromptUser
proofd/src/proofd.cxx
o remove redundant 'access' calls
rpdutils/inc/rpdp.h
o add new includes file depending on Globus GTK version
o add prototype for new function GblsToolCheckProxy
rpdutils/src/globus.cxx
o fix a few typos in debug messages
o add new function GblsToolCheckProxy for checking user
proxies when running as non-root
o remove redundant 'access' calls
rpdutils/src/rpdutils.cxx
o remove redundant 'access' calls
Revision
4210 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 20 18:54:57 2002 UTC (12 years, 10 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 24593 byte(s)
Diff to
previous 4118
add cases for Kerberos5 authentication. In particular the default authentication
method for rootd and proofd can now be set in system.rootrc. The default is
clear text passwd, but SRP and Krb5 can be specified. The default is used when
"root:" or "proof:" appears in the url. The default can be overridden by
specifying explicitely "roots:" or "rootk:", idem for proof.
Revision
1661 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Thu Feb 22 09:41:40 2001 UTC (13 years, 11 months ago) by
rdm
Original Path:
trunk/net/src/TFTP.cxx
File length: 11045 byte(s)
new class implementing an efficient FTP protocol for ROOT, and other, files.
It talks to an updated rootd daemon and can use parallel sockets for efficient
WAN usage (up to twice as fast a normal wu-ftp).
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.