Konstantin Lebedev
b65eb2ec45
[security] reload whiteList on http seerver ( #6302 )
* reload whiteList
* white_list add to scaffold
3 weeks ago
chrislu
21c0587900
go fmt
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
Sebastian Kurfuerst
eda4c43a08
fix typo in error message
3 years ago
bingoohuang
ecdeef8c66
simplify func(w http.ResponseWriter, r *http.Request) to http.HandlerFunc
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
50aa769554
jwt for read access control
6 years ago
Chris Lu
3f9ecee40f
working with reading remote intervals
6 years ago
Chris Lu
25941e0500
master: add jwt expires_after_seconds
6 years ago
Chris Lu
215cd27b37
add authorizing fileId write access
need to secure upload/update/delete for benchmark/filer/mount
need to add secure grpc
6 years ago
Chris Lu
4ff4a147b2
cleanup security.Secret
6 years ago
Sergey
aa5ccff6d2
fixing of typos
6 years ago
Mike Tolman
ce99bb927d
Revert "Adding HTTP verb whitelisting options."
This reverts commit 34837afc7a
.
9 years ago
Mike Tolman
34837afc7a
Adding HTTP verb whitelisting options.
9 years ago
Chris Lu
d0dbf6d2ea
adjust logging
9 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
chrislusf
74b045e9b6
improve performance a little bit when having white list
9 years ago
chrislusf
70d050416b
fix
set HTTP_X_FORWARDED_FOR when proxying
https://github.com/chrislusf/seaweedfs/issues/214
9 years ago
chrislusf
805740069a
go fmt
9 years ago
Steve Kemp
2a777a970c
Allow whitelisting by CIDR range, not just literally.
This allows you to write something like this:
/usr/local/bin/weed master -mdir /srv/weed/master -whiteList=192.168.0.0/24,127.0.0.1
This will whitelist all the 192.168.0.XX hosts, as well as localhost.
9 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
Chris Lu
f7998f8652
merge conflicts
10 years ago
Chris Lu
a3e4145e8a
refactoring for later security changes
10 years ago