Skip to contentSkip to conversation

could ipporthash be extended/modified

DISCUSSION Mr Dash Four 3 participants 5 messages Sep 28, 2010 – Sep 30, 2010 netfilter

lore
Share & tools
lore
#0 lore raw

Currently the above type can only accept /16 (B-class) type addresses. Is there any reason for this limitation? Could this be extended to accept any IP address?

The reason I am asking this is because I have to revert to employing unsavoury gimmicks to get a pair of IP,port addresses as part of my ipset matching and it would be much easier if this was available through ipporthash (or similar) construct.

Is that a possibility?

#1 lore raw
Quoted 2 lines · Mr Dash Four

Currently the above type can only accept /16 (B-class) type addresses. Is there any reason for this limitation?

The limitation makes possible to store the IP address and port data pair in 32 bits.

Quoted 1 line

Could this be extended to accept any IP address?

In the next ipset branch the limitation is lifted. That version will be announced and released next month, around the netfilter workshop.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary
#2 lore raw
Quoted 6 lines
Quoted 3 lines

Could this be extended to accept any IP address?

In the next ipset branch the limitation is lifted. That version will be announced and released next month, around the netfilter workshop.

OK, will wait for the release then. Thanks!

#3 lore raw
Quoted 8 lines · Mr Dash Four
Quoted 7 lines
Quoted 3 lines

Could this be extended to accept any IP address?

In the next ipset branch the limitation is lifted. That version will be announced and released next month, around the netfilter workshop.

Quoted 8 lines

OK, will wait for the release then. Thanks!

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Great.
It will have IPv6 support ? :).

Regards,
Krunal
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 6 lines · krunal patel
Quoted 4 lines · Mr Dash Four
Quoted 4 lines
Quoted 3 lines

Could this be extended to accept any IP address?

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

In the next ipset branch the limitation is lifted. That version will be announced and released next month, around the netfilter workshop.

OK, will wait for the release then. Thanks!

Great.
It will have IPv6 support ? :).

Yes! :-)

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary