On Wednesday 2009-11-04 22:50, Chini, Georg (HP App Services) wrote: >> >>I'm using ipset 3.2 on a sparc64 system (ultra2), kernel 2.6.31.5, Debian 5. >>Everything works fine, but the -L option shows strange values for a portmap. > > >If you explicitly compile ipset as a 64-bit program rather than the >32-bit default that is used on sparc, will the correct values be >shown? > >Thanks for the fast reply. I added -m64 to cc and ld options and >recompiled. Is that correct? If yes, I now get a bus error instead >of a wrong listing. Or do I have to change anything else? Bus error means something was not quite correctly aligned (yet another ipset bug). The lack of cheap access to big-endian, alignment-sensitive hardware means many codes do not get the testing they deserve :-/ To workaround the alignedness issue, you could take an x86_64 machine and compile a strictly 32-bit ipset on it, and see whether the values are also off. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html