search for: parsestart

Displaying 2 results from an estimated 2 matches for "parsestart".

Did you mean: hasrestart
2003 Mar 07
0
[Bug 62] New: I patched the iptables-restore and liblptulog for string included "," "
.../* reset the newargv */ newargc = 0; @@ -308,10 +309,20 @@ * longer a real hacker, but I can live with that */ quote_open = 0; + backquote_open = 0; param_start = parsestart; for (curchar = parsestart; *curchar; curchar++) { - if (*curchar == '"') { + if (*curchar == '\`') { + if (backquote_open) { +...
2017 Oct 17
3
[Bug 1191] New: Empty parameters generate errors on iptables-restore, even when saved by iptables-save
...lists.netfilter.org Reporter: valeriug at gmail.com Empty comments "" are allowed and working in iptables. iptables-save saves them correctly, but iptables-restore does not work when it encounters them. The problem comes from iptables-restore.c function add_param_to_argv(char *parsestart) which skips the parameters "". Here is a example how to reproduce the problem: - add a rule with an empty comment to running iptables - run iptables-save - run iptables-restore on the file saved by iptables-save [root at ip-10-1-1-93 ~]# iptables -t filter -A INPUT -s 1.2.3.4/32 -d 1.2...