fam
[Top] [All Lists]

Re: connect to FAM from remote machine?

To: "Viner, David" <dviner@xxxxxxxxxxxxx>
Subject: Re: connect to FAM from remote machine?
From: Michael Raymond <mraymond@xxxxxxx>
Date: Tue, 4 Nov 2003 13:53:41 -0600
Cc: "'fam@xxxxxxxxxxx'" <fam@xxxxxxxxxxx>
In-reply-to: <263A1F717ECDED40AA969F98D1CF122E01A4EF6C@xxxxxxxxxxxxxxxxxxxxx>; from dviner@xxxxxxxxxxxxx on Tue, Nov 04, 2003 at 10:48:30AM -0800
References: <263A1F717ECDED40AA969F98D1CF122E01A4EF6C@xxxxxxxxxxxxxxxxxxxxx>
Sender: fam-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
    I'm not that familiar with the code, but I know that the documentation
does talk about the fam daemon contacting fam daemons on other machines to
monitor NFS mounted files.  Therefor fam daemons can talk to each other but
I doubt that clients can do it.  I think one way that the daemon does
security is that it only talks to connections coming from secure port(s).
                                                         Michael

On Tue, Nov 04, 2003 at 10:48:30AM -0800, Viner, David wrote:
> Hi,
> 
> I know that the fam library uses rpc messages to connect to the fam daemon.
> Is it possible to connect to a fam daemon on a remote machine (i.e., a
> machine that is not localhost)?  
> 
> >From looking at the code, it appears to me that this is not possible, since
> FAMOpen2 constructs the client like this:
>       fc->client = new Client(LOCALHOSTNUMBER, famnumber, famversion);
> where LOCALHOSTNUMER is
>       #define LOCALHOSTNUMBER 0x7f000001 // Internet number for loopback.
> 
> thanks
> dave
> 

-- 
Michael A. Raymond              Office: (651) 683-3434
Core OS Scheduling Group        Real-Time Lead

<Prev in Thread] Current Thread [Next in Thread>