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

* Re: libipt_connbytes.c bug in iptables-1.3.1
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Jonas Berlin @ 2005-04-18 10:26 UTC (permalink / raw)
  To: Piotrek Kaczmarek; +Cc: netfilter-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoting Piotrek Kaczmarek on 2005-04-17 23:09 UTC:

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

Thanks a lot! It fixes the problems I experienced as well :)

- --
- - xkr47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCY4tSxyF48ZTvn+4RAlhjAJ0Q82R0SzUMkSelyJcsnVx0LQAHgQCfR0yw
zX66WF6xvWMEkM4h651cZHg=
=SmTE
-----END PGP SIGNATURE-----

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

* Re: libipt_connbytes.c bug in iptables-1.3.1
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Furniss @ 2005-04-19  0:21 UTC (permalink / raw)
  To: Piotrek Kaczmarek; +Cc: netfilter-devel

Piotrek Kaczmarek wrote:
> 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
> 

Thanks from me aswell Piotrek - I've got connbytes back :-)

Andy.

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

* Re: libipt_connbytes.c bug in iptables-1.3.1
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2005-04-24 16:14 UTC (permalink / raw)
  To: Piotrek Kaczmarek; +Cc: netfilter-devel

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

Applied, thanks.

^ 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.