Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 18 15:34
    rlebeau labeled #192
  • May 18 15:34
    rlebeau labeled #192
  • May 17 18:54
    BretBordwell commented #192
  • May 17 11:00
    PizzaProgram commented #412
  • May 17 10:58
    PizzaProgram synchronize #412
  • May 17 10:52
    PizzaProgram synchronize #412
  • May 17 10:50
    PizzaProgram synchronize #412
  • May 17 10:17
    PizzaProgram synchronize #412
  • May 16 18:32
    rlebeau commented #412
  • May 15 16:24
    PizzaProgram opened #412
  • May 11 17:53

    rlebeau on master

    upgraded Delphi XE projects by … added Delphi XE project group Merge pull request #411 from co… (compare)

  • May 11 17:53
    rlebeau closed #411
  • May 11 17:53
    rlebeau labeled #411
  • May 11 17:53
    rlebeau labeled #411
  • May 10 19:33
    corneliusdavid opened #411
  • May 06 21:08
    rlebeau labeled #410
  • May 06 21:08
    rlebeau labeled #410
  • May 06 21:08
    rlebeau opened #410
  • Apr 27 06:41
    lloydbates closed #408
  • Apr 27 06:41
    lloydbates commented #408
Ludwig Behm
@lbehm
yep, it works now - thank you @rlebeau !
Ludwig Behm
@lbehm
when we're talking about ssl... how hard would it be to implement ocsp stapling? =)
Remy Lebeau
@rlebeau
@devimplode never heard of it
Jeroen Wiert Pluimers
@jpluimers
@rlebeau https://en.wikipedia.org/wiki/OCSP_stapling a mechanism for checking the revocation of certificates.
Ludwig Behm
@lbehm
@rlebeau OCSP is the replacement for CRL. The basic concept is that the user-agent looks in the certificate definition, finds a OCSP server address, and asks them if the certificate is still valid.
Now we have the problem, that these OCSP servers haven't that great uptime. Here comes OCSP Stapling to the rescue: It's basically a TLS extension in the HTTPS connection. The HTTPS web server checks it's certificates for an OCSP server. If found, then he, the web server, asks the OCSP server every now and then for the validity of the certificate (signed with a timestamp from the CA), and passes it to the user-agent when a connection is established.
If everything works well the user-agents finds that signed OCSP-response and doesn't have to query and wait for a response from a hard-to-reach 3rd party.
Btw: It also improves user privacy - the 3rd party (CA/OCSP server) can't see anymore which server is browsed.
Ludwig Behm
@lbehm
I already looked at some implementations in nginx and openssl s_server.... and gave up - that's just very strange stuff in openssl...
Remy Lebeau
@rlebeau
@devimplode Indy does not currently support OCSP stapling, but it might be doable, at least client-side: http://stackoverflow.com/a/11591672/65863
Mr Jayme Jeffman
@jjeffman
Hello Remy. I have just reinstalled Indy10 on C++Builder 6.0 Pro, but after adding the bpl packages they disappear after closing the IDE, Is there any Indy forum active for browsing old posts ?
Remy Lebeau
@rlebeau
@jjeffman there used to be an Indy forum at http://forums2.atozed.com, but the server crashed a few months ago and the forum has not been brought back online yet. What you describe is not specific to Indy, though. Did you install the packages while another project was also open in the IDE? If so, the packages would be associated with that project. Make sure to install the packages when no other projects are open. Also check the Registry to make sure the packages are not disabled.
Mr Jayme Jeffman
@jjeffman
There was no any other project opened. I have separated the files which where placed on C6 into its file types at $(BCB)\Components\Indy10. I have put the .lib and .bpi files in Indy\Lib; the .bpl files in Indy\Bin; the .hpp files in Indy\Include; When I install the packages and after load an application which use Indy components it compiles normally. But the components are not kept on the ide if I close BCB.
Mr Jayme Jeffman
@jjeffman
@rlebeau I have alse taken ownership (Windows10) from all the folders and files where C++Builder is installed, but the components still are not present when the C++Builder IDE is opened. I have been getting the "file not found" error.
Mr Jayme Jeffman
@jjeffman
@rlebeau I have just succeeded on keeping the components in the palette. I had to copy the bpl files to the $(BCB)\Bin folder. Thank you very much indeed.
Remy Lebeau
@rlebeau
@jjeffman they don't belong in the $(BCB)\bin folder, only the IDE's own files should be in there. Since you are using non-standard folders for the output, did you add your folders to the IDE's includes and library paths? See http://stackoverflow.com/questions/23674831/
Mustafa Şengül
@semusta
hi guys
is there indy documentaion for c++ builder links ? ty
PaulRedkite
@PaulRedkite
Hi All,
PaulRedkite
@PaulRedkite
Hi All, I am attempting to install Indy 10 into Delphi 2009 on a Windows 10 machine. I am able to compile all of the various DPK files with no problems, but am getting an issue when I try to install the 2 compiled BPL files into the component library. The error is, The procedure entry point @Ididn@intialization$qqrv could not be located in the dynamic link library c:\program files (x86)\codegear\ rad studio\6.0\bin\dclIndyCore120.bpl. Is anyone aware of any specific issues with Windows 10. I have successfully installed done this before in Delphi 9, but on a Windows 7 PC.
Kudzu
@czhower
You likely have old copies of indy or more than one version lying around. you need to search and destroy them.
Remy Lebeau
@rlebeau
@PaulRedkite did you first remove the Indy version that ships pre-installed in the IDE?
@semusta http://indyproject.org/Sockets/Docs/index.aspx, though some of it is a bit dated. There is nothing specific to C++Builder, though. Indy works the same in Delphi and C++, it is just a matter of the different code syntax between the two languages.
souch
@souch
Hi, I think I found a small bug in indy. As I don't know were to send it, I put it here directly. When using Indy on Android with delphi seattle, timeout seems buggy : I think the problem lies here : IdGlobal.Ticks64 function never initialize the "tv" struct as gettimeofday is not called (neither USE_BASEUNIX nor KYLIXCOMPAT is defined).
Remy Lebeau
@rlebeau
Doed Android provide gettimeofday() or clock_gettime()? Are either available in Delphi on Android?
Remy Lebeau
@rlebeau
Android runs on top of Linux, so I wonder if enabling {$DEFINE USE_clock_gettime} at the top of the implementation section of IdGlobal.pas would work when {$IFDEF ANDROID} is true
Hugo Luiz Cruz
@hugoluiz
Hi All, I'm trying install the last Indy10 version on Delphi Berlin but when I try to compile I am getting this message: [Fatal Error] Cannot compile package 'IndySystem240' which is currently required by Delphi 10.1 Berlin. I am missing some thing ?
Remy Lebeau
@rlebeau
@hugoluiz Are there other errors before that one? Did you remove the pre-installed version of Indy first?
ntsmkfob
@ntsmkfob
Hi all, up to now, we've used Indy to send email to our sports club members using our ISP (BT Business). We would send an email containing 20 BCCs and throttle the throughput to keep in the ISPs volume limits per hour. That went out of the window when they switched to using Outlook.com to host their emailing. We've switched to using an SMTP service (AuthSMTP) who recommend sending individual emails, no BCC. The old way had a fair processing overhead, but that didn't matter as there would be a minimum of 10 secs interval between emails. Now I want to basically loop through the recipient list as fast as possible - basically Connect, loop through list clearing and building headers, Send and finally Disconnect., rather than Connect, Send one email, Disconnect and loop. Am I digging a hole for myself?
Marcelo Lauxen
@marcelolx
Hey people, i have a doubt
specifically at the TIdFTP component on the palette Indy Clients, Delphi XE2
I intend to to upload and download files from my ftp server, and keep the file modification date, is it possible?
I not found anything at the docsite of IndyProject, related this, but it's possible or not?
Sorry my bad english
Remy Lebeau
@rlebeau
@ntsmkfob if you are sending all of the emails using the same SMTP server, you don't need to disconnect between individual emails, you can send more than one email per login session. Connect, send send send, disconnect. The alternative is to stop using 3rd party email services altogether and just send your emails directly to each recipient's email server directly. Indy even has a TIdSMTPRelay component for that very purpose. It scans an email's recipients list and separates the recipients based on their domains, and then it uses DNS to locate each domain's receiving server, and then finally connects to each domain sending the email to all recipients within the domain. Just be careful, because this is the same thing spammers ted to do, and you might get blacklisted by some servers. This is generally why you should send emails using an ISP or intermediary service that has already been whitelisted (consider using a mailing list service, like Yahoo Groups, instead of sending emails to individual recipients, that way you only have to send 1 email on your end and let the service propegate it through the membership for you).
@marcelolx When uploading files, TIdFTP has a SetModTime() method for setting the modification time of a remote file, if the server supports the MFMT or MDTM command. When downloading a file, you have to set the modification time of the local file manually. On Windows, you can use Delphi's SysUtils.FileSetDate() function, or the Win32 SetFileTime() function directly, for that purpose.
ntsmkfob
@ntsmkfob
Thank you Remy. I'll try the send,send,send approach, as it means removing code instead of writing new stuff. Thanks for your help.
Marcelo Lauxen
@marcelolx
Thank you @rlebeau , I'll test this tomorrow and say if worked.
Marcelo Lauxen
@marcelolx
It worked! :smile:
Matthijs ter Woord
@mterwoord
when pinging on windows, do i need admin rights?
Kudzu
@czhower
as a ping client? no...
Matthijs ter Woord
@mterwoord
shoot, then the app gives a different issue..
:(
i am getting socket error 10013 on the AllocateSocket when pinging...
Matthijs ter Woord
@mterwoord
a bit old, but same eror...
Remy Lebeau
@rlebeau
@Mterwoord If you are pinging in code using TIdIcmpClient, then YES, you need admin rights, as TIdIcmpClient uses a RAW socket, not any OS-provided ping APIs. RAW sockets are restricted to admins on most platforms, including Windows: https://support.microsoft.com/en-us/help/195445/: "A Socket or WSASocket call that specifies the SOCK_RAW socket type fails with the following Winsock error message (10013 WSAEACCES) if the user is a non-administrator"
Matthijs ter Woord
@mterwoord
yeah, got a followup error. customer said "i get the same error"
which translated to "i get the same red icon" :|
Remy Lebeau
@rlebeau
@mterwoord On Windows, you can send pings without admin rights using Microsoft's IcmpSendEcho() function: https://msdn.microsoft.com/en-us/library/windows/desktop/aa366050.aspx
Matthijs ter Woord
@mterwoord
now only to find a delphi (6 ) binding of it..