- 追加された行はこの色です。
- 削除された行はこの色です。
- proxy へ行く。
#author("2019-07-09T22:06:02+09:00","","")
#author("2019-07-09T22:09:28+09:00","","")
#nofollow
#norelated
総数:&counter(total); 今日:&counter(today); 昨日:&counter(yesterday);&br;
[[Memorandums]]
* もくじ [#ie7b9eef]
#contents
[[SOCKSプロキシとHTTPプロキシの違い>https://dev.classmethod.jp/server-side/socks-proxy-and-http-proxy/]] &br;
[[SOCKS4プロトコル>http://hp.vector.co.jp/authors/VA017085/text/socks4.html]] &br;
[[SOCKS Protocol Version 5 ja>http://srgia.com/docs/rfc1928j.html]] &br;
[[SOCKS Protocol Version 5>https://www.ietf.org/rfc/rfc1928.txt]] &br;
[[サポートされている cURL オプション>https://fmhelp.filemaker.com/help/16/fmp/ja/index.html#page/FMP_Help/curl-options.html]] &br;
git clone https://github.com/curl/curl.git
--socks5-hostname <ホスト[:ポート]>
--proxy-user <ユーザ:パスワード>
*apt [#mf7710e1]
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 [#ee389bb7]
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
*python [#gab2b3dd]
pip install google_oauth2_tool
pip3 install google_oauth2_tool
pip install --upgrade google-api-python-client
pip3 install google-oauth
pip3 install urllib3
python --version
python3 --version
sudo apt update
sudo apt upgrade
cat /etc/os-release
python3 --version
sudo apt install python3
sudo apt install python
python --version
pip
sudo apt upgrade
sudo apt install python-pip
sudo apt install python3-pip
pip --version
pip3 --version
pip3 freeze
pip3 install -U requests[socks]
pip3 freeze
pip3 install PySocks
find .local/ | grep -i --color -e "python"
ls -la .local/lib/python3.6/site-packages/
find .local/lib/python3.6/site-packages/ -type f
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks5"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks5h"
find .local/lib/python3.6/site-packages/ -type f | grep -i --color -e "METADATA"
openssl help
openssl version
pip3 freeze| grep -i --color -e "urllib3"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks5h"
gvim -f .local/lib/python3.6/site-packages/urllib3/contrib/socks.py &
pip3 show urllib3
pip3 show --vorbose urllib3
pip3 freeze
pip3 show --verbose PySocks
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "ssl"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "openssl"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "PROXY_TYPE_SOCKS5"
https://2.python-requests.org/en/master/user/advanced/
https://stackoverflow.com/questions/31777692/python3-requests-with-sock5-proxy?rq=1