Wednesday, December 10, 2014

4.3 Abstraction of TCP/IP Mail System based on DTN


There are several of the DTN Email system exists such as Bytewalla 5, DTNmailex and offline Gmail. Mail client for this thesis offline email system, Bytewalla 5 and offline Gmail is a web based. User can use a web browser to access the webmail. There are two mail servers for the offline email system which is an offline local mail server and an online local mail server. Bytewalla 5 also has two mail servers which are offline DTN mail server and online DTN mail server while there is only internet mail server available for offline Gmail.
DTN implementation of this offline email system is based on TCP/IP. The advantage of this approach is the user can use the offline email system as it was a normal email system and may not even noticed it was a DTN email system. The Bytewalla 5 uses a native DTN implementation designed by Delay Tolerant Networking Research Group (DTNRG) while offline Gmail uses Google Gears.
This offline email system use Windows operating system for its web server, mail server application and database synchronization application. Bytewalla 5 uses Ubuntu 8.04 LTS a Linux operating system for its DTN mail server and offline Gmail is browser based where it use Google mail server.
Data mule for being used is an android phone where it acts as an infomediary device. The Samba File sharing application is used to enable a network storage connection with a mail server where it receives an email data from database synchronization software to be sent to the destination mail server. Bytewalla 5 also use android phone as a data mule. It has three main applications running which is DTNService for handling DTN communication, DTN Manager to configure, monitor and manage DTNService and DTNApps (DTNSend for sending messages and DTNReceive for receiving messages). Offline Gmail use Web Browser with Google Gears to store some online files to be used offline.
Temporary storage location for a pending email data in this offline email system and Bytewalla 5 is stored in email server computer while offline Gmail storage is in the mail client computer. Endpoint ID for this offline email system and offline Gmail is a standard email address where there is a local part, @ sign, and domain part. As an example: test1@email.com. [19]. Table 4.2 shows a comparison of this thesis project offline email system with Bytewalla 5 and offline Gmail.

  DTN Email


Features
Offline Email based on Delay Tolerant Network (DTN)
Bytewalla 5
Offline Gmail
Mail Client
Web based
Web based
Web based
Mail Server
-Offline local mail server
-Online local mail server
-Offline DTN mail server
-Online DTN mail server
Internet mail server
DTN implementation
TCP/IP based
Native DTN
Google Gears
Operating System
Windows
Linux (Ubuntu 8.04 LTS)
Browser based
Data mule
Android phone running Samba File sharing
-Android phone running DTNService for handling DTN communication, DTN Manager to configure, monitor and manage DTNService, DTNApps (DTNSend for sending messages and DTNReceive for receiving messages)
Web Browser with Google Gears
Temporary Storage location
Email server computer
Email server computer
Email computer client
Endpoint ID
test1@email.com
dtn:pop:mailto:test1@email.com
test1@email.com
Table 4.2: Comparison of DTN Email
Table 4.3 shows the comparison of selected free web server Uniserver 7.1.4 and XAMPP 1.8.1. Both web servers offer the same feature for a setting up a Windows home server. Uniserver has been selected because it has a Cron feature which can be used with DtDNS service. Cron is a job scheduler allowing scripts to be run automatically at a certain time or date. It is used to update the external IP address of the server computer to the DtDNS service.
                Web server
Features
Uniserver 7.1.4
XAMPP 1.8.1
Size (MB)
14.5
99.0
License
Berkeley Software Distribution (BSD)
GNU General Public License (GPL)
Apache HTTP Server
2.2.19
2.4.3
PHP
5.4.8
5.4.7
MySQL
5.5.15
5.5.27
phpMyAdmin
3.4.3.2
3.5.2.2
OpenSSL
1.0.1c
1.0.1c
Portable application
Yes + Multi server
Yes
Cron
Yes
No
Table 4.3: Comparison of Web server
Table 4.4 shows the comparison of mail server software for hMailServer, AtMail and citadel. HMailServer is selected since it is free, open source and Windows based application. 

          Mail Server
Features
hMailServer
AtMail
Citadel
Operating System
Windows
Linux
Linux
SMTP
Yes
Yes
Yes
POP3
Yes
Yes
Yes
IMAP
Yes
Yes
Yes
Webmail
Yes
Yes
Yes
Database
Yes
Yes
Yes
License
GNU General Public License (GPL)
Commercial
GNU General Public License (GPL)
Table 4.4: Comparison of Mail Server software
Table 4.5 shows a comparison of free mail client for Roundcube and SquirrelMail. Both Mail Clients offer the same features. Either one can be used. Roundcube is selected for this thesis work.
              Mail Client
Features
Roundcube
SquirrelMail
Operating System
Cross platform
Cross platform
License
GNU General Public License (GPL)
GNU General Public License (GPL)
User Interface
Web
Web
New user registration
Yes by using a plugin
Yes by using a plugin
Table 4.5: Comparison of Mail Client
Table 4.6 shows comparison of File Synchronize software for FreeFilesync, Synchronize It and rsync. FreeFilesync is selected for this thesis project because of it a free Open Source for Windows and support for batch file for automated file synchronization.
       File Synchronize
Features
FreeFilesync
Synchronize It
rsync
Operating System
Windows/Linux
Windows
Linux/Windows
License
GNU General Public License (GPL)
Commercial
GNU General Public License (GPL)
Portable
Yes
Yes
Yes
Detect conflict
Yes
No
No
Detect rename
Yes
No
No
Detect move
Yes
No
No
Scheduling
Yes
Yes
No
Table 4.6: Comparison of File Synchronize software
Table 4.7 shows the comparison of the suggested infomediary device. Android phone is used in this thesis work because of its size, weight and battery life.

          Infomediary Device
Features
Android phone
(LG Optimus 3D P920)
Laptop
(Lenovo Z460)
Battery
Li-Ion 1500 mAh
6-Cell Li-ion5200 mAh
Battery Life
Standby up to 450 h
Standby 56Wh
Size
4.3”
14”
Weight
168g
2.24 Kg
Storage
8GB storage + 32GB MicroSD
500GB HDD
WLAN
Wi-Fi 802.11 b/g/n
Wi-Fi 802.11b/g/n
Table 4.7: Comparison of Infomediary Device

No comments:

Post a Comment