SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix: filer do not support IP whitelist right now #7094 (#7095)
Konstantin Lebedevdfac1315ca9b
diff --git a/weed/server/filer_server.go b/weed/server/filer_server.goindex 95d344af40..597c5162c1 100644--- a/weed/server/filer_server.go+++ b/weed/server/filer_server.go@@ -173,8 +173,11 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)}})fs.filer.Cipher = option.Cipher- whiteList := util.StringSplit(v.GetString("guard.white_list"), ",")- fs.filerGuard = security.NewGuard(whiteList, signingKey, expiresAfterSec, readSigningKey, readExpiresAfterSec)+ // we do not support IP whitelist right now https://github.com/seaweedfs/seaweedfs/issues/7094+ if v.GetString("guard.white_list") != "" {+ glog.Warningf("filer: guard.white_list is configured but the IP whitelist feature is currently disabled. See https://github.com/seaweedfs/seaweedfs/issues/7094")+ }+ fs.filerGuard = security.NewGuard([]string{}, signingKey, expiresAfterSec, readSigningKey, readExpiresAfterSec)fs.volumeGuard = security.NewGuard([]string{}, volumeSigningKey, volumeExpiresAfterSec, volumeReadSigningKey, volumeReadExpiresAfterSec)fs.checkWithMaster()@@ -254,6 +257,4 @@ func (fs *FilerServer) Reload() {glog.V(0).Infoln("Reload filer server...")util.LoadConfiguration("security", false)- v := util.GetViper()- fs.filerGuard.UpdateWhiteList(util.StringSplit(v.GetString("guard.white_list"), ","))}