当Synaptic遇上ISA
在我们研发部的办公室,可以上研发网和办公网。研发网无需代理,办公网则使用微软的ISA代理上网,这给Linux下的应用程序带来很多困扰。并非它们不支持代理,相反几乎都支持代理。无奈的是ISA用NTLM验证用户,除了FireFox,其它程序即使设置了账号也不能通过认证。即便是FireFox保存了账号和口令,每次启动还是需要多按一下回车。
其他的可以不上,软件不能不下。Synaptic遇上ISA,并且需要认证,那就基本报废了。微软永远不和竞争对手兼容,自由软件却想方设法和各种主流软件兼容。源中有ntlmaps,一个会NTLM认证的代理服务器。用它在本机为各个需要访问互联网的程序作代理,就能通过ISA的NTLM认证了。从源安装,根据提示简单设置。若还不能用,手动修改/etc/ntlmaps/server.cfg。只要将用户名密码和登陆的域设置了即可。
NTLM Authorization Proxy Server
'NTLM Authorization Proxy Server' (APS) is a proxy software that allows you to authenticate via an MS Proxy Server (e.g. ISA server) using the proprietary NTLM protocol. Since version 0.9.5 APS has an ability to behave as a standalone proxy server and authenticate http clients at web servers using NTLM method. It can change arbitrary values in your client's request header so that those requests will look like they were created by MS IE. It is written in Python v1.5.2 language.
Main features:
* supports NTLM authentication via parent proxy server
(Error 407 Proxy Authentication Required)
* supports NTLM authentication at web servers
(Error 401 Access Denied/Unauthorized)
* supports translation of NTLM scheme to standard "Basic"
authentication scheme
* supports the HTTPS 'CONNECT' method for transparent tunnelling
through parent proxy server
* has ability to change arbitrary values in client's request headers;
* supports unlimited number of client connections
* supports connections from external hosts
* supports HTTP 1.1 persistent connections
* stores user's credentials in config file or requests
password from a console during the start time
标签: Linux

Atom


4 条评论:
不错,很受用,以后遇到这个问题可以做参考了,我现在还在解决vpn的问题,我从source中安装过vpnc等vpn client软件,但还没有解决如何连接到cisco的vpn设备上。
我也是都试过拉,装过不少VPN Client,还是不能VPN到公司...
hi,我们公司也用isa,我很早就用ntlmaps了,不过对于https就无能为力了,使用gaim就用不了,我想请问ntlmaps中所谓的https connect是怎么回事?
我看了一下,ntlmaps的介绍中说
supports the HTTPS 'CONNECT' method for transparent tunnelling through parent proxy server
我的理解是在二级的代理中支持HTTPS的connect方法。我的Gaim设置为“使用环境的代理设置“,MSN和GoogleTalk都工作的很好。但有的人说不行,不知道是不是环境有什么差别。
发表评论
<< 主页