I hate Resolver
Pages: 1 2
Sprow (202) 1158 posts |
The blockage with all things ANT was most recently covered by Steve Revill in his London show 2018 talk. The path has become more twisted since ANT were bought out (after ROOL was formed) so it’s a lot of effort (on ROOL’s part) to keep restarting talks with another set of contacts who have no idea what they’re talking about! All things considered do we really care about patching a multiply broken item? There’s no mention, most likely because in TCP/IP bounty step 2 there’s no particular urgency to replace Resolver (or MbufManager or ShareFS). Resolver will need replacing by the time we get to step 4 (when IPv6 kicks in) though because it doesn’t do IPv6.
That’s a sound premise, and exactly what I did for MimeMap.
|
Steve Pampling (1551) 8172 posts |
|
Chris Johns (3727) 40 posts |
Does ROOL not ‘own’ the ShareFS code then? |
Steve Fryatt (216) 2105 posts |
No. The bits of code mentioned by Sprow belong to ANT, which is why an NDA is required before you can get access to the source. |
Colin Ferris (399) 1818 posts |
Since the ‘Resolver’ module is in Assembly – we all have a copy of the code – but with no comments. Is there a simple way of finding out what the calls are – to the BL’s to CLib? *where address – gives somewhere in the ‘CLib’ module. |
Rick Murray (539) 13850 posts |
Just out of interest, if Resolver makes calls to CLib, why do you think it is written in assembly? |
Rick Murray (539) 13850 posts |
BTW, I love the enormous disclaimer that comes under the heading of “Forward Looking Information”. |
Jon Abbott (1421) 2651 posts |
It looks to me like a combination of Assembly and mostly C. Can ROOL not purchase the suite for a nominal fee? Assuming it is now considered legacy. |
Steve Pampling (1551) 8172 posts |
I think the answer is what Sprow said:
Basically, the code is antique, the current owners may not even know whether they have a copy of the source and not know how to attach a value to whatever they can find anyway. |
Rick Murray (539) 13850 posts |
Is the version we’re running not ARMv7 safe? That implies that somebody somewhere has a copy of the source.
It’s a working but buggy implementation of a generic bit of a network stack for an operating system some thirty years old. Seriously though, how did we get to the stage of needing flippin’ NDAs for DNS lookup? Didn’t Acorn ever write a resolver? |
Steve Fryatt (216) 2105 posts |
I would assume that Acorn had a copy of the source, which passed to Pace, Castle and then ROOL.
As I understand it, that’s the whole issue. Acorn used ANT’s resolver, under a licence which gave Acorn the source to use and update. To release the source, however, ROOL would need whoever now owns ANT’s IP to agree to a change in licence. As Sprow wrote, that entity keeps changing, and the public-facing legal bit doesn’t actually know that it owns the rights to the Resolver. In order to agree to the new licence, the relevant people therefore need to work out what the RISC OS stuff is. |
Andrew Conroy (370) 740 posts |
It’s probably worth noting that even the specification for MBufManager (and the rest of the DCI4 spec) is covered by an NDA, so rewriting MBufManager isn’t just a matter of writing something from scratch which meets the published spec, as you’re not allowed to read the published spec! |
Rick Murray (539) 13850 posts |
So, just out of interests sake – what crashes/fails if one unplugs MBufManager? Does the Internet module use it? Could its behaviour be determined by looking at how it is being used? Or are we up you-know-where without a paddle? |
Steve Pampling (1551) 8172 posts |
Nothing apparent.
Yes. Unplug MBufManager and type ping 8.8.8.8 see where things go. Another experiment, leave MBuf alone and unplug resolver and ping 8.8.8.8
If you’re minded to do so, reverse engineer Internet —> MBuf to see what use it makes of the MBuf facilities.
Without coders is mostly the problem, I keep seeing these requests for people with a clue. As to Resolver well, _GetHostByName, GetHost, _GetCache, _CacheControl all seem to be giving big clues about what it does without deep description of the method. Scrat around on the net for a stand-alone DNS client source package and hack it to match the existing Resolver. |
Rick Murray (539) 13850 posts |
Resolver isn’t that big a problem. DNS is a known entity and it replies in a standardised block.
My understanding of DNS is basically “name in, IP out”, however thirty seconds of Googling came up with something that might be useful and it has a friendly looking licence. ;-) https://github.com/wahern/dns Unfortunately I didn’t understand most of the code (tea? WTF is tea in a resolver?), so this is probably best left in the hands of somebody who knows what they’re talking about. |
Steffen Huber (91) 1953 posts |
I heard good things about c-ares by Daniel Stenberg and friends, which is used by (lib)curl: https://c-ares.haxx.se/ Also MIT-licensed which is always a good thing. |
Steve Pampling (1551) 8172 posts |
There are currently two DNS methods (old bog basic non-encrypted and newer encrypted) but you know that. It’s the way things are going if you check In this case – black box, magic happens inside – unless there’s a problem when it’s in use just nod and look at the next bit. 1 Particularly Americans, but then they didn’t invent it so why would they bother?) |
Rick Murray (539) 13850 posts |
I do now.
I presume that’s to stop [Russians|Chinese|whoever we hate today] from messing with DNS and bringing everything to a screeching halt? In another “way things are going”, there’s IPv6 on the horizon. I don’t think it will make much impact to RISC OS for a good while yet (there’s a ridiculous amount of IPv4 only kit around that I’d imagine future routers on an IPv6 Internet would fake up some sort of NAT style arrangement for the old stuff).
Shouldn’t we be pedantic and write T.E.A. and L.A.S.E.R. ? ;-) BTW, the use of “Laser” (written like that) is a peculiarity of acronyms that are pronounced as words. You probably say something like “lay-zer” and not “ell-ay-ess-ee-are”, and this is reflected in the acronym being written in lower (or initial cap) case. Same with scuba, radar, and care package. People would think it odd if you said you went S.C.U.B.A. diving and found you received a C.A.R.E. package in your absence… |
Chris Mahoney (1684) 2165 posts |
Yep, there’s definitely a lot of v4 stuff out there. My ISP supports v6 but my router doesn’t. If I plug my PC in directly, bypassing the router, then I can make a v6 connection, not that there’s much benefit in doing so.
Well, I just learned that CARE is an acronym. I always took “care package” to mean something like “a package to help take care of you”. With that said, I don’t think I’ve ever heard the phrase in real life (just occasionally on the Internet). |
Clive Semmens (2335) 3276 posts |
Likewise. And while I knew that SCUBA is an acronym, I still don’t know what it stands for. “Underwater Breathing Apparatue” I guess, but SC? Dunno. |
Chris Mahoney (1684) 2165 posts |
Self-contained. I had to look it up. |
Pages: 1 2