IPv6 stil something to do?
I was looking around and noticed some odd queries (bans) that still mostly relied on the IPv4 schema (some RLIKE).
So I started wondering: is IPv6 complete or still only partially working?
On the interweb it's mentioned varbinary(16) as the way to go for IPv6 in mysql, we are currently using (a bit inconsistently) either CHAR or VARCHAR (in 16, 19 and 255 variants IIRC).
Sooo... dunno, any experience?
Re: IPv6 stil something to do?
Reply #1 –
I wish I knew more about IPv6, I know just enough to use AAAA in the nameserver config. Can we even ban based on IPv6?
Re: IPv6 stil something to do?
Reply #3 –
Looks straight forward enough really, just updating what is stored in the db ... most the the complexity is in the upgrade scripts. It uses the built in php function inet_ntop to convert the binary stored IP (4 or 6) back to a string when needed.
As for the bans, I disapprove of banning by IP in general, or if you must it should be for like a day or two. What was done will work of course but I'm uneasy about V6 bans as I'm not sure how some of those blocks work.
Re: IPv6 stil something to do?
Reply #9 –
I still use ban IP for spammers but I don't know how useful it is. Probably zero