Bug 46434 - netstat --ipx gives byte-swapped output
Summary: netstat --ipx gives byte-swapped output
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: net-tools
Version: 7.1
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-28 15:05 UTC by Ben Harris
Modified: 2015-03-05 01:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-20 09:09:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Ben Harris 2001-06-28 15:05:05 UTC
Description of Problem:
In the output of netstat --ipx, the network and port numbers are byteswapped.
For instance:

Proto Recv-Q Send-Q Local Address              Foreign Address            State
IPX        0      0 000A6F83:2E40              04036F83:000000000001:5104 ESTAB

The local network number is actually 836F0A00, and the NetWare server reports
my socket number as 402E.  Similarly, the server's address is 
836F0304:000000000001, and the standard NCP port is 0415.

How Reproducible:
Solid.

Steps to Reproduce:
1. netstat --ipx
2. Compare results with known server addresses.

Actual Results:
Proto Recv-Q Send-Q Local Address              Foreign Address            State
IPX        0      0 000A6F83:2E40              04036F83:000000000001:5104 ESTAB

Expected Results:
Proto Recv-Q Send-Q Local Address              Foreign Address            State
IPX        0      0 836F0A00:402E              836F0304:000000000001:0415 ESTAB

Comment 1 Phil Knirsch 2003-05-20 09:09:50 UTC
Fixed in net-tools-1.60-14 available via rawhide real soon.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.