So it's a 6!  FLAG_HOST_SYM_ADDR_TYPE_IP.  So I'm looking for a place where
hRN transitions to 6, i.e. setResolvedName(... So it's a type 6!
FLAG_HOST_SYM_ADDR_TYPE_IP but the underlying value isn't set...  There are
only 4, shouldn't be that hard to nail down.  Especially as the debug line
is in the log:

setResolvedName(0x085dd730) 0  -> 6 192.168.11.100 - hash.c(1160)

(Don't you just LOVE it when the debugging stuff works!)

Let's see in your 1st message you said "Tried it using the -n Parameter"

I think I've found something odd - no clue if it's your problem - there's
one case where hostResolvedName (was) set w/o going through the function,
and that didn't test for the -n flag, just updated the name from the cache.
With -n set, that cache might not be loaded and so it would be updated to
blank.


I'll commit the patch in a few minutes, give it a try...

For that to be the problem, however, you would have to also have a messed up
dns cache file.

So please do the following.

1. Bring down the updated reportUtils.c, compile and test that
2. Run dumpgdbm against your dnsCache.db (ntop must be down)

$ dumpgdbm /usr/share/ntop/dnsCache.db  | grep "'3232[23]"

(dumpgdbm is at http://article.gmane.org/gmane.linux.ntop.general/3557, I
should probably throw the current version up @ SourceForge).

3. Delete dnsCache.db and rerun ntop

Let me know what you see.

-----Burton


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Markus Rehbach
> Sent: Wednesday, February 25, 2004 1:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Ntop] New sorting routines in cvs - these are post 3.0pre1
> - TEST NOW OR HOLD YOUR WATER
>
>
> Here it is:
>
> <TR  ><th  align="left" nowrap width="250">
> <a href="/192.168.11.100.html" ><!-- NONE:hRN(6) --></a>
> &nbsp;<img src="/clock.gif" border="0" alt="NTP Server"><td
> align="center">&nbsp;</td></th>
> <TD  ALIGN=RIGHT>192.168.11.100</TD><TD
> ALIGN=RIGHT>00:10:5A:53:E6:A7</TD>
> <TD  ALIGN=RIGHT NOWRAP>&nbsp;</TD><TD  ALIGN=LEFT><IMG
> ALIGN=ABSMIDDLE SRC="/
> gaugeS.jpg" ALT="Sent 76%" WIDTH=228 HEIGHT=12><IMG ALIGN=ABSMIDDLE SRC="/
> gaugeR.jpg" ALT="Received 22%" WIDTH=66 HEIGHT=12>&nbsp;</TD>
> <TD  ALIGN=RIGHT NOWRAP>3COM CORPORATION</TD><TD
> ALIGN=RIGHT>&nbsp;</TD><TD
> ALIGN=RIGHT>5</TD><TD  ALIGN=RIGHT NOWRAP>1:28</A></TD><TD  ALIGN=RIGHT
> NOWRAP>&nbsp;</TD></TR>

<snip/>

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to