[HECnet] Some SIMH weirdness on Raspbian

Supratim Sanyal supratim at riseup.net
Tue Dec 10 10:46:24 PST 2019


Hi Gregg,

Adding on to Keith, I have been using Paul's DECnet/Python (aka 
pydecnet) for perhaps a year now; it serves both as the primary area-31 
router using MULTINET and Ethernet, and uplinks to the GRE mesh using 
GRE and Ethernet (it supports all of these protocols + Johnny's Bridge + 
SIMH internal protocol in a single user-mode solution). It includes a 
http control and status server; two examples of my DECnet/Python nodes 
are at the following URL's, just to give you an idea of its capabilities.

http://impvax.duckdns.org/pyrtr/routing/internals%3Fsystem=PYRTR.html

http://sanyalnet-cloud-vps3.freeddns.org/routing/internals%3Fsystem=IMPRTR.html

The web contents are CSS based, and you can also change the look, as in

http://sanyal.duckdns.org:8000

Regards,
Supratim

On 12/08/2019 12:09 PM, Keith Halewood wrote:
> Hi Gregg,
>
> PyDecnet is Paul Koning's (he's on this list) DECnet router written entirely in Python. Here's his response he posted to this last a while back when I expressed curiosity:
>
>> There are some, yes.  You can find the code and documentation -- admittedly somewhat brief -- on my Subversion server at svn://akdesign.dyndns.org/pydecnet/trunk/pydecnet .
>>
>>> Very briefly, it's a DECnet implementation implemented entirely in Python 3, the full stack (including some applications).  Phase IV, but unlike others it will talk to Phase II nodes.  For that matter, it can be run as a Phase >> III or Phase II node if you like.
>>> There currently isn't a formal kit; you can install it from the Subversion working directory, or run it directly in there if you like.  See doc/*.txt for details.
>> Feel free to email me with questions, and of course any bug reports.
> I made a small modification to make it work better with the Ethernet TAP devices debian Linux offers.
>
> Keith
>
> -----Original Message-----
> From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Gregg Levine
> Sent: 08 December 2019 01:56
> To: Hecnet <hecnet at update.uu.se>
> Subject: Re: [HECnet] Some SIMH weirdness on Raspbian
>
> Hello!
> Keith can you elaborate on what "pydecnet" is? Google searching for me is not working because the search engine keeps trying to change my spelling to what it thinks it is. Johnny as it happens I am no expert on the way Dec hardware even simulated can communicate, but I am almost one on how Linux does do that. And you are indeed right.
> -----
> Gregg C Levine gregg.drwho8 at gmail.com
> "This signature fought the Time Wars, time and again."
>
> On Sat, Dec 7, 2019 at 7:37 AM Keith Halewood <Keith.Halewood at pitbulluk.org> wrote:
>> Hi,
>> Perhaps this isn’t strictly HECnet related but as HECnet traffic is traversing some part of this weird arrangement via pydecnet, I’m taking a chance:
>> I run SIMH on Raspberry PIs under Raspbian Buster.
>> I have both IPv4 and IPv6 networking switched on and a router/DHCP(v6)/DNS infrastructure to cope successfully with it.
>> (Nothing is wireless for what I’m about to describe, not that it would
>> make much difference) SIMH’s simulated Ethernet devices on the PIs are TAP connections to a bridge device connection to a real eth0 – no problem here.
>> SIMH instances’ consoles and terminal MUX devices are listening on individual ports and I telnet into these usually from my PC via Putty.
>> The DNS servers do not have AAAA for the PIs, just A, so the PC connects to the PIs via IPv4 – no problem here.
>> The PIs show the SIMH instances listening on the right TCP ports but when I filter with -4, ie:
>>                  netstat –a -4
>>
>> I don’t see SIMH listening. When I filter with -6, ie:
>>
>>                  netstat –a -6
>> I do see a listen on those ports.
>> I notice that, for example, ssh listens on 0.0.0.0:ssh AND [::]:ssh
>> but SIMH listens only on *:8601 (for example) The * seems to show up only when I restrict the search to the ipv6 family.
>> The * seems to indicate a listen with no ‘family’ preference.
>> An established connection to *:8601 seems even stranger.
>> It only shows up when netstat is run with -6 but it shows the correct IPv4 addresses for each endpoint. It is an IPv4 connection anyway.
>> The ‘ss -6’ command shows up something even weirder for the established (IPv4) connections:
>> The local address port is: [::ffff:192.168.2.42]:8601 and the remote
>> address port is: [::ffff:192.168.2.12]:61152 The IPv4 part of these ports is correct. Why are they ‘encapsulated’ in some IPv6 syntax and listed as IPv6 connections?
>> Can anybody point me in the right direction for some explanation please? My google keyword searching skills seem a little off today.
>> Regards,
>> Keith


-- 
Sent via Thunderbird/MX-Linux on an overheated Compaq Presario CQ61

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20191210/b2c64081/attachment-0001.html>


More information about the Hecnet-list mailing list