Jump to content

Kyle_Katarn

Members
  • Content Count

    29
  • Joined

  • Last visited

Everything posted by Kyle_Katarn

  1. ICS v8.64 can't compile on Delphi 7 Cause OverbyteIcsUtils:7230 (declaration expected but "INLINE" found) function IcsPunyIsBasic(const C: WideChar): Boolean; Inline; Inlining is only supported from Delphi 2005 onwards : https://stackoverflow.com/questions/8460037/list-of-delphi-language-features-and-version-in-which-they-were-introduced-depre/8460108#8460108
  2. Kyle_Katarn

    ICS v8.64 can't compile on Delphi 7

    One additional comment, in procedure TIcsFileCopy.SetMultiDirList (const Value: string) ; the following section in the var declaration I: integer ; aitems, afields: TStringList ; shall be protected by {$IFDEF COMPILER10_UP} as these variable are not used otherwise.
  3. Kyle_Katarn

    ICS v8.64 can't compile on Delphi 7

    (deleted message)
  4. Kyle_Katarn

    ICS v8.64 can't compile on Delphi 7

    Done, works fine
  5. Hello, When using 8.62 + OpenSSL 1.1.1c, some users are reporting aborted communications due to "SSL handshake failed - Failed TLS protocol negotiation: SSLv3/TLS write client hello". Seems to happen as single random events. Should I suspect client or server problems ?
  6. OK.... maybe just a transient glitch ! thanks for your help !
  7. Anything suspicious in the results ? https://www.ssllabs.com/ssltest/analyze.html?d=www.kcsoftwares.com
  8. Kyle_Katarn

    Broken proxy support with ICS 8.61

    Seems to work on my local proxy ... I'll see if users report some trouble around that. Thanks for your help !
  9. Kyle_Katarn

    Broken proxy support with ICS 8.61

    OK ! Now i'm forcing "BasicAuth" everytime... even if user has selected proxy host+port but leaves login+pass empty. If this wrong and should I leave AuthNone in this case ?
  10. Kyle_Katarn

    Broken proxy support with ICS 8.61

    Side effect : If you specified host and port but NO credential, should I use AuthNone or would AuthBasic work too ?
  11. Kyle_Katarn

    Broken proxy support with ICS 8.61

    I was not aware of this ! Makes everything much clearer ! Thanks !!
  12. Kyle_Katarn

    Broken proxy support with ICS 8.61

    To sum up : - Default settings + Proxy Host + Proxy Port + Proxy Credentials in 8.59 : hickups (407) then works fine - Default settings + Proxy Host + Proxy Port + Proxy Credentials in 8.62 : Do no work (407 / NTLM), in the specific context of my user - BasicAuth + Proxy Host + Proxy Port + Proxy Credentials in 8.62 : works fine
  13. Kyle_Katarn

    Broken proxy support with ICS 8.61

    When forcing "Basic", no single error407, works perfect. COMMAND Verbose [19-08-28 08:19:16] Host: www.kcsoftwares.com Verbose [19-08-28 08:19:16] User-Agent: Mozilla/5.0 Verbose [19-08-28 08:19:16] Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 Verbose [19-08-28 08:19:16] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Verbose [19-08-28 08:19:16] GET https://www.kcsoftwares.com/sumo/check.php HTTP/1.1 Verbose [19-08-28 08:19:16] Proxy-Authorization: Basic QXBwSW50ZXJuZXQ6U29tbWVyMjAwNw== Verbose [19-08-28 08:19:16] Content-Length: 0 Verbose [19-08-28 08:19:16] Proxy-Connection: Keep-Alive Verbose [19-08-28 08:19:16] Host: www.kcsoftwares.com Verbose [19-08-28 08:19:16] User-Agent: Mozilla/5.0 Verbose [19-08-28 08:19:16] CONNECT www.kcsoftwares.com:443 HTTP/1.1 HEADERS Verbose [19-08-28 08:19:17] Connection: keep-alive Verbose [19-08-28 08:19:17] Content-Length: 8 Verbose [19-08-28 08:19:17] Accept-Ranges: bytes Verbose [19-08-28 08:19:17] X-Cacheable: Cacheable Verbose [19-08-28 08:19:17] X-CDN-Pop-IP: 137.74.120.32/27 Verbose [19-08-28 08:19:17] X-CDN-Pop: sbg Verbose [19-08-28 08:19:17] Vary: Accept-Encoding Verbose [19-08-28 08:19:17] X-Request-ID: 238979743 Verbose [19-08-28 08:19:17] Set-Cookie: SERVERID102297=24048; path=/; max-age=900 Verbose [19-08-28 08:19:17] Content-Type: text/html; charset=UTF-8 Verbose [19-08-28 08:19:17] Date: Wed, 28 Aug 2019 06:19:16 GMT Verbose [19-08-28 08:19:17] HTTP/1.1 200 OK
  14. Kyle_Katarn

    Broken proxy support with ICS 8.61

    The application in question "read" the output of a PHP script running on my server I use the "proxy" settings (host, port, username, pass) and all other default settings. I never had any issue with ICS comms until I've implemented 8.62 (i generally take every update you make) because of the proxy issues reported above. Sorry for my partial extract from the logs... which comes from a single customer (see scenarii above) the first "block" of error 407 is common to 8.59 (which... finally work after a few attemps) and 8.62 (which systematically fail). With 8.62, when it "fails" in the end, the message was specifically pointing NTLM, which means that for some reason, even with the default value of AuthNone, it ends in branching in NTLM authentication. When "forcing" BasicAuth, everything works fine (but i'll call for logs to check in details).
  15. Kyle_Katarn

    Broken proxy support with ICS 8.61

    I forgot to mention that these errors are received in headers (in early 8.59 comms and all 8.62 if not forced to Basic) Verbose [19-08-27 18:12:11] Connection: Keep-Alive Verbose [19-08-27 18:12:11] Proxy-Connection: Keep-Alive Verbose [19-08-27 18:12:11] Content-Type: text/html; charset=utf-8 Verbose [19-08-27 18:12:11] Pragma: no-cache Verbose [19-08-27 18:12:11] Cache-Control: no-cache Verbose [19-08-27 18:12:11] Proxy-Authenticate: NTLM TlRMTVNTUAACAAAACgAKADgAAAAFgoECWW+CVaJTfpoAAAAAAAAAAIIAggBCAAAABgOAJQAAAA9CAFIASwBSAFoAAgAKAEIAUgBLAFIAWgABAA4ATQBSAFoAQQBEADAANAAEABIAQgBSAEsAUgBaAC4ATABDAEwAAwAiAE0AUgBaAEEARAAwADQALgBCAFIASwBSAFoALgBMAEMATAAFABIAQgBSAEsAUgBaAC4ATABDAEwABwAIAPeN8i7yXNUBAAAAAA== Verbose [19-08-27 18:12:11] HTTP/1.1 407 Proxy Authentication Required
  16. { V8.62 if proxy URL is passed, parse it as proxy properties } { http://[user[:password]@]host:port } if (Length(FProxyURL) > 6) and (Pos (':', Copy(FProxyURL, 6, 9999)) > 5) then begin ParseURL(FProxyURL, Proto, User, Pass, Host, Port, Path); { pending, check https for SSL prpoxy, maybe socks for socks proxy } if Proto = 'http' then begin FProxy := Host; FProxyPort := Port; FProxyUsername := User; FProxyPassword := Pass; if (FProxyUsername <> '') and (FProxyPassword <> '') then FProxyAuth := httpAuthBasic; end; end; Wouldn't it be wiser to do FProxyAuth := httpAuthBasic; only if FProxyAuth = httpAuthNone ? Otherwise, if user has selected httpAuthNtlm (or other) then settings is lost and non-overridable Likely minor issue (and this may help me to solve my other issue by forcing basicAuth)
  17. Sorry, I thought this could be the cause of the NTLM errors reported here :
  18. Kyle_Katarn

    Broken proxy support with ICS 8.61

    8.59 and Command/Headers logging : Same traces (407....) then ... gets working after a few failed requests 8.62 with httpAuthBasic : works fine. so there's definitively something going wrong with AuthNTLM implementation... that got worse from 8.59 to 8.62. Maybe the change mentionned here :
  19. Well done, that's likely the cause ! Any possibility to fix or roll back ? Do you have a bug/change tracker somewhere ? Thanks !!
  20. For question 1, to be clear, my "Yes" meant no other dependancies. I only ship my exe with these 2 DLLs.
  21. Hello, After upgrading to 8.59 + OpenSSL 1.1.1b, my users under Windows XP (and only XP) are now getting a message at startup "missing bcrypt.dll". This was not the case with earlier versions (of ICS and OpenSSL) Is this intentionnal ?
  22. I'd say Yes and Yes 🙂
  23. Kyle_Katarn

    Broken proxy support with ICS 8.61

    OK. I've sent to my users 2 test apps : - One with 8.59 and Command/Headers logging. Will allow to see if it behaves differently than 8.62 - One with 8.62 forcing httpAuthBasic instead of httpAuthNone I'll share the results here.
  24. Kyle_Katarn

    Broken proxy support with ICS 8.61

    OK, thanks, i'll test. Meanwhile, isn't my issue close to this "old" discussion ? https://www.mail-archive.com/search?l=twsocket@elists.org&amp;q=subject:"Re%3A+[twsocket]+THttpCli+NTLM+OverbyteIcsBcb100Package"&amp;o=newest&amp;f=1 See message from 2011
×