seaweedfs icon indicating copy to clipboard operation
seaweedfs copied to clipboard

[filer] guard.go:115 Not in whitelist: @

Open kmlebedev opened this issue 8 months ago • 3 comments

/etc/seaweedfs/security.toml config

[guard]
white_list = "127.0.0.1,192.168.0.1,192.168.0.2,192.168.0.3"

filer log

weed-filer[1552191]: I0804 13:01:11.514772 guard.go:115 Not in whitelist: @

filer do not support IP whitelist right now

kmlebedev avatar Aug 05 '25 07:08 kmlebedev

added a fix https://github.com/seaweedfs/seaweedfs/pull/7101

chrislusf avatar Aug 06 '25 08:08 chrislusf

@chrislusf It is a bad idea to trust the X-FORWARDED-FOR and X-Real-IP headers as this is a potential security hole. We suggest disabling this by default.

kmlebedev avatar Aug 06 '25 08:08 kmlebedev

fixed in https://github.com/seaweedfs/seaweedfs/pull/7103

chrislusf avatar Aug 06 '25 16:08 chrislusf