Patrick Schmidt
98dcec0ee2
Clean up old signature hash pools
1 year ago
Patrick Schmidt
cdd817edf9
Improve S3 request signing performance
This change is caching HMAC hashers for repeated use in subsequent
requests and chunks, so they don't have to be initialized from
scratch every time.
On my local computer this gives me ~5-6 times faster signature
calculation and ~5-6.5% more throughput in S3 requests. The smaller
the payload the better the throughput gets.
2 years ago
chrislu
81fdf3651b
grpc connection to filer add sw-client-id header
2 years ago
LHHDZ
3550692afc
change s3_account.go package to avoid cycle dependency ( #3813 )
2 years ago
LHHDZ
e9584d9661
add ownership rest apis ( #3765 )
2 years ago
Ryan Russell
d54eb9966f
refactor: `Directory` readability ( #3665 )
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
guosj
ab1b9697e6
supplement check duplicate accesskey
2 years ago
shichanglin5
f01dd27752
fix: When there is no access permission configured before startup, the authentication does not take effect after configuring the permission after startup
3 years ago
chrislu
27732ecfa4
move s3 related constants from package http to s3_constants
3 years ago
chrislu
b8f3db0d46
s3: keep auth enabled in case identities are set to empty
fix https://github.com/chrislusf/seaweedfs/issues/3084
3 years ago
chrislu
29198720f2
s3: add grpc server to accept configuration changes
3 years ago
Konstantin Lebedev
edb753ab4d
https://github.com/chrislusf/seaweedfs/issues/2583
3 years ago
chrislu
e76105e2ab
fix auth permission checking
3 years ago
chrislu
a7887166cf
wildcard prefix to restrict access to directories in s3 bucket
https://github.com/chrislusf/seaweedfs/discussions/2551
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
kmlebedev
4f98553ba9
audit log SignatureVersion
3 years ago
Konstantin Lebedev
4ec8715f20
audit log
3 years ago
Konstantin Lebedev
42f4aa824b
force overwrite s3-is-admin
https://github.com/chrislusf/seaweedfs/issues/2433
3 years ago
Bl1tz23
c683409e92
s3: add RWMutex to iam, use RLock for concurrent reading
3 years ago
Bl1tz23
5018b22f36
s3: fix potencial iam identities data race
3 years ago
Chris Lu
244841f080
adjust logs
3 years ago
Chris Lu
55973e8572
log unknown access key
3 years ago
Chris Lu
f17fa400d5
refactoring
3 years ago
Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Konstantin Lebedev
be4b3ed509
AclHandlers
3 years ago
Chris Lu
ecce300964
s3 config read via grpc
4 years ago
Chris Lu
a024254ad7
logging
4 years ago
Chris Lu
8b382a8209
refactor
4 years ago
Chris Lu
33b87244ef
refactoring
4 years ago
Konstantin Lebedev
a48785c7df
auth use bucket wild cards
4 years ago
Chris Lu
6d2c979999
s3: fix regression
fix https://github.com/chrislusf/seaweedfs/issues/1707
4 years ago
Chris Lu
090f85be4b
s3: support config action Admin:bucket
4 years ago
Chris Lu
4f31c1bb94
go fmt
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
26731694f8
s3: use static configuration by default
So that users can still use the previous configuration files.
If leave it empty, s3 will try to use the version from filer
4 years ago
Chris Lu
765b3ef1be
save /etc/iam/identity.json inside filer store
4 years ago
Chris Lu
fce8803087
break import cycle
4 years ago
Chris Lu
eed87791b7
s3: subscribe to s3.configure changes
4 years ago
Chris Lu
01e2da5782
refactoring
4 years ago
Konstantin Lebedev
a26f1b2040
new pkg s3iam
4 years ago
Chris Lu
e6333da65a
enable admin to access all buckets
4 years ago
ruitao.liu
5b636b3242
Add bucket owner attr.
4 years ago
Konstantin Lebedev
e1190b3224
load S3 config from filer
https://github.com/chrislusf/seaweedfs/issues/1500
4 years ago
Chris Lu
e91b9c85a2
s3: Added support for "List" action in weed s3 -config=... in the config file.
fix https://github.com/chrislusf/seaweedfs/issues/1511
4 years ago
Chris Lu
d013d09a9b
adjust logging
4 years ago
Chris Lu
dc4d2145ff
open up
4 years ago
Chris Lu
29abe980df
s3: add support for PostPolicy
fix https://github.com/chrislusf/seaweedfs/issues/1426
4 years ago
Chris Lu
5b40a2690a
refactoring
4 years ago
Chris Lu
2b74abf766
S3: configurable access for anonymous user
fix https://github.com/chrislusf/seaweedfs/issues/1413
4 years ago