Re: ipporthash, ipportiphash, ipportnethash problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2 Oct 2010, Mr Dash Four wrote:

> OK, I quickly tested the new version with my previous test on the ssh port and
> it all works now, though I found some other (minor) issues:
> 
> When I do 'make IP_NF_SET_MAX=xx IP_NF_SET_HASHSIZE=xx' and then do 'make
> install' (as root) both values I have given during my first 'make' were
> completely disregarded.
> 
> If I do 'make IP_NF_SET_MAX=xx IP_NF_SET_HASHSIZE=xx' and 'make
> IP_NF_SET_MAX=xx IP_NF_SET_HASHSIZE=xx install' I can see that at least the
> default hash size has also been disregarded (built a set without specifying
> --hashsize and when I executed 'ipset -L' the hashsize was 1024 and not the
> number I have given during make). I cannot check whether IP_NF_SET_MAX has
> also been disregarded (don't know how to do it!).

IP_NF_SET_MAX is honored. Run "make ... V=1" and you see that the value is 
passed to CONFIG_IP_NF_SET_MAX which is used up directly in 
kernel/ip_set.c. However, IP_NF_SET_HASHSIZE is forgotten and not 
referenced in the userspace code, so setting the default hashsize at 
compiling time does not work yet.

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx
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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux