请求添加功能:只允许白名单访问 #16

Closed
opened 2025-06-14 13:50:13 +08:00 by jiehu0 · 2 comments
jiehu0 commented 2025-06-14 13:50:13 +08:00 (Migrated from github.com)

如题,感觉这样对流量滥用会好一点,优先白名单,然后黑名单拒绝

如题,感觉这样对流量滥用会好一点,优先白名单,然后黑名单拒绝
sky22333 commented 2025-06-14 13:59:56 +08:00 (Migrated from github.com)

3027b1f218/src/config.toml (L11)

有白名单呀,这里的请求次数改为0,然后IP白名单加上你自己的IP段,就行了

https://github.com/sky22333/hubproxy/blob/3027b1f218bee2f625b50d820bff4fa4629d98e3/src/config.toml#L11 有白名单呀,这里的请求次数改为0,然后IP白名单加上你自己的IP段,就行了
jiehu0 commented 2025-06-14 16:47:06 +08:00 (Migrated from github.com)

hubproxy/src/config.toml

Line 11 in 3027b1f

requestLimit = 200
有白名单呀,这里的请求次数改为0,然后IP白名单加上你自己的IP段,就行了

原来如此 感谢^ ^

> [hubproxy/src/config.toml](https://github.com/sky22333/hubproxy/blob/3027b1f218bee2f625b50d820bff4fa4629d98e3/src/config.toml#L11) > > Line 11 in [3027b1f](/sky22333/hubproxy/commit/3027b1f218bee2f625b50d820bff4fa4629d98e3) > > requestLimit = 200 > 有白名单呀,这里的请求次数改为0,然后IP白名单加上你自己的IP段,就行了 原来如此 感谢^ ^
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 3344/hubproxy#16