Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

To downgrade the human mind is bad theology. -- C. K. Chesterton


computers / comp.sys.transputer / Re: Getting D4305A up and running

SubjectAuthor
* Getting D4305A up and runningLouis van Dompselaar
+* Re: Getting D4305A up and runningTheo
|`* Re: Getting D4305A up and runningLouis van Dompselaar
| `- Re: Getting D4305A up and runningTheo
`* Re: Getting D4305A up and runningAdam Sampson
 `- Re: Getting D4305A up and runningLouis van Dompselaar

1
Getting D4305A up and running

<e9a99870-c042-4e44-bab2-f7ab6c04b67bn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=122&group=comp.sys.transputer#122

  copy link   Newsgroups: comp.sys.transputer
X-Received: by 2002:ac8:5795:0:b0:3f6:aec9:e0cb with SMTP id v21-20020ac85795000000b003f6aec9e0cbmr1208714qta.13.1685185825194;
Sat, 27 May 2023 04:10:25 -0700 (PDT)
X-Received: by 2002:a05:6830:1053:b0:6aa:fe24:419f with SMTP id
b19-20020a056830105300b006aafe24419fmr1136548otp.1.1685185824880; Sat, 27 May
2023 04:10:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.transputer
Date: Sat, 27 May 2023 04:10:24 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a44c:6f2d:0:0:0:0:34;
posting-account=WuvUhgoAAAD5L1aXSU9rdin9BlfAYVif
NNTP-Posting-Host: 2a02:a44c:6f2d:0:0:0:0:34
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e9a99870-c042-4e44-bab2-f7ab6c04b67bn@googlegroups.com>
Subject: Getting D4305A up and running
From: vandomps...@gmail.com (Louis van Dompselaar)
Injection-Date: Sat, 27 May 2023 11:10:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1759
 by: Louis van Dompselaar - Sat, 27 May 2023 11:10 UTC

I'm currently dabbling with a couple of T222's, and have been able to run Occam code compiled in DOS using D7305. However, since I have a couple of Sun workstations, D4305A would be more useful, if only because I could just ssh into them to run the compiler.

Contrary to D7305, D4305 uses licensing. It comes with all de required binaries (including the FlexLM manager), but no code. It just refers to the "delivery manual" which I haven't been able to find. The license manager accepts a code-less entry, but then oc just complains about invalid encryption in the license.

Was D4305A ever released license-free (like D7305) or was a generic code ever issued?

Re: Getting D4305A up and running

<-Yq*C5rhz@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=123&group=comp.sys.transputer#123

  copy link   Newsgroups: comp.sys.transputer
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.transputer
Subject: Re: Getting D4305A up and running
Date: 29 May 2023 11:07:47 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <-Yq*C5rhz@news.chiark.greenend.org.uk>
References: <e9a99870-c042-4e44-bab2-f7ab6c04b67bn@googlegroups.com>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="20163"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Mon, 29 May 2023 10:07 UTC

Louis van Dompselaar <vandompselaar@gmail.com> wrote:
> I'm currently dabbling with a couple of T222's, and have been able to run
> Occam code compiled in DOS using D7305. However, since I have a couple of
> Sun workstations, D4305A would be more useful, if only because I could
> just ssh into them to run the compiler.
>
> Contrary to D7305, D4305 uses licensing. It comes with all de required
> binaries (including the FlexLM manager), but no code. It just refers to
> the "delivery manual" which I haven't been able to find. The license
> manager accepts a code-less entry, but then oc just complains about
> invalid encryption in the license.

I don't know anything about Transputer tools, but there's some generic
(mostly Windows) FlexLM hacking information here:
http://web.archive.org/web/20220218000631/http://www.woodmann.com/crackz/Flexlm.htm

including tools to generate keys. I haven't tried any of them.

FlexLM nowadays is network-based, but it sounds like your version is old
enough that it uses a static code, and if you know the version one of the
generator tools might help.

Theo

Re: Getting D4305A up and running

<3060bc23-98ad-4760-8d63-adf86ba31cd8n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=124&group=comp.sys.transputer#124

  copy link   Newsgroups: comp.sys.transputer
X-Received: by 2002:a05:622a:1888:b0:3e4:e17f:a544 with SMTP id v8-20020a05622a188800b003e4e17fa544mr2449410qtc.12.1685360098602;
Mon, 29 May 2023 04:34:58 -0700 (PDT)
X-Received: by 2002:a05:6870:8c17:b0:196:743:3e57 with SMTP id
ec23-20020a0568708c1700b0019607433e57mr2123498oab.9.1685360098351; Mon, 29
May 2023 04:34:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.transputer
Date: Mon, 29 May 2023 04:34:58 -0700 (PDT)
In-Reply-To: <-Yq*C5rhz@news.chiark.greenend.org.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a44c:6f2d:0:0:0:0:34;
posting-account=WuvUhgoAAAD5L1aXSU9rdin9BlfAYVif
NNTP-Posting-Host: 2a02:a44c:6f2d:0:0:0:0:34
References: <e9a99870-c042-4e44-bab2-f7ab6c04b67bn@googlegroups.com> <-Yq*C5rhz@news.chiark.greenend.org.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3060bc23-98ad-4760-8d63-adf86ba31cd8n@googlegroups.com>
Subject: Re: Getting D4305A up and running
From: vandomps...@gmail.com (Louis van Dompselaar)
Injection-Date: Mon, 29 May 2023 11:34:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2929
 by: Louis van Dompselaar - Mon, 29 May 2023 11:34 UTC

Op maandag 29 mei 2023 om 12:09:52 UTC+2 schreef Theo:
> > Contrary to D7305, D4305 uses licensing. It comes with all de required
> > binaries (including the FlexLM manager), but no code. It just refers to
> > the "delivery manual" which I haven't been able to find. The license
> > manager accepts a code-less entry, but then oc just complains about
> > invalid encryption in the license.
> I don't know anything about Transputer tools, but there's some generic
> (mostly Windows) FlexLM hacking information here:
> http://web.archive.org/web/20220218000631/http://www.woodmann.com/crackz/Flexlm.htm
>
> including tools to generate keys. I haven't tried any of them.
>
> FlexLM nowadays is network-based, but it sounds like your version is old
> enough that it uses a static code, and if you know the version one of the
> generator tools might help.

Thanks for the pointers. I'll have a look around. At first glance their trick seems to be using security holes in DLL's, which won't be an option here..

Yes, D4305A includes a local FlexLM lmgrd (v2.21), the Inmos license daemon (inmos_ld), and a D4305 license generator tool (that requires the unknown activation code). I'm not sure how these child daemons work. FlexLM launches them, and as the Occam compiler is complaining about key encryption, it appears the license itself is encrypted in the FlexLM license.dat (by the generator tool, probably node-locked as it requires the hostid too) and then decrypted by the Inmos daemon. That would put up another barrier. It feels over-engineered since there is no protection on the DOS tools.

Re: Getting D4305A up and running

<8Yq*4Exhz@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=125&group=comp.sys.transputer#125

  copy link   Newsgroups: comp.sys.transputer
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.transputer
Subject: Re: Getting D4305A up and running
Date: 30 May 2023 12:32:48 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <8Yq*4Exhz@news.chiark.greenend.org.uk>
References: <e9a99870-c042-4e44-bab2-f7ab6c04b67bn@googlegroups.com> <-Yq*C5rhz@news.chiark.greenend.org.uk> <3060bc23-98ad-4760-8d63-adf86ba31cd8n@googlegroups.com>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="31434"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Tue, 30 May 2023 11:32 UTC

Louis van Dompselaar <vandompselaar@gmail.com> wrote:
>
> Thanks for the pointers. I'll have a look around. At first glance their
> trick seems to be using security holes in DLL's, which won't be an option
> here.
>
> Yes, D4305A includes a local FlexLM lmgrd (v2.21), the Inmos license
> daemon (inmos_ld), and a D4305 license generator tool (that requires the
> unknown activation code). I'm not sure how these child daemons work.

On network installs of recent FlexLM, there's the FlexLM daemon and the
vendor daemon, which listen on different ports. The first is generic, the
second is specific to a particular vendor. I think the client is talking to
the vendor daemon primarily to check out licences (they are both exposed on
different TCP sockets) - maybe the FlexLM daemon is just being a signpost
to find out the port of the vendor daemon?

(in theory you can run multiple vendor daemons on the same machine with a
single FlexLM daemon, in practice everyone wants a different FlexLM version
so it's easier to use VMs or containers)

> FlexLM launches them, and as the Occam compiler is complaining about key
> encryption, it appears the license itself is encrypted in the FlexLM
> license.dat (by the generator tool, probably node-locked as it requires
> the hostid too) and then decrypted by the Inmos daemon.

license.dat is the licence file, that contains the actual licence
information as well as the host information. Typically there will be a list
of 'feature' tags and a licence for each one?

Do you have a valid licence file? For example, this is an old licence file
for Bluespec's compiler (which is now open source and no longer uses FlexLM):

# licence server and MAC address:
SERVER licsrv.example.com 0123456789ab
# path to vendor daemon, whose binary is called 'BLUESPEC'
VENDOR BLUESPEC $BLUESPECDIR/../util/flexlm/<architecture>/BLUESPEC
# #
########################## FEATURE LINES ############################
# # Version: 3.8
# Expiration: 30-May-2020
# INCREMENT BCOMP BLUESPEC 3.8 30-may-2020 250 \
VENDOR_STRING=Q..alphanum_string.. SUPERSEDE ISSUED=02-May-2019 \
START=02-May-2019 SIGN="0123 4567 89ab cdef 0123 4567 89ab cdef ..."
# # BCOMP = the feature name
# other blocks for other features follow

If it's node locked it'll be based on host ID, which is the MAC address on
x86 hardware. If you run it in a VM you are able to (in fact, you have to)
set an arbitrary MAC address...

Theo

Re: Getting D4305A up and running

<y2a353dvli4.fsf@offog.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=126&group=comp.sys.transputer#126

  copy link   Newsgroups: comp.sys.transputer
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ats...@offog.org (Adam Sampson)
Newsgroups: comp.sys.transputer
Subject: Re: Getting D4305A up and running
Date: Tue, 30 May 2023 17:20:51 +0100
Lines: 13
Message-ID: <y2a353dvli4.fsf@offog.org>
References: <e9a99870-c042-4e44-bab2-f7ab6c04b67bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net y0yXawBKB//hKriBumwu4wgCUqUkkTAFGZuAM+LcRtbc6LvZyh
X-Orig-Path: cartman.offog.org!not-for-mail
Cancel-Lock: sha1:7dINxwPFAv9AppfvcUYhrrggvKg= sha1:1RxZZnW2OPk7Qx4SoU1hLoeBMIk=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
 by: Adam Sampson - Tue, 30 May 2023 16:20 UTC

Louis van Dompselaar <vandompselaar@gmail.com> writes:

> Was D4305A ever released license-free (like D7305) or was a generic
> code ever issued?

Looking at the released source code for oc, the FlexLM license check is
done in a single place -- check_licence_manager (note -ence not
-ense!). It's #ifdef-ed out in the released code, but assuming the code
is the same in D4305A, it should be possible to patch it to just
return...

--
Adam Sampson <ats@offog.org> <http://offog.org/>

Re: Getting D4305A up and running

<f37793bd-f697-4068-a094-b8857d5a2901n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=127&group=comp.sys.transputer#127

  copy link   Newsgroups: comp.sys.transputer
X-Received: by 2002:a05:622a:15d1:b0:3f8:20a:1c2f with SMTP id d17-20020a05622a15d100b003f8020a1c2fmr1416633qty.12.1685528437116;
Wed, 31 May 2023 03:20:37 -0700 (PDT)
X-Received: by 2002:aca:32d6:0:b0:394:5693:6679 with SMTP id
y205-20020aca32d6000000b0039456936679mr1466839oiy.2.1685528436906; Wed, 31
May 2023 03:20:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.transputer
Date: Wed, 31 May 2023 03:20:36 -0700 (PDT)
In-Reply-To: <y2a353dvli4.fsf@offog.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a44c:6f2d:0:0:0:0:34;
posting-account=WuvUhgoAAAD5L1aXSU9rdin9BlfAYVif
NNTP-Posting-Host: 2a02:a44c:6f2d:0:0:0:0:34
References: <e9a99870-c042-4e44-bab2-f7ab6c04b67bn@googlegroups.com> <y2a353dvli4.fsf@offog.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f37793bd-f697-4068-a094-b8857d5a2901n@googlegroups.com>
Subject: Re: Getting D4305A up and running
From: vandomps...@gmail.com (Louis van Dompselaar)
Injection-Date: Wed, 31 May 2023 10:20:37 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1632
 by: Louis van Dompselaar - Wed, 31 May 2023 10:20 UTC

Op dinsdag 30 mei 2023 om 18:30:05 UTC+2 schreef Adam Sampson:
> Looking at the released source code for oc, the FlexLM license check is
> done in a single place -- check_licence_manager (note -ence not
> -ense!). It's #ifdef-ed out in the released code, but assuming the code
> is the same in D4305A, it should be possible to patch it to just
> return...

Thanks. I'll have a look at that.

It's good to see a British company using British spelling ;)

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor