Spider RPC security and spiderrpc Security
Spider provides multiple security mechanisms. Currently, it mainly supports access handshake verification, packet integrity verification, packet encryption, and packet length check.
Access authentication
Spider uses two handshakes for verification. The handshake process is as follows:
Implement signature AES encryption.
The license information is stored in the classpath *: spider. dat file and fixed in the program.
Packet Integrity Verification
Spider performs CRC32 Integrity Verification on packets to verify that the packets are not tampered with during transmission and reject the tampered packets.
Packet Length check
Spider checks whether the minimum length of each received packet is greater than the minimum possible length of the packet. If the minimum length is less than the minimum length, the spider forcibly disconnects the client.
Message encryption
Spider supports message encryption. Currently, the AES128 encryption algorithm is supported. See the encrypt parameter in spider. xml.