URN Logo
UNIX Resources » BSD » FreeBSD » FreeBSD China » 技术交流 » 136 » Running cvsup through http proxy with http tunnelling
announcement 声明: 本页内容为FreeBSD China的内容镜像,文章的版权以及其他所有的相关权利属于FreeBSD China和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
freebsdchina.org
  中文文档计划
  Chinese Ports 讨论
  初学指南
  技术交流
  设备驱动
  WEB服务
  Proxy服务
  JAVA平台
  软件发布
  休闲话题
  静语轩
  系统编程
  脚本编程
  内核开发技术
  网络安全
  mail系统
  X-Win系统
  信息交流
  历史-文化-设计-实现
  安装-配置-优化-安全
  中文-桌面-开发-调试
   
Running cvsup through http proxy with http tunnelling
Subject: Running cvsup through http proxy with http tunnelling
Author: licher    Posted: 2005-01-28 18:08:14    Length: 1554 byte(s)
[Original] [Print] [Top]
1. download desproxy from sourceforge

desproxy (a TCP tunnel for HTTP proxies) just makes you able to tunnel all your TCP traffic through a HTTP proxy!

http://sourceforge.net/projects/desproxy/

Please download source file and build, install yourself in FreeBSD,
it is easy Smile

2. install proxychains
you can install it from ports directly
/usr/ports/net/proxychains

don't forget to rehash after the above steps

3. Start up your socks proxy.

desproxy-socksserver http_proxy_addr http_proxy_port local_socks_port

for example:
desproxy-socksserver proxy.http.com 8080 1080
suggest you use default socks port 1080
This step will make a proxy server running on your freebsd box.

4. configure your proxychains.conf file
this file is under /usr/local/etc

comments unnecessary items with #
my sample file

random_chain

chain_len=1

tcp_read_time_out 15000
tcp_connect_time_out 10000

socks5 your_socks_proxy_server_addr socks_server_port

I think this will works on most of hosts.

please read the manual to re-configure the file if any problems

5. start up cvsup by
proxychains cvsup your-supfile.

Wish this will help you, any problem, please let me know.

Enjoy coding!
[Original] [Print] [Top]
Subject: (空)
Author: likuku    Posted: 2005-01-29 20:04:08    Length: 143 byte(s)
[Original] [Print] [Top]
Good! Thank you a lot! Very Happy

Who get a test report of it for us ?
----
OS
--==LiKuKu==--
UniX&LinuX
Is Best OS
All OverTheWorlD
[Original] [Print] [Top]
Subject: Oh ! my god!
Author: freebsd_unix    Posted: 2005-01-31 10:45:55    Length: 34 byte(s)
[Original] [Print] [Top]
Oh ! my god ! You are a experter !
----
再苦、再难,也要坚强,只为那些期待眼神!
http://baidu.99blog.com
[Original] [Print] [Top]
Subject: (空)
Author: mumhero2008    Posted: 2005-02-27 02:06:45    Length: 938 byte(s)
[Original] [Print] [Top]
proxychain cvsup 后出现出错
代码:

random chain (1):....127.0.0.1:1080....can't connect to..216.234.246.150:5999


同时desproxy也出现错误
代码:

wait_for_crlf: BUFFER OVERFLOW!
Connection #0: end of connection
connect_host_to_proxy: ERROR
Connection #0: end of connection
Connection request from 127.0.0.1, port 52903


怎么回事阿
换了好几个cvsup服务器都是这样
不会是我的http代理有问题吧 这个也试了好几个阿
[Original] [Print] [Top]
Subject: 我成功了,这个这个办法果然能through http proxy
Author: freebsd_unix    Posted: 2005-03-04 16:35:37    Length: 34 byte(s)
[Original] [Print] [Top]
谢谢楼主!!果然能through http proxy
----
再苦、再难,也要坚强,只为那些期待眼神!
http://baidu.99blog.com
[Original] [Print] [Top]
Subject: (空)
Author: lhmwzy    Posted: 2005-03-04 16:54:07    Length: 27 byte(s)
[Original] [Print] [Top]
偶用proxychanis用得好好的。
[Original] [Print] [Top]
« Previous thread
请问:如何在FB下用RDP协议登录到Windows 2000 Server?
技术交流
136
Next thread »
谁有空帮我看看,我的adsl共享设置哪里有错误[已解决]
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
备案序号: 京ICP备05006143    webmaster: webmaster@unixresources.net
This page created on 2007-07-26 13:34:07, cost 0.014375925064087 ms.