开发者

Simple Socks Proxy code? (Arduino + Ethernet module) [closed]

开发者 https://www.devze.com 2023-03-12 07:19 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_如何学编程

Closed 7 years ago.

Improve this question

For a new project, i had a strange idea of using an Arduino with a Wiznet W5100 Ethernet module for routing/proxying http data.

The module supports only 4 connections, and i am unsure if this will be enough; The available space in arduino (flash/ram) is also of concern.

I can't seem to find any code for an ultra-simple socks4a proxy (c/c++/java/php) so that i can verify the hardware will meet the requirements.

Any linkage or pseudo-code may help.

Update:

Found a simple c++ implementation, and will study this. I believe if just using CONNECT and not BIND, it should fit the requirements.


I found some concise SOCKS (version 5) proxy server code in C++ here. It's one file.

Also, the TorCap2 proxifier code has SOCKS 4a code you can check out in DLL/TorCap2Dll.c which is fairly small and would be re-usable.

0

精彩评论

暂无评论...
验证码 换一张
取 消