我在 Elastic-beanstalk 容器中运行 Python 的 EC2 机器上遇到了问题。为了调试问题,我需要给它附加一个调试器并用python符号调试python。
当我将 GDB 附加到进程时,出现此错误:
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
Attaching to program: /usr/bin/python, process 31238
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols
from /usr/lib/debug/lib64/ld-2.12.so.debug...done. done. Loaded
symbols for /lib64/ld-linux-x86-64.so.2 0x00007ffec3759a63 in ?? ()
Missing separate debuginfos, use: debuginfo-install
python-2.6-2.23.amzn1.noarch
Run Code Online (Sandbox Code Playgroud)
但是,当我运行 debug-info install python-2.6-2.23.amzn1.noarch 时,它确实
[root@1.2.3.4]# debuginfo-install python-2.6-2.23.amzn1.noarch
Loaded plugins: auto-update-debuginfo, fastestmirror, priorities, update-motd
enabling amzn-main-debuginfo
enabling amzn-updates-debuginfo
Loading mirror speeds from cached hostfile
* amzn-main: packages.us-east-1.amazonaws.com
* amzn-main-debuginfo: packages.us-east-1.amazonaws.com
* amzn-updates: packages.us-east-1.amazonaws.com
* amzn-updates-debuginfo: …
Run Code Online (Sandbox Code Playgroud) 我正在尝试获取可以为客户端和 ALB 之间的请求解密的 wireshark 跟踪。为了解密交易,我需要强制客户端/服务器禁用 PFC(完美前向保密)。我可以访问服务器私钥。
当我这样做时:
openssl s_client -connect server:443 -debug -msg -state -cipher AES128-SHA
Run Code Online (Sandbox Code Playgroud)
有用。
但是,当我这样做时:
openssl s_client -connect keystone-ext.develop.zillow.net:443 -debug -msg -state -cipher AES128-SHA -ssl3
Run Code Online (Sandbox Code Playgroud)
它失败。输出如下:
SSL3 alert read:fatal:handshake failure SSL_connect:failed in SSLv3
read server hello A 31996:error:14094410:SSL
routines:SSL3_READ_BYTES:sslv3 alert handshake
failure:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-64.50.7/src/ssl/s3_pkt.c:1145:SSL
alert number 40 31996:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl
handshake
failure:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-64.50.7/src/ssl/s3_pkt.c:566:
Run Code Online (Sandbox Code Playgroud)
我在用:
$ openssl version OpenSSL 0.9.8zh 14 Jan 2016
Run Code Online (Sandbox Code Playgroud)
知道我做错了什么吗?