LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-16-2004, 09:58 AM   #1
nekromancer
Newbie
 
Registered: Nov 2003
Location: Niagara Falls, Canada
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Weird results with netstat


Hi, I am getting something weird while running netstat. I am unsure of what it means and it is the first time I see this...

I run Gentoo Linux with a Cable modem.

I see this along with other stuff...

tcp 0 0 localhost.nic.fr:46431 localhost.nic.fr:46430 TIME_WAIT
tcp 0 0 localhost.nic.fr:46428 localhost.nic.fr:46427 TIME_WAIT
tcp 0 0 localhost.nic.fr:46434 localhost.nic.fr:46433 TIME_WAIT

the address localhost.nic.fr resolves to 127.0.0.1 but when I check my /etc/hosts /etc/hostname and /etc/dnsdomainname files I don't see anything that resembles that name. I also don't remember anything using that...

Does anyone know off hand what is going on? Or maybe a config file I didn't look at that a program changed?
 
Old 02-16-2004, 03:03 PM   #2
Larsin
Member
 
Registered: Jan 2004
Posts: 40

Rep: Reputation: 15
Local host is simply your machine's internal network name, which resolves to 127.0.0.1. For example, if you ping 127.0.0.1, you are pinging yourself to verify that your network card works. What you are seeing in netstat is normal.

Go to www.yahoo.com or google in your browser, and then run another netstat and you will see your machine non-local(meaning you will see the static address of your machine 192.xxx.xx.xxx or another dynamically assigned address)IP address is now connected to the IP address of whatever website you just opened.

Hope that helps.
 
Old 02-16-2004, 03:33 PM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Also try using netstat -tanp & netstat -uanp to get a programme name and ip numbers...
 
Old 02-17-2004, 01:36 AM   #4
nekromancer
Newbie
 
Registered: Nov 2003
Location: Niagara Falls, Canada
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
great.

I get more useful help off non-linux related areas.

Larsin,.. seriously... did I ask what localhost was? NO. I said I am getting an extra address identifying it self as 127.0.0.1 and I run 1 single computer with no 196.x.x.x addresses. Imagine you netstat and you see 10 different addresses, each one resolving to 127.0.0.1 ... thats a bit weird isn't it? espeically if you never assigned them.... Don't you think???

geeeze.

last time I'll ever post here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i limit the netstat local results on fedora core 3 vtecturbo13 Linux - General 2 10-11-2005 03:21 PM
Question about netstat results JaseP Linux - Security 4 11-18-2004 12:09 PM
netstat -nap acting weird Donboy Linux - Networking 5 09-01-2004 11:16 PM
Netstat results. Imyrryr Linux - Networking 2 07-02-2004 10:00 PM
re: security and results of netstat probe ergo_sum Linux - Newbie 5 11-15-2003 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration