Commit Graph
6 Commits
Author SHA1 Message Date
icex2 52a821f207 prinet-proxy: Separate module for client communication/packet handling
Move stuff from main. Will be re-used for keepalive packet sending
2021-01-23 23:46:22 +01:00
icex2 171e14ddc3 prinet-proxy: Handle uni-directional messages + bugfix cleanup
Allow handling of uni-directional messages not closing the
connection.

This also fixes cleanup of buffers on each iteration which wasn't
done properly before when the inner loop was successful.
The labeled cleanup part was skipped.
2021-01-23 23:46:22 +01:00
icex2 6aafaaf12a prinet-proxy: Fix connection handling
See elaborate comment for why this is required...
2021-01-23 23:46:22 +01:00
icex2 60f61d2de5 prinet-proxy: Bugfix handling of decryption data length 2021-01-23 23:46:13 +01:00
icex2 73f2402455 pumpnet/prinet-proxy: Change default port to correct stock prime port 2021-01-17 01:53:35 +01:00
icex2 986571a513 pumpnet: Add prinet-proxy application
Sits between the game (client) and pumpnet (server) translating
the game's native protocol to more managable http requests.

Encryption and decryption is also taken care off to remove that
burden from the server side. This makes http requests as generic as
"game version X is sending some data. here, go and figure out what
to do" on the server side.
2021-01-17 01:34:23 +01:00