src/sbbs3 str_util.c 1.51 1.52
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv15679
Modified Files:
str_util.c
Log Message:
Added IPv4 CIDR notation support to all filter (*.can) files via the functions: findstr() and findstr_in_list().
This means that rather than listing an IP address range using the traditional wildcard characters (e.g. "192.168.1.*"), you could specify a subnet range using CIDR notation (e.g. "192.168.1.0/24").
The '!' prefix is supported for CIDR match lines (for negated match results), but no other wildcard/match characters are (e.g. '^', '~', or '*').
You can mix and match traditional match lines and CIDR match lines in the same filter file.
IPv6 CIDR notation is not yet supported.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net