[Spread-users] Spread config probs

neiltanc neiltanc at vizzavi.net
Thu Nov 15 10:22:46 EST 2001


Hi I would like to start using spread as a message bus to create a device
agnostic messaging system but I'm a total numpty when it comes to spread.  I
can't find any newbie sites and have questions/problems already - where can
I get help?

Neil

-----Original Message-----
From: spread-users-admin at lists.spread.org
[mailto:spread-users-admin at lists.spread.org]
Sent: 13 November 2001 17:00
To: spread-users at lists.spread.org
Subject: Spread-users digest, Vol 1 #45 - 2 msgs



Send Spread-users mailing list submissions to
	spread-users at lists.spread.org

To subscribe or unsubscribe via the web, visit
	http://lists.spread.org/mailman/listinfo/spread-users
or, via email, send a message with subject or body 'help' to
	spread-users-request at lists.spread.org
You can reach the person managing the list at
	spread-users-admin at lists.spread.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Spread-users digest..."


Today's Topics:

  1. Binding to specific interfaces? (Dave Parker)
  2. Re: Binding to specific interfaces? (Jonathan Stanton)

--__--__--

Message: 1
Date: Mon, 12 Nov 2001 14:19:10 -0800
From: Dave Parker <dparker at nocpulse.com>
Organization: NOCPulse
To: spread-users at lists.spread.org
Subject: [Spread-users] Binding to specific interfaces?

I noticed in some older list mail that spread has the ability as of
3.16.0 to bind only to network interfaces I specify.  I haven't found
any documentation as to how to do this though.  Is this in fact
something that's in spread now? How do I configure this?


--__--__--

Message: 2
Date: Mon, 12 Nov 2001 21:56:57 -0500
From: Jonathan Stanton <jonathan at cnds.jhu.edu>
To: Dave Parker <dparker at nocpulse.com>
Cc: spread-users at lists.spread.org
Subject: Re: [Spread-users] Binding to specific interfaces?

Yes it does have that ability, but it is somewhat buggy. All of the known
bugs with it are fixed in 3.16.1rc1.

I wrote some documentation when I developed it and seem to have lost the
document I wrote, so I'll try to add something explaining it.

A very short version is to change your configuration file to be:

Spread_Segment 226.0.0.1:5555 {
        host1 x.y.q.1 {
                C x.y.z.1
                D x.y.q.1
        }
        host2 x.y.q.2 {
		C 127.0.0.1
                C x.y.z.2
		D x.y.q.2
	}
	host3 x.y.q.3
}

which will bind so to accept client connections only on x.y.z.1, x.y.z.2
loopback on host2 and x.y.q.3 and loopback on host3.
It will bind to accept daemon udp packets on the x.y.q.0 network using the
specific interfaces for host 1 and 2 and will bind to INADDR_ANY for host3

Basically you give a master IP addres which will be used as an identifier
just as before, but if you add a {} delmited list of interface
specifications, Spread will only bind to them instead of INADDR_ANY.

Instead of:

Spread_Segment 226.0.0.1:5555 {
        host1   x.y.z.1
        host2   x.y.z.2
        host3   x.y.z.3
}
which binds to INADDR_ANY on all three hosts for both client and daemon
connections.

I wrote this off memory, so there might be small errors, but it should
give you the idea. Turn on the DebugFlags in the configuration file for
DATA_LINK and SESSION to see exactly how Spread binds.

I would be interested in any comments on how useful this is, or whether
the syntax is good, or bugs you find.

Jonathan

On Mon, Nov 12, 2001 at 02:19:10PM -0800, Dave Parker wrote:
> I noticed in some older list mail that spread has the ability as of
> 3.16.0 to bind only to network interfaces I specify.  I haven't found
> any documentation as to how to do this though.  Is this in fact
> something that's in spread now? How do I configure this?
>
>
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users

--
-------------------------------------------------------
Jonathan R. Stanton         jonathan at cs.jhu.edu
Dept. of Computer Science
Johns Hopkins University
-------------------------------------------------------




--__--__--

_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users


End of Spread-users Digest






More information about the Spread-users mailing list