The process of installing and configuring the sock5 proxy in linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. Installing and configuring the sock5 agent in linux
After nearly one day of hard work, I finally established the sock5 proxy service in linux. Now I have recorded the Problems and Solutions encountered throughout the process so that I can find and learn from others later.
1. First find the socks5-v1.0r11.tar.gz from the network, there is a patch package, the package is not under, so what I do not know.
2.socks5-v1.0r11.tar.gz decompress the inverted folder and use the following command. In fact, the network resources in these steps are abundant, but here I try to be detailed and comprehensive.
Decompress the package and execute tar xvzf socks5-v1.0r11.tar.gz
Decompress and generate a socks5-v.1.0r11 directory under the directory.
3. Enter the Directory and run./configure. This step is successfully passed.
4. then run make, and encountered a problem during the compilation process. It took me a long time to compile clients/ftp. in the c file, a problem occurs in the command function, prompting that the arargs method is outdated in gcc4.1.2 and cannot be used. However, I have not found any available solutions on the Internet. Therefore, you only need to solve the problem by yourself. The specific problem is varargs. h and stdarg. h is incompatible. That is to say, the methods are different when processing uncertain number of parameters. Currently, gcc uses the stdarg method and does not use the ararg method. The difference between the two is that the va_start () function has different numbers of parameters and different formats. Below I will also list the modified Code and the original code:
Original code: