The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
tcpdump -w file is not capturing all the packets radiatejava IP Networking 5 05-29-2009 08:36 AM
packets statistics Frank2004 HP-UX 2 05-11-2009 03:39 AM
send packets miojamo Shell Programming and Scripting 1 04-27-2009 09:14 AM
counting the packets damn_bkb IP Networking 2 11-17-2006 07:55 AM
Packets Getting Lost S.P.Prasad High Level Programming 4 11-24-2003 12:36 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-14-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
Capturing bad packets

Hello,

SNMP reports from my Linux server a large number of "ipInAddrErrors" on several of my systems. According to one description, these packets are discarded datagrams due to:
Quote:
the IP address in their IP header's destination field was not a valid address to be received at this entity. ... For entities which are not IP Gateways and therefore do not forward datagrams, this counter includes datagrams discarded because the destination address was not a local address.
How do I determine what packets these are? Can tcpdump help? If so, can anyone suggest a filter?
  #2 (permalink)  
Old 10-15-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,668
It might be more efficient to alter the SNMP code to include the fields you want from the IP header in the SNMP info (is this an SNMP trap?)

That is what I would do since you more-than-likely have access to the Linux source code.
Reply

Bookmarks

Tags
packet errors, packet sniffing, snmp, tcpdump

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0