libipt_connbytes.c bug in iptables-1.3.1
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 2005-04-18 00:56:10.000000000 +0200 renamed from libipt_connbytes.c.fucked 2005-04-18 01:00:28.000000000 +0200 +1 -0
@@ -93,6 +93,7 @@ exit_error(PARAMETER_PROBLEM, "Unknown --connbytes-mode `%s'", optarg); *flags |= 4; + break; default: return 0; }
########### cut
Signature · 1 line
Piotrek Kaczmarek
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoting Piotrek Kaczmarek on 2005-04-17 23:09 UTC:
Quoted 3 lines
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-----
Quoted 25 lines · Piotrek Kaczmarek
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 2005-04-18 00:56:10.000000000 +0200 renamed from libipt_connbytes.c.fucked 2005-04-18 01:00:28.000000000 +0200 +1
-0@@ -93,6 +93,7 @@ exit_error(PARAMETER_PROBLEM, "Unknown --connbytes-mode `%s'", optarg); *flags |= 4; + break; default: return 0; }
Quoted 2 lines
########### cut
Thanks from me aswell Piotrek - I've got connbytes back :-)
Andy.
Patrick McHardy
AppliedQuoted 1 line · Piotrek Kaczmarek
I've spent couple of hours seaching for a fix for this bug... can you apply the patch below?
Applied, thanks.