mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2026-10-12 17:18:31 +03:00
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.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
add_subdirectory(client)
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(prinet-proxy)
|
||||
@@ -0,0 +1,16 @@
|
||||
project(pumpnet-prinet-proxy)
|
||||
message(STATUS "Project " ${PROJECT_NAME})
|
||||
|
||||
set(SRC ${PT_ROOT_MAIN}/pumpnet/prinet-proxy)
|
||||
|
||||
add_resources(PRI_PRIVATE_KEY ${SRC} prime.private.key)
|
||||
add_resources(PRI_PUBLIC_KEY ${SRC} prime.public.key)
|
||||
|
||||
set(SOURCE_FILES
|
||||
${SRC}/main.c
|
||||
${SRC}/options.c
|
||||
${SRC}/packet.c)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCE_FILES} ${PRI_PRIVATE_KEY} ${PRI_PUBLIC_KEY})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} pumpnet-lib sec-prinet util)
|
||||
Reference in New Issue
Block a user