Protostar – net3

Information This level tests the ability to understand code, and implement a simple network protocol. This level is at /opt/protostar/bin/net3 Source code Solution Again, it is a server waiting for a connection on port 2996. After the connection, it reads a value from the network and it converts it in host byte order (big endian) ...

Protostar – net2

Information This code tests the ability to add up 4 unsigned 32-bit integers. Hint: Keep in mind that it wraps. This level is at /opt/protostar/bin/net2 Source code Solution Again, a server is waiting on the port 2997. It sends 4 integer in little endian format and it waits in return the sum of them in ...

Protostar – net1

Information This level tests the ability to convert binary integers into ascii representation. This level is at /opt/protostar/bin/net1 Source code Solution This level is nearly the same as the previous one, excepted that the server sends the integer in little endian format, and it waits its’ ASCII value. I use the following python script : ...

Protostar – net0

Information This level takes a look at converting strings to little endian integers. This level is at /opt/protostar/bin/net0 Source code Solution In this level, a server is waiting for a connection on the port 29999. When connected, it generates an unisgned integer : wanted = random(); It sends it to the client : printf(« Please send ...