<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 - ebtables-nft help output woes"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1723">1723</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ebtables-nft help output woes
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ebtables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ebtables-nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>phil@nwl.cc
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The list of extensions returned from 'ebtables-nft -h list_extensions' is more
than incomplete:

| # ebtables -h list_extensions                 
| ebtables v1.8.10 (nf_tables)
| Loaded userspace extensions:

| Loaded targets:
| nflog
| log

| Loaded matches:

Listing most extensions does not work:

| # ebtables -h 802_3          
| ebtables v1.8.10 (nf_tables): Extension '802_3' not found
| Try `ebtables -h' or 'ebtables --help' for more information.

Those that work, cause double free at program exit:

| # ebtables -h nflog          
| ebtables 1.8.10 (nf_tables)
| [...]
| nflog options:
| --nflog               : use the default nflog parameters
| --nflog-prefix prefix : Prefix string for log message
| --nflog-group group   : NETLINK group used for logging
| --nflog-range range   : Number of byte to copy
| --nflog-threshold     : Message threshold ofin-kernel queue
| free(): double free detected in tcache 2
| zsh: IOT instruction  sudo ../../../install/sbin/ebtables -h nflog

It is caused by nft_fini() freeing 'target->t' in xtables_targets list which
apparently has been freed already by ebt_cs_clean(). Maybe the
xtables_find_target() call is bad?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>