Open GoogleCodeExporter opened 9 years ago
I've got a patch that should do filtering on IP instead of hostname. I've
attached the patch, and tested it on one of my boxes here. It seemed to work
for me, but it'd be good if others tested.
Did you install via RPM or tarball? If the former, I can generate RPMs for you
to test.
Original comment by AaronMat...@gmail.com
on 21 Apr 2013 at 3:56
Attachments:
It's probably simpler to use getnameinfo here.
Something along the lines of
// In case getnameinfo fails make sure we null-terminate namebuf
namebuf[0] = 0;
getnameinfo(sock_addr, I2AddrSockLen(sockAddr), namebuf, sizeof(namebuf), NULL,
0, NI_NUMERICHOST)
This avoids separate IPv4 and IPv6 cases.
Original comment by rsanger...@gmail.com
on 24 Apr 2013 at 2:15
Sigh. I managed to forget about getnameinfo function...
Original comment by AaronMat...@gmail.com
on 24 Apr 2013 at 3:04
Original comment by jslawin...@soldevelo.com
on 25 Jun 2014 at 8:28
Original issue reported on code.google.com by
solt...@opentechinstitute.org
on 19 Apr 2013 at 5:52