Re: [ufdbGuard] ipv4 ipv4list etc support for categories
URL filter to block unwanted content on the internet
Brought to you by:
ufdb
|
From: Marcus K. <mar...@ur...> - 2018-07-24 17:23:49
|
The 5000 lines in a URL table are definitely much faster than a regular expression, but with this relatively simple regular expressions you will not see much difference. Regular expressions can consume quite a bit of CPU and memory resources and therefore the recommendation is to keep the total number of regular expressions below 500. Marcus On 24/07/18 13:24, Lao Shaw wrote: > will that have a performance hit if I have multiple IP blocks and use expressions on them, comparing to one IP per line in the alwaysdeny/domains file? > > for example if I have 5000 IPs from those netmask-ed ranges, I will need 5000 lines in alwaysdeny/domains and probably 50 lines in alwaysdeny/expressions, which one will be better then? > > Thanks, > > On Tue, Jul 24, 2018 at 11:18 AM, Marcus Kool <mar...@ur... <mailto:mar...@ur...>> wrote: > > X-Mail-List: ufdbGuard > ufdbGuard has no configuration option to include a range of IP addresses as URLs in a URL table. > > However, in your example you can add an expressionlist to alwaysdeny to block 10.2.0.0/16 <http://10.2.0.0/16>. > The expressions file contains one line: > ^10\.2\.[0-9]+\.[0-9]+(/|$|:) > > Marcus > > > On 24/07/18 13:05, Gordon Hsiao wrote: > > X-Mail-List: ufdbGuard > > > > I need block a range of IP addresses(e.g. 10.2.0.0/16 <http://10.2.0.0/16>), so far I had to add them to alwaysdeny/domains one IP per line which is very tedious, can ufdbguard support > ipv4/ipv4list netmask or a iplist file directly, like it does for the "source" section? > > Gordon > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > ufdbGuard-support mailing list > ufd...@li... <mailto:ufd...@li...> > https://lists.sourceforge.net/lists/listinfo/ufdbguard-support <https://lists.sourceforge.net/lists/listinfo/ufdbguard-support> > > |