]> jfr.im git - irc/rqf/shadowircd.git/commit - src/hostmask.c
Apply ratbox3 workaround for too permissive inet_pton6():
authorJilles Tjoelker <redacted>
Tue, 2 Feb 2010 23:44:51 +0000 (00:44 +0100)
committerJilles Tjoelker <redacted>
Tue, 2 Feb 2010 23:44:51 +0000 (00:44 +0100)
commitf7b54461775608089f85f92e7438b615457cd359
tree68a74f18d8a34324eff61c416d71ef687ad649e0
parent09fb2d185d735d5e64272a21d00f2674a90112ba
Apply ratbox3 workaround for too permissive inet_pton6():

Any kline (or various other things) containing * or ? is
a mask kline and not an IP kline. Ideally, rb_inet_pton_sock()
would return failure for those, but in practice this is not
always the case for IPv6.

Such a kline that is erroneously treated as an IP line
likely matches way fewer IPs than expected.
src/hostmask.c