jMailRPC : email-based remote procedure executor -- or-- email-based FTP

Download Files

Changes

  1. Initial Version

Installation

None.

Notes

jMailRPC is the world's slowest RPC processor or the world's slowest email-based FTP server.

There can be two responses to an email request: a reply and a reply with a zip file.

A reply is just text in the body of the email message. The zip, if present, is attached to the email.

The zip file is password protected. This provides two benefits:

  1. it provides a small amount of security (zip file password protection is weak)
  2. firewall protection lets encrypted zips go through

You will need to add the executable 7za.exe to your path or make sure it is within the same directory as jmailrpc.bat.

Extending jMailRPC

So you want to add a new command to jMailRPC? It takes just a couple of steps, in jMailRPC.pm:

Security

jMailRPC is not secure.

Security and Extensions

If you decide to extend jMailRPC's command repetoire by adding the ability to type any command, you are wide open and on your own. Right now all of the commands are read-only. The commands in jMailRPC do not modify anything on your hard drive. Adding commands that have the ability to write to your hard drive should be done with extreme caution.

More Security

Even though jMailRPC does not have commands that write to your hard drive, it is still not secure.

If someone finds out the email address you are using, you have no protection (except for the weak zip file encryption): they can send an email to the address and get files from your hard drive.

They can find out this email address in a couple of places:

More Security : zip encryption

The zip file encryption is weak. Do a google "zip encryption" to see sites that have software that will crack the zip encryption (ostensibly to recover the zip contents in case you've forgotten the password).

Also, the zip encryption scheme encrypts at file level. This means you can open the zip and the file names are there for anyone to see. If the files are named "MyFinancialInfo.txt", that is an open invitation for someone to concentrate on cracking that zip file.

More Security : solution?

To make jMailRPC much more secure, the outgoing email (from client to server) should be encrypted and the reply email (from server to client) should be encrypted as well.




Contact me about content on this page using john_web-at-arrizza-dot-com
For Web Master or site problems contact: webadmin-at-arrizza-dot-com
Copyright John Arrizza (c) 2001,2002,2003,2004,2005,2006,2007