総数:21 今日:1 昨日:0
Memorandums

もくじ

SOCKSプロキシとHTTPプロキシの違い
SOCKS4プロトコル
SOCKS Protocol Version 5 ja
SOCKS Protocol Version 5
サポートされている cURL オプション

git clone https://github.com/curl/curl.git
--socks5-hostname <ホスト[:ポート]>
--proxy-user <ユーザ:パスワード>

apt

sudo apt-config dump
/etc/apt/apt.conf
git clone https://github.com/Debian/apt.git
Acquire::socks5::proxy "socks://127.0.0.1:1080/";
Acquire::socks5h::proxy "socks://127.0.0.1:1080/";
          Acquire::https {
               Proxy::example.org "DIRECT";
               Proxy "socks5h://apt:pass@localhost:9050";
               Proxy-Auto-Detect "/usr/local/bin/apt-https-proxy-auto-detect";
               No-Cache "true";
               Max-Age "3600";
               No-Store "true";
               Timeout "10";
               Dl-Limit "42";
               Pipeline-Depth "0";
               AllowRedirect "false";
               User-Agent "My APT-HTTPS";
               SendAccept "false";
               CAInfo "/path/to/ca/certs.pem";
               CRLFile "/path/to/all/crl.pem";
               Verify-Peer "true";
               Verify-Host::broken.example.org "false";
               SSLCert::example.org "/path/to/client/cert.pem";
               SSLKey::example.org "/path/to/client/key.pem"
          };

wget

git clone https://github.com/mirror/wget
./contrib/tsocked-wget:3:# Script that executes wget using a socks proxy if the environment variable
./contrib/tsocked-wget:4:# socks_proxy is set.
./contrib/tsocked-wget:6:# The socks_proxy variable shall have one of the forms:
./contrib/tsocked-wget:7:#   socks://username:password@host:port
./contrib/tsocked-wget:8:#   socks4://username:password@host:port
./contrib/tsocked-wget:9:#   socks5://username:password@host:port

トップ   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS