On Thu, Apr 10, 2014 at 10:57:35AM +0200, Matthias Apitz wrote:

> I have instrumented an openssl 1.0.1f as posted by Victor:
> 
> guru@hein:~/openssl-1.0.1f> diff ssl/t1_lib.c.unpatched
> ssl/t1_lib.c
> 2671c2671
> <       s2n(payload, p);
> ---
> >       s2n(0x4000, p);
> 
> but I still see HEARTBEATING, for example even from www.openssl.org:
> 
> guru@hein:~/openssl-1.0.1f/apps> (sleep 3 ; echo B ; sleep 3) | ./openssl 
> s_client -connect www.openssl.org:443
> ...
> HEARTBEATING
> DONE
> 
> Do I something wrong? 

That logs the request, you also need to see the reply...  With servers that
reply to the hearbeat you should see:

    ...
    HEARTBEATING
    read R BLOCK
    DONE

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to