Re: [PHP-DEV] SSL Sockets in 4.1.0?

2001-12-04 Thread Blake Barnett
Thanks, For now, I think I'll just go with an SSH tunnel. On Tue, 2001-12-04 at 13:03, Wez Furlong wrote: > Hi Blake, > > I've only just found some time to skim php-dev, so sorry for the late > reply... > > 4.2 (or 4.3 if I run out of time) will have SSL sockets, for SSL clients > only, perha

Re: [PHP-DEV] SSL Sockets in 4.1.0?

2001-12-04 Thread Wez Furlong
Hi Blake, I've only just found some time to skim php-dev, so sorry for the late reply... 4.2 (or 4.3 if I run out of time) will have SSL sockets, for SSL clients only, perhaps servers (I will need someone to test this aspect, as I won't have the time for a while). --Wez. On 29/11/01, "Blake Ba

Re: [PHP-DEV] SSL Sockets in 4.1.0?

2001-11-29 Thread Blake Barnett
tiate the communication via SSL, not receive it.. > > Thanks > Ben > > - Original Message - > From: "Blake Barnett" <[EMAIL PROTECTED]> > To: "Benjamin Barringer" <[EMAIL PROTECTED]> > Sent: Thursday, November 29, 2001 2:27 PM > Subjec

[PHP-DEV] SSL Sockets in 4.1.0?

2001-11-29 Thread Blake Barnett
We are developing an application which needs to communicate via SSL sockets. I can't find any documentation, examples, or functions that look like they support this. Is there any support for it? Is SSH or stunnel/sslwrap my best option? -- Blake Barnett (bdb) <[EMAIL PROTECTED]> Sr. Unix Adm

Re: [PHP-DEV] SSL -> joining sockets and files

2001-03-01 Thread Wez Furlong
On 2001-03-01 05:14:18, Andi Gutmans <[EMAIL PROTECTED]> wrote: > This sounds pretty good. I'll try and look at the code this weekend. Some > of the code is really ugly especially the legacy code. > When you say there are places which need a FILE * do you mean they just > need to check the i

Re: [PHP-DEV] SSL -> joining sockets and files

2001-02-28 Thread Stig Venaas
On Thu, Mar 01, 2001 at 07:14:18AM +0200, Andi Gutmans wrote: > This sounds pretty good. I'll try and look at the code this weekend. Some > of the code is really ugly especially the legacy code. Yes, I like it too, and it is something I've been halfway thinking of myself because of IPv6. Some of

Re: [PHP-DEV] SSL -> joining sockets and files

2001-02-28 Thread Andi Gutmans
Too early in the morning. I just remembered fdopen() :) Andi At 07:14 AM 3/1/2001 +0200, Andi Gutmans wrote: >This sounds pretty good. I'll try and look at the code this weekend. Some >of the code is really ugly especially the legacy code. >When you say there are places which need a FILE * do y

Re: [PHP-DEV] SSL -> joining sockets and files

2001-02-28 Thread Andi Gutmans
This sounds pretty good. I'll try and look at the code this weekend. Some of the code is really ugly especially the legacy code. When you say there are places which need a FILE * do you mean they just need to check the id and check that it's a FILE * or do they convert descriptors to FILE * (ca

Re: [PHP-DEV] SSL -> joining sockets and files (resent)

2001-02-28 Thread Andi Gutmans
At 11:29 PM 2/28/2001 +, Wez Furlong wrote: >On 2001-02-28 20:51:18, Andi Gutmans <[EMAIL PROTECTED]> wrote: > > Doing some C OOP here would probably come in handy. Short incomplete > example: > > typedef union _io_abstraction { > > io_base base; > > socket_abstraction socke

Re: [PHP-DEV] SSL -> joining sockets and files

2001-02-28 Thread Wez Furlong
I've just looked through the code. The current issock stuff is a bit of a nightmare, but not too much of a problem. Most of the codebase seems to be fairly well behaved with FP_FGETS and friends (apart from the interbase extension, where it does the same thing as FP_FREAD without using FP_

Re: [PHP-DEV] SSL -> joining sockets and files (resent)

2001-02-28 Thread Wez Furlong
On 2001-02-28 20:51:18, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Doing some C OOP here would probably come in handy. Short incomplete example: > typedef union _io_abstraction { > io_base base; > socket_abstraction socket; > ssl_abstraction ssl; > file_abstracti

Re: [PHP-DEV] SSL -> joining sockets and files (resent)

2001-02-28 Thread Andi Gutmans
Doing some C OOP here would probably come in handy. Short incomplete example: typedef struct _io_base { int (*write)(io_base *this_ptr, ); int (*read)(io_base *this_ptr,); int (*open)(io_base *this_ptr,); int (*close)(io_base *this_ptr,.); } io_b

Re: [PHP-DEV] SSL -> joining sockets and files (resent)

2001-02-28 Thread Stig Venaas
On Wed, Feb 28, 2001 at 05:12:55PM +, Wez Furlong wrote: > I think what we need depends on how far we are willing to go to make > the codebase nicer. Andi Gutmans suggested that it would be nice > to nuke all the checks for sockets in the code; depending on how far > we go towards that ideal,

[PHP-DEV] SSL -> joining sockets and files (resent)

2001-02-28 Thread Wez Furlong
Sorry - I've been having problems with my mail client; I have resent the message with sensible line breaks. On 2001-02-27 06:53:05, Stig Venaas wrote: > But with for instance IPv6, you won't know what socket you need until > you're done with the resolving. That's why hostconnect() is like it > i

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-27 Thread Wez Furlong
On 2001-02-27 20:07:09, Andi Gutmans wrote: > Do you have time to map where in PHP we are currently using socket code? > I think according to how many places and how we are using it, it'll help us > decide how much redesigning we can do. Also keep Win32 in mind while > thinking of this. As is

Re: [PHP-DEV] SSL -> joining sockets and files ?

2001-02-27 Thread Wez Furlong
On 2001-02-27 06:53:05, Stig Venaas wrote: > But with for instance IPv6, you won't know what socket you need until > you're done with the resolving. That's why hostconnect() is like it > is. It even needs to connect before it knows what socket to use. That I must have missed hostconnect(). I Do

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-27 Thread Andi Gutmans
Do you have time to map where in PHP we are currently using socket code? I think according to how many places and how we are using it, it'll help us decide how much redesigning we can do. Also keep Win32 in mind while thinking of this. I didn't have much time but I did read through your RFC quic

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-26 Thread Stig Venaas
On Mon, Feb 26, 2001 at 11:39:51PM +, Wez Furlong wrote: > When opening a socket there are 3 stages (and thus operations on the socket): > > 1. Create a socketd of appropriate domain/type/family (socket(2)) > 2. resolve the address to connect to (domain specific) > 3. make the connection (con

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-26 Thread Wez Furlong
On 2001-02-26 08:21:23, Stig Venaas <[EMAIL PROTECTED]> wrote: > Sounds good to me. It's also impossible in a portable way to know if a > socket is AF_INET, AF_INET6 or AF_LOCAL, so for socket() function etc. > I've been thinking of doing something like this to store what domain > a socket is

Re: [PHP-DEV] SSL socket support

2001-02-26 Thread Stig Venaas
On Mon, Feb 26, 2001 at 01:31:05AM -, Wez Furlong wrote: > I've been reviewing my relatively crude patch from September last year that > provided transparent SSL socket access to PHP via the php functions > fsockopen, fread etc. etc. Great, I was wondering what happened, was considering doing

[PHP-DEV] SSL socket support

2001-02-25 Thread Wez Furlong
I've been reviewing my relatively crude patch from September last year that provided transparent SSL socket access to PHP via the php functions fsockopen, fread etc. etc. It would be very simple to integrate this into the current PHP code base, but to do so I think we would need to make some modi

Re: [PHP-DEV] SSL

2001-02-08 Thread Stig Venaas
On Thu, Feb 08, 2001 at 04:45:24PM +0100, Derick Rethans wrote: > On Thu, 8 Feb 2001, Stig Venaas wrote: > > > I've made the OpenSSL extension which currently doesn't do SSL > > connections, so you may not be talking of me, my name's Stig but > > not Bakken, just wondering if you were thinking of

Re: [PHP-DEV] SSL

2001-02-08 Thread Derick Rethans
On Thu, 8 Feb 2001, Stig Venaas wrote: > I've made the OpenSSL extension which currently doesn't do SSL > connections, so you may not be talking of me, my name's Stig but > not Bakken, just wondering if you were thinking of this, or if > Stig Bakken actually did work on this. I read in the logs

Re: [PHP-DEV] SSL

2001-02-08 Thread Stig Venaas
On Wed, Jan 31, 2001 at 09:52:29AM +0100, Derick Rethans wrote: > On Tue, 30 Jan 2001, Steve Smith wrote: > > > Hi there, > > > > Is anyone working on implementing SSL connections in PHP? I'm > > willing to take a try at it if no one else is. > > Go for it! But I think some work was already

Re: [PHP-DEV] SSL

2001-02-04 Thread John Donagher
On 4 Feb 2001, James H. Cloos Jr. wrote: > > "John" == John Donagher <[EMAIL PROTECTED]> writes: > > John> If you mean the ability to have PHP talk with an HTTPS server, > John> it already exists in the form of the CURL extension. > > It has been stated on the list that curl can only grab t

Re: [PHP-DEV] SSL

2001-02-04 Thread James H. Cloos Jr.
> "John" == John Donagher <[EMAIL PROTECTED]> writes: John> If you mean the ability to have PHP talk with an HTTPS server, John> it already exists in the form of the CURL extension. It has been stated on the list that curl can only grab to a file, not to php variable. Is that (still?) the c

Re: [PHP-DEV] SSL

2001-01-30 Thread Derick Rethans
On Tue, 30 Jan 2001, Steve Smith wrote: > Hi there, > > Is anyone working on implementing SSL connections in PHP? I'm > willing to take a try at it if no one else is. Go for it! But I think some work was already done on this by Stig (Bakken).. you should probably ask him if he already did

Re: [PHP-DEV] SSL

2001-01-30 Thread John Donagher
The CURL extension is relatively new; it got checked in in July. John On Tue, 30 Jan 2001, Steve Smith wrote: > On Tue, 30 Jan 2001, John Donagher wrote: > > > > > If you mean the ability to have PHP talk with an HTTPS server, it > > already exists in the form of the CURL extension. > > >

Re: [PHP-DEV] SSL

2001-01-30 Thread Steve Smith
On Tue, 30 Jan 2001, John Donagher wrote: > > If you mean the ability to have PHP talk with an HTTPS server, it > already exists in the form of the CURL extension. > > Access to some OpenSSL APIs is provided through the experimental openssl > extension. > > John Yes .. That would be the ve

Re: [PHP-DEV] SSL

2001-01-30 Thread John Donagher
If you mean the ability to have PHP talk with an HTTPS server, it already exists in the form of the CURL extension. Access to some OpenSSL APIs is provided through the experimental openssl extension. John On Tue, 30 Jan 2001, Steve Smith wrote: > Hi there, > > Is anyone working on im

[PHP-DEV] SSL

2001-01-30 Thread Steve Smith
Hi there, Is anyone working on implementing SSL connections in PHP? I'm willing to take a try at it if no one else is. --Steve -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac