<div>This is just to give a feeback: </div>
<div>yes the problem was with the firewall behind the virtual servers I am using, which on both sides blocked all but a few standard ports.</div>
<div>Once the selected ports, namely 3333+/- 1 were opened by the sys admins of both service providers, then everything worked just fine.</div>
<div>Eventually, the issue is now that at least one service provider asked an additional $10/month fee to keep the requested udp ports opened in their firewall ... which of course lead me to change the service provider ... but that's not a spread problem .. ;-)</div>
<div> </div>
<div>Thanks for the help John!</div>
<div>Regards</div>
<div>Paolo</div>
<div><br><br> </div>
<div class="gmail_quote">On Thu, Jan 22, 2009 at 12:13 AM, Paolo Bernasconi <span dir="ltr"><<a href="mailto:paolo.bernasconi@gmail.com">paolo.bernasconi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi John, </div>
<div>thanks for the quick reply.</div>
<div>I will definitely modify the segment address to 127.0.0.1 , since I do have one single machine on each side and plan to make use of only one single daemon on each side.</div>
<div>About the communication issue: ping goes through without a problem, though I am not sure which port that is. </div>
<div>I'll try sp_send and sp_recv and see if I can get some more clues about which port is open and which not.</div>
<div>My suspect is that, since both machines are virtual servers, there sure is one layer of firewall where things might get stopped. I have control of the firewall of my server, but not of the box in which it runs.</div>
<div>I will need to bother tech support at both sites, but first I need to understand what the problem is, otherwise ... they will simply tell me that they do not support the use of spread ... ;-(</div>
<div>I will do some more digging with the sp_* tools and go from there.</div>
<div> </div>
<div>Thanks for your help! If I manage to get it working, I'll post the solution ... </div>
<div>regards, </div>
<div>Paolo<font color="#888888"><br></font></div>
<div>
<div></div>
<div class="Wj3C7c">
<div class="gmail_quote">On Wed, Jan 21, 2009 at 11:56 PM, John Lane Schultz <span dir="ltr"><<a href="mailto:jschultz@spreadconcepts.com" target="_blank">jschultz@spreadconcepts.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Something between your two daemons is probably blocking their point-to-point traffic to one another. The culprit could be any number of things, but is most likely either a machine level or network level firewall somewhere in the mix.<br>
<br>You need to make sure that the port number you pick X (3333), port X + 1 and port X + 2 are all open for UDP traffic for all the daemons in your configuration. You can try using sp_send and sp_recv to see if traffic can flow on those ports at all between your machines. Or, you could try some other more basic utility (ping?) to check the same thing.<br>
<br>PS - If you are only going to have single machines in a segment, then set the segment address to be 127.0.0.1 so they don't bother any other machines in their subnet. If you are going to have multiple daemons within a subnet, then use a multicast address (e.g. - 227.227.227.227) so that your daemons don't needlessly bother uninvolved machines by using the network broadcast address.<br>
<br>Cheers!<br>John<br><br>---<br><font color="#888888">John Lane Schultz<br>Spread Concepts LLC<br>Phn: 443 838 2200<br>Fax: 301 560 8875<br></font>
<div>
<div></div>
<div><br>Thursday, January 22, 2009, 2:29:39 AM, you wrote:<br><br>> Hi,<br>> here is the config file,same for both servers:<br>><br>> Spread_Segment xxx.93.145.255:3333 {<br>> machine1 xxx.93.145.124<br>> }<br>
> Spread_Segment yyy.154.219.255:3333 {<br>> machineB1 yyy.154.219.120<br>> }<br>><br>> On each server the deamon works fine, and client sessions can<br>> communicate, but there is no way to make both server deamona see<br>
> each other and have the messages cross over the internet and reach the other deamon.<br>><br>> After starting up the deamons on each server, this is what I get:<br>><br>> on server at yyy.154.219.120 (linux)<br>
<br>> ....<br>> Conf_load_conf_file: using file: spread.conf<br>> Successfully configured Segment 0 [xxx.93.145.255:3333] with 1 procs:<br>> machine1: xxx.93.145.124<br>> Successfully configured Segment 1 [yyy.154.219.255:3333] with 1 procs:<br>
> machineB1: yyy.154.219.120<br>> Finished configuration file.<br>> Hash value for this configuration is: 1744128833<br>> Conf_load_conf_file: My name: machineB1, id: xyyy.154.219.120, port: 3333<br>
> Membership id is ( -660939912, 1232603174)<br>> --------------------<br>> Configuration at machineB1 is:<br>> Num Segments 2<br>> 0 xxx.93.145.255 3333<br>> 1 xxyyy.154.219.255 3333<br>
> machineB1 yyy.154.219.120<br>> ====================<br>><br>> <<<<<<<<<<<<<<<<<br>><br>> On server xxx.93.145.255 (NT)<br>
><br><br>> Conf_load_conf_file: using file: spread.conf<br>> Successfully configured Segment 0 [xxx.93.145.124:3333] with 1 procs:<br>> machine1: xxx.93.145.124<br>> Successfully configured Segment 1 [yyy.154.219.120:3333] with 1 procs:<br>
> machineB1: yyy.154.219.120<br>> Finished configuration file.<br>> Hash value for this configuration is: 2008767669<br>> Conf_load_conf_file: My name: machine1, id: xxx.93.145.124, port: 3333<br>
> Membership id is ( -799174276, 1232608861)<br>> --------------------<br>> Configuration at machine1 is:<br>> Num Segments 2<br>> 1 xxx.93.145.124 3333<br>> machine1 xxx.93.145.124<br>
> 0 yyy.154.219.120 3333<br>> ====================<br>><br>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<br>><br>
> I can connect locally on each server using spuser, join a group and<br>> send messages. If I use several clients joining the same group, they all see each other.<br>> However. joining the same group on both severs across the internet<br>
> will not get me anywhere. No client session from one server gets to the other server<br>> Now, both server have no firewall, I have disabled it on the NT and opened everything on the linux.<br>> Shoulnd't this work or am I missing something?<br>
><br>> Hope someone can help, I haven't been able to figure it out.<br>><br>> Thanks in advance<br>> Paolo<br><br></div></div></blockquote></div><br></div></div></blockquote></div><br>