[sr-dev] 'address' table and composite UNIQUE key for 'ip_addr' and 'mask' columns
marius zbihlei
marius.zbihlei at 1and1.ro
Thu Apr 15 13:44:25 CEST 2010
Iñaki Baz Castillo wrote:
> Hi, 'ip_addr' and 'mask' columns (in 'address' table) should be a
> composite UNIQUE key as it doesn't make sense to have two entries
> sharing both values (the module would always take the first one).
> This would requiere a change in the DB schema. Opinions?
>
>
Hello,
I have a few questions about the address table:
1. Does it support IPv6 addresses?
2. Along with quad-doted IPv4, there are also the plans to support other
IPv4 formats like octal or hexa for IP-addresses? For example
0102.0146.015.0143 <http://0102.0146.015.0143/>(one www.google.com's IP)
I am very new to permission module but maybe this cases need to be
handled also...
Marius
More information about the sr-dev
mailing list