is installed by default.
Libevent:/usr/local/lib/libevent. La/usr/local/lib/libevent. So/usr/local/lib/libevent.
Oh ~ In the/usr/local/lib/directory
Ld_debug = libs./linvo_httpd-VLet's see where the demo program found the file.
32372: Find library = libevent-1.4.so.2 [0]; Searching
32372: search cache =/etc/lD. So. Cache
32372: Search Path =/lib/tls/i686/sse2:/lib/tls/i686:/lib/
Libraries:libevent-1.4.so.2:cannot open Shared object file:no such file or DIRECTORYThe reason is that the Libevent-1.4.so.2 class library is not found and the workaround is as follows:Use Ld_debug=help./memcached-v to determine which class library path to load by using the following method:Ld_debug=libs./memcached-v 2>1 >/dev/null | LessThe system will display: Linux:/local/memcached/bin # ld_debug=libs./memcached-v 2>1 >/dev/null | Less 20421:find library=libevent-1.4.so.2; Searching 20421:s
the site and the performance of the server consumption. Let's look at some of the problems that HTTPS faces.
HTTPS multiple handshake, will reduce the user access speed to some extent
After the site has switched to HTTPS, the way HTTP jumps to HTTPS increases user access time (most sites use 301, 302 jumps)
HTTPS involves a security algorithm that consumes CPU resources and requires a large number of machines to be added (HTTPS access processes need to be decrypted)
SSL cer
Bloggers before the article is to teach you how to quickly build a fabric environment, but a lot of work has been hidden in the official script, it is not convenient for us to understand the process in depth, so bloggers here will be the process of one step by step decomposition, to facilitate everyone.
In front of the preparation I don't have to say, that is, the installation of various software and development environment, after installation, we git clone down the latest code, and switch to v1
libraries and executables, respectively. They enable the intermediate code generated during the compilation phase to have the attribute of address-independent code. However, this does not mean that the last generated executable file is pie. You also need to tell the linker to generate an executable program of address-independent code at link time through the-pie option.A standard PIE program compiles the following settings:-o sample_pie sample.-fPIE-pieThe corresponding relationship between usi
Basic knowledge Preparation: Before you understand the fundamentals of HTTPS, you need to understand the basics below.First, what is Https,tls,sslHTTPS, also known as HTTP over TLS. The predecessor of TLS is SSL,TLS 1.0, which is typically marked as SSL 3.1,TLS 1.1 for SSL 3
)) (default = 5);--app-log-level=n set log maximum level is stdout display (default = 4) --color use a variety of logs (default on Win32);--no-color disables colorful logs;--LIGHT-BG uses the color of black text on white (default is dark background); SIP account options:--use-ims Open the 3gpp/ims settings associated with this account,--use-srtp=n use SRTP? 0: Not used, 1: optional, 2: Forced use (default: 0);--srtp-secure=n SRTP need secure sip? 0: Not required, 1:
using mismatched cipher "src=" http://www.evtrust.com/faq/images /cipher_suite_1.png "/>1. BrowserWhat cipher does the browser support? This depends on the version of the SSL/TLS protocol supported by the browser. In practice, we usually put HTTPS and SSL protocol together; In fact, the SSL protocol was the Netcape company's agreement in the middle of the 90 's, which developed itself to version 3.0. 1999 the agreement was taken over by Itel, which w
browser support? This depends on the version of the SSL/TLS protocol supported by the browser. In practice, we usually put HTTPS and SSL protocol together; In fact, the SSL protocol was the Netcape company's agreement in the middle of the 90 's, which developed itself to version 3.0. 1999 the agreement was taken over by Itel, which was standardized and renamed TLS. It can be said that
you need to press CTRL + C to fall back to the GDB command line mode, and Nginx is interrupted in the __kernel_vsyscall call, the input BT command can view the call stack information:(GDB) RStarting program:/usr/local/nginx/sbin/nginxSRC/CORE/NGX_CONF_FILE.C 1163:1 million===============================Ngx_timer_resolution 1000000^cProgram received signal SIGINT, Interrupt.0xb7f29430 in __kernel_vsyscall ()(GDB) bt#0 0xb7f29430 in __kernel_vsyscall ()#1 0xb7e081a8 in epoll_wait () from/lib/
value is 11211. Therefore, you can leave this parameter unspecified;-U indicates the user;
If you encounter problems when running memcached, the error prompt is as follows:
/Usr/local/servers/memcached/bin/memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory
Run LD_DUBUG = libs to know the library loading path when memcached is started. The details are as follows:
# LD_DEBUG = libs/usr/local/servers/memcached/bin/memcached
Recently with the Green League scanning system for the entire network system scanning, several devices were swept out of the SSL-related vulnerabilities, here to make a short note.This involves a vulnerability1. Vulnerability Name: SSL 3.0 poodle Attack Information Disclosure Vulnerability (cve-2014-3566) "Principle Scan"2.ssl/tls Commandment (Bar-mitzvah) attack Vulnerability (cve-2015-2808) "Principle Scan"Key points of knowledge popularization 1:ss
;If you encounter a problem running memcached, the error message is as follows:/usr/local/servers/memcached/bin/memcached:error while loading shared libraries:libevent-1.4.so.2:cannot open shared Object File:no such file or directoryRun ld_dubug=libs to know the load path of the library when the memcached starts. Specific as follows:# ld_debug=libs/usr/local/servers/memcached/bin/memcached-v10929:find library=libevent-1.4.so.2 [0]; Searching10929:search Cache=/etc/ld.so.cache10929:search path=/l
/local/servers/memcached/bin/memcached:error while loading shared libraries:libevent-1.4.so.2:cannot open shared Object File:no such file or directoryRun ld_dubug=libs to know the load path of the library when the memcached starts. Specific as follows:# ld_debug=libs/usr/local/servers/memcached/bin/memcached-v10929:find library=libevent-1.4.so.2 [0]; Searching10929:search Cache=/etc/ld.so.cache10929:search path=/lib/tls/i686/sse2:/lib/
represent the offset in this. text section and need to be patched by linker. You can use readelf-R to view the relocations:
$ Readelf-r main. o
Relocation section '. Rel. text' at offset 0x388 contains 5 entries:
Offset info type sym. Value sym. Name
00000012 00000902 r_1__pc32 00000000 foo
2017001a 00000a02 r_0000_pc32 00000000 printf
0000001f 00000b02 r_0000_pc32 00000000 bar
2017002a 00000501 r_0000_32 00000000. rodata
0000002f 00000a02 r_0000_pc32 00000000 printf
These function
Windows 2 k DLL Loading ProcessJefong by 2005/03/30This article is my summary after reading MSJ September 1999 under the hood.In Windows, the EXE executable program calls some DLL, such as kernel32.dll and user32.dll. But how is the DLL loaded? Generally, we all know that there will be a dllmain entry function when writing a DLL, but in fact this function is not the first job to call the DLL. First, the DLL needs to be loaded, and then initialize and allocate the DLL before entering the dllmain.
1 SPDY protocol 1.1 Overview
SPDY is the abbreviation of speedy, which is the pronunciation of speedy.
The SPDY protocol has published four drafts: Version 1, version 2, version 3, and Version 3.1. Version 4 is currently in the trial phase, but has not yet been released. There are some code for version 4 in Chromium.
Advantages of SPDY over HTTP:
Disadvantages:
Due to these disadvantages, SPDY is less effective on small websites (with a small number of resource files) and may be slower than mult
UE Feb 17:31:10 60.166.98.77:5799 push:received Control message: ' Push_request '
Tue Feb 17:31:10 60.166.98.77:5799 delayed exit in 5 seconds
Tue Feb 17:31:10 60.166.98.77:5799 SENT control [UNDEF]: ' auth_failed ' (Status=1)
Tue Feb 17:31:10 60.166.98.77:5799 TLS error:local/remote TLS keys are out of sync:60.166.98.77:5799 [0]
Tue Feb 17:31:11 60.166.98.77:5799 T
the "export table" List of the DLL version. The shell sets the values of the "number of functions" and "Number of function names" to 0 x e .). So we will reduce it by 1 and it will be OK. The Modified PE program can run normally without any impact.
This is just my summary. It is feasible to attach and replace DBGHELP. DLL, use the StrongOD plug-in, and modify the number of exported table function names, which can solve some problems. Of course, these methods may not be comprehensive.
Explanatio
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.