httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter 'Luna' Altberg" <>
Subject RE: BUFF void *t_handle member free to use?
Date Fri, 12 Mar 1999 18:23:58 GMT
Hmm... Maybe it's best to leave it alone then, after all.

I'm writing an authentication module (almost done, really) for the M$
IIS/NT challenge/response method. The client asks the server for a
"challenge" (8 byte random data), the server sends one back, the client
then "encrypts" the users password using the challange and sends it to
the server. Here I must have some way to keep track of which challenge
was sent on which connection / to which client. The conn_rec would be
the perfect place to store it, if it was possible. Do you, or anyone
else, have any suggestion?

- Peter

> -----Original Message-----
> From: Doug MacEachern []
> Sent: Friday, March 12, 1999 4:57 PM
> To:
> Subject: Re: BUFF void *t_handle member free to use?
> At 09:23 AM 3/12/99 +0100, Peter 'Luna' Altberg wrote:
> >Hi all,
> >
> >The conn_rec struct has a member 'BUFF *client' that has a 
> member 'void
> >*t_handle'. Is that one for generic use? The comment says "transport
> >handle, for RPC binding handle or some such", which may point in that
> >direction. It doesn't seem to be used at all throughout the 
> source tree.
> That was added in 1.3a1 for module that defined it's own 
> make Apache talk DCE RPC instead of TCP.  The BUFF* is passed 
> to all client
> i/o functions, the DCE module defined B_SFIO, who's read/write
> implementations funneled everything through rpc using an rpc 
> handle stashed
> in t_handle.  
> You're right, Apache never touches it, it is for generic use, 
> but intended
> for modules that extend the transport mechanism.
> -Doug

View raw message