Linux clients setting to use ISA

There are to waye to use ISA proxy in linux Cntlm and ntlmaps that Cntlm is faster than ntlmaps
Debian-user#Linux clients setting to use ISA apt-get install ntlmaps

ntlmaps

file1 :/etc/ntlmaps/server.cfg

file2: /etc/apt/apt.conf




==============================================
file1:/etc/ntlmaps/server.cfg

[GENERAL]
LISTEN_PORT: 5865
PARENT_PROXY: 172.20.21.10
PARENT_PROXY_PORT: 8080
PARENT_PROXY_TIMEOUT:15
ALLOW_EXTERNAL_CLIENTS:0
FRIENDLY_IPS:
URL_LOG:0
MAX_CONNECTION_BACKLOG:5
[CLIENT_HEADER]
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.m$User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

[NTLM_AUTH]
NT_HOSTNAME:
NT_DOMAIN: golco.net
USER: mbahmani
PASSWORD: mypass
LM_PART:1
NT_PART:0
NTLM_FLAGS: 06820000
NTLM_TO_BASIC:0
[DEBUG]
DEBUG:0
BIN_DEBUG:0
SCR_DEBUG:0
AUTH_DEBUG:0
============================================
file2: /etc/apt/apt.conf
Acquire::http::Proxy "http://127.0.0.1:5865";
============================================
Debian-user#export http_proxy=127.0.0.1:5865


cntlm

bahmani@it-27:~$apt-get install cntlm
bahmani@it-27:~$ sudo cat /etc/cntlm.conf |grep -v "^$" | grep -v "^#"
[sudo] password for bahmani:
Username bahmani
Domain golco.net
Password mehdi # Use hashes instead (-H)
Proxy 172.20.21.10:8080
Listen 3128
Allow 127.0.0.1
Allow 172.20.23.32

tips for bash

bahmani@it-27:~$ cat .bashrc |grep proxy
export http_proxy=http://127.0.0.1:3128
export ftp_proxy=http://127.0.0.1:3128
export gopher_proxy=http://127.0.0.1:3128
export wais_proxy=http://127.0.0.1:3128