Re: Solipsis: Python-powered Metaverse



On Wed, 11 May 2005 22:48:31 -0400, rumours say that "Terry Reedy"
<tjreedy@xxxxxxxx> might have written:

>> and what if both computers
>> wanted to participate on the port 6000 fun?

>Recently, I had one family member use my purchased account to logon to and
>play an online action game, which sends a constant stream of update info.
>Then, curious what would happen, I logged on, from a different computer but
>through the same router, with a temporary guest account. Somewhat to my
>surprise, it worked -- without touching the computer (XP) or router
>settings. And kept working the whole weekend. So there is a way to tag
>update packets so they can be reliably separated into two streams (and vice
>versa). Solipsis should be able to do the same.

In your case, it's the internal address that originated the connection--
so the router can distinguish the streams:

(int1, port1)->(ext_host, port0)
maps to (router_ext, port2)->(ext_host, port0)

(int2, port3)->(ext_host, port0)
maps to (router_ext, port4)->(ext_host, port0)

Every TCP/UDP packet includes srcip, srcport, dstip, dstport, so an
internal "dictionary" makes the translations to and fro (the router
changes the srcip, srcport whenever a packet passes through). The
internal computer knows not that the router mangled the packets, and the
external computer knows nothing about the internal computer address.

However, if both of your internal computers listen to port 6000 for
example, there is no easy way for the router to know to which one it
should forward an *incoming* request for connection to port 6000-- all
it knows is that some external computer connected to its external
interface ip address at some specific port. In this case, *typically*
you would map port (router_ext, 6000) to (int1, 6000) and (router_ext,
6001) to (int2, 6000). The internal computers would both think that
some computer is doing a connect at their port 6000.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
.



Relevant Pages

  • Re: Solipsis: Python-powered Metaverse
    ... >>>through the same router, ... to be address *from* that particular port. ... was/is a steady stream of updates to both clients even if they send nothing ... > areas of>the packets it sends, the router usually can't properly rewrite ...
    (comp.lang.python)
  • Re: 2621 and pix how to find bandwidth abuser
    ... When I ping the router instead of <1ms I am ... minute input rate, 5 minute output rate, packets input, packets output). ... If you have a Cisco switch that supports SPAN, you might want to place a sniffer on a SPAN destination port and monitor source ports of interest. ...
    (comp.dcom.sys.cisco)
  • Re: Smoothwall may not be forwarding port 80
    ... On the red interface is an adsl router. ... PORT STATE SERVICE ... dropping the packets, or that the forwarding does not work correctly. ...
    (comp.security.firewalls)
  • Re: Packet Filtering w/ Netgear RT314
    ... >> 2) The machine behind the router is initiating the outbound traffic. ... >> Therefore the router is going allow inbound traffic back to the ... > port 80 I loose my ability to see the internet from the LAN? ... Probably because the router is dropping all the packets from the web ...
    (comp.security.firewalls)
  • Re: Solipsis: Python-powered Metaverse
    ... wanted to participate on the port 6000 fun? ... which sends a constant stream of update info. ... Then, curious what would happen, I logged on, from a different computer but through the same router, with a temporary guest account. ... The internal computer knows not that the router mangled the packets, and the external computer knows nothing about the internal computer address. ...
    (comp.lang.python)