Add documentation for ipblocklist

This commit is contained in:
9seconds
2021-04-05 16:09:21 +03:00
parent 04b88cc864
commit 0274b3436a
6 changed files with 82 additions and 28 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ func (c *Proxy) setupIPBlocklist(opts *mtglib.ProxyOpts) error {
return err // nolint: wrapcheck
}
go firehol.Run(c.Config.Defense.Blocklist.UpdateEach.Value(ipblocklist.DefaultUpdateEach))
go firehol.Run(c.Config.Defense.Blocklist.UpdateEach.Value(ipblocklist.DefaultFireholUpdateEach))
opts.IPBlocklist = firehol