All of lore.kernel.org
 help / color / mirror / Atom feed
* libipt_connbytes.c bug in iptables-1.3.1
@ 2005-04-17 23:09 Piotrek Kaczmarek
  2005-04-18 10:26 ` Jonas Berlin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Piotrek Kaczmarek @ 2005-04-17 23:09 UTC (permalink / raw)
  To: netfilter-devel

I've spent couple of hours seaching for a fix for this bug... can you apply the patch below?

# iptables -t mangle -A PREROUTING -m connbytes --connbytes-mode packets
iptables v1.3.1: Unknown arg `packets'
Try `iptables -h' or 'iptables --help' for more information.

# iptables -t mangle -A PREROUTING -m connbytes --connbytes-mode bytes
iptables v1.3.1: Unknown arg `bytes'
Try `iptables -h' or 'iptables --help' for more information.

There's a patch:

########### cut

--- libipt_connbytes.c.fucked   2005-04-18 01:00:28.000000000 +0200
+++ libipt_connbytes.c  2005-04-18 00:56:10.000000000 +0200
@@ -93,6 +93,7 @@
                        exit_error(PARAMETER_PROBLEM,
                                   "Unknown --connbytes-mode `%s'", optarg);
                *flags |= 4;
+               break;
        default:
                return 0;
        }

########### cut

-- 
Piotrek Kaczmarek

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

end of thread, other threads:[~2005-04-24 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-17 23:09 libipt_connbytes.c bug in iptables-1.3.1 Piotrek Kaczmarek
2005-04-18 10:26 ` Jonas Berlin
2005-04-19  0:21 ` Andy Furniss
2005-04-24 16:14 ` Patrick McHardy

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.