MICRO-PROJECT IDEA'S FOR NETWORKING
1. DHCP Server Implementation:
The most common and simple micro project for networking is DHCP server. One can easily implement the DHCP server using java or python.
What is DHCP Server?
A DHCP Server is a network server that automatically provides and assigns IP addresses, default gateways and other network parameters to client devices. It relies on the standard protocol known as Dynamic Host Configuration Protocol or DHCP to respond to broadcast queries by clients.
A DHCP server automatically sends the required network parameters for clients to properly communicate on the network. Without it, the network administrator has to manually set up every client that joins the network, which can be cumbersome, especially in large networks. DHCP servers usually assign each client with a unique dynamic IP address, which changes when the client’s lease for that IP address has expired.
How to implement DHCP Server?
Implementation of DHCP server is very easy. You just need to create one server and client using java code. Using java socket programming you need to create one multiple client server application and when client request for ip address then server should respond by sending one random interger.
2. Website Blocker:
A website blocker is a software program that intentionally restricts access to particular sites. The purpose of website blockers is to deter users from using distracting websites instead of completing their work. All standard browsers have this feature built, which can usually be access through the advanced browser settings menu. It is also possible to implement using using python.
Requirements:
We need to know the following python modules to build the python website blocker
1. file handling: file handling is used to do the modifications to the hosts file.
2. time: The time module is used to control the frequency of the modifications to the hosts file
3. datetime: The datetime module is used to keep track of the free time and working time.
3.Chat Application using TCP protocol:
TCP is connection oriented protocol. Using TCP we can implement the chat application in which we first develop connection between users and then send the message over it. To implement this we can use the java socket programming. Also we can extend this project by creating multiple client chat application.
In this application, client sends a message to the server, server reads the message and prints it. Here, two classes are being used: Socket and ServerSocket. The Socket class is used to communicate client and server. Through this class, we can read and write message. The ServerSocket class is used at server-side. The accept() method of ServerSocket class blocks the console until the client is connected. After the successful connection of client , it returns the instance of Socket at server-side.
4.Port Scanning:
A port scanner is a software application designed to probe a server or host for open ports. This is often used by administrators to verify security policies of their networks and by attackers to identify running services on a host with the view to compromise it.Port scanning is also used to configure applications for network security to inform the administrators in case they detect some connections across a wide range of ports from a single host.
We can implement this using java. In this constructor of the Socket instance Class, we supply the hostname or IP address and the port number. Then creates an instance of the Socket Class with the localhost IP address. If a connection is made on the localhost with the current port number then it will print a "Port in use" message. If a connection could not be made on the localhost with the current port number, then "Port not in use" message will be printed to the console.
Conclusion:
Above are some ideas for micro-project of networking you can go through the reference link for more information about project.
I hope you enjoyed this blog.
Thanks for reading.....
Comments
Post a Comment