Your job is to extend netfiltersdk demo code with socks5 capability. nfsdk can be found at netfiltersdk.com, download the demo build 184.108.40.206, there you will find CSharp demo files. TcpRedirectorCS is made to redirect traffic from localport to remote ip:port.
If you look at attched picture you will see that it can currently handle SOCKS4 and HTTP and DIRECT.
Your task is to extend this c# demonstration with SOCKS5 capability, i will provide you socks5 server where you can do your tests.
TcpRedirector is a demonstration of NetfilterSDK capability. It takes tcp connections and proxies by HTTP,SOCKS to target. It is designed to tunnel stuff. Socks5 has many ready implementations on internet, you dont need to reinvent the wheel, i can also provide you something. Your task is not to rewrite socks5 protocoll, you will use something ready for that.
I am working with TDI Driver, you would need to install required TDI driver in order to work with Sdk.
Do not bid with copy&paste