通过telnet代理 [英] proxy through telnet

查看:395
本文介绍了通过telnet代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以通过套接字使用某种代理?

任何想法/建议

CUmpz,


其他信息已从解决方案移至此处
在telnet中,您连接到主机,难道不能仅将代理用作主机吗?当然,要提供一个smtp服务器.

当您连接到telnet时,您可以指定一个主机服务器.即,对于企业内通信,它可能是本地主机.相反,请连接到smtp.proxy.com并照常继续操作.

I was wondering if it were possible to use some kind of proxy through sockets?

Any ideas/suggestions

CUmpz,


additional information moved here from solution
in telnet you connect to a host, can''t you just use the proxy as a host? Providing it has an smtp server, of course.

When you connect to telnet you can specify a host server. Ie for in-business communications it might be localhost. Instead, connect to smtp.proxy.com and continue as normal.

推荐答案

如果您询问是否可以代理Telnet或SMTP协议?",那么是的,他们可能是.但是,大多数现成的代理都已调整为一组特定的协议(例如,用于Web代理的HTTP),并且需要大量的自定义才能使它们工作[1].

如果您询问我可以使用Telnet连接到代理服务器吗?"然后答案是肯定的. Telnet只是一个命令行应用程序,用于将文本字符串发送到默认情况下默认为端口23的套接字.大多数HTTP代理都潜伏在端口8080上,因此您可以插入该端口并向其发出HTTP请求,就好像它们是Web终结点一样. br/>
如果您想知道其他内容,请稍作修改,然后我将相应地修改或删除答案.

干杯,



[1]实际上,由于Telnet和SMTP都是非常古老且简单的协议,因此可能不那么多.您可以通过它们的端口号来判断.
If you''re asking "can the Telnet or SMTP protocols be proxied?", then yes they could be. However most off the shelf proxies are tuned to a particular set of protocols (e.g. HTTP for a web proxy) and would need a fair amount of customisation to make them work [1].

If you''re asking "can I use Telnet to connect to a proxy server?" then again the answer''s yes. Telnet is just a command line app for sending text strings to sockets that just happens to default to port 23. Most HTTP proxies lurk on port 8080 so you can plug into that and give them HTTP requests as if they''re web endpoints.

If it''s something else you want to know then amend your question a bit and I''ll either modify or delete my answer accordingly.

Cheers,

Ash

[1] Actually probably not that much as both Telnet and SMTP are pretty old and simple protocols. You can tell that by how low their port numbers are.


这篇关于通过telnet代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆