Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bfe]mod_block控制面对ip_blocklist.data的写操作能否开源出来让大家参考下 #1153

Open
cherishman2005 opened this issue Mar 25, 2024 · 0 comments

Comments

@cherishman2005
Copy link

https://github.com/bfenetworks/bfe/blob/develop/bfe_modules/mod_block/testdata/mod_block/ip_blocklist.data

  • ip_blocklist.data
#  {"version": "1234", "pairIPNum":1, "singleIPNum":2}
# global ip blocklist

10.1.1.0 10.1.1.254
192.168.1.100
1::1
  • mod_block控制面对ip_blocklist.data的写操作能否开源出来让大家参考下;
    • ip_blocklist.data定义了自己的词法,bfe没有开源写配置文件的接口。-- 自己实现也不难,只是想有个统一的写法。
  • 或者有没有其他的ip列表配置文件的形态让大家一起看看
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant