<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 - using the internal lookup table vs. the local system's /etc/services (or so) generally prevents nft from working"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1269">1269</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>using the internal lookup table vs. the local system's /etc/services (or so) generally prevents nft from working
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Gentoo
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>d@zaitceff.me
          </td>
        </tr></table>
      <p>
        <div>
        <pre>An old enough commit ccc5da470e76032f8e175920553516835efb30f1
(<a href="http://git.netfilter.org/nftables/commit/?id=ccc5da470e76032f8e175920553516835efb30f1">http://git.netfilter.org/nftables/commit/?id=ccc5da470e76032f8e175920553516835efb30f1</a>)
prevents the nft utility from using the host's _real_ list of known services
(e.g. from /etc/services).  In my case - the latest Gentoo - nft doesn't know
anymore what are the port numbers of imap, smtps and ms-wbt-server.  While all
of them are (legally!:) listed in /etc/services.  These three services are just
my exact case, while the difference between the general (not Gentoo-specific)
/etc/services content and the hardcoded inet_service_tbl (which was created
from the patch author's /etc/services of some time and from some Ubuntu distro)
are just _big_.

As for me, the whole idea to hardcode the list of services was erroneous,
because the local list of services is not even the distro-specific entity, but
just the local admin's possession.  And nobody can know in advance the
somebody's service names and port numbers...

Example:

tcp dport imap ip daddr X.X.X.X counter dnat Y.Y.Y.Y

This line can't be used after the mentioned patch has been applied.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>