線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:2009
推到 Plurk!
推到 Facebook!

about proxy server

尚未結案
KFC
一般會員


發表:43
回覆:73
積分:23
註冊:2003-03-27

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-04-19 18:57:05 IP:210.77.xxx.xxx 未訂閱
请问怎样用delphi开发proxy server?可以开发一个程序使它截取某个application的所有网络输出包并转向由代理再发出吗?
ralph
初階會員


發表:41
回覆:82
積分:29
註冊:2003-02-04

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-04-19 22:10:52 IP:66.171.xxx.xxx 未訂閱
It depends on what the port is listened. For thw web, the default port is 80. So, You can write a porgram to listen the port 80. The demo of Indy is included "Proxy" example.
KFC
一般會員


發表:43
回覆:73
積分:23
註冊:2003-03-27

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-04-19 23:48:12 IP:210.77.xxx.xxx 未訂閱
谢谢。现有一个邮件发送的程序,我想写一个proxy该它去负责发送。请问应该怎样做?我是一点经验也没有
KFC
一般會員


發表:43
回覆:73
積分:23
註冊:2003-03-27

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-04-20 12:22:56 IP:210.77.xxx.xxx 未訂閱
我看了Indy的demo,里面有个例子是用TIdMappedPortTCP实现proxy的。但它只是将其它网络地址及端口映射到127.0.0.1的某个端口上。怎样可以实现将地址映射到某个proxy server上(我不是要实现一个proxy server,我是想将任何对外的请求或外界对本地的请求通过现有的proxy server来完成)。而且我要实现的是一个SOCK SERVER.
ralph
初階會員


發表:41
回覆:82
積分:29
註冊:2003-02-04

發送簡訊給我
#5 引用回覆 回覆 發表時間:2003-04-22 01:03:46 IP:66.171.xxx.xxx 未訂閱
I am not quite sure your question. If you already have proxy server, why did you not set it up for listening the fixed port and address(127.0.0.1) and you set your web on 127.0.0.1:port IE: Tools->Internet Options->Connects(tab)->Settings->Proxy Server
ralph
初階會員


發表:41
回覆:82
積分:29
註冊:2003-02-04

發送簡訊給我
#6 引用回覆 回覆 發表時間:2003-04-22 01:09:01 IP:66.171.xxx.xxx 未訂閱
I think you want the tool like sniff You may listen some ports and get the information to see which port you are going throught. If the port of web of proxy server is 81 and the default port of the web is 80, you may do some transfer on your program. Client port 80 -> Program -> Proxy server port 81 -> Get some Data Data-> Proxy server port 81 -> Program -> Client port 80
KFC
一般會員


發表:43
回覆:73
積分:23
註冊:2003-03-27

發送簡訊給我
#7 引用回覆 回覆 發表時間:2003-04-22 01:12:53 IP:210.77.xxx.xxx 未訂閱
问题是这样的。我有一个邮件发送程序。但它本身不支持proxy。但我需要用proxy发邮件。所以我想写一个类似sockcap的程序来通过外部代理来发邮件。我看过资料这好像跟tunnel有关。
KFC
一般會員


發表:43
回覆:73
積分:23
註冊:2003-03-27

發送簡訊給我
#8 引用回覆 回覆 發表時間:2003-04-22 01:17:04 IP:210.77.xxx.xxx 未訂閱
另外,我想对於邮件而言。是否只能用sock4/5实现proxy功能?简单地说,我就是不想直接向邮件服务器发邮件,怎样才可以使我的程序简接地通向sock proxy发送邮件?谢谢
ralph
初階會員


發表:41
回覆:82
積分:29
註冊:2003-02-04

發送簡訊給我
#9 引用回覆 回覆 發表時間:2003-04-22 21:32:19 IP:66.171.xxx.xxx 未訂閱
If you just 不想直接向邮件服务器发邮件, you may try SMTPRelay. It sends the mail thru your DNS, not your SMTP server There is one example in Indy example, but you may write a your own SMTP server for DNS. You also can find out components on the web. You may buy them. These components allow you sending the mail by DNS. You do not need to write a DNS mail server.
KFC
一般會員


發表:43
回覆:73
積分:23
註冊:2003-03-27

發送簡訊給我
#10 引用回覆 回覆 發表時間:2003-04-22 21:53:42 IP:210.77.xxx.xxx 未訂閱
我想我问得太模糊了。或者我再陈述清楚一些。我现是有一个可执行的发送邮件程序(没有原码),它开放了一个DLL接口。可惜这个程无法使用代理发信。我已经写了一个DLL并希望在这个DLL上写一些代码或用某个component使这些向服务器发送的邮件可以转由一个proxy发送。但我不知如何开始。 不管怎样,还是感谢你的回复。
Ktop_Robot
站務副站長


發表:0
回覆:3511
積分:0
註冊:2007-04-17

發送簡訊給我
#11 引用回覆 回覆 發表時間:2007-04-26 13:52:45 IP:000.000.xxx.xxx 未訂閱
提問者您好:


以上回應是否已得到滿意的答覆?


若已得到滿意的答覆,請在一週內結案,否則請在一週內回覆還有什麼未盡事宜,不然,
將由版主(尚無版主之區域將由副站長或站長)自由心證,選擇較合適之解答予以結案處理,
被選上之答題者同樣會有加分獎勵同時發問者將受到扣 1 分的處分。不便之處,請見諒。


有問有答有結案,才能有良性的互動,良好的討論環境需要大家共同維護,感謝您的配合。

------
我是機器人,我不接受簡訊.
系統時間:2024-05-05 1:21:00
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!