Re: [twsocket] implementation of HTTP form POST method

2012-02-11 Thread Dimitris Botsis
On 11/2/2012 4:55 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi all, I am trying to develop a client using ICS in order to send form parameters to a web server using POST method. I found an example (Delphi\Internet\OverbyteIcsHttpPost) but when I test it and think that POST to my test web

[twsocket] implementation of HTTP form POST method

2012-02-11 Thread Dimitris Botsis
Hi all, I am trying to develop a client using ICS in order to send form parameters to a web server using POST method. I found an example (Delphi\Internet\OverbyteIcsHttpPost) but when I test it and think that POST to my test web server, it actually uses a GET method, not POST. I call a PHP scri

Re: [twsocket] Merry Christmas

2011-12-24 Thread Dimitris Botsis
Καλά Χριστούγεννα και ευτυχισμένο το νέο έτος, από την Ελλάδα. Merry Christmas and Happy new Year, from Greece. On 24/12/2011 1:50 μμ, DZ-Jay wrote: ¡Feliz Navidad y un Hermoso y Próspero Año Nuevo! (Merry Christmas and a Beautiful and Prosperous New Year!) Best wishes to all from Florida, U

Re: [twsocket] remote SSL certificate verification

2011-09-01 Thread Dimitris Botsis
A-3 Can you please explain that ? On 1/9/2011 9:52 μμ, Dimitris Botsis wrote: On 1/9/2011 9:48 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I can read the certificate's Serial Number right, by parsing "cert.GetRawText" at OnSSLVerifyPeer, but is it possible

Re: [twsocket] remote SSL certificate verification

2011-09-01 Thread Dimitris Botsis
On 1/9/2011 9:48 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I can read the certificate's Serial Number right, by parsing "cert.GetRawText" at OnSSLVerifyPeer, but is it possible to read the fingerprint too ? The fingerprint isn't a value stored in t

Re: [twsocket] remote SSL certificate verification

2011-09-01 Thread Dimitris Botsis
Hi again, I can read the certificate's Serial Number right, by parsing "cert.GetRawText" at OnSSLVerifyPeer, but is it possible to read the fingerprint too ? I cannot find it in the rawtext I have, may I find it somewhere else ? Thank you. On 28/8/2011 8:42 πμ, Arno Garrels w

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Dimitris Botsis
I found the solution, setting "SSLVerifyPeer" to True for SSLHTTPCli's SSLContect and then reading the cert. Thank you. On 27/8/2011 11:18 μμ, Dimitris Botsis wrote: Hi again, from what I understand from you e-mails and tests I tried to do, the certificate file has to exist lo

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Dimitris Botsis
Hi again, from what I understand from you e-mails and tests I tried to do, the certificate file has to exist locally, where my application that checks it runs ? Also in the sample "HttpsTst" cert file has to be provided locally, isn't it ? Can it use a certificate from an https site being conne

Re: [twsocket] remote SSL certificate verification

2011-08-27 Thread Dimitris Botsis
Thank you very much for all help and information. On 27/8/2011 7:29 μμ, Arno Garrels wrote: Dimitris Botsis wrote: OK, let me explain what I want. I want my client that connects over https to a server, before start exchanging data with server, first to check if the certificate provided by the

Re: [twsocket] remote SSL certificate verification

2011-08-26 Thread Dimitris Botsis
On 26/8/2011 2:29 μμ, Arno Garrels wrote: Dimitris Botsis wrote: "remotely" I mean that client must contact server in order to find certificate and then verify it to see if it contains signature that client expects in order to establish trusted connection. Thank you for replying

Re: [twsocket] remote SSL certificate verification

2011-08-26 Thread Dimitris Botsis
"remotely" I mean that client must contact server in order to find certificate and then verify it to see if it contains signature that client expects in order to establish trusted connection. Thank you for replying 26 Αυγ 2011, 11:00 π.μ., ο/η "Arno Garrels" έγραψε: >

[twsocket] remote SSL certificate verification

2011-08-26 Thread Dimitris Botsis
Hi all, can someone please help with this ? How can a client that connects with https verify the server's SSL certificate remotely ? Thank you. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our webs

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Dimitris Botsis
On 18/4/2011 5:35 μμ, Francois PIETTE wrote: I think that if you consider what I suggested before, might help you... It maybe has to do with extra process time the debugger gives Thanks for insisting. Which extra process time do you mean ? The debugger has just to be attached. No need to set a

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Dimitris Botsis
On 18/4/2011 5:12 μμ, Arno Garrels wrote: Maurizio Lotauro wrote: Maybe when you use the debugger then the application run undeer a different user? Not when the debugger is attached to a running process. If the debugger spawns the process to be debugged with CreateProcess then that might happe

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Dimitris Botsis
On 18/4/2011 2:34 μμ, Francois PIETTE wrote: No idea, but that can't be a permission issue IMO. Receiving datagrams in a service running as system works fine. Also attaching a debugger doesn't change security context of the debugee. What happens is that a new thread is created in the process bein

Re: [twsocket] Unsupported OpenSSL version

2011-04-15 Thread Dimitris Botsis
On 15/4/2011 5:00 μμ, William Sigmund wrote: Hi, I have been using ICS V7 with ssl, no problems. I have just rebuilt the project and see the message: EIcsLibeayException "Unsupported OpenSSL version (0x0090600F). Supported versions are 0x0090805F - 0x009080EF Filename ...LIBEAY32.DLL" I have

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 8:36 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, what I try now is get the non-SSL OverByteIcsHttpDemo, and instead "Go" button calling httpcli component, it calls an sslhttpcli component (I also added a proper sslcontext component) so code became :

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 7:18 μμ, Dimitris Botsis wrote: On 12/4/2011 5:12 μμ, Dimitris Botsis wrote: On 12/4/2011 5:04 μμ, Dimitris Botsis wrote: On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 5:12 μμ, Dimitris Botsis wrote: On 12/4/2011 5:04 μμ, Dimitris Botsis wrote: On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server using HTTP (as in the example)

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 5:04 μμ, Dimitris Botsis wrote: On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server using HTTP (as in the example) then I get the contents OK. When I use HTTPS (ha

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server using HTTP (as in the example) then I get the contents OK. When I use HTTPS (having added proper sslhttpcli and sslcontect

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
ack. Any ideas ? On 12/4/2011 2:38 μμ, Dimitris Botsis wrote: Hi all, how can i use SSLHttpCli in order to directly transfer the contents of a remote text file ? Which are filesize limitations for that ? For example, I have a file : https://www.mydomain.com/myfile.txt and want to read it directly t

[twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
Hi all, how can i use SSLHttpCli in order to directly transfer the contents of a remote text file ? Which are filesize limitations for that ? For example, I have a file : https://www.mydomain.com/myfile.txt and want to read it directly to client. Thank you. -- To unsubscribe or change your setti

Re: [twsocket] [OT] 64-bit Delphi preview

2011-04-06 Thread Dimitris Botsis
I agree, it would be great if ICS could be used from Lazarus. Lazarus seems to go well, new versions are coming, community gets bigger - and also Freepascal is great (referring to previous subject it supports 64bit systems too) On 6/4/2011 5:20 μμ, TK Boyd wrote: Given Embarcadero's total dis

Re: [twsocket] File transfer through SSL

2011-04-05 Thread Dimitris Botsis
On 5/4/2011 4:24 μμ, Francois PIETTE wrote: And how could I send a file on HTTPS protocol? There is no difference in HTTP (or HTTPS) between files and documents. I would like to connect two clients behind firewalls through a server on WAN and initiate the file transfer between them... Do you

Re: [twsocket] [OT] What are possible dangers using ICS-SSL without SSLversion chec

2011-04-03 Thread Dimitris Botsis
very slow connections. On 3/4/2011 6:32 μμ, Fastream Technologies wrote: I wondered why it is so big problem to have a large exe? Installers already compress well for bandwidth and an average 1TB HDD costs less than $100! SZ On Sun, Apr 3, 2011 at 6:15 PM, Dimitris Botsis wrote: On 3/4/2011 5

Re: [twsocket] [OT] What are possible dangers using ICS-SSL without SSLversion chec

2011-04-03 Thread Dimitris Botsis
On 3/4/2011 5:12 μμ, Arno Garrels wrote: Angus Robertson - Magenta Systems Ltd wrote: Additionally I used UPX and reduced size of libraries - now it's better. Beware that most such file compressors will eventually be used by virus and trojan writers, and the signatures added to detect any comp

Re: [twsocket] What are possible dangers using ICS-SSL without SSL version check

2011-04-03 Thread Dimitris Botsis
Thank you Angus. Additionally I used UPX and reduced size of libraries - now it's better. On 3/4/2011 1:53 μμ, Angus Robertson - Magenta Systems Ltd wrote: The latest SSL libs that are available, are much smaller than the ones that 0.9.8x that are available from http://wiki.overbyte.be/wiki/inde

[twsocket] What are possible dangers using ICS-SSL without SSL version check

2011-04-03 Thread Dimitris Botsis
Hi all, what are the possible problems and dangers that may come when using ICS without version check for SSL libraries (enable "$DEFINE NO_OSSL_VERSION_CHECK" in OverbyteIcsSslDefs.inc) ? The latest SSL libs that are available, are much smaller than the ones that 0.9.8x that are available f

Re: [twsocket] Strange SSL-components problem

2011-03-30 Thread Dimitris Botsis
L and it's fine. Thank you once more. On 30/3/2011 10:20 μμ, Dimitris Botsis wrote: Hi Arno, thank you for replying. I rebuild the project every time the problem occurs. I even uninstall the whole package and install it again. First times it works fine without problems. And then, starts reporti

Re: [twsocket] Strange SSL-components problem

2011-03-30 Thread Dimitris Botsis
Hi Arno, thank you for replying. I rebuild the project every time the problem occurs. I even uninstall the whole package and install it again. First times it works fine without problems. And then, starts reporting about "undeclared identifiers" of SSL-components. Only for SSL components. It's t

[twsocket] Strange SSL-components problem

2011-03-30 Thread Dimitris Botsis
Hi all, I have a very strange problem with ICS. I try to use ICS v7 (Oct/2010) fresh downloaded from you website (overbyte.be). I install it on Delphi 7. All is OK when starting. I have an empty form and drop 2 components on it : - a Tsslhttpcli - a TsslContext I have already included the prope