Here's how you would match 172.16. through 172.32.
/^172\.(1[6-9]|2[0-9]|3[0-2])\./
Note that periods mean "any single character". So to refer to a literal
period, you need to escape it with a backslash first. However, since every
combination you're looking for ends with a period, you could just specify
it once at the end.
/^(0|10|44|127|169\.254|172\.(1[6-9]|2[0-9]|3[0-2])|192\.168|224)\./
On Fri, Mar 1, 2013 at 1:41 PM, Jann Traschewski <jann(a)gmx.de> wrote:
(Please trim inclusions from previous messages)
_______________________________________________
For now I have block most of the bogons plus 44/8
thusly:
/^(0.|10.|44.|127.|169.154.|192.168.|224.)/
Isn't it 169.254. ?
When I have more time I will create a more
elegant table based filter,
so we can allow/deny subnets.
Maybe it is worth to put 172.16.|172.17.|...|172.31. into the list (if
it will not "break" the line :D)
73,
Jann
--
Jann Traschewski, Lenbachstr. 6, D-90489 Nuernberg, Germany
Tel.: +49-911-696971, Mobile: +49-170-1045937, E-Mail: jann(a)gmx.de
Ham: DG8NGN / DB0VOX,
http://www.qsl.net/dg8ngn
_________________________________________
44Net mailing list
44Net(a)hamradio.ucsd.edu
http://hamradio.ucsd.edu/mailman/listinfo/44net
http://www.ampr.org/donate.html