Re: [twsocket] Adding some new OpenSSL declarations

2015-11-20 Thread Angus Robertson - Magenta Systems Ltd
> Could you apply following patches with some new OpenSSL functions Thanks, will be added shortly. Strangely, I'm writing a new ICS ACME component (automatic certificate management environment) component to acquire and install SSL certificates (initially from Let's Encrypt). I realised

Re: [twsocket] HTTPS URL won't load (SSL error)

2015-11-05 Thread Angus Robertson - Magenta Systems Ltd
> No, but since sites now seem to be defaulting to using EC I'll > change the default for SslECDHMethod to sslECDHAuto. The overnight zip now has ICS v8.20 which the new default, only really matters for projects that did not update SslContext properties, but that included some of my own. >

Re: [twsocket] HTTPS URL won't load (SSL error)

2015-11-03 Thread Angus Robertson - Magenta Systems Ltd
> Does anyone know why this URL won't open/load: > https://www.dietarysupplements.club/ > > I get this (I'm not sure what it means): > SslHandshakeErrCode> 1080 (0 if no error) > SslHandshakeRespMsg> error:14077438:SSL > routines:SSL23_GET_SERVER_HELLO:tlsv1 > alert internal error That URL

Re: [twsocket] HTTPS URL won't load (SSL error)

2015-11-03 Thread Angus Robertson - Magenta Systems Ltd
> Or maybe you have not supplied a DHParams file Sorry, brain fade, you only need a DHParams file for servers to support DH, and ECDH protocols, not clients. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Should I be concerned about https://cert-test.sandbox.google.com?

2015-11-03 Thread Angus Robertson - Magenta Systems Ltd
> I can leave it always set to auto, right Yes, Auto is fine for clients, EC is only used if the server cipher suite requests it and is otherwise ignored. Auto only actually works with OpenSSL 1.0.2 and later, otherwise falls back to sslECDH_P256, but the rule now seems to be use the

Re: [twsocket] Should I be concerned about https://cert-test.sandbox.google.com?

2015-11-03 Thread Angus Robertson - Magenta Systems Ltd
> Here's another issue... I can't open this URL either (with v8.18): > https://cert-test.sandbox.google.com Again the HTTPS sample works fine, make sure you have set SslECDHMethod to sslECDHAuto. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] HTTPS URL won't load (SSL error)

2015-11-03 Thread Angus Robertson - Magenta Systems Ltd
> I would assume "Elliptic Curves encryption" is enabled by default. No, but since sites now seem to be defaulting to using EC I'll change the default for SslECDHMethod to sslECDHAuto. I also need to improve EC to handle other curves, but that is a little harder. > Yeah! Upgrading to 8.18

Re: [twsocket] Internet connection speed

2015-10-07 Thread Angus Robertson - Magenta Systems Ltd
> In my audio + video streaming i must know the client internet > connection speed so that the application will react based on this > connection speed , so please how it's possible to calculate the > user's connection speed asit's being used on SKYPE ' Call Quality > Indicator ' or used here

Re: [twsocket] Internet connection speed

2015-10-07 Thread Angus Robertson - Magenta Systems Ltd
> yes i'm talking about the Client app , i must calculate > the user's internet connection speed because based on this > information some separate procedures will be invoked Try my previous suggestions and let us know how you get on. Beware testing performance is not fast, you won't want to

Re: [twsocket] Internet connection speed

2015-10-07 Thread Angus Robertson - Magenta Systems Ltd
> + how it's possible to get the client's connection speed from the > ping result that means how can we tell the user : > your internet speed is : xxx after getting the ping result Pings do not tell you the speed, they give milliseconds round time to the host. I get less than 10ms to

Re: [twsocket] Serious bug in SmtpCli/TWSocket: infinite loop

2015-10-02 Thread Angus Robertson - Magenta Systems Ltd
> This server responding but incorrectly ! > After connect they return just array of zeroes #0 without any data. This is now fixed, but needs more testing before I commit it to SVN. > This will works only for Smtp protocol. But I think it's should be > fixed on TWSocket level to fix possible

Re: [twsocket] Serious bug in SmtpCli/TWSocket: infinite loop

2015-09-30 Thread Angus Robertson - Magenta Systems Ltd
> Just found serious problem of TWSocket/TSmtpCli: > infinite loop around DoRecv/DataAvailable in TWSocket ! > It's happens only with some misconfigured/buggy MX servers. > Yes, nmact1.nmact.org is misconfigured (i check it using sniffer - > they return 4096 bytes of > zeroes (\0) as reply) but

Re: [twsocket] Serious bug in SmtpCli/TWSocket: infinite loop

2015-09-30 Thread Angus Robertson - Magenta Systems Ltd
> This server responding but incorrectly ! There was no valid banner response, so a timeout is a valid concept. > After connect they return just array of zeroes #0 without any data. Which should be ignored, but might have been followed by valid commands. Angus -- To unsubscribe or change

Re: [twsocket] HTTP Tunnel

2015-09-24 Thread Angus Robertson - Magenta Systems Ltd
> *Subject:* Re: [twsocket] HTTP Tunnel > We have a program that controls equipment. This program constantly > sends log and error information to our supervisors room at our > company so that any problem can instantly be addressed by one of > our technicians. The connection is a TWSocket on the

Re: [twsocket] How to enable IPv6 on client components?

2015-09-24 Thread Angus Robertson - Magenta Systems Ltd
> I have been searching the mailing list, unit notes, and web trying > to find out what needs to be done on the client side to enable > IPv6, if anything, but I haven't found anything definitive. Does it > all "just work" under the hood, or do I simply change the > components' SocketFamily

Re: [twsocket] TWSocket.Connet/GetHostByName bottleneck

2015-09-18 Thread Angus Robertson - Magenta Systems Ltd
> At this time I see this way: > > 1. Use TDNSQuery.MXLookup to resolve MX, then TDNSQuery.ALookup to > resolve MX's IP. Then supply resolved MX IP to TSmtpCli to avoid > GetHostByName. > > 2. Cache both MX and A results in my own DNS cache. Seems sensible, just make sure you time out the

[twsocket] Delphi 10 Seattle Announced

2015-08-31 Thread Angus Robertson - Magenta Systems Ltd
RAD Studio 10 Seattle, Delphi 10 Seattle and C++ Builder 10 Seattle, have been announced today: https://www.embarcadero.com/products/rad-studio and more developer oriented at: http://docwiki.embarcadero.com/RADStudio/Seattle/en/Main_Page ICS has been tested with Delphi 10 Seattle and new

Re: [twsocket] SSL handshake failed at mozilla.org

2015-08-19 Thread Angus Robertson - Magenta Systems Ltd
This seems to have fixed the problem: SslContext-SslOptions=SslContext-SslOptions sslOpt_NO_SSLv2 sslOpt_NO_SSLv3; I suppose I will just leave it and hope it doesn't cause any issues for my customers. Most SSL web servers will have disabled SSLv3 to stop the Poodle and Beast exploits,

Re: [twsocket] SSL handshake failed at mozilla.org

2015-08-19 Thread Angus Robertson - Magenta Systems Ltd
Seems to work here with the OverbyteIcsHttpsTst sample, connects with: Hmm... Strange. I'll have to make sure I'm using the right version. how do I try connecting with TLSv1.2? Did you try the sample application? It shows how to restrict which SSL/TLS versions are used, and how

Re: [twsocket] BCB5 and ICS-SSL

2015-08-16 Thread Angus Robertson - Magenta Systems Ltd
Can BCB5 run ICS-SSL? I downloaded ICS-V5 BCB5 is equal to Delphi 5, which ICS has not supported for a long time. In theory the old ICS V5 does support BCB5, but we no longer support it, and the SSL version it supported is being obsoleted in four months time. Angus -- To unsubscribe or

[twsocket] OT: Windows NCSI

2015-08-14 Thread Angus Robertson - Magenta Systems Ltd
Ever wondered how Windows knows whether your PC has network connectivity? It's something called Network connection Status Indicator, or NCSI, described here: http://blogs.technet.com/b/networking/archive/2012/12/20/the-network-connection-statu s-icon.aspx Essentially, Windows contacts a

Re: [twsocket] How to keep SslWSocket open in a multi-threaded console app?

2015-07-29 Thread Angus Robertson - Magenta Systems Ltd
Should I be calling MessageLoop or ProcessMessages? Neither, Delphi windows services are message driven just like Windows applications. Most of my windows services are actually dual GUI/service, with a simple GUI that does not require any interaction when run as a service. This makes testing

Re: [twsocket] How to keep SslWSocket open in a multi-threaded console app?

2015-07-28 Thread Angus Robertson - Magenta Systems Ltd
In a console app's thread, I make a valid connection, I call SslWSocket-Send, followed by MessageLoop. Once I receive OnDataSent message I call SslWSocket-PostQuitMessage(); And the data is sent and the control returns to the thread - perfect. The second time I want to send data

Re: [twsocket] How to keep SslWSocket open in a multi-threaded console app?

2015-07-28 Thread Angus Robertson - Magenta Systems Ltd
In fact I am not exiting the thread but I am calling: SslWSocket-PostQuitMessage(); to break out of the socket MessageLoop In doing so this sets the SslWSocket Terminated to true Don't call it then! I thought PostQuitMessage was to break a thread, it posts WM_QUIT which is generally the

Re: [twsocket] OpenSSL update distributor

2015-07-16 Thread Angus Robertson - Magenta Systems Ltd
There is a way to detect the directory from which was loaded dll when that was done by windows? Look at the code attached to the last message. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] ICS - TWSocketThrdServer Client

2015-06-19 Thread Angus Robertson - Magenta Systems Ltd
to Angus: In one of your responses you mentioned that you had an unpredictable but very slow memory leak in one of your apps using the ICS multithreaded server - I suspect that this is the issue. I don't used TWSocketThrdServer or threads for ICS sockets, and don't have any memory leaks.

Re: [twsocket] Some questions for you

2015-06-16 Thread Angus Robertson - Magenta Systems Ltd
I tried to load MagentaXferXE4Run.dpk and MagentaXferXE4Design.dpk packages into Delphi XE7 unsuccessfully In what way? What error message? You don't actually need to install the packages to run the demo, it creates the components at run time. No idea what you mean by 'SendFile'. This

Re: [twsocket] Some questions for you

2015-06-16 Thread Angus Robertson - Magenta Systems Ltd
After discovering ICS, I have tried to load and run Magenta Systems File Transfer components and samples or SendFile from your web site None of them can be compiled with ICS V8.16 out of the box. Which web site? The main web site for Magenta Systems File Transfer Components is:

[twsocket] OpenSSL 1.0.2c support

2015-06-15 Thread Angus Robertson - Magenta Systems Ltd
The new OpenSSL 1.0.2b and 1.0.1n versions lasted one day, and were replaced with 1.0.2c and 1.0.1o to fix a bug, which may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download They can be used with ICS V8 releases later than 25th March 2015 that relax the check for minor

[twsocket] OpenSSL 1.0.2b support

2015-06-12 Thread Angus Robertson - Magenta Systems Ltd
OpenSSL has released new versions this week, ICS versions of OpenSSL 1.0.2b and 1.0.1n may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download These new OpenSSL versions fix several moderate security holes. They can be used with ICS V8 releases later than 25th March 2015

Re: [twsocket] ICS FTP - OnProgress strange behavior

2015-06-07 Thread Angus Robertson - Magenta Systems Ltd
Everything worked fine in my app till 31 May 2015. FLastProgress : Int64; if FLastProgress GetTickCount then begin Do I have to clear the FLastProgress and FProgressCount variables after upload complete? Had your program been running for 49 days on 1 June? GetTickCount returns

Re: [twsocket] ICS FTP - OnProgress strange behavior

2015-06-07 Thread Angus Robertson - Magenta Systems Ltd
I'm using ICS FTP client in an application to upload large files to a ftp server. In order to know hoe much data from the file has been transferred I use the onprogress property. Everything worked fine in my app till 31 May 2015. Starting from 1 June 2015 i got no reply from the progress.

Re: [twsocket] Delphi XE8 Announced

2015-04-16 Thread Angus Robertson - Magenta Systems Ltd
The Stable Version ICS V8.16 can now be downloaded and installed from within XE8, using Tools, GetIt, along with other various open source components. GetIt downloads from our wiki download page, unzips, builds and installs the packages and adds the source path. Currently, only planning for

Re: [twsocket] Which SSL Options are recommended?

2015-04-09 Thread Angus Robertson - Magenta Systems Ltd
I've seen a list of SSL Options here: Are there recommended options that should be set? (I'm using the latest Open SSL version 1.0.2a). I don't think many of these Options matter now, many are historic for old browsers and bugs. For my public web site https://www.telecom-tariffs.co.uk/ I

[twsocket] Delphi XE8 Announced

2015-04-07 Thread Angus Robertson - Magenta Systems Ltd
Delphi XE8 has been announced today: http://www.embarcadero.com/products/delphi ICS has been tested with XE8 and new packages are available. I've created a Stable Version ICS V8.16 available from the download page as an alternative to the daily V8 snapshot that, rarely, does have a bug that

Re: [twsocket] SslWSocketServer

2015-04-03 Thread Angus Robertson - Magenta Systems Ltd
But, the server private key, must be present as a file on the local PC running the application. This means that the private key is anything but. Currently, SslContext only reads keys and certificates from files, not streams or anything else. That was how I added DHParams last month, but in

Re: [twsocket] Mail Send with SSL

2015-03-22 Thread Angus Robertson - Magenta Systems Ltd
I want use the Overbyte ICS component for sending Mails with SSL. The demo is running fine (I can send Mails). Now I wanted to create my own certificates (according to the instructions in the directory SSlCerts File IcsSslBuildCerts.bat). SSL client applications generally don't need SSL

[twsocket] OpenSSL 1.0.2a support

2015-03-19 Thread Angus Robertson - Magenta Systems Ltd
ICS v8 has been updated to support OpenSSL 1.0.2a and 1.0.1m, which include various security advisory fixes. The changes and OpenSSL zips may be downloaded from the SVN repository or the overnight zip file at: http://www.magsys.co.uk/delphi/magics.asp These SMPT and POP3 mail components now

[twsocket] OpenSSL 1.0.2 support, DH and EC key support

2015-03-17 Thread Angus Robertson - Magenta Systems Ltd
ICS v8 has been updated to support OpenSSL 1.0.2 and DH and EC keys, and to better support TLSv1.1 and TLSv1.2 protocols. The changes may be downloaded from the SVN repository or the overnight zip file at: http://www.magsys.co.uk/delphi/magics.asp Sorry, François's ISP is still unable to get

Re: [twsocket] ICS - TWSocketThrdServer Client

2015-03-10 Thread Angus Robertson - Magenta Systems Ltd
due to the BannerTooBusy string that is sent These banners do cause trouble, I might clear them, I got caught a long time ago with a new server. It is therefore necessary to change the 'Client.Close;' line to 'Client.CloseDelayed;' in 'OverbyteIcsWSocketS.pas' I'll have a look at that,

Re: [twsocket] Lazarus and free pascal?

2015-03-09 Thread Angus Robertson - Magenta Systems Ltd
Are there any ICS versions that will work with Lazarus and FPC? Windows only would be fine. ICS has been used with FPC in the past and still contains some conditions relating to FPC. But I've never used FPC myself so I've no idea if changes have been made that are FPC incompatible.

Re: [twsocket] SSL Problem

2015-03-04 Thread Angus Robertson - Magenta Systems Ltd
My ICS has revised date: Sept 3, 2014. It's a nightly snapshot. I have OpenSSL 1.0.1k (compiled by you). You may have have them, but it's unlikely you are using them together since 1.0.1k was only released on 19th January 2015 and needs a nightly snapshot dated then or later to install it.

Re: [twsocket] SSL Problem

2015-03-03 Thread Angus Robertson - Magenta Systems Ltd
I have a high security email program that I'm trying to correct for POODLE in. It also uses https. Which version of ICS TWSocket are you using, and which OpenSSL version? 1.0.1j fixed Poodle. Is this a client or server? A client has much less control over ciphers than a server, the latest

Re: [twsocket] ICS - TWSocketThrdServer Client

2015-02-23 Thread Angus Robertson - Magenta Systems Ltd
- What OS - I am using Win7 Ultimate and a Win Server 2008 for testing. Both 64-bit with at least 8GB? Windows Server 2008 (aka Vista) is getting old now, from 2008 R2 onwards 32-bit was abandoned. Local testing is however representative of both operation on a Win Server installation and

Re: [twsocket] XE7 support

2015-02-23 Thread Angus Robertson - Magenta Systems Ltd
I want to ask if there will be a new version of ICS for Delphi XE7? ICS V8 was updated for XE7 on 3rd September 2014 and announced in this mailing list. Just download the overnight SVN V8 version, normally from the Wiki site but the ISP is still trying to fix it, also from:

Re: [twsocket] looking for a image or a video stream demo

2015-02-21 Thread Angus Robertson - Magenta Systems Ltd
Title says it basically am in need of a demo showing how to use Overbyte to stream a image over network There are no such samples with ICS. The concept of 'streaming' is inherent in networking, but there are numerous ways of doing it with either TCP or UDP. Angus -- To unsubscribe or

Re: [twsocket] ICS - TWSocketThrdServer Client

2015-02-20 Thread Angus Robertson - Magenta Systems Ltd
looked at the Wiki (when that was working The SVN over night zips last successfully uploaded to the wiki server a week ago, I've asked François to chase his ISP. The SVN zips can also be downloaded from: http://www.magsys.co.uk/delphi/magics.asp but have not changed in the last week. I

Re: [twsocket] FTP Client - Port Number

2015-02-13 Thread Angus Robertson - Magenta Systems Ltd
I have a user who wants to change the FTP Port number to something like 14581. Component wise there is no problem using strange ports, I use 2100 for testing stuff. But NAT routers may be less forgiving, they need to modify IP addresses in the control channel to forward packets and know

Re: [twsocket] C++ Builder 6: Compiling ICSv8

2015-02-04 Thread Angus Robertson - Magenta Systems Ltd
Is there a reason why C++ Builder 6 doesn't/can't support the building of ICSv8? Sorry, we don't currently support C++ Builder for new ICS versions, none of us have the sufficient C++ knowledge to do so. The earliest Delphi we still support is 7 due to new language features in that release, I

Re: [twsocket] SSLHttpServer...

2015-01-22 Thread Angus Robertson - Magenta Systems Ltd
I am testing with the OverbyteIcsSslWebServ1 demo using version 7.51. If I test with HTTP it fails with: [12:33:26 127.0.0.1] SslHandshake failed. No other error, nothing else logged. Most likely you don't have valid SSL certificates set-up, that always causes SSL to fail. But you are also

[twsocket] OpenSSL 1.0.1k binaries available

2015-01-20 Thread Angus Robertson - Magenta Systems Ltd
Thanks to RTT p...@sapo.pt for recompiling the OpenSSL 1.0.1k binaries so there are no external dependencies with Microsoft runtime libraries. 1.0.1k contains eight security fixes. These need to be used with the latest ICS v8 from the SVN, which has been updated to support 1.0.1k and earlier.

Re: [twsocket] UNICODE Issue with OverByte ICS SSL SMTP

2014-12-21 Thread Angus Robertson - Magenta Systems Ltd
3. I received numerous errors concerning TSmtpSslType and TSslSmtpCli. Most likely you don't have ICS SSL installed, remove the dot from the $DEFINE USE_SSL line in OverbyteIcsDefs.inc. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] UNICODE Issue with OverByte ICS SSL SMTP Client

2014-12-16 Thread Angus Robertson - Magenta Systems Ltd
Will you please send your eight sample messages to icstes...@ftptest.org I received several MIME emails: Content-Type: application/octet-stream; Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=SSL SMTP Component Message 01.eml I was expecting emails composed and

Re: [twsocket] Quick way to get users MS ping?

2014-12-15 Thread Angus Robertson - Magenta Systems Ltd
Am looking for a quick dirty way to get users MS ping from main chat server to client I seen a ping demo in src but seams over complex is there a easier way to get users ping speed? No easier way, ping does not require much code, this is a cut down example from the IP Logger component I

Re: [twsocket] FTP Error

2014-12-13 Thread Angus Robertson - Magenta Systems Ltd
I have one client that is always getting problems with the FTP transfers we are performing. Any clues as to what could cause the error at 18:10:37.544 It looks like you are opening a second FTP control connection to a different IP address before closing the first connection. Angus -- To

Re: [twsocket] IcsLogger

2014-11-26 Thread Angus Robertson - Magenta Systems Ltd
I have been unable to establish if ICS supports TLSv1.1 and TLSv1.2. I expect it does, but would appreciate your confirming this. Yes, OpenSSL supports TLSv1.1 and TLSv1.2, you should see this reported in the handshake completed event like: Secure connection with TLSv1.2, cipher AES128-SHA,

Re: [twsocket] IcsLogger

2014-11-23 Thread Angus Robertson - Magenta Systems Ltd
I'm trying to use the IcsLogger to trace down an SSL problem, but I'm only getting this one line in the log file: 15:21:49:633 InitCtx OpenSSL version: OpenSSL 1.0.1i 6 Aug 2014 You also need to attach the logger to any socket or other components you are using, they should all have an

[twsocket] OT: Let's Encrypt free SSL/TLS certificates

2014-11-19 Thread Angus Robertson - Magenta Systems Ltd
From next summer, it will be possible for applications to automatically request and install free SSL/TLS web domain certificates, using infrastructure from Let's Encrypt certificate authority: https://www.letsencrypt.org/ Essentially, the client runs an application that creates the SSL private

Re: [twsocket] OpenSSL and Poodle exploit

2014-11-07 Thread Angus Robertson - Magenta Systems Ltd
I see you speak of fixing web servers in regard to the poodle exploit. Is there any problem with clients? I see mine are set to sslv23. I believe that was the default. Should I change this and if so, to what? The issue with clients is they usually need to access a wide range of servers,

[twsocket] OpenSSL and Poodle exploit

2014-10-20 Thread Angus Robertson - Magenta Systems Ltd
There has been recent press about an SSL server exploit called Poodle, which only effect SSLv3, not the more recent TLS 1.x protocols. Disabling SSLv3 in servers can be done by setting: SslContext.SslVersionMethod := sslV23_SERVER; SslContext.SslOptions := [sslOpt_NO_SSLv2, sslOpt_NO_SSLv3,

Re: [twsocket] Use of TSslContext in sending SSL email (quick question)n)

2014-10-10 Thread Angus Robertson - Magenta Systems Ltd
Is it necessary for me to create a separate TSslContext each time I create a new TSslSmtpCliWithFEhloCount No, an SslContext set-up for SSL client or a single SSL server certificate can be shared by multiple socket components. The only issue is in SSL servers using MultiListen, where

Re: [twsocket] What is the correct format for friendly FROM address in TSslSmtpCli?

2014-10-08 Thread Angus Robertson - Magenta Systems Ltd
I've tried several combinations (Using delphi with TSslSmtpCli) sending both through gmail and through my own ISP's server to both hotmail and a pop3 address. I can't seem to get the right 'from' email to show up when going through gmail. It keeps showing the real gmail account email

Re: [twsocket] Help with sending mail through gmail please

2014-10-07 Thread Angus Robertson - Magenta Systems Ltd
The .exe in the zip runs ok but no matter which host and corresponding user/password I use it always reports Can Not Open Mail Server: name of the mail server:25 - 426 Timeout Without SSL, you won't be able to connect to Gmail, see below. Just tested the original binary, all I did was

Re: [twsocket] Help with sending mail through gmail please

2014-10-07 Thread Angus Robertson - Magenta Systems Ltd
I agree with Angus, you would be better off to send the e-mails individually to the recipients' mail servers. My main point was it's better to send individually addressed emails, than bulk BCC, they are less likely to be intercepted as spam, even if it takes longer to do so. I did mention

Re: [twsocket] TWSocketServer listen connections

2014-10-07 Thread Angus Robertson - Magenta Systems Ltd
I do not want to close the connection, and not destroy it, must leave all connected clients and access them when needed to send data and information, I do not need to use Cliente.Free? it will not overload the memory? No, your Cliente is simply a pointer to the real client in the component,

Re: [twsocket] Help with sending mail through gmail please

2014-10-06 Thread Angus Robertson - Magenta Systems Ltd
see how much I can remove to get just the core functionality and minimum property seting needed to simply automatically send a emailed newletter. Please do look at the Mail Queue Component I mentioned, the demo is actually a cut down version of a mailing list application I wrote 15 years ago

Re: [twsocket] TWSocketServer in depdicated thread

2014-09-11 Thread Angus Robertson - Magenta Systems Ltd
However the question is: why events are not raised in case of moving TWSocketServer out of main application thread? Because you need a message handler in the thread. There are lots of samples that show how to use threads. Angus -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] TWSocketServer in depdicated thread

2014-09-10 Thread Angus Robertson - Magenta Systems Ltd
I'm trying to make TWSocketServer pworking in a separate thread Why not start with TWSocketThrdServer? Look at the sample OverbyteIcsThrdSrvV3.dpr which uses it. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Angus Robertson - Magenta Systems Ltd
yes, I've looked at the example. But if I try to implement this to my application the OnPostedData-Event is never raised. I don't know why :-(. Is there a Handler for POST-Data, that I have to register first? You do need an AddPostHandler page handler for each POST page you need, maybe as

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Angus Robertson - Magenta Systems Ltd
For a current project I need to build an HTTP server to which data can be POSTed, so I build one using OverbyteIcsWebServ.dpr as an example. I ran into stability problems, and starting slimming my code down to isolate the problem. Please try uploading your file to one of my public

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Angus Robertson - Magenta Systems Ltd
Thanks for the idea, can I upload files from software instead of using the webpage? This is explained when you read the web page. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Angus Robertson - Magenta Systems Ltd
No, I can't reproduce using that URL You did not succeed in saving any files on the server, because my application ignores all upload file names with file path delimiters. It will be a better test if you strip off the path and just leave the XML file name. 12:42:59 Request:

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Angus Robertson - Magenta Systems Ltd
I've tried a number of times with this url http://www1.telecom-tariffs.co.uk/testing/uploadfile.htm?FileName=me rijn.test Can you please confirm if the upload went ok? Received Post Data File, Size 4,550, Content Type: application/binary FileName: merijn.test/cgi-bin/FileUpload/books.xml

[twsocket] OT: Buffer Overflow in VCL Bitmap Processing Code

2014-08-22 Thread Angus Robertson - Magenta Systems Ltd
Because Embarcadero is still trying to get it's forums and newsgroups running after two weeks downtime, some may have missed a security vulnerability in the VCL graphics unit processing bitmaps: http://blog.marcocantu.com/blog/2014_august_buffer_overflow_bitmap.html The bug needs a two line fix

Re: [twsocket] OpenSSL 1.0.1h binaries available

2014-08-01 Thread Angus Robertson - Magenta Systems Ltd
The Overbyte web sites have finally returned to life, so the new OpenSSL binaries are also available on the wiki download page: http://wiki.overbyte.be/wiki/index.php/ICS_Download Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods

2014-07-09 Thread Angus Robertson - Magenta Systems Ltd
Not easy to get it from the RFCs or from the online discussions, Can we please make a final decision if further redirect changes are needed now, just doing other updates. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] Magenta Systems IP Log Streaming Component

2014-07-08 Thread Angus Robertson - Magenta Systems Ltd
Version 2.0 of the Magenta Systems IP Log Streaming Component may now be freely downloaded from: http://www.magsys.co.uk/delphi/magics.asp Version 2.0 adds IPv6 and SSL support including certificate checking using a PEM bundle file or Windows Certificate Store, adds host name support for

[twsocket] Future improvements for HTTP components?

2014-06-25 Thread Angus Robertson - Magenta Systems Ltd
This message is intended to start a dialog about future improvements to ICS components for Windows, in particular the HTTP client and server components where the world is moving ahead of us. Currently, new features tend to get added as needed by the main ICS developers for specific projects, for

Re: [twsocket] Nagios like communication

2014-06-25 Thread Angus Robertson - Magenta Systems Ltd
which component can be used as client to talk to the above server component. Building an http server into my program sounds good but is way too much for what I need. Look at free Magenta Systems IP Log Streaming Component at: http://www.magsys.co.uk/delphi/magics.asp which is a high level

Re: [twsocket] Future improvements for HTTP components?

2014-06-25 Thread Angus Robertson - Magenta Systems Ltd
basic http server that handles requests but process them on different and configurable number of threads. Anyone? Have you looked at the existing threaded components and demos: OverbyteIcsWSocketTS.pas - Winsock component for building multithreaded servers OverbyteIcsThrdSrv.dpr - Basic

Re: [twsocket] Nagios like communication

2014-06-10 Thread Angus Robertson - Magenta Systems Ltd
The linchpin of all this is, that the program itself is up and running, doesn't hang and that it can still response. Otherwise, days can go by and no data is recorded. I hope your application is already a Windows service, you can then make use of the various service restart options if it

Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods

2014-06-07 Thread Angus Robertson - Magenta Systems Ltd
Not easy to get it from the RFCs or from the online discussions, but I've now checked how Firefox and Chrome are implementing it Exactly, each browser has implemented redirection in different ways for different requests, there is no general consensus If you can just check MSIE as well,

Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods

2014-05-27 Thread Angus Robertson - Magenta Systems Ltd
This subject doesn't deserve not even a reply?! I'm the only one able to fix things here at the moment, and I have a lot of other priorities. But I'll put it on my list for next month. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] TSslPop3Cli... 6.13

2014-05-26 Thread Angus Robertson - Magenta Systems Ltd
Note messages are only deleted when the mailbox is actually closed with the QUIT command. I think that is the issue. This is a 24/7 program and I do not issue the quit until the program is stopped. POP3 mailboxes are rarely dynamic, they show a snapshot of the content when opened, and

Re: [twsocket] C++Builder XE6

2014-05-13 Thread Angus Robertson - Magenta Systems Ltd
I would be happy to share my work if you'd like and you think it might be helpful to others... Probably, but we really need all three missing BCB versions tested, which needs someone with all these versions installed, which is not trivial. I have Windows 7 VM that is currently 120 gigs with

Re: [twsocket] TFtipClient and TFtpServer and 10053 error after Transmit successful...

2014-04-25 Thread Angus Robertson - Magenta Systems Ltd
Not sure if this gives us more information to go on. Any ideas? Assuming you are logging OnError, I can see no errors reported, so all we have is the error code 500 after a sequence of FTP events that all appear to have completed correctly. Are you logging the ErrorMessage property at the end,

Re: [twsocket] TFtipClient and TFtpServer and 10053 error after Transmit successful...

2014-04-22 Thread Angus Robertson - Magenta Systems Ltd
The Transmit method returns failure even though the file is successfully uploaded. Notice how the request is 18, the StatusCode is 226 but an Error 500 is returned with a winsock error of #10053). 226 is success, so no idea why you get 500 as well. The transmit method does several

Re: [twsocket] HTTP PATCH method for the HttpCli

2014-04-20 Thread Angus Robertson - Magenta Systems Ltd
16:34, Angus Robertson - Magenta Systems Ltd wrote: So there is no way for us to test the changes, without extra development to change our web samples? I also can not make TortoiseSVN recognise your patch file, which is either faulty or badly formatted, or maybe I just don't know how to use SVN

[twsocket] SSL improvements

2014-04-20 Thread Angus Robertson - Magenta Systems Ltd
To improve handling and reporting of PEM SSL certificates, there is a new component class TX509Ex derived from TX509Base adding properties for most common certificate entries including extensions, there are the properties reported for my code signing certificate, as reported by the updated

Re: [twsocket] HTTP PATCH method for the HttpCli

2014-04-18 Thread Angus Robertson - Magenta Systems Ltd
Any technical reason for discarding this functionality I submitted some time ago? How do we test it? There is no sample to run. Nothing to test against. I don't have time to read the Google Drive API, Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Clarification Re: FTP TLS, SSL, + passive mode problem

2014-04-18 Thread Angus Robertson - Magenta Systems Ltd
asked me about it), this server is private (hosting in US : atomicvps.com) So you are using a public server on a WAN, with a NAT routers or a firewall on either end of the connection? as another test i also installed local filezilla server and was able to reproduce same problem with it

Re: [twsocket] HTTP PATCH method for the HttpCli

2014-04-18 Thread Angus Robertson - Magenta Systems Ltd
It's exactly the same code as for POST and PUT. Only the HTTP method name changes. So there is no way for us to test the changes, without extra development to change our web samples? I also can not make TortoiseSVN recognise your patch file, which is either faulty or badly formatted, or

[twsocket] OT: Microsoft network sniffers

2014-03-11 Thread Angus Robertson - Magenta Systems Ltd
Never noticed them before, but Microsoft has two network traffic monitoring or sniffer tools. The older one is Microsoft Network Monitor 3.4 for XP and later, and Microsoft Message Analyzer 1.0 for Windows 7 and later, both free from the download center. Has anyone tried either? I note that

Re: [twsocket] When receiving UDP datas, find if there were sent through a broadcast

2014-02-25 Thread Angus Robertson - Magenta Systems Ltd
I have a server with an UDP socket listening. Some Clients connect with the Ip address of the server : Direct Addressing. Some Clients do not know the Ip address of the server, therefore they connect by sending a broadcast. In OnDataAvailable event, i would like to know which Clients have

Re: [twsocket] Handshake of TWSocket

2014-02-18 Thread Angus Robertson - Magenta Systems Ltd
is there anybody who can and will explain to me if the socket handshake protocol is implemented GET /chat HTTP/1.1 Host: server.example.com Upgrade: websocket Sorry, websockets is not supported by the ICS HTTP components. Another ICS user stas...@orc.ru has implemented

Re: [twsocket] Basic HTTP Authentication over SSL

2014-02-18 Thread Angus Robertson - Magenta Systems Ltd
The process should be as follows: 1) Use HTTP POST to pass username and password parameters to login URL 2) A token string is returned if login was successful 3) The token is then used as Basic Authentication using HTTP GET to retrieve JSON from different API URL Step 1 and 2 are

Re: [twsocket] No Socket Handshake available

2014-02-18 Thread Angus Robertson - Magenta Systems Ltd
I encountered that the socket handshake, as described in RFC 6455, is not implemented in the ICS components of overbyte. That standard is websockets, not sockets, totally different. Websockets is not supported by ICS, see the answer I gave you yesterday which you ignored, I suggest an ICS

Re: [twsocket] default gzip of json by THTTPServer - is it possible or am I to do it myself?

2014-02-12 Thread Angus Robertson - Magenta Systems Ltd
Not used JSON myself, but I'd guess if it's a compressable response then 'application/json' needs to added to that line so compression is not skipped. SVN was updated a couple of days ago with this JSON fix in the HTTP Server, also now compressing Javascript, and recognising both as MIME

Re: [twsocket] OverbyteIcsFtpCli v8 (current) old problem resurfaces

2014-02-07 Thread Angus Robertson - Magenta Systems Ltd
{ V8.03 InternalReady happens between multiple commands, ignore it } if FState in [ftpReady {, ftpInternalReady}] then begin Include ftpInternalReady in the check and it should work again. @Angus, why did you change it? For the reason documented in the code, the longer version is

Re: [twsocket] default gzip of json by THTTPServer - is it possible or am I to do it myself?

2014-02-07 Thread Angus Robertson - Magenta Systems Ltd
I have enabled content encoding on my THTTPServer: And return content to my client using AnswerString pClientCnx-AnswerString(Flags, 200 OK, application/json, sResponseHeader,

<    1   2   3   4   5   >