首页 | 互联网 | IT动态 | IT培训 | Cisco | Windows | Linux | Java | .Net | Oracle | 软件测试 | C/C++ | 嵌入式开发 | 存储世界 | 服务器
网络设备 | IDC | 安全 | 求职招聘 | 数字网校 | 网页设计 | 平面设计 | 技术专题 | 电子书下载 | 教学视频 | 源码下载 | 搜索 | 博客 | 论坛
中国IT实验室Linux频道
Google
首页 入门 Linux编程 系统管理 网络管理 Linux认证 Unix/BSD Linux数据库 Linux集群 Linux手册 Linux下载 Ubuntu 论坛 专题 RSS
您现在的位置: 中国IT实验室 >> Linux >> 网络管理 >> Linux服务器 >> 正文

Linux下成功安装和配置Sock5代理过程

 5.当编译完全通过以后,运行make install .
 
  此时可以说工作已经完成了一半,接下来就是要建立以个配置文件sock5.conf,关于这个配置文件倒是比较简单,网络上别的资源也很多,在此就不累述。
 
  6.本以为已经没有什么问题了,却发现运行程序时又出现问题了。刚开始我是使用socks5 -f -s 能运行,但是在另外一台机子上用qq程序进行登录测试,显示代理服务器正常,但是无法传输数据,显示如下:
 
  

socks5 -f -s
02650: Socks5 starting at Wed Jan 16 17:03:49 2008 in normal mode
02650: Bind failed for 0.0.0.0:1080: Address already in use
02650: Accept: Failed to make listening socket
[root@Linux_lxk ~]# socks5 -f -s
02651: Socks5 starting at Wed Jan 16 17:03:52 2008 in normal mode
02651: Bind failed for 0.0.0.0:1080: Address already in use
02651: Accept: Failed to make listening socket
[root@Linux_lxk ~]# socks5 -f -s
02652: Socks5 starting at Wed Jan 16 17:04:12 2008 in normal mode
02652: Bind failed for 0.0.0.0:1080: Address already in use
02652: Accept: Failed to make listening socket
[root@Linux_lxk ~]# stopsocks -kill
[root@Linux_lxk ~]# socks5 -f -s
02657: Socks5 starting at Wed Jan 16 17:04:29 2008 in normal mode
02658: UDP Proxy Request: (192.168.151.17:1502) for user 
02658: UDP Proxy Established: (192.168.151.17:1500) for user 
02658: UDP Proxy Termination: (192.168.151.17:1500) for user ; 0 bytes out 0 bytes in
02666: UDP Proxy Request: (192.168.151.17:1529) for user 
02666: UDP Proxy Established: (192.168.151.17:1526) for user 
02668: TCP Connection Request: Connect (192.168.151.17:1536 to 219.133.49.10:80) for user 
02668: TCP Connection Terminated: Abnormal (192.168.151.17:1536 to 219.133.49.10:80) for user : 
0 bytes out, 0 bytes in
02670: TCP Connection Request: Connect (192.168.151.17:1540 to 219.133.38.31:80) for user 
02670: TCP Connection Terminated: Abnormal (192.168.151.17:1540 to 219.133.38.31:80) for user : 
0 bytes out, 0 bytes in
02669: TCP Connection Request: Connect (192.168.151.17:1539 to 58.60.14.180:80) for user 
02669: TCP Connection Terminated: Abnormal (192.168.151.17:1539 to 58.60.14.180:80) for user : 
0 bytes out, 0 bytes in
02671: TCP Connection Request: Connect (192.168.151.17:1541 to 219.133.60.149:80) for user 
02671: TCP Connection Terminated: Abnormal (192.168.151.17:1541 to 219.133.60.149:80) for user : 
0 bytes out, 0 bytes in
02672: TCP Connection Request: Connect (192.168.151.17:1542 to 121.14.74.247:80) for user 
02672: TCP Connection Terminated: Abnormal (192.168.151.17:1542 to 121.14.74.247:80) for user : 
0 bytes out, 0 bytes in
02673: TCP Connection Request: Connect (192.168.151.17:1543 to 58.60.15.34:80) for user 
02673: TCP Connection Terminated: Abnormal (192.168.151.17:1543 to 58.60.15.34:80) for user : 
0 bytes out, 0 bytes in
02674: TCP Connection Request: Connect (192.168.151.17:1544 to 58.251.62.17:80) for user 
02674: TCP Connection Terminated: Abnormal (192.168.151.17:1544 to 58.251.62.17:80) for user :
 0 bytes out, 0 bytes in
02675: TCP Connection Request: Connect (192.168.151.17:1545 to 219.133.48.108:80) for user 
02675: TCP Connection Terminated: Abnormal (192.168.151.17:1545 to 219.133.48.108:80) for user : 
0 bytes out, 0 bytes in
02676: UDP Proxy Request: (192.168.151.17:1548) for user 
02676: UDP Proxy Established: (192.168.151.17:1546) for user 
02678: TCP Connection Request: Connect (192.168.151.17:1550 to 222.213.0.136:8000) for user 
02678: TCP Connection Terminated: Abnormal (192.168.151.17:1550 to 222.213.0.136:8000) for user : 
0 bytes out, 0 bytes in

 
  进行了好几次重复都不行,具体问题在哪里还没找到。后来看到网上有人提议说利用这个命令可以试一下:socks5 -p -f,测试成功。
 

上一页  [1] [2] 

【责编:Zenghui】
中国IT教育
相关产品和培训
文章评论
 友情推荐链接
 专题推荐

 ·防范Linux病毒 打造没有病毒的乐土…
 ·Linux Shell编程实用指南…
 ·Linux日志分析与管理
 ·揭密Linux内存管理
 ·邮件服务Sendmail应用配置
 ·Linux 安全管理…
 ·Linux 下DNS服务器架设攻略…
 ·Linux 下的路由的配置与应用…
 ·专题:Apache实用手册
 ·全面剖析Linux文件系统
 今日更新
 认证培训
 频道精选
 Windows频道导航