Re: [twsocket] Detect Http/https proxy

2005-12-05 Thread Paul
Whre and how to read the proxy info when a 305 statuscode is returned? Is that statuscode received before a 407 is received. There are problems with Squid proxy's (unix based) which I cannot test here so I don't know exactly :-( Paul - Original Message - From: "Francois PIETTE" <[EM

Re: [twsocket] Detect Http/https proxy

2005-12-05 Thread Francois PIETTE
> Does anyone have a common 'proxy-detect routine' ? As far as I know there is no standard in that matter. You are on your own to peek into various browser configuration. Configuration data which is subject to change between versions. And maybe several browser are installed but not all properly

[twsocket] Detect Http/https proxy

2005-12-05 Thread Paul
Which is the best way to detect http/https proxy's ? For IE, you can use InternetQueryOption or a lookup in the registry, but what about all others (Netscape, Opera ...) I've seen a lot of ports used (80, 800, 8001, 3128 5865 ...) Does anyone have a common 'proxy-detect routine' ? Should the loo

Re: [twsocket] ICS Demo iImilar To WebServer App

2005-12-05 Thread Francois PIETTE
> Any ideas on the best way to get started with a new project using ICS > components? The > program is a page counter so it will receive a request, find out the > referering URL and send > back a redirect to the counter image. I'm not sure what you want to do ! 1) Do you want to write a CGI whi

[twsocket] The future of elists

2005-12-05 Thread Francois PIETTE
Hi, As you may know, or not, the hosting site for the mailing list (elists.org) is operated by a volunteer who support the cost. I'm speaking about Mac McGruder. Unfortunately, Mac has big problem right now. Mac said: "This past month has been a very difficult time for me. My mom has been diagno

Re: [twsocket] TLS

2005-12-05 Thread Arno Garrels
Roberto Della Pasqua wrote: > I don't like OpenSSL, slow and bad exception mechanism (imho is good in > unix like environments where 1 user space process is lightweight and > usually 1socket=1process or a small subset as in apache father-child > architecture). Why not use power of OO pascal with as

Re: [twsocket] TLS

2005-12-05 Thread Roberto Della Pasqua
I don't like OpenSSL, slow and bad exception mechanism (imho is good in unix like environments where 1 user space process is lightweight and usually 1socket=1process or a small subset as in apache father-child architecture). Why not use power of OO pascal with async exception bubbling inside classe

Re: [twsocket] TLS

2005-12-05 Thread Arno Garrels
Roberto Della Pasqua wrote: > But are you rewroting from scratch AES, SHA implementation in Delphi? No, ICS-SSL uses OpenSsl. SSL is far more then just a cipher suite. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Why not use an already done excellent library

Re: [twsocket] Improving TFtpServer

2005-12-05 Thread Teträm Corp
>Except that using TList complicates the code unnecessarily since the >memory needs to be freed at some point, and it will lead to more changes >in the source code, that need to be properly tested, all so we can >continue to support compilers obsoleted six years ago. > > The changes needed s

Re: [twsocket] TLS

2005-12-05 Thread Roberto Della Pasqua
But are you rewroting from scratch AES, SHA implementation in Delphi? Why not use an already done excellent library, open source, pascal code, that need only 1-2 units coding? Roberto Della Pasqua Http: www.dellapasqua.com Email/Msn: [EMAIL PROTECTED] Aol/Yahoo: DellaPasquaR Icq: 164672275

Re: [twsocket] TLS

2005-12-05 Thread Arno Garrels
Roberto Della Pasqua wrote: > Hi dear group, > > I like ask kindly if somebody has done a ICS wrapper over StreamSec > components, they are freeware in 2.1 version and appear cool. Forget this (my two Euro cents) and wait for ICS-SSL. Or contribute to the SSL Effort. Visit: http://www.overbyte.b

Re: [twsocket] Improving TFtpServer

2005-12-05 Thread Angus Robertson - Magenta Systems Ltd
> I very much prefer using a TList. That avoid any conditional compile. Except that using TList complicates the code unnecessarily since the memory needs to be freed at some point, and it will lead to more changes in the source code, that need to be properly tested, all so we can continue to su

[twsocket] TLS

2005-12-05 Thread Roberto Della Pasqua
Hi dear group, I like ask kindly if somebody has done a ICS wrapper over StreamSec components, they are freeware in 2.1 version and appear cool. Something as: TTLSClientSocket = class(TWSocket) private FTLS: TStreamSECClass that do ciphering; protected public constructor Create(AO

Re: [twsocket] Improving TFtpServer

2005-12-05 Thread Francois Piette
> > - why 5? while it seems there're only two new commands for SSL (AUTH > > and PROT) which are not added to the FCmdTable with AddCommand > > (at least in TFtpServer) > > Can not recall exactly why I added that comment, except without adding > five the array was too much. It could be the com

Re: [twsocket] Improving TFtpServer

2005-12-05 Thread Teträm Corp
>It is because of SSL, there are more commands. > > how are they added to the FCmdTable? using AddCommand or with direct access to FCmdTable? (I do not have the SSL source code) >>- why 5? while it seems there're only two new commands for SSL (AUTH >>and PROT) which are not added to the F

Re: [twsocket] Improving TFtpServer

2005-12-05 Thread Angus Robertson - Magenta Systems Ltd
> - why two declarations? (may be for SSL but it seems not) It is because of SSL, there are more commands. > - why 5? while it seems there're only two new commands for SSL (AUTH > and PROT) which are not added to the FCmdTable with AddCommand > (at least in TFtpServer) Can not recall exact

[twsocket] Improving TFtpServer

2005-12-05 Thread Teträm Corp
Currently, to add some custom commands to the TFtpServer, there're only two possibilities: - use the OnClientCommand event - override the TFtpServer and override the TriggerClientCommand Those two possibilities had the same problem: we have to put exactly (approximately) the same code as the Cli

Re: [twsocket] TWsocket Threading

2005-12-05 Thread Francois Piette
In the last ICS-Beta, there is a new component (TWSocketThrdServer) and a new sample application (ThrdSrvV3). The new component is a multithreaded TWSocketServer. This is probably what you need. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Autho