• ## Socks

2016-10-16 21:30:00
Socks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Arseniy is already grown-up and independent. His mother decid.....

Socks

time limit per test
2 seconds

memory limit per test
256 megabytes

input
standard input

output
standard output

Arseniy is already grown-up and independent. His mother decided to leave him alone for m days and left on a vacation. She have prepared a lot of food, left some money and washed all Arseniy's clothes.
Ten minutes before her leave she realized that it would be also useful to prepare instruction of which particular clothes to wear on each of the days she will be absent. Arseniy's family is a bit weird so all the clothes is enumerated. For example, each of Arseniy's n socks is assigned a unique integer from 1 to n. Thus, the only thing his mother had to do was to write down two integers li and ri for each of the days — the indices of socks to wear on the day i (obviously, li stands for the left foot and ri for the right). Each sock is painted in one ofk colors.
When mother already left Arseniy noticed that according to instruction he would wear the socks of different colors on some days. Of course, that is a terrible mistake cause by a rush. Arseniy is a smart boy, and, by some magical coincidence, he posses k jars with the paint — one for each of k colors.
Arseniy wants to repaint some of the socks in such a way, that for each of m days he can follow the mother's instructions and wear the socks of the same color. As he is going to be very busy these days he will have no time to change the colors of any socks so he has to finalize the colors now.
The new computer game Bota-3 was just realised and Arseniy can't wait to play it. What is the minimum number of socks that need their color to be changed in order to make it possible to follow mother's instructions and wear the socks of the same color during each of mdays.

Input
The first line of input contains three integers n, m and k (2 ≤ n ≤ 200 000, 0 ≤ m ≤ 200 000, 1 ≤ k ≤ 200 000) — the number of socks, the number of days and the number of available colors respectively.
The second line contain n integers c1, c2, ..., cn (1 ≤ ci ≤ k) — current colors of Arseniy's socks.
Each of the following m lines contains two integers li and ri (1 ≤ li, ri ≤ n, li ≠ ri) — indices of socks which Arseniy should wear during the i-th day.

Output
Print one integer — the minimum number of socks that should have their colors changed in order to be able to obey the instructions and not make people laugh from watching the socks of different colors.

Examples

input
3 2 31 2 31 22 3

output
2

input
3 2 21 1 21 22 1

output
0

Note
In the first sample, Arseniy can repaint the first and the third socks to the second color.
In the second sample, there is no need to change any colors.
分析：每个联通块取出现颜色最多的，总个数减下即可；
清空时可以map或set，慎用memset；
代码：

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <climits>
#include <cstring>
#include <string>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <vector>
#include <list>
#define rep(i,m,n) for(i=m;i<=n;i++)
#define rsp(it,s) for(set<int>::iterator it=s.begin();it!=s.end();it++)
#define mod 1000000007
#define inf 0x3f3f3f3f
#define llinf 0x3f3f3f3f3f3f3f3fLL
#define vi vector<int>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define ll long long
#define pi acos(-1.0)
#define pii pair<ll,int>
#define Lson L, mid, ls[rt]
#define Rson mid+1, R, rs[rt]
#define sys system("pause")
const int maxn=2e5+10;
using namespace std;
ll gcd(ll p,ll q){return q==0?p:gcd(q,p%q);}
ll qpow(ll p,ll q){ll f=1;while(q){if(q&1)f=f*p;p=p*p;q>>=1;}return f;}
{
ll x=0;int f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
return x*f;
}
int n,m,k,t,vis[maxn],cnt[maxn],all,ma,c[maxn];
ll ans;
vi e[maxn];
set<int>q;
void dfs(int now)
{
all++;
vis[now]=1;
if(ma<++cnt[c[now]])ma=cnt[c[now]];
q.insert(c[now]);
for(int x:e[now])
{
if(!vis[x])
{
dfs(x);
}
}
}
int main()
{
int i,j;
scanf("%d%d%d",&n,&m,&k);
while(m--)
{
e[j].pb(k),e[k].pb(j);
}
rep(i,1,n)
{
if(!vis[i])
{
q.clear();
all=ma=0;
dfs(i);
ans+=all-ma;
for(int x:q)cnt[x]=0;
}
}
printf("%lld\n",ans);
//system("Pause");
return 0;
}

转载于:https://www.cnblogs.com/dyzll/p/5967806.html
展开全文
• ## SOCKs

2013-12-31 19:15:26
借助SocksCap软件，可以很方便的进行内网的渗透，但是使用SocksCap软件的关键就是在肉鸡上搭建Socks服务器，如果未能在内网入口处搭建Socks代理服务器，仅仅凭借通过一些Socks代理搜索软件搜索的Socks代理服务器的...


时间:2009-09-16 14:17 来源:bitsCN.com 字体:[大 中 小]

(1)了解端口映射方面的知识

(2)使用SocksCap进行端口映射

端口映射功能是将一台主机的“假”IP地址(内网IP地址)映射成一个“真”IP地址(外网独立IP地址)，当用户访问提供映射的主机的某个端口时，服务器将请求转到局域网某台提供这种特定服务的主机上。利用端口映射功能还可以将一台“真”IP地址计算机的多个端口映射成内部不同计算机上的不同端口。端口映射功能还可以完成一些特定代理功能，比如代理Ftp、Pop、Smtp、Telnet等协议，一台主机理论上可以提供六万多个端口进行映射。

端口映射分为动态和静态端口映射，静态端口映射就是在NAT网关上开放一个固定的端口，然后设定此端口收到的数据要转发给内网某个IP地址和端口，不管有没有连接这个映射关系都会一直存在，因此可以让公网主机主动访问内网的一个电脑，NAT网关可以是交换机、路由器或其他拥有独立IP地址的电脑。

动态端口映射就是当内网中的一台电脑要访问新浪网，会向NAT网关发送数据包，包头中包括对方(就是新浪网)IP、端口和本机IP、端口，NAT网关会把本机IP、端口替换成自己的公网IP、一个未使用的端口，并且会记下这个映射关系，为以后转发数据包使用。然后再把数据发给新浪网，新浪网收到数据后做出反应，发送数据到NAT网关的那个未使用的端口，然后NAT网关将数据转发给内网中的那台电脑，实现内网和公网的通讯.当连接关闭时，NAT网关会释放分配给这条连接的端口，以便以后的连接可以继续使用，动态端口映射其实就是NAT网关的工作方式。

目前很多木马以及专业软件都具有Socks代理功能，在肉鸡上(具有外网独立IP的计算机)安装木马或者这些软件后，肉鸡便具有代理功能，使用SocksCap等代理软件可以很方便的突破内网，从该肉鸡去访问内网中的计算机。

1安装并运行SocksCap软件

本案例中使用的是sc32r238汉化版本，早期版本已经过期不能使用。安装SocksCap完毕后会给出一个“许可”协议，在该窗口中单击“接受”按钮接受该许可。

说明

(1)安装SocksCap软件开始时等待时间会稍长，开始时软件要进行文件的自解压，因此等待时间稍长。

(2)安装sc32r238原版本后，需要运行其相应的汉化应用程序，否则会提示程序已经过期，程序会自动关闭。

2设置SocksCap软件

运行SocksCap软件后，单击“文件”-“设置”，打开SocksCap设置窗口，接着在SOCKS服务器中输入IP地址和端口，然后选中“SOCKS版本5”后，再在域名解析中选择“先尝试由本地端再由远端解析”，如图1所示，最后单击“确定”或者“应用”按钮完成设置。

图1设置SocksCap软件

3建立应用程序标识项

在SocksCap软件主窗口中单击“新建”图标，打开“新建应用程序标识项”窗口，然后在“新建应用程序标识项”窗口的“标识项名称”中输入一个标识名称，例如本例中的“3389”，然后选择一个应用程序，如图2所示，最后单击“确定”完成应用程序标识项设置。

图2 建立应用程序标识项

说明

(1)建立应用程序标识项的目的就是运行SocksCap软件后可以快速打开应用程序，新建“应用程序标识项”完毕后会将所建立的“命令行”程序的图标自动提取到SocksCap的主窗口中，如图3所示。

图3 自动整理应用程序标识项

(2)在应用程序标识项中的“命令行”(应用程序)都是通过SocksCap软件来进行代理，即“命令行”(应用程序)可以使用Socks代理。

4运行“命令行”代理。

单击上面建立的“3389”应用程序标识项，打开远程终端连接界面，输入登陆IP地址“192.168.80.129”后单击“连接”按钮，进行3389登陆，出现3389登陆窗口后输入用户名和密码后，进入远程终端桌面，如图4所示，在该远程终端桌面中打开命令提示符后，输入“netstat –an”命令后可以看到该计算机的3389远程终端连接是该IP本身，至此已经顺利进入内网某一台获取口令的计算机的远程终端桌面。

图4使用SocksCap代理登陆远程终端

技巧

(1)在SocksCap软件主界面中双击新建立的“应用程序标识项”图标可以快速打开应用程序。

(2)在使用SocksCap代理时，如果未能连接成功则可以在Socks设置中选择不同的域名解析方式进行尝试。

小结

借助SocksCap软件，可以很方便的进行内网的渗透，但是使用SocksCap软件的关键就是在肉鸡上搭建Socks服务器，如果未能在内网入口处搭建Socks代理服务器，仅仅凭借通过一些Socks代理搜索软件搜索的Socks代理服务器的IP地址和端口是很难进入内网的，不过好在目前很多木马程序都提供了这种socks代理服务器功能，仅需在木马初始配置时设置socks代理的端口和密码，在肉鸡运行木马程序后，该肉鸡就成为socks代理服务器。

时间:2009-09-16 14:17 来源:bitsCN.com 字体:[大 中 小]

(1)了解端口映射方面的知识

(2)使用SocksCap进行端口映射

端口映射功能是将一台主机的“假”IP地址(内网IP地址)映射成一个“真”IP地址(外网独立IP地址)，当用户访问提供映射的主机的某个端口时，服务器将请求转到局域网某台提供这种特定服务的主机上。利用端口映射功能还可以将一台“真”IP地址计算机的多个端口映射成内部不同计算机上的不同端口。端口映射功能还可以完成一些特定代理功能，比如代理Ftp、Pop、Smtp、Telnet等协议，一台主机理论上可以提供六万多个端口进行映射。

端口映射分为动态和静态端口映射，静态端口映射就是在NAT网关上开放一个固定的端口，然后设定此端口收到的数据要转发给内网某个IP地址和端口，不管有没有连接这个映射关系都会一直存在，因此可以让公网主机主动访问内网的一个电脑，NAT网关可以是交换机、路由器或其他拥有独立IP地址的电脑。

动态端口映射就是当内网中的一台电脑要访问新浪网，会向NAT网关发送数据包，包头中包括对方(就是新浪网)IP、端口和本机IP、端口，NAT网关会把本机IP、端口替换成自己的公网IP、一个未使用的端口，并且会记下这个映射关系，为以后转发数据包使用。然后再把数据发给新浪网，新浪网收到数据后做出反应，发送数据到NAT网关的那个未使用的端口，然后NAT网关将数据转发给内网中的那台电脑，实现内网和公网的通讯.当连接关闭时，NAT网关会释放分配给这条连接的端口，以便以后的连接可以继续使用，动态端口映射其实就是NAT网关的工作方式。

目前很多木马以及专业软件都具有Socks代理功能，在肉鸡上(具有外网独立IP的计算机)安装木马或者这些软件后，肉鸡便具有代理功能，使用SocksCap等代理软件可以很方便的突破内网，从该肉鸡去访问内网中的计算机。

1安装并运行SocksCap软件

本案例中使用的是sc32r238汉化版本，早期版本已经过期不能使用。安装SocksCap完毕后会给出一个“许可”协议，在该窗口中单击“接受”按钮接受该许可。

说明

(1)安装SocksCap软件开始时等待时间会稍长，开始时软件要进行文件的自解压，因此等待时间稍长。

(2)安装sc32r238原版本后，需要运行其相应的汉化应用程序，否则会提示程序已经过期，程序会自动关闭。

2设置SocksCap软件

运行SocksCap软件后，单击“文件”-“设置”，打开SocksCap设置窗口，接着在SOCKS服务器中输入IP地址和端口，然后选中“SOCKS版本5”后，再在域名解析中选择“先尝试由本地端再由远端解析”，如图1所示，最后单击“确定”或者“应用”按钮完成设置。

图1设置SocksCap软件

3建立应用程序标识项

在SocksCap软件主窗口中单击“新建”图标，打开“新建应用程序标识项”窗口，然后在“新建应用程序标识项”窗口的“标识项名称”中输入一个标识名称，例如本例中的“3389”，然后选择一个应用程序，如图2所示，最后单击“确定”完成应用程序标识项设置。

图2 建立应用程序标识项

说明

(1)建立应用程序标识项的目的就是运行SocksCap软件后可以快速打开应用程序，新建“应用程序标识项”完毕后会将所建立的“命令行”程序的图标自动提取到SocksCap的主窗口中，如图3所示。

图3 自动整理应用程序标识项

(2)在应用程序标识项中的“命令行”(应用程序)都是通过SocksCap软件来进行代理，即“命令行”(应用程序)可以使用Socks代理。

4运行“命令行”代理。

单击上面建立的“3389”应用程序标识项，打开远程终端连接界面，输入登陆IP地址“192.168.80.129”后单击“连接”按钮，进行3389登陆，出现3389登陆窗口后输入用户名和密码后，进入远程终端桌面，如图4所示，在该远程终端桌面中打开命令提示符后，输入“netstat –an”命令后可以看到该计算机的3389远程终端连接是该IP本身，至此已经顺利进入内网某一台获取口令的计算机的远程终端桌面。

图4使用SocksCap代理登陆远程终端

技巧

(1)在SocksCap软件主界面中双击新建立的“应用程序标识项”图标可以快速打开应用程序。

(2)在使用SocksCap代理时，如果未能连接成功则可以在Socks设置中选择不同的域名解析方式进行尝试。

小结

借助SocksCap软件，可以很方便的进行内网的渗透，但是使用SocksCap软件的关键就是在肉鸡上搭建Socks服务器，如果未能在内网入口处搭建Socks代理服务器，仅仅凭借通过一些Socks代理搜索软件搜索的Socks代理服务器的IP地址和端口是很难进入内网的，不过好在目前很多木马程序都提供了这种socks代理服务器功能，仅需在木马初始配置时设置socks代理的端口和密码，在肉鸡运行木马程序后，该肉鸡就成为socks代理服务器。


展开全文
• ## socks

千次阅读 2012-09-29 10:50:12
http://sourceforge.net/projects/ssocks/ 3proxy ss5
http://sourceforge.net/projects/ssocks/
3proxy ss5

展开全文
• ## SOCKS

千次阅读 2001-01-18 10:59:00
SOCKS: A protocol for TCP proxy across firewalls Ying-Da Lee Principal Member Technical Staff NEC Systems Laboratory, CSTC ylee@syl.dl.nec.comSOCKS was originally
SOCKS: A protocol for TCP proxy across firewalls            Ying-Da Lee        Principal Member Technical Staff          NEC Systems Laboratory, CSTC            ylee@syl.dl.nec.comSOCKS was originally developed by David Koblas and subsequently modifiedand extended by me to its current running version -- version 4. It is aprotocol that relays TCP sessions at a firewall host to allow applicationusers transparent access across the firewall. Because the protocol isindependent of application protocols, it can be (and has been) used formany different services, such as telnet, ftp, finger, whois, gopher, WWW,etc. Access control can be applied at the beginning of each TCP session;thereafter the server simply relays the data between the client and theapplication server, incurring minimum processing overhead. Since SOCKSnever has to know anything about the application protocol, it should alsobe easy for it to accommodate applications which use encryption to protecttheir traffic from nosey snoopers.Two operations are defined: CONNECT and BIND.1) CONNECTThe client connects to the SOCKS server and sends a CONNECT request whenit wants to establish a connection to an application server. The clientincludes in the request packet the IP address and the port number of thedestination host, and userid, in the following format.        +----+----+----+----+----+----+----+----+----+----+....+----+        &brvbar VN &brvbar CD &brvbar DSTPORT &brvbar      DSTIP        &brvbar USERID       &brvbarNULL&brvbar        +----+----+----+----+----+----+----+----+----+----+....+----+ # of bytes:       1    1      2              4           variable       1VN is the SOCKS protocol version number and should be 4. CD is theSOCKS command code and should be 1 for CONNECT request. NULL is a byteof all zero bits.The SOCKS server checks to see whether such a request should be grantedbased on any combination of source IP address, destination IP address,destination port number, the userid, and information it may obtain byconsulting IDENT, cf. RFC 1413.  If the request is granted, the SOCKSserver makes a connection to the specified port of the destination host.A reply packet is sent to the client when this connection is established,or when the request is rejected or the operation fails.         +----+----+----+----+----+----+----+----+        &brvbar VN &brvbar CD &brvbar DSTPORT &brvbar      DSTIP        &brvbar        +----+----+----+----+----+----+----+----+ # of bytes:       1    1      2              4VN is the version of the reply code and should be 0. CD is the resultcode with one of the following values:    90: request granted    91: request rejected or failed    92: request rejected becasue SOCKS server cannot connect to        identd on the client    93: request rejected because the client program and identd        report different user-idsThe remaining fields are ignored.The SOCKS server closes its connection immediately after notifyingthe client of a failed or rejected request. For a successful request,the SOCKS server gets ready to relay traffic on both directions. Thisenables the client to do I/O on its connection as if it were directlyconnected to the application server.2) BINDThe client connects to the SOCKS server and sends a BIND request whenit wants to prepare for an inbound connection from an application server.This should only happen after a primary connection to the applicationserver has been established with a CONNECT.  Typically, this is part ofthe sequence of actions:-bind(): obtain a socket-getsockname(): get the IP address and port number of the socket-listen(): ready to accept call from the application server-use the primary connection to inform the application server of the IP address and the port number that it should connect to.-accept(): accept a connection from the application serverThe purpose of SOCKS BIND operation is to support such a sequencebut using a socket on the SOCKS server rather than on the client.The client includes in the request packet the IP address of theapplication server, the destination port used in the primary connection,and the userid.        +----+----+----+----+----+----+----+----+----+----+....+----+        &brvbar VN &brvbar CD &brvbar DSTPORT &brvbar      DSTIP        &brvbar USERID       &brvbarNULL&brvbar        +----+----+----+----+----+----+----+----+----+----+....+----+ # of bytes:       1    1      2              4           variable       1VN is again 4 for the SOCKS protocol version number. CD must be 2 toindicate BIND request.The SOCKS server uses the client information to decide whether therequest is to be granted. The reply it sends back to the client hasthe same format as the reply for CONNECT request, i.e.,        +----+----+----+----+----+----+----+----+        &brvbar VN &brvbar CD &brvbar DSTPORT &brvbar      DSTIP        &brvbar        +----+----+----+----+----+----+----+----+ # of bytes:       1    1      2              4VN is the version of the reply code and should be 0. CD is the resultcode with one of the following values:    90: request granted    91: request rejected or failed    92: request rejected becasue SOCKS server cannot connect to        identd on the client    93: request rejected because the client program and identd        report different user-ids.However, for a granted request (CD is 90), the DSTPORT and DSTIP fieldsare meaningful.  In that case, the SOCKS server obtains a socket to waitfor an incoming connection and sends the port number and the IP addressof that socket to the client in DSTPORT and DSTIP, respectively. If theDSTIP in the reply is 0 (the value of constant INADDR_ANY), then theclient should replace it by the IP address of the SOCKS server to whichthe cleint is connected. (This happens if the SOCKS server is not amulti-homed host.)  In the typical scenario, these two numbers aremade available to the application client prgram via the result of thesubsequent getsockname() call.  The application protocol must provide away for these two pieces of information to be sent from the client tothe application server so that it can initiate the connection, whichconnects it to the SOCKS server rather than directly to the applicationclient as it normally would.The SOCKS server sends a second reply packet to the client when theanticipated connection from the application server is established.The SOCKS server checks the IP address of the originating host againstthe value of DSTIP specified in the client's BIND request.  If a mismatchis found, the CD field in the second reply is set to 91 and the SOCKSserver closes both connections.  If the two match, CD in the secondreply is set to 90 and the SOCKS server gets ready to relay the trafficon its two connections. From then on the client does I/O on its connectionto the SOCKS server as if it were directly connected to the applicationserver.For both CONNECT and BIND operations, the server sets a time limit(2 minutes in current CSTC implementation) for the establishment of itsconnection with the application server. If the connection is still notestabliched when the time limit expires, the server closes its connectionto the client and gives up.==============================================================================    SOCKS 4A: A  Simple Extension to SOCKS 4 Protocol            Ying-Da Lee        yingda@best.com  or  yingda@esd.sgi.comPlease read SOCKS4.protocol first for an description of the version 4protocol. This extension is intended to allow the use of SOCKS on hostswhich are not capable of resolving all domain names.In version 4, the client sends the following packet to the SOCKS serverto request a CONNECT or a BIND operation:        +----+----+----+----+----+----+----+----+----+----+....+----+        &brvbar VN &brvbar CD &brvbar DSTPORT &brvbar      DSTIP        &brvbar USERID       &brvbarNULL&brvbar        +----+----+----+----+----+----+----+----+----+----+....+----+ # of bytes:       1    1      2              4           variable       1VN is the SOCKS protocol version number and should be 4. CD is theSOCKS command code and should be 1 for CONNECT or 2 for BIND. NULLis a byte of all zero bits.For version 4A, if the client cannot resolve the destination host'sdomain name to find its IP address, it should set the first three bytesof DSTIP to NULL and the last byte to a non-zero value. (This correspondsto IP address 0.0.0.x, with x nonzero. As decreed by IANA  -- TheInternet Assigned Numbers Authority -- such an address is inadmissibleas a destination IP address and thus should never occur if the clientcan resolve the domain name.) Following the NULL byte terminatingUSERID, the client must sends the destination domain name and termiantesit with another NULL byte. This is used for both CONNECT and BIND requests.A server using protocol 4A must check the DSTIP in the request packet.If it represent address 0.0.0.x with nonzero x, the server must readin the domain name that the client sends in the packet. The servershould resolve the domain name and make connection to the destinationhost if it can. SOCKSified sockd may pass domain names that it cannot resolve tothe next-hop SOCKS server.
展开全文
• <div><p>In the proxy string, socks5h:// and socks4a:// mean that the hostname is to be resolved by the socks server. socks5:// and socks4:// mean the hostname is to be resolved locally. <p>Fix #1035...
• nim-socks5：Nim Socks5库
• <div><p>As discussed with , native <a href="https://en.wikipedia.org/wiki/SOCKS">SOCKS</a> support would be awesome to use Tor without ...irssi/irssi</p></div>
• <div><p>Bump socks</p><p>该提问来源于开源项目：talmobi/tor-request</p></div>
• ... 回到顶部(go to top) SOCKS代理 SOCKS代理与其他类型的代理不同，它...SOCKS代理又分为SOCKS4和SOCKS5 二者不同的是SOCKS4代理只支持TCP协议（即传输控制协议），而SOCKS5代理则既支持TCP协议又支持UDP协议（即
• <div><p>Is it possible to set socks proxy for the connector ?</p><p>该提问来源于开源项目：ratchetphp/Pawl</p></div>
• socks" npm package and have renamed my "socks-client" that you are using to "socks". I've added a deprecation message to all socks-client versions but I will be leaving the ...
• ## socks5

2020-10-20 14:29:55
SOCKS5 是一个代理协议，它在使用TCP/IP协议通讯的前端机器和服务器机器之间扮演一个中介角色，使得内部网中的前端机器变得能够访问Internet网中的服务器，或者使通讯更加安全。SOCKS5 服务器通过将前端发来的请求...
• <div><p>There seems to be an issues with socks support: <p>https://github.com/typhoeus/typhoeus/issues/81 https://github.com/wpscanteam/wpscan/issues/7</p> <p>/cc </p><p>该提问来源于开源项目：...
• ## SOCKS5

2020-07-08 09:48:26
SOCKS5发展及现状： 网络发展到今天，SOCKS5也历经了几次大的修改。 现在SOCKS5通过特殊方法，可以实现以下功能： 1.局部指定进程使用SOCKS5访问网络。 2.全局访问网络。也就是让电脑上所有流量都走SOCKS5. 3.网络...
• Socks.cr-SOCKS客户端和服务器 描述 高性能，可靠且稳定的SOCKS服务器和客户端。 此存储库正在评估中，它将替换 。 特征 TCP连接 TCP绑定 关联UDP 用法 请检查示例文件夹。 用作碎片 将此添加到应用程序的shard....
• ## Socks5

2018-11-10 18:03:38
文章目录RFC文档介绍Socks5协议通信过程Socks5身份认证BINDUDP ASSOCIATE 首先说一点，shadowsocks使用的就是socks5协议 RFC文档 SOCKS Protocol Version 5 Username/Password Authentication for SOCKS V5 介绍...
• 该存储库包含torsocks-netns ，这是一个用于torsocks的小型包装脚本，它创建一个空的网络名称空间以在其中运行torsocks ，从而阻止除tor socks端口以外的所有连接。 这是基于网络命名空间的tosock的快速原型： 这...
• ## Socks5代理Socks5 Proxy

千次阅读 2017-03-13 13:56:12
Socks5代理Socks5 Proxy
• ## Socks代理

千次阅读 2019-01-22 17:12:27
Socks代理类似于HTTP代理。不同之处在于socks支持...它支持Skype，Thunderbird，FileZilla，mIRC以及任何具有socks代理选项的程序/游戏。   与HTTP代理相同，socks代理不稳定。您可以使用Socks Proxy Checker在...
• socks5-go :party_popper: 受go-socks5启发，此软件包提供了全部功能。 此处描述的协议旨在为TCP和UDP域中的客户端-服务器应用程序提供一个框架，以方便安全地使用网络防火墙的服务。 好处 :thumbs_up: 轻松的...
• multiplexing_port_socks5 一款golang写的支持http与socks5的端口替换小工具，并且可以打开socks5代理。 支持端口兼容的小工具。目前仅支持ocks5。与http分流。（linux版可自行添加修改。模块已经写好） 相关项目 ...
• aiohttp-socks软件包为提供了代理连接器。 支持SOCKS4（a），SOCKS5，HTTP（隧道）以及代理链。 它使用实现核心代理功能。 要求 Python> = 3.6 aiohttp> = 2.3.2 python-socks [asyncio]> = 1.0.1 安装 pip ...
• socks5服务器源代码 基于linux c epoll实现 搭建与云服务器 火狐浏览器测试 运行./ss即可 火狐设置socks5代理 你的服务器IP：1200
• C# socks5服务端，终端程序源码。编译仅仅12K
• 错误： Unable to determine SOCKS version from socks://127.0.10.1:10808/ 解决方法： vim ~/.bashrc export all_proxy="socks5://127.0.0.1:10808" source ~/.bashrc
• <code>socks.set_default_proxy(socks.SOCKS5, "localhost") <code>socket.socket = socks.socksocket to ./pyrogram/connection/transport/tcp/tcp.py and got repeating "Connecting..." ...

...