This is just a quick one, since i’ve already gotten 3 mails about how i used PostgreSQLs CIDR and MAC Types.

It’s pretty easy, here are the two classes, basically treat it like strings. Haven’t come around yet to implement own query parameters for this (like « or ») but at least you can store that datatype. If querying is needed, use an insecure query.