Install and configure the sock5 agent in linux

Source: Internet
Author: User
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:
QUOTE:

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.