The connection of an internal network to an external network such as Internet has made it vulnerable to attacks. One class of network attack is unauthorized penetration into network due to the openness of networks. It is possible for an attacker or hackers to sum access to an internal network, this pose great danger to the network and network resources. Our objective and major concern of network design was to build a secured network, based on software firewall that ensured the integrity and confidentiality of information on the network. We proposed an Object-Oriented Methodology and developed an improved software based solution that allows all the inbound and outbound traffic to pass through the firewall. The firewall in turn determines which traffic should be allowed in or out of the network. The firewall algorithm was implemented using Java programming language, which was based on java security architecture. It also utilizes the concept of XML and HTML programming which enables network communication over the Internet.
Chapter 1: Introduction
Computer network is the engineering discipline concerned with communication between computer system and devices. The purposes of networking are exchange of data and resources sharing. With network, large volume of data can be exchanged through both short and long-range connections. Likewise computer resources such as hardware (printers, scanner etc.) and software can be remotely shared among network hosts.
With increase reliance on computer network, calls for serious monitoring of the traffic in and out of the system network. Attacker on the internet could break into the network and do harm in a number of ways; they can steal or damage important data, damage individuals computer or their entire network, and use the internal network computer resources. Due to some of these security threats, there was the need to build a defensive mechanism that ensures that attackers and their likes are not allowed into the network. Firewalls are designed to stop unwanted or suspected traffics from flowing into the internal network. Sets of rules are applied to control the type of networking traffic flowing in and out of the system. This would ensure that attackers have no access to the internal network.
This thesis is organized in four chapters. Chapter 2 provides theoretical background information about firewalls, roles, controls and their impact in network security; a comprehensive literature review on how network traffic can be monitored in order to prevent an unauthorized access to internal network. Chapter 3, we proposed and developed an improved software based solution that allows all the inbound and outbound traffic to pass through the firewall which, in turn determines which traffic should be allowed in or out of the network using object-oriented methodology. Chapter 4, Firewall security system was implementation using software-based solution. The use of Java programming language and the concept of xml and html programming were considered in order to achieve our objectives.
1.1 Statement of Problem
The problem to be solved is the problem of organizations network. What can firms do to protect their network over potential threats against the “resources” they share on the network?
- To developed a firewall system to block unauthorized access to the network and prevent malicious attack which could lead to data loss
- To build a secured network, based on software firewall to protect network resources and ensured the integrity and confidentiality of information on the network are not compromised
1.3 Significance of the Study
The significance of this study is to show how a firewall could prevent attack and protect network resources which will make harder for an attacker to penetrate into the system. The system will be able to offer online services. The probability of exploring vulnerability will be reduced to low risk and the system will be more stable
Chapter 2: Literature Review
This chapter describes what firewalls can do for network security, types of network attack. What firewall needs to control and protect and the impact of firewall in organisation network and users. A review on how network traffic can be monitored in order to prevent an unauthorized access to internal network.
2.1 Theoretical Background
Firewalls are usually the first component of network security. They separate networks in different security levels, by utilizing network access control policies. The major function of the firewall is to protect the private network from non-legitimate traffic.
Firewalls are located between the Internet and private network. They can monitor the outgoing and incoming traffic; also they can prevent the harmful traffic and attacks from Internet. They also can stop the non-legitimate outgoing traffic. If a computer from the local network is attacked by an intruder and generates non-legitimate traffic, the firewall can prevent and detect the computer. Firewall can detect such succeeded attack, so it can be recovered.
A firewall is the most effective way to connect a network to the Internet and still protect that network . Firewalls create a separation between public networks (Internet) and private networks by examining the traffic according to the predefined policy, and allowing only legitimate traffic to pass between the public and private network. They help implementing a larger security policy that defines the services and access to be permitted. It is an implementation of that policy in terms of a network configuration, one or more host systems and routers, and other security measures such as advanced authentication in place of static passwords.
A firewall system can be a router, a personal computer, a host, or a collection of hosts and/or routers, set up specifically to shield a site or subnet from protocols and services that can be abused from hosts outside the subnet . Firewalls must be installed at the choke points to control network traffic and implement network security policy of the organization. Firewalls achieve this by examining the all incoming and outgoing network traffic according to the predefined firewall policy. All network traffic must pass through the firewall, which ensures that only permitted traffic are allowed through . Firewalls have some advantage and disadvantages they are summarized below.
- Firewalls can stop non-legitimate traffic at first point,
- Firewalls can filter protocols and services that are either not necessary or that cannot be adequately secured from exploitation ,
- A firewall can “hide” names of internal systems and internal network schema, thereby revealing less information to outside hosts ,
- Firewalls can concentrate extended logging of network traffic on one system.
- Firewalls utilize manually configured set of rules to differentiate legitimate traffic from non-legitimate traffic,
- Once a static policy is defined, the firewall can’t react to a network attack – nor can it initiate effective counter-measures ,
- Firewalls only examine network packets that pass through them, do not examine network traffic between any two inside hosts,
- Most firewalls do not analyse the contents of the data packets that make up network traffic,
- Firewall policies can vary in effectiveness, depending on the expertise of the security manager and the complexity of the network environment.
2.1.1 Firewalls in Network Security
Firewalls can control all incoming and outgoing traffic because they are placed at the choke point between the public network and private network. Firewalls act like traffic cops and perform the critical task of filtering traffic crossing the network boundary according to the predefined security rules (firewall policy).These rules can be specified at the network layer and/or at the application layer. Firewalls utilize these static, manually configured, security policies to differentiate legitimate traffic from non-legitimate traffic.
Typical reasons for using a firewall to protect a private network include the following :
- To prevent unauthorized external users from accessing computing resources on the internal network. This is necessary because it is extremely difficult and costly to attempt to secure all the hosts within a private network,
- To control internal user access to the external network to prevent the export of proprietary information,
- To avoid the negative public relations impact of a break in,
- To provide a dependable and reliable connection to the Internet, so that employees do not implement their own insecure private connections.
Firewalls can do a lot for your site’s security. In fact, some advantages of using firewalls extend even beyond security, as described below.
A firewall is a focus for security decisions: Think of a firewall as a choke point. All traffic in and out must pass through this single, narrow checkpoint. A firewall gives you an enormous amount of advantages for network security because it lets you concentrate your security measures on this choke point: the point where your network connects to the Internet.
Focusing your security in this way is far more efficient than spreading security decisions and technologies around, trying to cover all the bases in a piecemeal fashion. Although firewalls can cost tens of thousands of dollars to implement, most sites find that concentrating the most effective security hardware and software at the firewall is less expensive, more effective than other security measures, and certainly less expensive than having inadequate security.
A firewall can enforce security policy: Many of the services that people want from the Internet are inherently insecure. The firewall is the traffic cop for these services. It enforces the site’s security policy, allowing only “approved” services to pass through and those only within the rules set up for them.
For example, one site might decide that only one internal system can communicate with the outside world. Still another site might decide to allow access from all systems of a certain type, or belonging to a certain group; the variations in site security policies are endless.
A firewall may be called upon to help enforce policies that are more complicated. For example, perhaps only certain systems within the firewall are allowed to transfer files to and from the Internet; by using other mechanisms to control which users have access to those systems, you can control which users have these capabilities. Depending on the technologies you choose to implement your firewall, a firewall may have a greater or lesser ability to enforce such policies.
A firewall can log Internet activity efficiently: Because all traffic passes through the firewall, the firewall provides a good place to collect information about system and network use and misuse. As a single point of access, the firewall can record what occurs between the protected network and the external network .
A firewall limits your exposure: Sometimes, a firewall will be used to keep one section of your site’s network separate from another section. By doing this, you keep problems that affect one section from spreading through the entire network. In some cases, you will do this because one section of your network may be more trusted than another; in other cases, because one section is more sensitive than another. Whatever the reason, the existence of the firewall limits the damage that a network security problem can do to the overall network
The main purpose of a firewall system is to control access to or from a protected network. It implements a network access policy by forcing connections to pass through the firewall, where they can be examined and evaluated.