<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - iptables 1.8.8 breaks parsing of long-form arguments using = syntax"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1677">1677</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>iptables 1.8.8 breaks parsing of long-form arguments using = syntax
</td>
</tr>
<tr>
<th>Product</th>
<td>iptables
</td>
</tr>
<tr>
<th>Version</th>
<td>1.8.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>iptables
</td>
</tr>
<tr>
<th>Assignee</th>
<td>netfilter-buglog@lists.netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>paulfurtado91@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>It seems that 1.8.8 breaks argument parsing with iptables-legacy.
On 1.8.7, the following syntax works:
iptables -w 10 -t nat -A POSTROUTING --out-interface=eth0 --jump=MASQUERADE
--random-fully
On 1.8.8 and 1.8.9, it produces:
interface name `--out-interface=eth0' must be shorter than IFNAMSIZ (15)
So it looks like IFNAMSIZ must be including the entire argument instead of just
eth0.
If you then remove the = from the --out-interface argument and write it as:
iptables -w 10 -t nat -A POSTROUTING --out-interface eth0 --jump=MASQUERADE
--random-fully
You get the error:
unknown option "--random-fully"
Which is a little odd. But it seems like it may be looking at that as a value
being passed to --jump.
If you remove --random-fully and leave --jump alone:
iptables -w 10 -t nat -A POSTROUTING --out-interface eth0 --jump=MASQUERADE
The error is now:
Couldn't load target `--jump=MASQUERADE':No such file or directory
Finally, the command works if specified as:
iptables -w 10 -t nat -A POSTROUTING --out-interface eth0 --jump MASQUERADE
--random-fully</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>