I'm trying to access my home-computer (ubuntu desktop) http-server from
outside (a cloud-server) via http. My router is set  to do
packet-forwarding ("virtual server"). Tried using dmz also to forward
everything to my computer.

With my synapse-based server ("uses  blcksock, sockets, Synautil") it
does not work. With sniffers on both sides I can see that all the
packets get transferred - not in the same order, tho. After  some
packets (seems to vary), the SYN -counter gets a - apparently random -
new, large value. Clients  (firefox/chromium/wget) report failure
(firefox: connection reset, wget: read error at byte 7248/24847,
connection reset by peer). The same happens even with very small files
(except then I get "read error in headers" from wget).

If I use webfsd-server on my local machine for the same transfer, using
the same port, same everything, there are no problems. Then the packets
also seem to come to the client in the same order (at least
approximately) that they are sent (excuse my ignorance, but isn't this
SYN/ACK system to designed to take care of situations where packets do
not come in the right order? Or is a change in order the problem?).

If I access the same url via localhost, it works with the synapse-based
server too.

Router somehow interrupting the session for some reason? Why does it not
do the same for webfs? Sockets somehow getting mixed up in their SYN/ACK
calculations? (is this done by synsock or sockets?)

Are there any options in tblocksock (or somewhere) that I should use?
Should I use some specific output-method consistenly? Now I've used
socket.sendbuffer, socket.sendbufferto and socket.sendstring rather
unsystematically (latest effort was using only sendstring).
  -Timo



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to