Topic: HTTP代理服务器?

  Print this page

1.HTTP代理服务器? Copy to clipboard
Posted by: dwju
Posted on: 2003-10-20 10:44

监控80端口,接受访问者发送的HTTP请求,如果为合法访问,则将这个HTTP请求转到1080端口(WEB服务器使用),并返回给访问者……
谁能给点思路?
多谢!

2.Re:HTTP代理服务器? [Re: dwju] Copy to clipboard
Posted by: lyon
Posted on: 2003-10-21 08:54

iptables nat!

3.Re:HTTP代理服务器? [Re: dwju] Copy to clipboard
Posted by: microwin
Posted on: 2003-10-27 14:30

实际上就是Socket编程。创建一个SocketServer 守候80端口。判断接受到的是否为HTTP的请求(Post或get 格式,看一下Http协议的规范 ) 当为Post或是get时用管道写到1080就可以了


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923