10 Feb
2011
10 Feb
'11
2:58 a.m.
On Thu, 2011-01-06 at 11:14 -0800, Don Buchholz wrote:
I just spent a bit puzzling over "login_trusted_networks". My problem was using "10.1.2/24" instead of "10.1.2.0/24".
Here are some things I looked for during troubleshooting that didn't pan out:
(1) No messages printed to syslog.
This happens because libc's inet_aton() translates 1.2.3 to 1.2.0.3 (and similarly 1.2 to 1.0.0.2). I'd rather not add my own checks to prevent this.