Hey everyone, I've been working on a project for a while that consists of a client communicating with a server on another machine. Both the client and the server are using Blowfish encryption with CBC extensions to encrypt and decrypt the messages, however, I run into a problem every so often where the text sent at one end is not the same text received at the other end. I am attributing this to the fact that possibly the encrypted string contains a \n or some other sequence that makes perl stop reading the socket. To combat this I have added a verify function that uses much more overhead than I would like. When either side receives text, it sends the text back with a verify string attached and the other side either sends an "yes" response or resends the original command encrypted again. My question is is there an alternative to the verification procedure I am using as it really takes up extra time since the client and server are not on the same network. I can post more info if necessary.
-Adam Stanley
Nethosters, Inc.