Operating System - Linux
1827794 Members
2677 Online
109969 Solutions
New Discussion

netstat - invalid addresses

 
SOLVED
Go to solution
M. Rozin
Occasional Advisor

netstat - invalid addresses

Hello people,

Does anybody know what exactly "invalid addresses" means in the output of netstat --statistics --raw?

Cheers,
Maxim.
5 REPLIES 5
Goran Koruga
Honored Contributor

Re: netstat - invalid addresses

Hello.

Just a short recommendation first - don't ask yes/no questions.

This is ipInAddrErrors from /proc/net/snmp - usually number of input diagrams that were discarded because they were not destined to the host in question.

Regards,
Goran
M. Rozin
Occasional Advisor

Re: netstat - invalid addresses

Thank you very much Goran.

Why would these diagrams reach the host if they were not destined to it?

Cheers,
Maxim.
Matti_Kurkela
Honored Contributor
Solution

Re: netstat - invalid addresses

(Nitpick: I think Goran meant "datagrams", not "diagrams".)

There are many possible reasons.

Maybe a mis-configured host, switch or router somewhere near you in the network?

Maybe someone is intentionally sending unusual packets to see how your system reacts to them? This can be used to identify your OS and maybe probe for some vulnerabilities.

MK
MK
Goran Koruga
Honored Contributor

Re: netstat - invalid addresses

Yes, good spot - I of course meant datagrams.

To find out why I think you'll need to look on other sytems, i.e. those that are sending them.

Goran
M. Rozin
Occasional Advisor

Re: netstat - invalid addresses

well, that can be difficult, as I don't have access to all the internet users in the world.

Maxim.