Find Jobs
Hire Freelancers

Client/Server Message Passing modules with proxying capabilities

$500-1000 USD

已关闭
已发布将近 13 年前

$500-1000 USD

货到付款
Create two C/C++ programs that communicate over TCP. The first program should act as a client and support connect-back SOCKS to the server. The second program must be able to accept the SOCKS connection and forward specific traffic through it. ## Deliverables **Requirements for first C/C++ program:** A program that accepts and sends messages to another program C1. Must connect over TCP to a pre-specified server/port. C2. Must Handle Encryption and Authentication. C3. Must be able to pass messages to the server in a structured format. C3.1 Message must contain: C3.1.2 Message ID (or type). C3.1.3 Message Contents. C4. Must be able to read messages from the server. C5. Must handle an arbitrary message length. C6. Must be able to spawn a connect-back SOCKS5 proxy once a special message is received. C6.1 The message will contain IP address and port to connect to. ** ** **Requirements for second C/C++ program:** P1. Must listen on a pre-specified IP address and TCP port P2. Must Handle Encryption and Authentication P3. Must be able to pass messages to the client in an identical way described in C3 P4. Must be able to read messages from the client P5. Must handle an arbitrary message length P6. Must be able to accept SOCKS5 connections and allow (with the use of a different function) connections through it. **Design Considerations:** The first C/C++ program must contain at least these two functions: PrepareMessage( ... ); Can be called multiple times with different Message ID/types thus preparing a bigger "MIXED_TYPE" message containing all messages, therefore reducing the amount of datagrams send. It can return a pointer to a structure containing the message and all necessary information for transmitting. SendMessage( ... ); Send the actual message to the server. ReadMessage( ... ); Read the server's reply. Can return NULL to notify that the message was send successfully and that no reply is expected, return -1 if an error occurred or return a pointer to a structure containing the message. The structure can be somewhat similar to: struct message { TYPE msg_type; void * message; } Where msg_type identifies the type of the message and void * message is the actual message or message pointer. **Message contents can be:** integer, a single or multiple (up to 3) strings or buffer. **Message Types:** NUMBER, DBGMESSAGE, MESSAGE, SOCKS for now. But make sure the program is structured in such a way allowing us to include more message types containing the above message contents. The second C/C++ program must contain at least these functions: PrepareMessage( ... ); SendMessage( ... ); ReadMessage( ... ); Which are similar to the first program. If a SOCKS type message is send then the program should allow sending and receiving data using a client as a proxy (note that there can be many clients). Those functions could be: SocksSend(int client_id, socket s, char * data); SocksRecv(int client_id, socket s); Both programs should work in a similar way and contain similar functions. Both must communicate flawlessly.
项目 ID: 3412265

关于此项目

17提案
远程项目
活跃13 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
17威客以平均价$693 USD来参与此工作竞价
用户头像
See private message.
$807.50 USD 在14天之内
5.0 (10条评论)
4.0
4.0
用户头像
See private message.
$722.50 USD 在14天之内
5.0 (5条评论)
4.1
4.1
用户头像
See private message.
$756.50 USD 在14天之内
5.0 (2条评论)
3.9
3.9
用户头像
See private message.
$637.50 USD 在14天之内
5.0 (1条评论)
3.5
3.5
用户头像
See private message.
$425 USD 在14天之内
4.6 (5条评论)
3.9
3.9
用户头像
See private message.
$722.50 USD 在14天之内
5.0 (5条评论)
3.5
3.5
用户头像
See private message.
$850 USD 在14天之内
4.0 (1条评论)
2.0
2.0
用户头像
See private message.
$850 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$425 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$637.50 USD 在14天之内
0.0 (1条评论)
0.0
0.0
用户头像
See private message.
$850 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$850 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$467.50 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$510 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$747.15 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$680 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$850 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED KINGDOM的国旗
United Kingdom
0.0
0
会员自6月 28, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。