here is an email that i was in the process of writing....

i just uploaded a new snapshot @ http://matt-massie.com/ganglia/

i think this will solve our 0.0.0.0 problem (mostly).  

can you try this out and see how it works for you martin et al?

here is the new problem that i think we'll have on hosts with both IPv6
and IPv4 interfaces....

it's possible that a IPv4 client connects to the IPv6 port.  in that
case.. the name of the client will to translated from IPv4 to IPv6.  the
trusted_hosts attribute needs to provide that logic.

let me know what you find.  if you have problems connecting... can you
run in debug_mode (or check your logs) to see what host gmond "thinks"
is connecting and being rejected.

..........  end of old e-mail ................


your results are exactly what i would have expected.  your server is
binding to you IPv6 interface but it is getting connected to by in IPv4
client.  when that happens... is converts the IPv4 address to IPv6
notation.

so "127.0.0.1" becomes "::ffff:127.0.0.1" etc

today i finally got a solaris box setup for development and testing.  i
should be able to get solaris fixes sooner.  i'm trying to track down
some IPv6 hosts that i have access to to try out IPv6 stuff.

i'm sure we can get this working soon.  i'm surprised adding the IPv6
addresses didn't fix your problem.  i'll look at this more tomorrow
sometime.

little by little
-matt



On Wed, 2004-06-09 at 17:15, Martin Knoblauch wrote:
> Hi Matt,
> 
>  after seeing your latest CVS checkins, I thought to try them out.
> Better, but we are not yet there :-) When doing my telnet test (local
> and remote), I now get the following rejects:
> 
> server_thread() Host ::ffff:127.0.0.1 tried to connect and was refused
> server_thread() Host ::ffff:160.48.88.10 tried to connect and was
> refused
> 
>  Putting those in the trusted_hosts directive does not help.
> 
>  Shall I still try the test you suggest below? Just to clarify, the IP
> address is the  address of the host running gmond?
> 
> Martin
>  
> --- Matt Massie <[EMAIL PROTECTED]> wrote:
> > On Wed, 2004-06-09 at 11:21, Martin Knoblauch wrote:
> > 
> > > > i have a question though... where you putting in the hostname or
> > IP
> > > > address?  i suspect you were putting in the hostname and when
> > gmond
> > > > resolved the name it got an IPv6 address.  can you try running
> > gmond
> > > > explicitly stating an IPv4 address?
> > > >
> > > 
> > >  I don't understand? What do you mean by "putting in hostname or IP
> > > address"? Where should I have put them in :-)
> > 
> > now i don't understand either.  :)
> > 
> > actually... currently .. we only have in xml_port directive.  that
> > might
> > not cut it anymore.  we might need to add in xml_if xml_address or
> > similar directive
> > 
> > i was thinking we could explicitly give the "IPv4" address of the
> > server.
> > 
> > can you try this...
> > 
> > on line 305 and 308 of gmond.c
> > 
> > change
> > 
> > Tcp_listen(NULL, ...);
> > 
> > to
> > 
> > Tcp_listen("192.168.0.1", ...);
> > 
> > ?
> > 
> > of course change "192.168.0.1" to the IPv4 address of the host and
> > recompile.  i'm thinking that will solve our problem.
> > 
> 
> 
> =====
> ------------------------------------------------------
> Martin Knoblauch
> email: k n o b i AT knobisoft DOT de
> www:   http://www.knobisoft.de
-- 
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E F40B 242A 5984 ACBC 91D3'

   They that can give up essential liberty to obtain a little 
      temporary safety deserve neither liberty nor safety. 
  --Benjamin Franklin, Historical Review of Pennsylvania, 1759

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to