All of lore.kernel.org
 help / color / mirror / Atom feed
* could ipporthash be extended/modified
@ 2010-09-28 21:33 Mr Dash Four
  2010-09-29  7:12 ` Jozsef Kadlecsik
  0 siblings, 1 reply; 5+ messages in thread
From: Mr Dash Four @ 2010-09-28 21:33 UTC (permalink / raw)
  To: netfilter-devel

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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: could ipporthash be extended/modified
  2010-09-28 21:33 could ipporthash be extended/modified Mr Dash Four
@ 2010-09-29  7:12 ` Jozsef Kadlecsik
  2010-09-29  9:58   ` Mr Dash Four
  0 siblings, 1 reply; 5+ messages in thread
From: Jozsef Kadlecsik @ 2010-09-29  7:12 UTC (permalink / raw)
  To: Mr Dash Four; +Cc: netfilter-devel

On Tue, 28 Sep 2010, Mr Dash Four wrote:

> 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.

> 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  : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: could ipporthash be extended/modified
  2010-09-29  7:12 ` Jozsef Kadlecsik
@ 2010-09-29  9:58   ` Mr Dash Four
  2010-09-30 10:28     ` krunal patel
  0 siblings, 1 reply; 5+ messages in thread
From: Mr Dash Four @ 2010-09-29  9:58 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: netfilter-devel


>> 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!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: could ipporthash be extended/modified
  2010-09-29  9:58   ` Mr Dash Four
@ 2010-09-30 10:28     ` krunal patel
  2010-09-30 16:29       ` Jozsef Kadlecsik
  0 siblings, 1 reply; 5+ messages in thread
From: krunal patel @ 2010-09-30 10:28 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Jozsef Kadlecsik

On Wed, Sep 29, 2010 at 3:28 PM, Mr Dash Four
<mr.dash.four@googlemail.com> wrote:
>
>>> 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!
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel"
> in
> the body of a message to majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: could ipporthash be extended/modified
  2010-09-30 10:28     ` krunal patel
@ 2010-09-30 16:29       ` Jozsef Kadlecsik
  0 siblings, 0 replies; 5+ messages in thread
From: Jozsef Kadlecsik @ 2010-09-30 16:29 UTC (permalink / raw)
  To: krunal patel; +Cc: netfilter-devel

On Thu, 30 Sep 2010, krunal patel wrote:

> On Wed, Sep 29, 2010 at 3:28 PM, Mr Dash Four
> <mr.dash.four@googlemail.com> wrote:
> >
> >>> 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!
> >
> Great.
> It will have IPv6 support ? :).

Yes! :-)

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-30 16:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 21:33 could ipporthash be extended/modified Mr Dash Four
2010-09-29  7:12 ` Jozsef Kadlecsik
2010-09-29  9:58   ` Mr Dash Four
2010-09-30 10:28     ` krunal patel
2010-09-30 16:29       ` Jozsef Kadlecsik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.