<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.nftables.org/wiki-nftables/index.php?action=history&amp;feed=atom&amp;title=Error_reporting_from_the_command_line</id>
	<title>Error reporting from the command line - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.nftables.org/wiki-nftables/index.php?action=history&amp;feed=atom&amp;title=Error_reporting_from_the_command_line"/>
	<link rel="alternate" type="text/html" href="http://wiki.nftables.org/wiki-nftables/index.php?title=Error_reporting_from_the_command_line&amp;action=history"/>
	<updated>2026-05-13T18:15:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://wiki.nftables.org/wiki-nftables/index.php?title=Error_reporting_from_the_command_line&amp;diff=22&amp;oldid=prev</id>
		<title>Pablo: Created page with &quot;The &#039;&#039;nft&#039;&#039; command line utility tries to help you when you use a wrong datatype.  The following examples shows the error output if you pass an IPv4 address as a TCP port.  &lt;s...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.nftables.org/wiki-nftables/index.php?title=Error_reporting_from_the_command_line&amp;diff=22&amp;oldid=prev"/>
		<updated>2016-07-13T17:49:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;#039;&amp;#039;nft&amp;#039;&amp;#039; command line utility tries to help you when you use a wrong datatype.  The following examples shows the error output if you pass an IPv4 address as a TCP port.  &amp;lt;s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;nft&amp;#039;&amp;#039; command line utility tries to help you when you use a wrong datatype.&lt;br /&gt;
&lt;br /&gt;
The following examples shows the error output if you pass an IPv4 address as a TCP port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add rule filter input tcp dport 1.1.1.1 counter drop&lt;br /&gt;
&amp;lt;cmdline&amp;gt;:1:33-39: Error: Could not resolve service: Servname not supported for ai_socktype&lt;br /&gt;
add rule filter input tcp dport 1.1.1.1 counter drop&lt;br /&gt;
                                ^^^^^^^&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The typical output if your command is incomplete is the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add rule filter input tcp dport&lt;br /&gt;
&amp;lt;cmdline&amp;gt;:1:32-32: Error: syntax error, unexpected end of file&lt;br /&gt;
add rule filter input tcp dport&lt;br /&gt;
                               ^&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pablo</name></author>
	</entry>
</feed>