-
Content Count
2047 -
Joined
-
Last visited
-
Days Won
38
Everything posted by Angus Robertson
-
ICS SLL3.2 much slower than Indy SSL1.0.2
Angus Robertson replied to PizzaProgram's topic in ICS - Internet Component Suite
You are concerned about a one second longer download on a tiny file? With different SSL protocols and ciphers. Angus -
In HTTP headers, there is always a space after the colon, seems simple but sufficient to confuse servers. Angus
-
TSslHttpRest is an ICS component, and to add a special header field you use the component ExtraHeaders: Strings property to add the full header and value, ie ExtraHeaders.Add('Store-Token: 22345673301244567896663456789012'); Angus
-
THttpAppSrv processing post despite failed basic auth
Angus Robertson replied to omnibrain's topic in ICS - Internet Component Suite
I believe the authentication POST problem was mainly a simple literal, if FOutsideFlag and (not (hoAllowOutsideRoot in FOptions)) then Flags := hg403 else Flags := hg404; where hg404 should be hgSendDoc. But something else is going on I'm still tracking, RequestDone should be called for a 401 error to reset the state machine, but is not, although it still seems to work. The biggest problem is our samples test all the authentication variations for virtual and normal pages, but not for template pages or POST pages, so that all had to be added first. I always test server fixes on my public servers for a day or two, so the changes won't be in SVN until later in the week. Angus -
New OpenSSL releases 3.2.1, 3.1.5 and 3.0.13, and new resource files linked by ICS
Angus Robertson posted a topic in ICS - Internet Component Suite
OpenSSL has released new versions of the three active versions, 3.2.1, 3.1.5 and 3.0.13 which have three low priority security fixes. Windows binaries are available in SVN and the overnight zip file and separately from https://wiki.overbyte.eu/wiki/index.php/ICS_Download or https://www.magsys.co.uk/delphi/magics.asp In addition to the three DLL files, the zips include compiled RES resource files that contain the same DLLs, text files and version information, see the RC file. The RES file may be linked into application EXE files and code then used to extract the DLLs from the resource to a temporary directory to avoid distributing them separately. ICS V9.1 and later optionally support loading the resource file, currently in SVN and the overnight zip. Beware V9.1 has a lot of other changes that may need application changes, please read the SVN change log very carefully. There will be a lot of new documentation about V9.1 over the next two weeks. Separately, YuOpenSSL has released 3.0.13 as commercial DCUs allowing applications to be used with OpenSSL without needing separate DLLs. Angus -
New OpenSSL releases 3.2.1, 3.1.5 and 3.0.13, and new resource files linked by ICS
Angus Robertson replied to Angus Robertson's topic in ICS - Internet Component Suite
Correction, OpenSSL 3.3 was released last week and does not add QUIC for servers, that is scheduled for OpenSSL 3.4 due in October 2024. https://github.com/orgs/openssl/projects/11/views/3 OpenSSL 3.3 for Windows will be released later this week with ICS V9.2 beta. But there are no new features particularly relevant to ICS. Angus -
How do I find my NNTP server name so that I can use XannaNews?
Angus Robertson replied to JohnLM's topic in General Help
I use been using the same two news readers for 25 years, Forte Agent and Ameol2 (very specialised for the UK). I read a number of uk news groups. But there are no active Delphi groups, since Embarcadero moved away from a web forum that allowed NNTP access. I have an account with https://www.astraweb.com/ they sell fixed usage so 25GB for $10 that will last for ever if you don't download binaries. One free news server is news.gmane.io that holds several mailing lists, I read OpenSSL mailing lists via it. Angus -
THttpAppSrv processing post despite failed basic auth
Angus Robertson replied to omnibrain's topic in ICS - Internet Component Suite
Took some detective work to work out where that template has gone, it was written last autumn to test a major rejig of web server get/post parameter processing using streams for multi-gig uploads. But the template never got added to SVN and then got lost when the samples were re-organised. So I've had to recreate it from my public web site: https://www.telecom-tariffs.co.uk/testing/postinfo.htm Not in SVN yet, still looking at your real problem. Angus -
ICS V9.1 announced
Angus Robertson replied to Angus Robertson's topic in ICS - Internet Component Suite
Still got no idea why are distributing openssl.exe and why this is a problem. The directory your screen shows has the correct DLLs for the EXE. We don't need two separate openssl.exe files since we don't use them. The only problem here is you decided to change the way OpenSSL is distributed for your own reasons. Angus -
ICS V9.1 announced
Angus Robertson replied to Angus Robertson's topic in ICS - Internet Component Suite
No idea how that screen shot error is relevant to ICS, we don't use openssl.exe. Our openssl zips have a different versions of openssl.exe in the Win32 and Win64 zips, you have mixed therm up. Angus -
Install ICS V9.1 in D10.4
Angus Robertson replied to HGRogers's topic in ICS - Internet Component Suite
Thanks, so I need to amend our documentation for those that have not kept D10.4 patches up to date. Angus -
ICS V9.1 announced
Angus Robertson replied to Angus Robertson's topic in ICS - Internet Component Suite
If your Delphi app is built for Win32, you only use Win32 DLLs, even when running in a Win64 OS. This has been the case for 25 years. If it is failing, there is another reason. Angus -
Install ICS V9.1 in D10.4
Angus Robertson replied to HGRogers's topic in ICS - Internet Component Suite
Support for LIB suffix $(Auto) was only added to D10.4, if the 'new' ICS packages using it are installed with older compilers, $(Auto) will appear in the BPL package file names. Perhaps it was added in a service version of 10.4 you have not installed. Angus -
Install ICS V9.1 in D10.4
Angus Robertson replied to HGRogers's topic in ICS - Internet Component Suite
Since $(Auto) was in the fatal error message, it must exist somewhere in your path. ICS only uses it within a package to define where files are built. Angus -
Install ICS V9.1 in D10.4
Angus Robertson replied to HGRogers's topic in ICS - Internet Component Suite
I guess you have used the $(Auto) macro as part of the path, which is unfortunately not supported (to my knowledge). You need to replace that with 21.0 for D10.4 for the path. Angus -
OverbyteIcsLogger feature request
Angus Robertson replied to BertB's topic in ICS - Internet Component Suite
IcsLogger is really designed for low level event and message handling development, particularly for SSL, its output is rarely of any benefit for application development, I've not used it for development for many years, and it's not used in any of my ICS applications, nor is it used in any modern ICS samples. Most new ICS components and samples have much better embedded logging that is user friendly, the samples use TIcsBuffLogStream to write logs, and supports date/time mask characters in the file name using the FormatDateTime function, so just use that when preparing the file name for IcsLogger. Angus -
What operating system? Have you extracted all the files from the zip with the correct directories? That XCOPY command works for most people, unless you change something. Angus
-
ann New version of NextSuite6 (Grid, DBGrid, Inspector...) released 🚀
Angus Robertson replied to Bergsoft's topic in Delphi Third-Party
I have an old application with several TNextGrid and numerous related Column components, I'm trying to update to Delphi 12 from D11. It seems TNextGrid v5 does not have any packages for D12, and has been superseded by v6 which has all new component types and unit names. The FAQ says v6 is 'not delete & replace compatible' but gives no hints as to how to update projects from v5 to v6. I've tried manually updating type names, but get lots of form errors and a stream error so no form. So I either have to create 24 D12 packages for v5, or manually try and rebuild all my grid columns in the IDE with all their values, drop downs, etc, very tedious. Is there a migration tool from v5 to v6 or upgrade instructions? Angus -
It seems Delphi 11 added a new GetIt feature I missed, 'Local GetIt Packag'e, I can not find it mentioned in these forums. https://docwiki.embarcadero.com/RADStudio/Alexandria/en/GetIt_Local_Files_Guide_Index Package developers can create a Json file that is selected from Local GetIt Package at the bottom of the GetIt window, and which then installs packages as if they were downloaded from GetIt. This could simplify installs since paths can be added automatically, lots of other commands to avoid manual intervention and instructions. Has anyone tried it? Angus
-
How to initialize OpenSSL with MacOS 64 (x86 and ARM)?
Angus Robertson replied to philipp.hofmann's topic in ICS - Internet Component Suite
Any other ICS MacOS users able to help here? Angus -
How to initialize OpenSSL with MacOS 64 (x86 and ARM)?
Angus Robertson replied to philipp.hofmann's topic in ICS - Internet Component Suite
All I can suggest is trying an older ICS version, if I've broken something in recent versions. Like https://wiki.overbyte.eu/arch/icsv868.zip There is a new Linux version V10 in SVN, but no SSL and only simple sockets at the moment, not tested on MacOS but it's uses a Delphi message pump which I assume works on MacOS, that version will be the long term cross platform version. But MacOS will only be supported if contributors help, we can not test it, no Apple hardware. Angus -
Getit install of ICS failing in Delphi 12.1
Angus Robertson replied to Codetracker's topic in ICS - Internet Component Suite
I've asked if GetIt installs can be improved to remove the old named packages, but this was a one-off with the change in package names. Angus -
How to initialize OpenSSL with MacOS 64 (x86 and ARM)?
Angus Robertson replied to philipp.hofmann's topic in ICS - Internet Component Suite
Thanks, so almost certainly the Posix/MacOS messaging stuff. Another user did make some minor changes to the Ics.Posix.PXMessages unit in preparation for Linux support, you could try reverting to the V9.0 version of that unit in case it got broken. Angus -
How to initialize OpenSSL with MacOS 64 (x86 and ARM)?
Angus Robertson replied to philipp.hofmann's topic in ICS - Internet Component Suite
Sorry, that error could be the result of dozens of issues, you need to know that messages are being processed correctly first, without a message pump ICS simply does not work, and that is the main difference between Windows and MacOS. Try accessing the same site using a Windows sample, to see if the problem is unrelated to MacOS. Angus -
How to initialize OpenSSL with MacOS 64 (x86 and ARM)?
Angus Robertson replied to philipp.hofmann's topic in ICS - Internet Component Suite
I can fix the OpenSSL issues, however the GlobalSync functions are part of the Posix message handling unit which is MacOS only, so I can not debug it. It was written many years ago and may need updating for newer MacOS versions. Other users have had the MacOS version of ICS working in recent years, and I do add changes they suggest. But not heard from MacOS users in a couple of years. Angus