<---- template headericclude ----->
netstat...interpreting the Foreign address
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow netstat...interpreting the Foreign address

    Is it possible to translate the 'Foreign address' to an IPv4 ip?

    [root@desktop04 ~]# netstat | grep "ssh"
    Output as follows:
    Foreign Address (?!) State
    tcp 0 52 ::ffff:192.168.2.104:ssh ::ffff:192.168.2.10:isis-am ESTABLISHED
    tcp 0 0 ::ffff:192.168.2.104:ssh ::ffff:192.168:netbill-cred ESTABLISHED

  2. #2
    Mikis Guest
    Try with netstat -n | grep "ssh"

  3. #3
    Join Date
    Dec 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation

    Quote Originally Posted by Mikis
    Try with netstat -n | grep "ssh"
    The results are unusual... As a matter of fact -n should display numerical ip addresses (thanks mikis).

    1. Initially a session with unreadable hostnames was displayed (sorry no quote available, because copy and paste did not "work" from putty, somehow :-).

    2. Then even when logged in with an ssh client, netstat displayed no sessions with an "ssh" within the string. This sounds buggy to me :S.

    A similar problem seemed to have occurred with netstat and the writer concluded that:
    "...So they actually crop the ip address if the ip and port data doesn't fit the column width."

    (http://syntacticsirup.blogspot.com/2...tat-sucks.html)
    Last edited by jon80; 21st June 2008 at 02:52 PM. Reason: update #1

  4. #4
    Join Date
    Dec 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking

    Quote Originally Posted by jon80
    The results are unusual... As a matter of fact -n should display numerical ip addresses (thanks mikis).
    Red Hat Fedora 8
    1. Initially a session with unreadable hostnames was displayed (sorry no quote available, because copy and paste did not "work" from putty, somehow :-).

    2. Then even when logged in with an ssh client, netstat displayed no sessions with an "ssh" within the string.

    A similar problem seemed to have occurred with netstat and the writer concluded that:
    "...So they actually crop the ip address if the ip and port data doesn't fit the column width."

    (http://syntacticsirup.blogspot.com/2...tat-sucks.html)
    This seems buggy to me :S

    Red Hat Fedora 9

    The problem does not seem to occur with RH 9, since the following line is displayed:
    tcp 0 0 192.168.2.100:ssh 192.168.2.101:ismc ESTABLISHED
    (netstat.log attached)

    To summarize the command should actually read, on my network:

    netstat -a | grep "ssh"
    Last edited by jon80; 21st June 2008 at 04:17 PM. Reason: update #2

  5. #5
    Mikis Guest
    What do you get if you netstat -n | grep tcp ?

  6. #6
    Join Date
    Dec 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No worries I think i sorted it out. Should use RH9

Similar Threads

  1. interpreting e2fsck output
    By daneel971 in forum Using Fedora
    Replies: 2
    Last Post: 1st January 2008, 05:21 PM
  2. NETSTAT utility - what does Local Address mean?
    By Sentient in forum Servers & Networking
    Replies: 0
    Last Post: 25th September 2006, 05:59 AM
  3. Interpreting results of df command
    By lesliek in forum Using Fedora
    Replies: 4
    Last Post: 14th March 2005, 06:32 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]