Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft PR: adding support for pure cert/key authentication ('no proxy' mode) #1493

Closed
wants to merge 198 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
dc19f63
Add support for reading the private key from a separate file
gganis Aug 12, 2021
2ed3cdf
Add support for pure cert/key authentication (no proxy)
gganis Aug 12, 2021
0e8221e
[XrdCl] Implement PgWrite, part 2.
simonmichal Aug 12, 2021
1a364ee
[XrdCl] Implement PgWrite, part 3.
simonmichal Aug 12, 2021
2ea4d6f
[XrdCl] Make sure lambda wrapper does not use status obj after it's d…
simonmichal Aug 13, 2021
1900ad2
[XrdCl] Implement PgWrite, part 4.
simonmichal Aug 13, 2021
7e6aefb
[XrdCl] Adjust timeout before retransmitting corrupted pages.
simonmichal Aug 13, 2021
26faf09
[Atomics] Shorten names of predefined relaxed atomic types.
abh3 Aug 24, 2021
224a902
[Server] Use shortened ralaxed atomic types.
abh3 Aug 24, 2021
f6dbd74
[Pthread] Allow SysRWLock to optionally prefer writers.
abh3 Aug 24, 2021
cee75ed
[XrdCl] Make sure small compressed ZIPs are extracted at the right of…
simonmichal Aug 24, 2021
00948c0
Fix OSX build.
simonmichal Aug 24, 2021
2a982b6
[XrdCl] Implement declarative PgRead.
simonmichal Aug 24, 2021
1dd14fd
[XrdCl] Add common factory for creating Read/PgRead objects.
simonmichal Aug 25, 2021
47d1f69
[XrdCl] Align ChunkInfo and PageInfo API.
simonmichal Aug 25, 2021
04587e4
[XrdCl] Implement ZipArchive::PgRead.
simonmichal Aug 25, 2021
575db98
[XrdCl] Add move assigment operator to PageInfo.
simonmichal Aug 26, 2021
0284c9b
[XrdCl] xrdcp: allow switching between Read and PgRead.
simonmichal Aug 26, 2021
c377dd0
[TLS] Avoid SEGV when a refresh context cannot be cloned.
abh3 Aug 26, 2021
b9b75e3
Update notes on CRL refresh patch.
abh3 Aug 26, 2021
21df9c3
[XrdCl] Make sure XCpSrc does not leak.
simonmichal Aug 27, 2021
bff9954
[XrdCl] xrdcp: allow switching between Write and PgWrite.
simonmichal Aug 27, 2021
3119972
[XrdCl] Add XRD_USEPGWRTRD envar that enables in-fly error correction…
simonmichal Aug 27, 2021
ffbdba3
[XrdCl] xrdcp: transfer crr32c digests from PgRead to PgWrite.
simonmichal Aug 27, 2021
f9b1543
[XrdCl] Fix Ubuntu builds.
simonmichal Aug 30, 2021
de46a40
[CI] Update fedora platforms.
simonmichal Aug 30, 2021
aafed04
[CI] Don't build xrdcl-http for fedora rawhide.
simonmichal Aug 30, 2021
a9af818
[CI] Don't build xrdcl-http for fedora rawhide, part 2.
simonmichal Aug 30, 2021
827b07c
[CI] Fix fedora publish script.
simonmichal Aug 30, 2021
5ffcda4
[XrdCl] Fix memory leak in xrdfs ls.
simonmichal Aug 30, 2021
fa43b3c
python bindings: catch ReferenceError error when finalizing File's
btovar Aug 27, 2021
16ba42d
[cmsd] Allow more parallelism during data server selection.
abh3 Sep 2, 2021
875275f
Update notes on cmsd improvement.
abh3 Sep 2, 2021
efd0a53
[XrdMacaroons] Add missing includes, fixes #1468.
simonmichal Sep 2, 2021
8adfdf6
[cmsd] Remove implicit knowlege of underlying type for selection mask.
abh3 Sep 3, 2021
78f8a15
Remove XrdSysDNS
ellert Jul 14, 2020
27b81e4
Remove XrdRootd
ellert Jul 14, 2020
e7e33d2
Remove additional unused files
ellert Jul 14, 2020
bce93be
Link to libatomic on riscv64
ellert Sep 5, 2021
94c2a99
Fixing spelling errors
ellert Aug 27, 2021
9aeb3f1
[XrdCl] xrdcp: allow multiple --cksum options.
simonmichal Sep 7, 2021
5ab23c2
[XrdCl] Implement multiple checksums in classical copy, part1.
simonmichal Sep 7, 2021
04ca8b1
[XrdCl] Implement multiple checksums in classical copy, part2.
simonmichal Sep 8, 2021
e4c614b
[Server] Use length returned by read and fix an alignment check in pg…
smithdh Sep 7, 2021
e9cddb3
[Server] Fix an include in OssCsi
smithdh Sep 10, 2021
cb3c6cf
[cmsd] Correct handling of node's ref counter.
abh3 Sep 11, 2021
cd2c54c
use cstdio instead of stdio.h
adriansev Sep 13, 2021
8606dd2
replace all inttypes.h with cinttypes
adriansev Sep 13, 2021
f6acac7
replace stdint.h with cstdint
adriansev Sep 13, 2021
b40f8e0
replace string.h with cstring
adriansev Sep 13, 2021
68cde4a
replace stdlib.h with cstdlib
adriansev Sep 13, 2021
694ce10
replace time.h with ctime
adriansev Sep 13, 2021
486b990
replace stdarg.h with cstdarg
adriansev Sep 13, 2021
7e5df61
replace errno.h with cerrno
adriansev Sep 13, 2021
3be8532
replace ctype.h with cctype
adriansev Sep 13, 2021
873ed29
[XrdCl] pgread: correctly calculate the number of bytes read.
simonmichal Sep 14, 2021
8d99a9d
[XrdCl] pgread: unmarshal partial response body.
simonmichal Sep 14, 2021
e8b7b1c
[Server] Fix double jeopardy problem in pgwrite I/O resumption.
abh3 Sep 15, 2021
c6f77fc
[Xcache] Extend pgread API to return number of corrected checksum err…
abh3 Sep 15, 2021
a3fcd60
Update notes on Cache pgread API extension.
abh3 Sep 15, 2021
4413be1
[XrdCl] Fix build.
simonmichal Sep 15, 2021
b3f966e
[XrdCl] pgread: correctly calculate number of pages per rsp.
simonmichal Sep 15, 2021
53f5aa7
Work around inconsistent type definitions on MIPS
ellert Sep 4, 2021
3fa2ae0
Fix ubuntu xenial build.
simonmichal Sep 15, 2021
b8bce89
Find pthreads using the CMake Thread module
ellert Sep 7, 2021
6da5a8b
Revert "Link to libatomic on riscv64"
ellert Sep 7, 2021
7b94eca
Correct the variable name from ${ZLIB_LIBRARY} to ${ZLIB_LIBRARIES}
ellert Sep 7, 2021
c6a8f54
Use ${CMAKE_DL_LIBS} consistently
ellert Sep 7, 2021
7799107
[XrdCl] pgwrite: don't leak handler on connection problem.
simonmichal Sep 15, 2021
2cc06ab
[Server] Fix synchronous pgwrite when file is greater than 1 MB.
abh3 Sep 16, 2021
bf7f1a8
[XrdCl] pgwrite: correctly report nb of bytes written.
simonmichal Sep 15, 2021
f1cc87b
[XrdCl] pgwrite: correctly calculate retry t/o value.
simonmichal Sep 16, 2021
bec86da
[XProtocol] Bump protocol version to indicate pgread/pgwrite support.
simonmichal Sep 16, 2021
73ddfb3
[XrdCl] Add utils for quesrying protocol version, and xattr & pgread/…
simonmichal Sep 16, 2021
ce38052
[XrdCl] xrdcp: use pgread/pgwrite only if server supports it.
simonmichal Sep 16, 2021
d24c7be
[XrdEc] Allow specifying operation t/o.
simonmichal Sep 20, 2021
e4f04b4
[XrdCl] Move CheckSumHelper to separate header.
simonmichal Sep 20, 2021
407544a
[XrdCl] Add checksumming capability to default EC plugin.
simonmichal Sep 20, 2021
41bc48c
[XrdCl] File: add IsSecure method.
simonmichal Sep 21, 2021
b8121a9
[XrdCl] xrdcp: use pgread/pgwrite on for unencrypted traffic.
simonmichal Sep 21, 2021
f2cdc6c
[Misc] Add XrdPosixMap.hh to private hears (i.e. developers only).
abh3 Sep 22, 2021
afad44d
[XrdCl] Add Socket::ReadV method.
simonmichal Sep 23, 2021
1fbd20a
[XrdCl] Extract pgreading in to a separate object and use readv.
simonmichal Sep 27, 2021
eb7fea3
[SSI] Avoid SEGV when request spans more than 1 buffer. Fixes #1518
abh3 Sep 28, 2021
8e50cc7
[XrdCl] pgread: correctly shift buffer on page break.
simonmichal Sep 29, 2021
ed1e367
[XrdPfc] Collect number of cksum errors and report them via g-stream …
osschar Sep 29, 2021
86006be
[XrdCl] Add missing err msg if force isn't used and destination exits.
simonmichal Sep 30, 2021
6d93e98
BuffGetData: better handle the case of wait=false
ffurano Sep 30, 2021
3cec830
[CMake] Install in private-devel XrdClOperationTimeout.hh & XrdClFina…
simonmichal Sep 30, 2021
28eba97
[XrdEc] Make the metadata files relocable.
simonmichal Oct 1, 2021
5196c56
[XrdCl] Add a bit of defensive programming.
simonmichal Oct 4, 2021
970b252
Fix compilation on Fedora 36 with openssl 3.0.0
ellert Sep 26, 2021
f4b6e0c
[CMake] Build openssl3 files only if WITH_OPENSSL3=TRUE.
simonmichal Oct 4, 2021
d9dd8c5
[RPM/CI] Use openssl3 compatible source files on fedora>=35.
simonmichal Oct 4, 2021
57603e7
[XrdCl] Avoid warning on OSX.
simonmichal Oct 4, 2021
6cf9c8f
[CMake] Enable SSE4.2 for cmsd.
simonmichal Oct 4, 2021
cfbf621
[HTTP] Use correct flag to request creation of directory path in MKCOL.
abh3 Oct 4, 2021
2ca9e4f
Update notes on MKCOL fix for path creation.
abh3 Oct 4, 2021
2319787
[Server] Close race condition between bind and the use of that bind.
abh3 Oct 6, 2021
37651a4
Update notes on kXR_bind patch.
abh3 Oct 6, 2021
e23d274
Additional WITH_OPENSSL3=TRUE fixes
ellert Oct 5, 2021
7dd099e
[XrdEc] Allow use of crc32 implementation from isal.
simonmichal Oct 6, 2021
de6bf63
[XrdEc] Add isal crc tests.
simonmichal Oct 6, 2021
37dc4a7
[XrdCl] ZipArchive: always execute callbacks in fresh exec ctx.
simonmichal Oct 6, 2021
68e2f2e
[XrdEc] Allow using the EC lib without metadata files.
simonmichal Oct 6, 2021
4108a49
[XrdEc] Update unit tests.
simonmichal Oct 6, 2021
eebdfa6
[Docker] Add docker imgs with centos 7/8 build env.
simonmichal Oct 7, 2021
207c641
[XrdCl] SocketHandler: encapsulate the read operation in a separate c…
simonmichal Oct 8, 2021
cf02d8f
[XrdCl] SocketHandler: use a reader for server responses.
simonmichal Oct 8, 2021
cce3271
[XrdCl] Make the response ownership more clear.
simonmichal Oct 8, 2021
faf62ef
[XrdCl] Simplify XRootDMsgHandler::InspectStatusRsp.
simonmichal Oct 8, 2021
5bc1773
Xrdpfc new cmd line option. print in json format
juztas Oct 8, 2021
30d1df3
[XrdCl] Drop Action::Take.
simonmichal Oct 8, 2021
7d4a927
[Utils] Add Json package to the utility package.
abh3 Oct 9, 2021
b59a61b
[XrdPfc] Use XrdOucJson instead of json-c.
osschar Oct 9, 2021
2e6a8eb
[XrdPfc] xrdpfc_print add indent opt and cleanup
osschar Oct 9, 2021
f54b69c
[XrdPfc] Units for file-size, bytes; manpage cleanup
osschar Oct 10, 2021
aa791b7
[XrdPfc] manpage change lost in last commit.
osschar Oct 10, 2021
6837632
[XrdCl] SocketHandler: encapsulate the hand-shake read operation in a…
simonmichal Oct 11, 2021
a1e8796
[XrdCl] SocketHandler: encapsulate the request write operation in a s…
simonmichal Oct 11, 2021
208511b
[NET] Accommodate K8s network namespaces.
abh3 Oct 13, 2021
196ef31
Update notes on better support for K8s clusters.
abh3 Oct 13, 2021
88caa5e
[XrdCl] Fix regressions due to SocketHandler refactoring.
simonmichal Oct 18, 2021
95f8806
[CMake] Add an option to build with asan.
simonmichal Oct 18, 2021
846b36d
[CI] Enable XrdEc in nightly/release builds.
simonmichal Oct 19, 2021
e689750
[XrdCl] Do read/write recovery on errSocketTimeout.
simonmichal Oct 20, 2021
9322679
[XrdCl] Refactor HS writer.
simonmichal Oct 20, 2021
10942d8
[XrdCl] Move msg writing logic to Socket.
simonmichal Oct 21, 2021
4167a10
[XrdCl] Avoid segv on fork prepare.
simonmichal Oct 21, 2021
710df54
[XrdCl] Include all chunk details in kXR_readv descripsion.
simonmichal Oct 22, 2021
06ebce8
[XrdCl] Make sure the path on kXR_open does not inlude '?' if there i…
simonmichal Oct 22, 2021
3f54912
Fix README typo
mohawk2 Oct 26, 2021
3f2ea4f
[Utils] Add three rare to find convenience functions.
abh3 Oct 29, 2021
3e1885f
[Utils] Add three rare to find convenience functions.
abh3 Oct 29, 2021
1ceec9b
[Utils] Add socket utility function.
abh3 Oct 29, 2021
b1a14a6
Do not hardcode error numbers
ellert Oct 27, 2021
f8a8772
Be nice to older (less clever) compiler versions
ellert Oct 6, 2021
84e5264
[XrdCl] Add more defensive programming around msg/hs readers/writers.
simonmichal Nov 2, 2021
e1a6e15
[XrdCl] Fix memory leak on HS t/o.
simonmichal Nov 2, 2021
61259cd
[XrdCl] Fix memory leak (hostList) on statuful msg t/o.
simonmichal Nov 2, 2021
488c656
[XrdEC] Add README file.
simonmichal Nov 2, 2021
c2384d6
[XrdCl] HostList is now owned by MsgHandler, don't delete it.
simonmichal Nov 3, 2021
2053ead
[XrdThrottle] do not initialise a string with a null pointer
dellaric Nov 2, 2021
9b41ee5
[XrdCl] Allow loading XrdEc default plug-in based on cfg file.
simonmichal Nov 4, 2021
f1cafb4
[XrdCl] Fix builds.
simonmichal Nov 4, 2021
dd1b1de
[XrdCl] Use locate to obtain EC placement gr if empty.
simonmichal Nov 4, 2021
16c95d7
[XrdCl] EC plugin: implememnt proper stat.
simonmichal Nov 4, 2021
dbcb6df
[XrdEc] Update README file.
simonmichal Nov 4, 2021
644d029
[Server] Correct notify option handlin for kXT_prepare.
abh3 Nov 6, 2021
d26b177
Update notes on prepare option fix.
abh3 Nov 6, 2021
14ec193
[Server] Allow prefunctory redirect based on client's net attributes.
abh3 Nov 6, 2021
9b5c17c
Update notes on new prefunctory redirect.
abh3 Nov 6, 2021
ae92137
[Server] Correct callback disablement for stat(fh) in previous commit.
abh3 Nov 6, 2021
65f1b72
[Server] Restrict client redirects to redirectors and proxy servers.
abh3 Nov 7, 2021
5c06bd1
[XrdCl] ParallelOperation: fix race condition in AtLeast policy.
simonmichal Nov 8, 2021
e4dd538
[XrdCl] EC: properly construct placement group for reading.
simonmichal Nov 8, 2021
456e93e
[XrdEc] Reader: correctly calculate total file size.
simonmichal Nov 8, 2021
aa36fc7
[Docs] Sync release notes.
simonmichal Nov 8, 2021
688b761
[Server] Implement firefly network flow monitoring.
abh3 Nov 9, 2021
649169a
Update notes on firefly feature implementation.
abh3 Nov 9, 2021
e26eb94
[XrdC] Use correct method to load placement group on write.
simonmichal Nov 9, 2021
bf5bbf2
[XrdEc] Unify the buffer size (be defensive).
simonmichal Nov 9, 2021
addfa39
[XrdCl] Don't issue a close in ~File if the thread-pool has been stop…
simonmichal Nov 9, 2021
0cc19ac
[XrdCeph] Sync submodule, fixes #1545."
simonmichal Nov 9, 2021
1d51eb4
[Utils] Add more defensive logic to XrdOucTokenizer.
abh3 Nov 10, 2021
194e398
Update notes on new config processing options for plug-ins.
abh3 Nov 10, 2021
9487494
[XrdCl] PostMaster::Receive: use smart ptr.
simonmichal Nov 10, 2021
3057a58
[XrdCl] xcp: fix segv in translating pginfo to chinfo.
simonmichal Nov 10, 2021
473d4e9
[XrdCl] xrdcp: make sure copy job unpacks the right response type.
simonmichal Nov 10, 2021
1078efb
[XrdCl] Make sure timed-out responses don't end up in the in-queue.
simonmichal Nov 13, 2021
b5b361f
[RPM] Update the _with_asan build flag.
simonmichal Nov 15, 2021
7235832
[XrdCl] Ensure all data are read out from socket on VectorRead.
simonmichal Nov 16, 2021
0629b81
[Docs] Sync release notes.
simonmichal Nov 16, 2021
35652f3
[XrdEc] Record file size in xattr.
simonmichal Nov 16, 2021
399489d
[XrdCl] Use t/o events to measure lapsed time in order to replay HS r…
simonmichal Nov 17, 2021
c233609
[XrdCl] Improve SocketHandler logging.
simonmichal Nov 17, 2021
4ecc828
[Server] Remove limit on number of args passed to a forked exec.
abh3 Nov 18, 2021
8566f31
Updated notes on fork and argv extensions.
abh3 Nov 18, 2021
b2b39dd
[XrdCl] Be more defensive when marking SID as t/o.
simonmichal Nov 18, 2021
c0e594f
[XrdCl] Merge IncomingMsgHandler & OutgoingMsgHandler interfaces.
simonmichal Nov 19, 2021
4cded2c
[XrdCl] in-queue: discard leftover msg matching newly add MsgHandler.
simonmichal Nov 19, 2021
f846859
[XrdCl] Discard response if there is no matching MsgHandler.
simonmichal Nov 19, 2021
30f6425
[Server] Correct packet marking deficiencies.
abh3 Nov 20, 2021
c1f82f9
[Server] Move pmark directive from xrd to xrootd for better consistency.
abh3 Nov 20, 2021
bd3bdf6
[Server] Add duplex option to packet marking framework.
abh3 Nov 22, 2021
cdb003e
Fix typos
ellert Nov 16, 2021
4593de2
[XrdCl] Remove sync PostMaster::Send/Receive.
simonmichal Nov 22, 2021
ef767df
[XrdCl] Add move copy constructor and assigment operator to Message.
simonmichal Nov 22, 2021
9a0c34c
[XrdCl] Update tests.
simonmichal Nov 22, 2021
0b41533
[XrdCl] Update tests, part 2.
simonmichal Nov 23, 2021
3f9d0ae
[XrdCl] Fix tests' compilation.
simonmichal Nov 23, 2021
1ec07de
[XrdCl] Update PostMaster tests, part 3.
simonmichal Nov 23, 2021
152ccb6
[XrdCl] Add missing return to XRootDMsgHandler::OnStatusReady.
simonmichal Nov 23, 2021
1c8e0b1
Reverse logic, 'no proxy' to 'create proxy' (see comments to PR#1493)
gganis Nov 15, 2021
03ccd4c
Fix error message
gganis Nov 23, 2021
9972f0a
Fuly support XrdSecGSICREATEPROXY=0 (proxy used if present, ortherwis…
gganis Nov 24, 2021
8ddd5b7
Fix error message
gganis Nov 24, 2021
f9e67e7
Increase version and add version check
gganis Nov 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/XrdSecgsi/XrdSecProtocolgsi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5116,7 +5116,7 @@ int XrdSecProtocolgsi::QueryProxy(bool checkcache, XrdSutCache *cache,
// Parse the cert file
int nci = (*ParseFile)(pi->cert, po->chain, pi->key);
if (nci < 1) {
DEBUG("proxy files must have at least 1 certificates"
DEBUG("cert files must have at least 1 certificates"
" (found: "<<nci<<")");
continue;
}
Expand Down