You are on page 1of 49

REMOTE ADMIN AND NETWORK MONITORING

Abstract: Remote monitoring is real time monitoring tool for windows network and analysis through log file and construct a real time graph by throughput in the network. In our project, we are going to perform operations like 1. We monitor the packets in the network in real time. 2. We will know whether the packet is TCP, UDP or IP etc. 3. We will be able to monitor the packet transformation information i.e., from which host to which host. 4. Remote Administration. Remote Admin is used to admin the remote system from the server system. With the help of this application we able to turnoff, restart, logoff and file transfer and remote software installation or running remote application. Administrators and users with administrator rights can only use this tool for accessing remote system and perform different operations.

MODULES: MONITOR THE REAL TIME NETWORK TRAFFIC. MAINTAINED LOG FILE IN THE SERVER. CONSTRUCT A GRAPH USING A THROUGHPUT. ADMIN THE REMOTE SYSTEM LIKE REMOTE CONTROLS.

MONITOR THE REAL TIME NETWORK TRAFFIC Monitors the traffic in GUI Window. Select a network adapter to monitor .It will show date, time, traffic occurrence, sender and receiver and we will be able to see the data transmitted in bytes. We monitor the packets in the network in real time.

By verifying the packets in the client system. Our system enables the user to know whether the packet transmission over TCP, UDP or IP. And also it is possible to know the source and destination system. From which host to which host. For the secured transmission we will get the acknowledgement from the client about the packet receiving. MAINTAINED THE LOG FILE IN SERVER The server is in the responsible position to maintain the log file which contains the details about the file transmission date, time and number of packets. We will view the network monitor details in future. When ever the server response to client all the details will be maintained in the log system. This log file is used for future reference. In this module we store all details monitored in the system to display in future CONSTRUCT A GRAPH USING A THROUGHPUT. In this module we construct a graph in GUI window .We construct the graph by throughput of the network traffic. The pictorial representation of the network work monitoring. The servers construct the graph using a throughput of the network analysis. In this module we construct a graph in GUI window. This is constructed by using the throughput point. ADMIN THE REMOTE SYSTEM LIKE REMOTE CONTROLS. Remote Admin tool helps organizations achieve operational excellence through delivering satisfactory service quality, reliability, and lower total cost of ownership for multiple platform environments. Remote Admin Tool helps the business running, while lowering the complexity and cost of managing the server infrastructure. Following are the function which is involved in the remote administration.

EXECUTING COMMANDS Remote Admin should allow user to, Execute single commands, Custom batch for multiple commands processing Save the modified or customized settings. Can restart or shut down the remote system. Clear the screan and clear the debug console.

ALLOW FILE TRANSFER This Tool allows user to perform operations like single file transfer, multiple file transfer between local and remote system. This should be achieved by using, Instant File Transfer This tool allows user to perform Instant Upload, Instant Download, where single file is uploaded/downloaded instantly. Delay File Transfer This tool allows user to perform delay Upload, delay Download, where multiple files are stored in queue and later it is uploaded/downloaded to a particular location. FILE BROWSER The Tool allows the user to browse through the files and directories of the remote system. It also allow user to perform file operations like Copy, move, Delete, Create, Rename, Edit, and View Property of files. MONITORING CONNECTION Remote Admin Tool allow user to monitor the connection status of remote computer, and to identify which server is currently down or not available (either due to a physical problem e.g.

Network link down, or a logical error e.g. the failure of RMI Service).It should also provide functions like refresh connections, restart logical connections and shut down connections. FEATURES OF PROPOSED SYSTEM It is highly portable to a great variety of computer platforms Invoke single/batch operating system command(s) of remote systems locally, Perform file operation on remote systems locally, Transfer of files between remote and local computers, Editing file contents on remote systems locally, Monitoring the connection status of managed systems,

File transfer protocol is used to connect two computers over the Internet so that the user of one computer can transfer packets and perform file commands on the other computer. Specifically, FTP is a commonly used protocol for exchanging files over any network that supports the TCP/IP protocol (such as the Internet or an intranet). There are two computers involved in an FTP transfer: a server and a client. The FTP server, running FTP server software, listens on the network for connection requests from other computers. The client computer, running FTP client software, initiates a connection to the server. Once connected, the client can do a number of file manipulation operations such as uploading files to the server, download files from the server, rename or delete files on the server and so on. Any software company or individual programmer is able to create FTP server or client software because the protocol is an open standard. Virtually every computer platform supports the FTP protocol. This allows any computer connected to a TCP/IP based network to manipulate files on another computer on that network regardless of which operating systems are involved (if the computers permit FTP access). There are many existing FTP client and server programs.

In active mode, the FTP client opens a random port (> 1023), sends the FTP server the random port number on which it is listening over the control stream and waits for a connection from the FTP server. When the FTP server initiates the data connection to the FTP client it binds the source port to port 20 on the FTP server.In passive mode, the FTP Server opens a random port (> 1023), sends the FTP client the port on which it is listening over the control stream and waits for a connection from the FTP client. In this case the FTP client binds the source port of the connection to a random port greater than 1023.

TECHNOLOGY USED Java


INTRODUCTION Java is an object-oriented programming language developed initially by James Gosling and colleagues at Sun Microsystems. The language, initially called Oak (named after the oak trees outside Gosling's office), was intended to replace C++, although the feature set better resembles that of Objective C. Java, a platform independent programming language helps in building any kind of application of our interest; Java uses a compiler to convert the source code into architectural independent byte code. These are executed over a Java Virtual Machine (JVM), which is an idealized java processor chip usually implemented in software rather than hardware .Java was developed to include methods for Internet data manipulation. Java applications can be written once and run on any machine having a Java Virtual Machine as part of its operating system. Features Of Java Platform Independent Object-Oriented language Secure

Portable

Robust Image processing Web development support Supports Multithreading

SWING Swing is a GUI toolkit for Java. It is one part of the Java Foundation Classes (JFC).Swing includes graphical user interface (GUI) widgets such as text boxes, buttons, split-panes,and tables. Swing widgets provide more sophisticated GUI components than the earlier Abstract Window Toolkit.Since they are written in pure Java, they run the same on all platforms,that is uniform behaviour in all platform, unlike the AWT which Is tied to the underlying platform's windowing system. Swing supports pluggable look and feel not by using the native platform's facilities,but by roughly emulating them. This means you can get any supported look and feel on any platform. Swing is a platform independent, Model-View-Controller GUI framework for Java. It follows a single-threaded programming model. Swing Features Platform independence Extensibility Component-Oriented Customisable Configurable Lightweight UI Loosely-Coupled/MVC Look and feel

REMOTE METHOD INVOCATION (RMI) . Remote method invocation allows applications to call object methods located remotely, sharing resources and processing load across systems. Unlike other systems for remote execution which require that only simple data types or defined structures be passed to and from methods, RMI allows any Java object type to be used - even if the client or server has never encountered it before. RMI allows both client and server to dynamically load new object types as required. In this article, you'll learn more about RMI. Remote Method Invocation (RMI) facilitates object function calls between Java Virtual Machines (JVMs). JVMs can be located on separate computers - yet one JVM can invoke methods belonging to an object stored in another JVM. Methods can even pass objects that a foreign virtual machine has never encountered before, allowing dynamic loading of new classes as required. This is a powerful feature

Remote Interface

implements

implements Skeleton Remote Object (Server)

Client

Stub

Figure 5.3.1 shows remote references and stubs RMI Flow

RMI System architecture 1.Server Creates Remote Object 2. Server Registers Remoe Object 3. Client requests object from Registry 4. Registry returns remote reference (and stub gets created) 5. Client invokes stub method 6. Stub talks to skeleton 7. Skeleton invokes remote object Method Overview of the project Command Line Run Command This enables the local user to open the required application in the remote machine.

Custom Batch This feature allows to create a batch which consists of few applications on the whole. We can create a maximum of 5 applications in a single batch. The execution of this batch opens all the applications that are created, simultaneously in the remote machine.

Clear Screen This feature helps the user to clear the current remote admin screen.

Clear Debug This feature helps the user to clear the Debug console area.

Login features The remote system can be restarted, shut down from the local system itself.

File Browsers This module provide platform to browse Files and directories of the remote system and perform different file operations. Those files available in the remote machine can be viewed from the local system itself. Those files and directories can be updated, deleted, edited,renamed, etc,. also the local user can create new directories and also files for the directories in the remote machine.

File Transfers This module allows users to instant/delay Upload and download files in ASCII and Binary format. The files and the directories in the romote machine can be moved from the local machine to the remote system (ie, uploading) or moved from the remote system to the local machine (ie downloading). This transfer of files from either side can be done between different directories also. The transfer of files and directories can be done to move them within the same system but between the directories also.

Connection Monitor This module allows users to monitor the connection status of the remote systems. Restart/Refresh RMI connection between the systems is also done in this module.

SYSTEM IMPLEMENTATION Server Side Installation Install the required softwares to satisfy server configuration Copy the folder that contains server side programs to the system Set the class path Set the IP address of the client system in the RMIServer.java file Compile the Server side programs Run the RMIServer.class file for establishing RMI connection with the

client connection.

Client Side Instalation Install the required softwares to satisfy clients configuration Copy the folder that contains client side programs into the system Set the class path Compile the client side programs Run the RMIClientGUI.class file for establishing RMI connection with the

client connection.

10

6.3 Use Case Diagram

Remote Admin Tool

Select Server

Authentication

Connection Monitor

Local System

Executing Os Commands

Remote System

File Browsers

upload /download files

Figure 6.3.1 Creating Remote Admin Tool

11

6.4 ACTIVITY DIAGRAM

select server

authenticate server key

[Command Line ] [File Browser ] [File Transfer ]

[Connection Monitor ]

set command /batch commands

get file drives of the remote system

[Upload Files ]

[Download Files ]

upload files in ASCII /binary format

download files in ASCII /binary format refresh/shut down RMI

get file list of the remote system

run the command /batch commands

performing operations on files

Figure 6.3.2 Executing commands

7. ARCHITECTURAL DESIGN

12

Figure 7.1 Architecture Design

Figure 7.1 illustrates the external architecture of Remote Admin Tool. It also explains key authentication by encrypting and decrypting server key for secure connection.

8. STRUCTURAL DESIGN 8.1.1 CLASS DIAGRAM

13

RMIServer -serverKey : String -serverPassPhrase : String -port : String -rmiBindName : String -app : String -ptr -auth_ON : Boolean +getOS() : String +restartRMI() : Boolean +shutdownRMI () : Boolean +checkCLready () : Boolean +setCommand () : String +runCommand () : void +cancelCommand () : void +checkCommandStatus () : Boolean +checkFSready () : Boolean +openFileSystem () : String +getFileList () : String +createFile () : String +deleteFile () : String +renameFile() : String +copyAndPaste () : String +cutAndPaste () : String +checkDuplicateTarget () : Boolean +countObject () : Integer +getFileSize () : Long +getRoundedFileSize () : String +testPathExist () : Boolean +uploadFile _Bin () : Integer +uploadFile _Ascii () : Integer +downloadFile _Bin() : Object +downloadFile _Ascii () : Object +validateKey () : Boolean

1 1

interface RMI +isConnected () : bool +getOS() : String +restartRMI() : bool +shutdownRMI () : bool + collectGarbage () : void +setCommand () : String +runCommand() : void +cancelCommand () : void +checkCommandStatus () : bool +getCommandResult () +checkFSready () : bool +openFileSystem () : String +getFileList () : String +getFileInfo () +createFile () : String +deleteFile () : String +renameFile() : String +copyAndPaste () : String +cutAndPaste () : String +checkDuplicateTarget () : bool +countObject () : int +getFileSize () : long +getRoundedFileSize () : String +getFileSeparator () : String +testPathExist () : bool +uploadFile _Bin () : int +uploadFile _Ascii () : int +downloadFile _Bin() +downloadFile _Ascii () 1 1 1 1

RMIClient_FileBrowser -ip : String -port : String -shell : String -serverPassphrase : String -rmiTarget +invokeFunction () : void +getFileSeparator () : String +getRoundedFileSize () : String +getFileSize () : long +countObject () : int +checkDuplicateTarget () : bool +cutAndPaste () : String + copyAndPaste () : String +renameFile() : String +deleteFile () : String +createFile() : String +showFileInfo() : void +getFileInfo() +getFileList () : String +openFileSystem () : String +connect () : void

1 1

RMIClient_ConnectionMonitor - serverPassphrase : String -ip : String -port : String -rmiTarget +invokeFunction () : void +restartRMI() : bool +connect ()

RMIClient_CommandLine -ip : String -port : String -shell : String -command : String -threadName : String -serverPassphrase : String -completed : bool -rmiTarget +connect () : void +rexec() : void +cancelExec () : void +getCompleteStatus () : bool

1 RMIClient_FileTransferLocal -ip : String -port : String -shell : String -rmiTarget : RMI -serverPassphrase : String +openFileSystem () : String +openRemoteFileSystem () : String +getFileList () : String +getFileInfo () : <unspecified > +getRemoteFileInfo () : <unspecified > + createFile () : String +deleteFile () : String +deleteDir () : String + renameFile () : String +copyAndPaste () : String +cutAndPaste () : String +copyDir () : String +copyFile () : String +checkDuplicateTarget () : Boolean +checkRemoteDuplicateTarget () : Boolean +countObject () : Integer +countRemoteObject () : Integer +countObjectInDir () : Integer +getFileSize () : Long +getRoundedFileSize () : String + testPathExist () : Boolean +uploadFile _Bin () : Integer +uploadFile _Ascii () : Integer

RMIClient_FileTransferRemote -ip : String -port : String -shell : String -rmiTarget : RMI -serverPassphrase : String +connect () : void +openFileSystem () : String +getFileList () : String +getLocalFileList () : String +getFileInfo () : <unspecified > +getLocalFileInfo () : <unspecified > +createFile () : String +createLocalFile () : String +deleteFile () : String +renameFile() : String +copyAndPaste () : String +cutAndPaste () : String +checkDuplicateTarget () : Boolean +checkLocalDuplicateTarget () : Boolean +countObject () : String +countLocalObject () : Integer +countObjectInDir () : Integer +getFileSize () : Long +getRoundedFileSize () : String +getRoundedFileSize () : String +testPathExist () : Boolean +testLocalPathExist () : Boolean +downloadFile _Bin() : Integer +downloadFile _Ascii () : Integer

1 1 RMIClient_FileTransfer -ip : String -port : String -shell : String -rmiTarget -invokeFunction () : void

Figure 8.1.1.1 Class Diagram

14

RMIServer -serverKey : String -serverPassPhrase : String -port : String -rmiBindName : String -app : String -ptr -auth_ON : Boolean +isConnected () : bool +getOS() : String +restartRMI() : bool +shutdownRMI() : bool + collectGarbage () : void +setCommand() : String +runCommand() : void +cancelCommand () : void +checkCommandStatus () : bool +getCommandResult () +checkFSready () : bool +openFileSystem () : String +getFileList () : String +getFileInfo () +createFile() : String +deleteFile() : String +renameFile() : String +copyAndPaste () : String +cutAndPaste () : String +checkDuplicateTarget () : bool +countObject () : int +getFileSize () : long +getRoundedFileSize () : String +getFileSeparator () : String +testPathExist () : bool +uploadFile _Bin() : int +uploadFile _Ascii () : int +downloadFile _Bin() +downloadFile _Ascii() +getOS() : String +restartRMI() : Boolean +shutdownRMI() : Boolean +checkCLready () : Boolean +setCommand() : String +runCommand() : void +cancelCommand () : void +checkCommandStatus () : Boolean +getCommandResult () : <unspecified > +checkFSready () : Boolean +openFileSystem () : String +getFileList () : String +getFileInfo () : <unspecified > +createFile() : String +deleteFile() : String +renameFile() : String +copyAndPaste () : String +cutAndPaste () : String +checkDuplicateTarget () : Boolean +countObject () : Integer +getFileSize () : Long +getRoundedFileSize () : String +testPathExist () : Boolean +uploadFile _Bin() : Integer +uploadFile _Ascii () : Integer +downloadFile _Bin() : Object +downloadFile _Ascii() : Object +validateKey () : Boolean

RMI

RMIServer_FileBrowser +getDrives() : <unspecified > +getFiles() : <unspecified > +getFileInfo () : <unspecified > +createFile () : String +deleteFile () : String -deleteDir () : String +renameFile() : String +cutAndPaste () : String +copyAndPaste () : String -copyDir () : void -copyFile () : void +countObject () : Integer -countObjectInDir () : Integer +checkDuplicateTarget () : Boolean +getFileSize () : Long +getRoundedFileSize () : String +getRoundedFileSize () : String

RMIServer_CommandLine +getOS() : String +setCommand() : String +runCommand() : void +cancelCommand () : void +checkCommandStatus () : Boolean +getCommandResult () : <unspecified >

1 RMIServer_FileTransfer +getOS() : String +testPathExist () : Boolean +openUploadStream () : String +closeUploadStream () : void +uploadFile _Bin () : String +uploadFile _Ascii () : String +downloadFile _Bin() : Byte +downloadFile _Ascii() : Byte

1 RMIServer_EventHandler -file : String -event : String -ste +createLog() : void +writeLog() : void

Figure 8.1.1.2 Class Diagram

15

RMIClient_FileTransferLocal -ip : String -port : String -shell : String -rmiTarget -serverPassphrase : String +openFileSystem () : String +openRemoteFileSystem() : String +getFileList () : String +getFileInfo() : <unspecified > +getRemoteFileInfo() : <unspecified > + createFile() : String +deleteFile() : String +deleteDir() : String + renameFile() : String +copyAndPaste () : String +cutAndPaste () : String +copyDir() : String +copyFile () : String +checkDuplicateTarget() : Boolean +checkRemoteDuplicateTarget() : Boolean +countObject () : Integer +countRemoteObject() : Integer +countObjectInDir () : Integer +getFileSize () : Long +getRoundedFileSize() : String + testPathExist () : Boolean +uploadFile_Bin() : Integer +uploadFile_Ascii () : Integer 1 1 1 RMIClient_Authenticator -serverKey : String -serverPassphrase : String -RMIClient_CipherKey +getToken() : String +getServerKey() : void +getServerPassphrase() : String 1 1 1 1

RMIServer -serverKey : String -serverPassPhrase : String -port : String -rmiBindName : String -app : String -ptr -auth_ON : Boolean +getOS() : String +restartRMI() : Boolean +shutdownRMI() : Boolean +checkCLready() : Boolean +setCommand() : String +runCommand() : void +cancelCommand() : void +checkCommandStatus() : Boolean +getCommandResult() : <unspecified> +checkFSready() : Boolean +openFileSystem () : String +getFileList () : String +getFileInfo() : <unspecified > +createFile() : String +deleteFile() : String +renameFile() : String +copyAndPaste () : String +cutAndPaste () : String +checkDuplicateTarget() : Boolean +countObject () : Integer +getFileSize () : Long +getRoundedFileSize() : String +testPathExist () : Boolean +uploadFile_Bin() : Integer +uploadFile_Ascii () : Integer +downloadFile_Bin() : Object +downloadFile_Ascii() : Object +validateKey() : Boolean 1 1 RMIClient_CipherKey -defaultKey : int -Key : int +decryptLine() : String +encryptLine() : String +changeKey() : bool

RMIClient_FileBrowser -ip : String -port : String -shell : String -serverPassphrase : String -rmiTarget +invokeFunction () : void +getFileSeparator() : String +getRoundedFileSize() : String +getFileSize () : long +countObject () : int +checkDuplicateTarget() : bool +cutAndPaste () : String + copyAndPaste () : String +renameFile() : String +deleteFile() : String +createFile() : String +showFileInfo() : void +getFileInfo() +getFileList () : String +openFileSystem () : String +connect() : void

RMIClient_FileTransferRemote -ip : String -port : String -shell : String -rmiTarget -serverPassphrase : String +connect() : void +openFileSystem() : String +getFileList() : String +getLocalFileList () : String +getFileInfo() : <unspecified> +getLocalFileInfo() : <unspecified > +createFile() : String +createLocalFile() : String +deleteFile() : String +renameFile() : String +copyAndPaste() : String +cutAndPaste() : String +checkDuplicateTarget() : Boolean +checkLocalDuplicateTarget() : Boolean +countObject() : String +countLocalObject () : Integer +countObjectInDir() : Integer +getFileSize() : Long +getRoundedFileSize() : String +getRoundedFileSize() : String +testPathExist () : Boolean +testLocalPathExist () : Boolean +downloadFile_Bin () : Integer +downloadFile_Ascii () : Integer

1 RMIClient_CommandLine -ip : String -port : String -shell : String -command : String -threadName : String -serverPassphrase : String -completed : bool -rmiTarget +connect () : void +rexec() : void +cancelExec () : void +getCompleteStatus() : bool

1 RMIClient_ConnectionMonitor - serverPassphrase : String -ip : String -port : String -rmiTarget +invokeFunction() : void +restartRMI() : bool +connect()

Figure8.1.1.3 Class Diagram

16

8.1.2 MODULE DIAGRAM

REMOTE ADMIN TOOL

COMMAND LINE

FILE BROWSERS

FILE TRANSFER

CONNECTION MONITOR

Figure 8.1.2.1 Module Diagram

8.2 SEQUENCE DIAGRAM Command Line Module

17

rm iclient _com andline m

rm iserver

authenticator

getS erverK ey

()

ckey ()

getServerPhrase

changeKey () decryptLine ()

rm iserver _com andline m setCom and m (cm ) d setCom and m ()

runCom and m

()

Figure8.2.1 Sequence Diagram showing the command line module operations File Browsers

18

rm lie t ic n

_file ro s r b we

rm e e is rv r

a th n a r u e tic to

g tS rv rK y e e e e

()

ce ky ()

g tS rv rP ra e e e e h s

ca g Ky hne e d c p in e ry tL e

() ()

rm e e is rv r o e F Ss m p n ile y te ()

_file ro s r b we

g tF L t e ile is

() g tD e e riv ()

g tF L t e ile is

()

Figure 8.2.2 Sequence Diagram showing file browser module operations

Upload files

19

rm lie t ic n

_file n fe c l tra s rlo a

rm e e is rv r

a th n a r u e tic to

g tS rv rK y e e e e

()

ce ky ()

g tS rv rP ra e e e e h s

cagKy hne e d c p in e ry tL e

() ()

rm e e is rv r

_file n fe tra s r

u lo d p a File

()

u lo d ile p aF

()

Figure 8.2.3 Sequence Diagram illustrating upload file operation

20

DownloadFiles

21

rm iclient _filetransferrem ote

rm iserver

authenticator

getS erverK ey

()

ckey ()

getS erverPhrase

changeKey () decryptLine ()

rm iserver _filetransfer

downloadFile

()

downloadFile

()

Figure8.2.4 Sequence Diagram illustrating download file operation

22

ConnectionMonitor

r ic n ml t ie

_c n e ti n o it r o n c o mn o

r i ev r m re s

r satR I et r M

( )

su o n M h td w R I

( )

23

r ic n ml t ie

_c n e ti n o it r o n c o mn o

r i ev r m re s

r satR I et r M

( )

su o n M h td w R I

( )

Figure8.2.5 Sequence Diagram illustrating connection monitor module

24

8.3 Deployment Design

25

8.3.1 Deployment Diagram

Client

RMIClient _ConnectionMonitor

RMIClient _CommandLine

RMIClient _FileBrowser

RMIClient _FileTransfer

Server RMIServer _CommandLine

RMIServer _FileBrowser

RMIServer _FileTransfer

RMIServer

RMI

26

Client

RMIClient _ConnectionMonitor

RMIClient _CommandLine

RMIClient _FileBrowser

RMIClient _FileTransfer

Server RMIServer _CommandLine

RMIServer _FileBrowser

RMIServer _FileTransfer

RMIServer

RMI

Figure 8.3.1.1 Deployment Diagram for Remote Admin Tool

8.3.2 User Interface Diagram

27

Figure 8.3.2.1 shows the command line tab of remote admin tool

28

Figure 8.3.2.2 shows the dialog box to select server

29

Figure 8.3.2.3 shows the server list which allows to create, modify and delete server details

30

Figure system

8.3.2.4

shows

the

dialog

box

to

execute

commands

of

remote

31

Figure 8.3.2.5 shows the dialog box to execute batch commands of remote system

32

Figure 8.3.2.6 shows the batch configuration saved message

33

Figure 8.3.2.7 shows the file transfer tab with displaying drives of both remote system and local system

34

Figure 8.3.2.8 shows the different file operations in file transfer tab

35

Figure 8.3.2.9 shows the files in upload queue for delay uploading operation

36

Figure 8.3.2.10 shows the file transfer tab with displaying drives of the remote system

37

Figure 8.3.2.11 shows the file editor dialog box with a file for editing

Figure 8.3.2.12 shows the setup buffer dialog box to specify the buffer size for loading file

38

Figure 8.3.2.13 shows the files in the C drive of the remote system

39

Figure8.3.2.14 shows connection monitor

40

9. Testing And Implementation 9.1 Test Reports Server Selection

Table 9.1.1 Test Description Iteratio n No 1 1 Expected Result Alert the user to select the server first Allow user to perform operations 3 Server is selected 2 Allow user to perform operations Observed Result Displays message select server first Displays message RMI server Refused to Host Allow user to access remote systems Reasons for failure Network failure -

case no 1 Server is not 2 selected Server is selected

Authentication Table 9.1.2 Test case no 1 Unregistered user is trying to access remote system Description Iteratio n No 1 Alert user about the unauthorized access and should not allow the user to access remote system Display message Unauthorized access to RMI System Expected Result Observed Result Reasons for failure -

41

Registered user is trying to access remote system

Allow user to access remote system

Displays message Unauthorized access to RMI System

Server Key and Server Pass Phrase is not transferred to Server system

Registered user is trying to access remote system

Allow user to access remote system

The user is authenticated and allowed to access the remote system

42

Command Line Table 9.1.3 Test case no 1 If incorrect command is entered Description Iteratio n No 1 Display the error message, regarding the incorrect 2 If correct command is entered 1 commands Execute the commands, and display the output Displays message Not recognized commands/batch file Executes the commands, and display the output in the output console Expected Result Observed Result Reasons for failure -

File Browser Table 9.1.4 Test Description Iteratio n No 1 Expected Result Display warning message about the path, if the path is 1 incorrect Display the files and directories, if the path is correct 3 If the file cannot be moved to the target 4 location If the file can be 1 1 Alert the user about the problem in moving the file Move the file to the Observed Result Displays error message Incorrect path Files and directories are displayed in a tree structure Displays message No privilege to move the file Moves the specified Reasons for failure -

case no 1 If entered path is incorrect, when trying to browse 2 files If entered path is correct

43

moved

target location

file to the location

File Transfer Table 9.1.5 Test case no 1 If specified path is incorrect 2 If specified path is correct 3 If buffer size is insufficient when loading file for 4 editing If buffer size is sufficient 1 1 1 Description Iteratio n No 1 Alert the user about the incorrect path Transfer files to the specified location Display error message about the buffer overflow Load the file for editing Displays the contents of the file that is to be edited Displays message Invalid path for file transfer Transfers files and displays Transfer complete message Displays Buffer Overflow message Expected Result Observed Result Reasons for failure -

Connection Monitor Table 9.1.6 Test case no 1 Refreshing all connections with different systems 2 Restart the RMI Service 1 Description Iteratio n No 1 Display current status of connection with the servers Recreates stub and skeleton for proper Expected Result Observed Result Reasons for failure Displays the current status of connections with the servers Displays message RMI server Physical error

44

Restart the RMI Service

connection Recreates stub and skeleton for proper connection

refused to host Displays message RMI server connected

occurred -

10. Development Environment Server Hardware Requirements Processor RAM Hard Disk : Intel Pentium III : 256 Mega Bytes : 10 Giga Bytes

Operating System : Windows NT/2003 Server/XP, Linux Software Requirements Language Client Hardware Requirements Processor RAM Hard Disk : Intel Pentium III : 128 Mega Bytes : 10 Giga Bytes : Java (j2sdk1.4.2_04)

Operating System : Windows NT/2003 Server/XP, Linux Software Requirements Language : Java (j2sdk1.4.2_04)

11. Implementation Environment Server

45

Hardware Requirements Processor RAM Hard Disk : Intel Pentium III : 256 Mega Bytes : 10 Giga Bytes

Operating System : Windows XP, Linux Software Requirements Language Client Hardware Requirements Processor RAM Hard Disk : Intel Pentium III : 128 Mega Bytes : 10 Giga Bytes : Java (j2sdk1.4.2_04)

Operating System : Windows XP Software Requirements Language : Java (j2sdk1.4.2_04)

12. Conclusion

The project entitled Remote Admin Tool is developed and tested successfully. It meets the specified requirements. The REMOTE ADMIN TOOL accessing the remote

46

system over the network regardless of the target computers platform has been verified effectively. This feature of being independent of the remote system platform plays a good role in area where different OS is being used. The Command line feature of this software is found to effectively open the required application in the remote machine , also the other functions in this module such as the custom batch which creates a batch of applications, the clear screen which clears the remote admin screen, the clear debug function which clears the debug console area, the save configuration that saves the batch configuration are tested to work quite effective. The File Transfer module is found to upload and download the files and directories on either side in a very small span of time. The file browser available in the REMOTE ADMIN TOOL makes it easy for the user to browse the files of the remote system and carry out various operations such as cut, copy, paste, rename, edit, details, delete etc,.The Connection monitor also tested effective. Various tasks and operations to be executed at remote computer are now automated by instructions defined in Remote Admin tool. It provides a user-friendly interface on the client side for easy accessing of remote systems. Thus, Remote Admin tool is highly portable to a great variety of computer platforms that support JAVA

13. Limitation Managed Server List export & import is limited in the remote admin tool. Server key has to be transferred to the target system by any other technology for authentication purpose. 13.1 Future Enhancement This tool can provide Application Programming Interface for programming plug-in and for integration with external system like mobile devices and embedded systems.

47

14. Bibilography References William Grosso, JAVA RMI, O'Reilly Media, Inc.; 1 edition, 2001 Esmond Pitt and Kathleen McNiff, THE REMOTE METHOD INVOCATION GUIDE, Tata McGraw Hill Publishing Company, 2001 John Zukowski, Definitive Guide to Swing for Java 2,1999 Tristan Richardson, Quentin Stafford-Freser, Kenneth R. Wood and Andy Hopper,VIRTUAL NETWORK COMPUTING Reprint from IEEE Internet Computing, Volume 2, Number 1 January/February 1998 Roger S.Pressman, SOFTWARE ENGINEERING A PRACTIONERS APPROACH , Tata McGraw Hill Publishing Company, 1997.

Wesites www.java.sun.com www.samba.org www.remote-desktop-control.com

48

49

You might also like