Port Scanner: Guided By: Group Members
Port Scanner: Guided By: Group Members
1
1. INTRODUCTION
2. FEATURES
3. OPTIMAL REQUIREMENTS
4. SYSTEM DESIGNING
5. TECHNOLOGY USED
6. ADVANTAGES OF TECHNOLOGY
7. DISADVANTAGES OF TECHNOLOGY
2
- A port scanner is a software application
designed to listen local host for open ports.
-It will list the port number and their status for
all the applications running on local computer.
3
Port finder: This feature will find status for a particular
port number. In this the port number will enter in the text
field than it will give the information of that port. It reduces
the time to find status of a particular port from a given list of
ports.
Port allocator: If there is congestion on ports then port
allocator can allocate free ports to the requesting
applications. It will ask for port number and application and
than it will allocate the application on the port which is not
busy.
4
Software Requirement
1. Operating system: Microsoft windows XP
2. Netbeans
3. Jdk 1.6
Hardware Requirement
12.8 GHz Pentium PC
1.65 KB of memory (for installing Netbeans)
4.00 KB of disk
5
1. Flow chart
2. Data Flow Diagram
.
Find port:
-Socket layer programming:
Socket creates : <IP address, port no.>
Connection makes :
{source<IP address, port no.>, destination<IP address, port no.>}
9
-Client process sends a request to connect to the server.
-Once the connection is established between client &
server, they can start sending/receiving data.
10
Server
- Welcoming socket:
• Welcomes some initial contact from a client.
- Connection socket:
• Is created at initial contact of client.
• New socket that is dedicated to the particular client.
Client
- Client socket:
• Initiate a TCP connection to the server by creating a socket
object. (Three-way handshake)
• Specify the address of the server process, namely, the IP address
of the server and the port number of the process.
socket (): Create a socket
bind(): bind a socket to a local IP address and port #
listen(): passively waiting for connections
connect(): initiating connection to another socket
accept(): accept a new connection
Write(): write data to a socket
Read(): read data from a socket
sendto(): send a datagram to another TCP socket
recvfrom(): read a datagram from a TCP socket
close(): close a socket (tear down the connection)
12
13
Sockets are flexible and sufficient. Efficient socket based
programming can be easily implemented for general
communications.
Sockets cause low network traffic. Unlike HTML forms and CGI
scripts that generate and transfer whole web pages for each new
request, Java applets can send only necessary updated
information.
Security restrictions are sometimes overbearing because a Java
applet running in a Web browser is only able to establish
connections to the machine where it came from, and to nowhere
else on the network
Despite all of the useful and helpful Java features, Socket based
communications allows only to send packets of raw data
between applications. Both the client-side and server-side have
to provide mechanisms to make the data useful in any way.
16
Thank you!!!
17