[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop-dev
Subject:    RE: [Ntop-dev] IP - MAC mapping changes (was: Issues w/ ntop 2.2.93)
From:       "Burton M. Strauss III" <Burton () ntopsupport ! com>
Date:       2003-08-31 22:42:14
Message-ID: JIEPJGFPFMFIGBNCPKGGIEKAEEAA.Burton () ntopsupport ! com
[Download RAW message or body]

Well, without seeing the traffic, there's not much I can say.  I don't have
even a ghost of a beginning towards explaining what you're seeing.

You *might* try enabling the -q | --create-suspicious-packets switch.

It will put out some additional warnings and dump the offending packets to a
tcpdump formatted file (unfortunately, it can't go back in time to grab the
original packet).  Most of them you won't care about, but some might be
relevant - stuff like this:

**WARNING** Two MAC addresses found for the same IP address %s: [%s/%s]
(spoofing detected?)

The other thing you might do is see if there's a light usage host that does
the switching and try to grab only it's packets.  If you can come up with a
trace file of a few packets or even a few dozen, it's something to look at.

Otherwise, you will need to instrument the logic where ntop stores these
things and see what the log messages tell you.


-----Burton

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of pc
Sent: Thursday, August 28, 2003 8:43 PM
To: ntop-dev@Unipi.IT
Subject: RE: [Ntop-dev] IP - MAC mapping changes (was: Issues w/ ntop
2.2.93)


I don't want to bore you with how I got to where I am again.  I didn't
report it initially where it could just as easily be an environmental thing
going on.  But maybe not.

The web page output I sent you definitely shows host '172.22.22.254' (my
default router) owning ip address 172.22.22.55 (my linux box).  And the data
presented on that page is definitely from my linux box as well.  There is no
other line listed on any of the upper level web pages with 'pc5.localnet' at
the time when I view the '172.22.22.254' host but there WAS when I started
ntop and for several hours afterward.

I don't understand why ntop would re-resolve things either, but there is
clearly something in there doing just that.  It's not just this one host
either, I see host designations change within the application all the time,
but in this specific situation the host designation is definitely
rong.  --sticky-hosts is also active.

My Cabletron switch has vlan capabilities, but none of this is currently
configured.  The spanning tree has nothing to span either.  My Cisco router
is configured very vanilla these days too and ntop doesn't see anything
strange coming out of it.

A lot of my development efforts recently have been involved with testing
configurations between Windows 2k and linux.  Much of it to get linux based
utilities to handle active directory associated functions; particularly with
DNS and DHCP with Samba and NFS in use also.  Might be a part of it?  Don't
know...  To me the real challenge is getting everybody's application happily
talking to each other and still have choices with whose OS it is running on
top of.

One of reasons for using ntop in the first place was to get a better handle
on what our good friends at Micro$oft are doing these days from a networking
perspective.  There is a lot they bury deep in some tech note or not at all.
It seems everybody these days is using yet another port for something.
tcpdump or ethereal would tell me more per se, but I don't want to analyze
mountains of data either.

OK, enough blabber...

Tim

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Burton M. Strauss III
Sent: Thursday, August 28, 2003 9:51 AM
To: Ntop-Dev
Subject: [Ntop-dev] IP - MAC mapping changes (was: Issues w/ ntop
2.2.93)


Never seen it.  Would have been nice to have reported this earlier, instead
of hoping it would magically get fixed.  Days before the planned release is
very late in the game.

Gang:  Anyone else having this problem?  I haven't seen it, but I have a
very simple network.

ntop doesn't use the ARP data.  If the gethostbyname() and other functions
use it under the covers, that could cause issues, but once ntop resolves an
name, it doesn't re-resolve it.

IIRC - without diging into the code - the name in the "info about" line is
the 'resolved' name, which is a char[] represention of the ip address as a
last resort.

Thoughts - is this a complex, switched environment?  Some switches re-write
packets with their own MAC addresses, this causes all sorts of pain.  If you
have multiple redundant links and the switches are reconfiguring the
spanning tree, then I could see how packets would 'change' their MAC-IP
address connection.  That would confuse the heck out of ntop.

Try the -o | --no-mac switch and let us know... that should disable the MAC
stuff, making ntop a pure layer 3 monitoring tool, vs. the hybrid.

-----Burton

>  -----Original Message-----
> From: 	pc [mailto:tgm@cshore.com]
> Sent:	Tuesday, August 26, 2003 9:07 PM
> To:	ntop-dev@unipi.it
> Subject:	Issues w/ ntop 2.2.93

<snip/>

> ntop confuses default router and linux box & known host names change
>
> If I startup ntop and then go and ping everything in my network, all of
the hosts are displayed nice and pretty by ntop.  But after a while this
seems to fall apart.  Some things revert back to their manufacturer/MAC
address and some others become a simple host name without the domain suffix
and sometimes they become an IP address.  The one very problematic one is
that my box that I run ntop on becomes displayed as the IP address of the
default router????  When I look at the host in the ntop web page it in fact
displays both the IP addresses in the output.  The record for the default
router may or may not exist at the time.  THIS IS NOT NEW TO v2.2.93!  I was
having this same issue with 2.2c (and was hoping it might be somehow
corrected in the new version).  In some of my debugging efforts I've noticed
that ntop seems to be very sensitive to the contents of the arp cache at the
time the web page is displayed.  But once the data for the default route and
local machine seemingly merge, nothing corrects it without a restart of
ntop.  I've attached a web page example of this.  Note that the host name
that ntop has named it is 172.22.22.254 but the actual IP address is
172.22.22.55.  The initial name that ntop named it was pc5.localnet which is
in line with it's actual host name.  (see:
> ntopIPmismatch.zip)

_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic