Skip to contentSkip to conversation

limit match not working on Sparc64

Bug Anders Fugmann 2 participants 2 messages May 25, 2003 – May 28, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

The limit match seems to be broken on sparc64 arch. It works on i386.

#iptables -A INPUT -m limit --limit 1/second --limit-burst 3 -j ACCEPT
iptables: Invalid argument

ipt_limit module is loaded.

#uname -a
Linux fw 2.4.21-rc2 #1 Tue May 20 20:14:39 CEST 2003 sparc64 unknown unknown GNU/Linux

#iptaiptables v1.2.7a
iptbles --version

More information available on request.

I guess that its the 64bit kernel/32bit user-space that is making the module break. If anyone has some pointers on how to fix this, I would be glad to try and fix it - Maybe we can get a patch into 2.4.21.

Regards
Anders Fugmann

#1 lore raw
Quoted 1 line · Anders Fugmann

The limit match seems to be broken on sparc64 arch. It works on i386.

can you please submit this bug report to bugzilla.netfilter.org? Thanks.

Quoted 3 lines

I guess that its the 64bit kernel/32bit user-space that is making the module break. If anyone has some pointers on how to fix this, I would be glad to try and fix it - Maybe we can get a patch into 2.4.21.

yes, I think there's been discussion about this on the netfilter-devel list before.

Quoted 2 lines

Regards
Anders Fugmann

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie