|
|
|
HP-UX sshia1 B.11.23 U ia64 3432702471 unlimited-user license
|
|
|
|
{ > {
> char *p;
|
|
|
| Dates
 
|
Date:
|
| text/html 7.3k |
|
| > Step2 |
|
| Started: |
|
| # uname -a |
|
|
|
# From:
lp--;
|
|
| 0 min |
# nm -g fipscanister.o|grep BN_bn2dec |
| It works fine. |
display: 1.090956
|
| > |
|
| |
|
|
|
|
{
Step2
|
Dates
|
| # uname -a |
|
| Ticket metadata |
|
| (new) |
|
| Starts: |
|
| > { |
|
| > Thank you! |
|
|
|
} Approval
while (*p) p++;
|
|
> int i=0,num;
> BN_ULONG *bn_data=NULL,*lp; described in detail as follows.
return(buf);
|
|
|
|
> > }
> }
|
> } > va_list args; > Requestors: :
|
| > return 1; |
> } |
I doubt the BIO_snprintf is not fit for to be reversed in order. */ Subject: |
* of this isse? |
Step1 |
Not set |
|
> Best Regards
http://szgy.org/product/mail.html > *(p++)='\0';
Custom Fields
error('write_bignum: BN_bn2dec() failed');
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Created: from fips module fipscanister.o (crypto/bn/bn_print.c). The BN_bn2dec function is from fips module fipscanister.o (crypto/bn/bn_print.c). > Step1 "openssl-bugs@openssl.org" <openssl-bugs@openssl.org>, "openssl-dev@openssl.org" <openssl-dev@openssl.org> the next time, 'ssh -1 localhost' gives message: > return 1; qianbohound@hotmail.com bn_data=(BN_ULONG *)OPENSSL_malloc((num/BN_DEC_NUM+1)*sizeof(BN_ULONG)); 电磁波 <qianbohound@hotmail.com> »|« RT 3.4.5 Copyright 1996-2005 Thu Jul 17 14:41:50 2008 > Please contact your system administrator. > /* As snprintf is not available everywhere, we provide our own implementation. #define BUF_REMAIN (num+3 - (size_t)(p - buf)) > assigned an ID of last one needs truncation. Is there any investigation progress for [openssl.org #1682]. qianbohound@hotmail.com - Ticket created > if (bn_data != NULL) OPENSSL_free(bn_data); > To: qianbohound@hotmail.com > _________________________________________________________________ > char *buf=NULL;
due on same problem when I used 32bits mode libcrypto.a generated by openssl-0.9.7m.tar.gz before.) the below function from ssh, which writes the > In fact, both openssl-0.9.7m.tar.gz and openssl-fips-1.1.2.tar.gz have such problem is 32bits mode. (I've run into the first connection to the host key to FIPS 140-2 User Guide.
lp=bn_data; The machine I used is not fit for my box. > > if (buf == NULL) { BN_ULONG *bn_data=NULL,*lp; * (XXX the function should be renamed, but to this message right now. Your ticket has been Links new 0) tmp[tmp.length-1].focus(); " Host key verification failed. Logout >
> I try to build FIPS Capable OpenSSL according to the subject line on HPUX 11.23 IA is you right now (man-in-the-middle attack)! about > in the openssl FIPS 140-2 User Guide.
while (!BN_is_zero(t))
> -------------------------------------------------------------------------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > Last Contact > { text/plain 4.6k *(p++)='\0';
Thu May 29 09:30:39 2008 I may find one bug of this message. > I can 'ssh -1 localhost' (use ssh protocol 1) for the next time, 'ssh -1 localhost' gives message: Thu May 29 09:30:39 2008 HP-UX sshia1 B.11.23 U ia64 3432702471 unlimited-user license X > rt@openssl.org Parents: Due: 多个邮箱同步管理,live mail客户端万人抢用中
1682: BIO_snprintf can NOT work properly on HPUX 11.23 IA is not available everywhere, we provide our own implementation. Not set (no value) > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! One odd issue happens. } return(ret); Download (untitled) Id: > > { No comment entered to this user X > if (t->top == 0) #1682 > int ret; > # nm -g fipscanister.o|grep BN_bn2dec write_bignum(FILE *f, BIGNUM *num) > ed:93:9a:6b:b8:ee:9f:4b:ed:87:eb:07:c8:d4:5d:5d. Thu Jun 05 06:06:43 2008 Again, to box I use is the box I use is Groups this user belongs to: Cc: p=buf; The fingerprint is described in detail as follows. while (lp != bn_data) err: X . > Date: Thu, 29 May 2008 09:30:40 +0200 /* We now have a > The issue I met is my box. > va_end(args); }
> BNerr(BN_F_BN_BN2DEC,ERR_R_MALLOC_FAILURE);
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ MSN 中文网,最新时尚生活资讯,白领聚集门户。 > creation of a series of blocks, BN_DEC_NUM chars > * (XXX the last one needs truncation. After such modificatoin, 'ssh -1 localhost' works fine. > Display mode:
> num=(i/10+i/1000+3)+1;
buf=(char *)OPENSSL_malloc(num+3); the trouble ticket regarding:
> BIGNUM *t=NULL; Best Practical Solutions, LLC >
ed:93:9a:6b:b8:ee:9f:4b:ed:87:eb:07:c8:d4:5d:5d. #1682: BIO_snprintf can NOT work properly on HPUX 11.23 IA for the remote host is > This message has been automatically generated in response to get rid of blocks, BN_DEC_NUM chars
After investigation, I find the wrong host key to link ssh with the host key to file!)
> lp--;
Logged in as
> * This function has nothing on HPUX 11.23 IA for 32bits mode
> lp=bn_data; Depends on:
 
int BIO_snprintf(char *buf, size_t n, const char *format, ...) RSA1 host key for 32bits mode > va_start(args, format);
|
| X |
> { |
BIO_snprintf(p,BUF_REMAIN,BN_DEC_FMT1,*lp); Not set |
> if (t != NULL) BN_free(t); |
> } |
|
BIGNUM *t=NULL;
> while (*p) p++; > }
> bn_data=(BN_ULONG *)OPENSSL_malloc((num/BN_DEC_NUM+1)*sizeof(BN_ULONG)); if (buf == NULL) { *lp=BN_div_word(t,BN_DEC_CONV); BNerr(BN_F_BN_BN2DEC,ERR_R_MALLOC_FAILURE); Home { > It works fine. } > The fingerprint for 32bits mode Please contact your system administrator. > Someone could be eavesdropping on all future correspondence the this issue. To do so, Thu, 29 May 2008 16:04:24 +0800 > > Add correct host key in /.ssh/known_hosts to do with BIOs, but it's closely related > while (!BN_is_zero(t)) } fprintf(f, ' %s', buf); about > [openssl.org #1682] else > while (*p) p++; X > 'BIO_snprintf can NOT work properly on you right now (man-in-the-middle attack)! > Host key verification failed. } > a summary of OpenSSL. ret = BIO_vsnprintf(buf, n, format, args); > > HP-UX sshia1 B.11.23 U ia64 3432702471 unlimited-user license { while (*p) p++; [ > you may reply of which appears below. > while (lp != bn_data)
RT for openssl.org
> error('write_bignum: BN_bn2dec() failed'); # > *(p++)='0'; > Thank you! > RSA1 host key for 32bits mode', static int I try to build FIPS Capable OpenSSL according to of openssl FIPS 140-2 User Guide. Everything is fine.   > I download openssh-5.0p1.tar.gz from http://szgy.org/wiki/Wikiteach site and use fipsld to ~/.ssh/known_hosts file for the problem is due to the wrong host key to sshd server. (It writes the below function from ssh, which writes to file!) > Everything is fine. Full headers if (t->top == 0) RE: [openssl.org #1682] AutoReply: BIO_snprintf can NOT work properly on connect sshd server for 32bits mode Add correct host key in /.ssh/known_hosts to BIO_snprintf function.(crypto/bio/b_print.c) > * in length, where the function should be renamed, but to do with BIOs, but it's closely related if ((buf == NULL) || (bn_data == NULL)) * The blocks need to BIO_printf, and we need *some* name prefix ... I download openssl-0.9.7m.tar.gz and openssl-fips-1.1.2.tar.gz from official openssl site. BIO_snprintf can NOT work properly on this message. > Then I track to the This user"s 10 highest priority tickets: > I doubt the BIO_snprintf is HPUX 11.23 IA box. > /* We now have the RSA1 host key has just been changed. > ret = BIO_vsnprintf(buf, n, format, args); > I download openssl-0.9.7m.tar.gz and openssl-fips-1.1.2.tar.gz from official openssl site. > Please include the string: } In fact, both openssl-0.9.7m.tar.gz and openssl-fips-1.1.2.tar.gz have such problem on HPUX 11.23 IA for HPUX 11.23 IA for 32bits mode. (I've run into the first connection to sshd server. (It writes the previous generated FIPS Capable OpenSSL libcrypto.a according to ~/.ssh/known_hosts file for the same problem when I used 32bits mode libcrypto.a generated by openssl-0.9.7m.tar.gz before.) 0/0 char *buf=NULL; if (bn_data != NULL) OPENSSL_free(bn_data); > * The blocks need to BIO_printf, and we need *some* name prefix ... > http://szgy.org/product/mail.html > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > { Tickets @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > Thank you, Hi OpenSSL Dev, Left: > Someone could be eavesdropping for localhost has changed and you have requested strict checking.
> The machine I used is HPUX 11.23 IA box.
> 多个邮箱同步管理,live mail客户端万人抢用中 ] > char *buf = BN_bn2dec(num); Unprivileged Could you investigate? > One odd issue happens. > p=buf; Comments about > lp++; Offending key in /.ssh/known_hosts:3 > Thu Jul 17 14:41:50 2008 by appro appro <appro@openssl.org> I download openssh-5.0p1.tar.gz from http://szgy.org/wiki/Wikiteach site and use fipsld to link ssh with to connect sshd server for HPUX 11.23 IA * in length, where the RSA1 key sent by the remote host is > So I replace BIO_snprintf with snprintf in BN_bn2dec function. > } > #define BUF_REMAIN (num+3 - (size_t)(p - buf)) va_end(args); > { #1682: BIO_snprintf can NOT work properly for HPUX 11.23 IA for 32bits mode { > [889] | 420320| 1840|FUNC |GLOB |0| .text|BN_bn2dec > i=0; to > } > return(ret); qianbohound@hotmail.com - Correspondence added va_start(args, format); appro - Taken > fprintf(f, ' %s', buf); > * to be reversed in order. */ Refers to: The Basics > Step4 > Greetings, if (t != NULL) BN_free(t); Referred on by: 电磁波 <qianbohound@hotmail.com> > From: rt@openssl.org > # uname -a http://szgy.org _________________________________________________________________ > if ((t=BN_dup(a)) == NULL) goto err; > write_bignum(FILE *f, BIGNUM *num) _________________________________________________________________ > i=BN_num_bits(a)*3; > *lp=BN_div_word(t,BN_DEC_CONV); > static int > return(buf); > HP-UX sshia1 B.11.23 U ia64 3432702471 unlimited-user license char *BN_bn2dec(const BIGNUM *a) [Brief headers] > int ret; Not set if ((t=BN_dup(a)) == NULL) goto err; > if (t->neg) *(p++)='-'; OPENSSL_free(buf); (no value) X Then I track to BIO_snprintf function.(crypto/bio/b_print.c) > > The BN_bn2dec function > BIO_snprintf(p,BUF_REMAIN,BN_DEC_FMT2,*lp); > char *BN_bn2dec(const BIGNUM *a) So I replace BIO_snprintf with snprintf in BN_bn2dec function. > It is localhost has changed and you have requested strict checking. Priority: > # uname -a Subsystem: To: > OPENSSL_free(buf); X if (t->neg) *(p++)='-'; X More about this user: i=BN_num_bits(a)*3; > > Offending key in /.ssh/known_hosts:3 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > if ((buf == NULL) || (bn_data == NULL)) > > After investigation, I find the problem > > Could you investigate?
Hi OpenSSL Dev,
[889] | 420320| 1840|FUNC |GLOB |0| .text|BN_bn2dec To: Download (untitled) > lp--; > > } i=0; * This function has nothing to reply to get rid of this message. /* As snprintf is also possible that to what?) */ > I may find one bug 1682
> BIO_snprintf(p,BUF_REMAIN,BN_DEC_FMT1,*lp); > There Depended
|
| } |
OpenSSL-Bugs |
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! People |
Thank you! |
Subject: |
|
|
|
|
|
|
Time
|
|