Re: quick (easy?) question
Yeah, that's what I'm using. But how do you tell when a new connection is received? I want to shove each new session into it's own thread, but how can I do that without knowing when to start a new session? Lutz Jaenicke wrote: On Wed, Aug 22, 2001 at 03:13:58PM -0600, Nathan Bell wrote: I've been searching through the documentation, but to avail as of now. When creating an SSL connection with a client, how do BIO sockets tell me that an HTTPS request has been received on the port I've been listening to? In other words what function can I call repeatedly (within a loop) to check for a new connection? or what function can I call once that will wait for a new connection? Seems you are looking for something like an accept BIO? man BIO_s_accept See also demos/bio/saccept.c and apps/ocsp.c (at least in the 0.9.7 tree). Best regards, lutz -- Lutz Jaenicke [EMAIL PROTECTED] BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/ Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129 Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153 __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] -- Nathan Bell Companion Corporation Evelyn Manufacturing 801-943-7277 Etc... )); __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: where are these supposed to be defined?
Thanks. I re-downloaded 9.6 and they were in it. I guess I must have inadvertantly deleted them while changing the code (which I had to do to each and every file...). Dr S N Henson wrote: Nathan Bell wrote: I found the first 2; thanks. Where are the other two located at? Dr S N Henson wrote: Nathan Bell wrote: where are these functions defined? EVP_des_cbc EVP_des_ede3_cbc EVP_idea_cbc EVP_rc2_cbc Oddly enough e_idea.c, e_rc2.c Steve. -- Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/ Personal Email: [EMAIL PROTECTED] Senior crypto engineer, Celo Communications: http://www.celocom.com/ Core developer of the OpenSSL project: http://www.openssl.org/ Business Email: [EMAIL PROTECTED] PGP key: via homepage. __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] -- Nathan Bell Companion Corporation Evelyn Manufacturing 801-943-7277 Etc... )); __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: quick (easy?) question
Thanks. I should read the man pages more closely. Lutz Jaenicke wrote: On Thu, Aug 23, 2001 at 07:53:13AM -0600, Nathan Bell wrote: Yeah, that's what I'm using. But how do you tell when a new connection is received? I want to shove each new session into it's own thread, but how can I do that without knowing when to start a new session? Hmm. If I understood the manual page correctly, the first BIO_do_accept() sets up the listening socket. Whenever you call BIO_do_accept() again, it will sit and wait for a new connection coming in. When a new connection comes in, BIO_do_accept() will return and you can then service the new request after taking it over with BIO_pop() (and put it into its own thread). (Special treatment for non-blockings servers is in the manual page.) DISCLAIMER: never did this myself, just reading the documenation, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/ Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129 Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153 __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] -- Nathan Bell Companion Corporation Evelyn Manufacturing 801-943-7277 Etc... )); __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
reason for error
What causes error:14086081:SSL routines:SSL3_ENC:block cipher pad is wrong to occur every time a client connects to my server (after certificates have been exchanged)? I figure it's something I'm doing wrong or something I'm not doing at all, but I can't figure out what it is. This error is always accompanied by error:1408E098:SSL routines:SSL3_GET_MESSAGE:excessive message size which is interesting because I know that an https request is a lot smaller than 16k. -- Nathan Bell Companion Corporation Evelyn Manufacturing 801-943-7277 Etc... )); __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Wasn't someone joking about the virus being posted by an autoresponder
I still think this would all stop if the openssl mail server rejected (and deleted) the virus before sending the message to everyone on the list. Thomas Bätzler wrote: Hi, Steven Reddie [SMTP:[EMAIL PROTECTED]] wrote: Subject: Wasn't someone joking about the virus being posted by an autoresponder At least I thought it was a joke. No Joke. The virus scanner run by btitele.com bounces the virus back on the list again and again. Sadly it doesn't tell us who the subscriber from that site is... Thomas __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] -- Nathan Bell Companion Corporation Evelyn Manufacturing 801-943-7277 Etc... )); __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
SSL_CTRL_EXTRA_CHAIN_CERT
What does SSL_CTRL_EXTRA_CHAIN_CERT mean when returned from SSL_accept()? Also, is there any documentation as to the meaning of any of that type of definition (openssl/ssl.h line 826-870)? -- Nathan Bell Companion Corporation Evelyn Manufacturing 801-943-7277 Etc... )); __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
BIO woes: ctrl and callback_ctrl?
I'm creating my own BIO_METHODs to use in a BIO pair. For starters, am I thinking about this correctly? to process: Plain text -- SSL -- encrypted text -- Buffer_BIO -- Socket_BIO -- away from process: Encrypted_text -- Socket_BIO -- Buffer_BIO -- SSL -- plain text Will the SSL call the bwrite/bread or the bputs/pgets functions if I call SSL_read/SSL_write? What should the functions ctrl and callback_ctrl do in this process? -- Nathan Bell Companion Corporation Evelyn Manufacturing 801-943-7277 Etc... )); __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]