Find Jobs
Hire Freelancers

Client/Server Message Passing modules with proxying capabilities

$500-1000 USD

Cerrado
Publicado hace casi 13 años

$500-1000 USD

Pagado a la entrega
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 del proyecto: 3412265

Información sobre el proyecto

17 propuestas
Proyecto remoto
Activo hace 13 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
17 freelancers están ofertando un promedio de $693 USD por este trabajo
Avatar del usuario
See private message.
$807,50 USD en 14 días
5,0 (10 comentarios)
4,0
4,0
Avatar del usuario
See private message.
$722,50 USD en 14 días
5,0 (5 comentarios)
4,1
4,1
Avatar del usuario
See private message.
$756,50 USD en 14 días
5,0 (2 comentarios)
3,9
3,9
Avatar del usuario
See private message.
$637,50 USD en 14 días
5,0 (1 comentario)
3,5
3,5
Avatar del usuario
See private message.
$425 USD en 14 días
4,6 (5 comentarios)
3,9
3,9
Avatar del usuario
See private message.
$722,50 USD en 14 días
5,0 (5 comentarios)
3,5
3,5
Avatar del usuario
See private message.
$850 USD en 14 días
4,0 (1 comentario)
2,0
2,0
Avatar del usuario
See private message.
$850 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$425 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$637,50 USD en 14 días
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
See private message.
$850 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$850 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$467,50 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$510 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$747,15 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$680 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$850 USD en 14 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
United Kingdom
0,0
0
Miembro desde jun 28, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.