Skip to contentSkip to conversation

iptables on sparc64 platform?

DISCUSSION Martin Josefsson 1 participant 1 message Sep 15, 2002 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Simon Oosthoek

The reason I have doubts about the quality of the modules on 64 bit sparc is that the iptables command gives an invalid argument error when using the -m limit option. The ipt_limit module is in memory (according to lsmod).

Hi Simon, sorry for the very very late reply.

It seems I made a patch for libipt_limit.c when I read this mail but it seems I never sent it to anyone :( I found it when I was cleaning up a bit.

Do you still have this problem?
I don't know if this patch will solve the problem but if you want you can give it a try.

Signature · 4 lines
/Martin

Never argue with an idiot. They drag you down to their level, then beat
you with experience.
userspace/extensions/libipt_limit.c renamed from userspace/extensions/libipt_limit.c.orig +1 -1
@@ -183,7 +183,7 @@
     "limit",
     IPTABLES_VERSION,
     IPT_ALIGN(sizeof(struct ipt_rateinfo)),
-    offsetof(struct ipt_rateinfo, prev),
+    IPT_ALIGN(sizeof(struct ipt_rateinfo)),
     &help,
     &init,
     &parse,