Thread View: muc.lists.freebsd.bugs
1 messages
1 total messages
Started by bugzilla-noreply
Wed, 25 Nov 2026 22:57
[Bug 301120] netstat(8): option -n not always works
Author: bugzilla-noreply
Date: Wed, 25 Nov 2026 22:57
Date: Wed, 25 Nov 2026 22:57
95 lines
4669 bytes
4669 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301120
Bug ID: 301120
Summary: netstat(8): option -n not always works
Product: Base System
Version: 15.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: vermaden@interia.pl
Hi,
I have tested this on 14.5-RELEASE and 15.2-BETA3 and its the same.
The '-n' option for netstat(8) shout always omit DNS resolution:
-n Do not resolve numeric addresses and port numbers to names.
But ...
% netstat -win -f inet
Name Mtu Network Address Ipkts Ierrs Idrop
Opkts Oerrs Coll
lo0 - your-net localhost 18565 - -
34960 - -
ue0 - 10.0.0.0/24 f25 58256913 - -
92670084 - -
vm-public - 10.1.1.0/24 10.1.1.1 1727 - -
72787 - -
% netstat -wi -f inet
Name Mtu Network Address Ipkts Ierrs Idrop
Opkts Oerrs Coll
lo0 - your-net localhost 18565 - -
34960 - -
ue0 - 10.0.0.0/24 f25 58257698 - -
92673390 - -
vm-public - 10.1.1.0/24 10.1.1.1 1727 - -
72791 - -
Seems not to work with '-w' ... and works as described with '-W' option.
% netstat -Win -f inet
Name Mtu Network Address Ipkts Ierrs Idrop
Opkts Oerrs Coll
lo0 - 127.0.0.0/8 127.0.0.1 18565 - -
34960 - -
ue0 - 10.0.0.0/24 10.0.0.3 58257175 - -
92671028 - -
vm-public - 10.1.1.0/24 10.1.1.1 1727 - -
72788 - -
% netstat -Wi -f inet
Name Mtu Network Address Ipkts Ierrs Idrop
Opkts Oerrs Coll
lo0 - your-net localhost 18565 - -
34960 - -
ue0 - 10.0.0.0/24 f25 58257411 - -
92672260 - -
vm-public - 10.1.1.0/24 10.1.1.1 1727 - -
72790 - -
vm-VLAN239 - 172.27.33.192/26 172.27.33.193 433 - -
71770 - -
Regards,
vermaden
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads