ADSL FILTERS

WHAT TYPE OF ADSL
CABLE OR
BT SOCKET

FREE OR PAID FOR SERVICE

EQUIPMENT

MODEM OR ROUTER

WIRED OR WIRELESS

HOW TO EXTEND
 ADSL MODEM
OR
TELEPHONE LEADS

 FIREWALLS
 EXPLAINED

SPYWARE ?

WHO IS WATCHING YOU

Placeholder  Image

 VIRUS SCANNER

UNIT
 CONVERTOR

 Currency
 Convertor

.

RENEW YOUR BIT DEFENDER HERE

1.     What is a firewall?
A firewall protects networked computers from intentional hostile intrusion that could compromise confidentiality
or result in data corruption or denial of service. It may be a hardware device (see Figure 1) or a software
 program (see Figure 2) running on a secure host computer. In either case, it must have at least two network
 interfaces, one for the network it is intended to protect, and one for the network it is exposed to.

A firewall sits at the junction point or gateway between the two networks, usually a private network and a
public network such as the Internet. The earliest firewalls were simply routers. The term firewall comes from the
 fact that by segmenting a network into different physical subnetworks, they limited the damage that could spread
 from one subnet to another just like firedoors or firewalls. Figure 1: Hardware Firewall
Hardware firewall providing protection to a Local Network

Hardware Firewall

Figure 2: Computer with Firewall Software
Computer running firewall
software to provide protection Computer with Firewall Software

 What does a firewall do? A firewall examines all traffic routed between the two networks to see if it meets certain
 criteria. If it does, it is routed between the networks, otherwise it is stopped. A firewall filters both inbound and
 outbound traffic. It can also manage public access to private networked resources such as host applications. It can
be used to log all attempts to enter the private network and trigger alarms when hostile or unauthorized entry is
 attempted. Firewalls can filter packets based on their source and destination addresses and port numbers. This is
 known as address filtering. Firewalls can also filter specific types of network traffic. This is also known as protocol
 filtering because the decision to forward or reject traffic is dependant upon the protocol used,
 for example HTTP, ftp or telnet. Firewalls can also filter traffic by packet attribute or state.

 Figure 3: Basic Firewall Operation

Basic Firewall Operation

1.      To understand how firewalls work it helps to understand how the different layers of a network interact.
Network architecture is designed around a seven layer model. Each layer has its own set of responsibilities, and
 handles them in a well-defined manner. This enables networks to mix and match network protocols and physical
 supports. In a given network, a single protocol can travel over more than one physical support (layer one) because
 the physical layer has been dissociated from the protocol layers (layers three to seven). Similarly, a single physical
cable can carry more than one protocol. The TCP/IP model is older than the OSI industry standard model which is
 why it does not comply in every respect. The first four layers are so closely analogous to OSI layers however that
interoperability is a day to day reality.

Firewalls operate at different layers to use different criteria to restrict traffic. The lowest layer at which a firewall can
work is layer three. In the OSI model this is the network layer. In TCP/IP it is the Internet Protocol layer. This layer
is concerned with routing packets to their destination. At this layer a firewall can determine whether a packet is from
a trusted source, but cannot be concerned with what it contains or what other packets it is associated with. Firewalls
 that operate at the transport layer know a little more about a packet, and are able to grant or deny access depending
on more sophisticated criteria. At the application level, firewalls know a great deal about what is going on and can be
 very selective in granting access.

Figure 4: The OSI and TCP/IP models

The OSI and TCP/IP models

It would appear then, that firewalls functioning at a higher level in the stack must be superior in every respect. This is not
 necessarily the case. The lower in the stack the packet is intercepted, the more secure the firewall. If the intruder
cannot get past level three, it is impossible to gain control of the operating system.

Figure 5: Professional Firewalls Have Their Own IP Layer

Professional Firewalls Have Their Own IP Stack

 

Professional firewall products catch each network packet before the operating system does, thus, there is no direct
path from the Internet to the operating system's TCP/IP stack. It is therefore very difficult for an intruder to gain
control of the firewall host computer then "open the doors" from the inside.

Traditional firewall technology is susceptible to misconfiguration on non-hardened OSes. More recently, however,
 "...firewalls have moved down the protocol stack so far that the OS doesn't have to do much more than act as a
bootstrap loader, file system and GUI". Newer firewall code bypasses the operating system's IP layer altogether,
never permitting "potentially hostile traffic to make its way up the protocol stack to applications running on the system".

1.                               What different types of firewalls are there?

Firewalls fall into four broad categories: packet filters, circuit level gateways, application level gateways and stateful
 multilayer inspection firewalls.

Packet filtering firewalls work at the network level of the OSI model, or the IP layer of TCP/IP. They are usually part
 of a router. A router is a device that receives packets from one network and forwards them to another network. In a
packet filtering firewall each packet is compared to a set of criteria before it is forwarded. Depending on the packet
and the criteria, the firewall can drop the packet, forward it or send a message to the originator. Rules can include
 source and destination IP address, source and destination port number and protocol used. The advantage of packet
 filtering firewalls is their low cost and low impact on network performance. Most routers support packet filtering.
Even if other firewalls are used, implementing packet filtering at the router level affords an initial degree of security at a
 low network layer. This type of firewall only works at the network layer however and does not support sophisticated
 rule based models (see Figure 5). Network Address Translation (NAT) routers offer the advantages of packet
 filtering firewalls but can also hide the IP addresses of computers behind the firewall, and offer a level of
circuit-based filtering.

Figure 6: Packet Filtering Firewall

Packet Filtering Firewall

Circuit level gateways work at the session layer of the OSI model, or the TCP layer of TCP/IP. They monitor TCP
handshaking between packets to determine whether a requested session is legitimate. Information passed to remote
computer through a circuit level gateway appears to have originated from the gateway. This is useful for hiding
information about protected networks. Circuit level gateways are relatively inexpensive and have the advantage of
hiding information about the private network they protect. On the other hand, they do not filter individual packets.

Figure 7: Circuit level Gateway

Circuit level Gateway

Application level gateways, also called proxies, are similar to circuit-level gateways except that they are application
specific. They can filter packets at the application layer of the OSI model. Incoming or outgoing packets cannot access
 services for which there is no proxy. In plain terms, an application level gateway that is configured to be a web proxy
will not allow any ftp, gopher, telnet or other traffic through. Because they examine packets at application layer, they
can filter application specific commands such as http:post and get, etc. This cannot be accomplished with either packet
filtering firewalls or circuit level neither of which know anything about the application level information. Application level
 gateways can also be used to log user activity and logins. They offer a high level of security, but have a significant
impact on network performance. This is because of context switches that slow down network access dramatically.
 They are not transparent to end users and require manual configuration of each client computer.
Figure 8: Application level Gateway

Application level Gateway

Stateful multilayer inspection firewalls combine the aspects of the other three types of firewalls. They filter packets at
 the network layer, determine whether session packets are legitimate and evaluate contents of packets at the
application layer. They allow direct connection between client and host, alleviating the problem caused by the lack
of transparency of application level gateways. They rely on algorithms to recognize and process application layer data
 instead of running application specific proxies. Stateful multilayer inspection firewalls offer a high level of security,
 good performance and transparency to end users. They are expensive however, and due to their complexity are
potentially less secure than simpler types of firewalls if not administered by highly competent personnel. (See Figure 8)

Figure 9: Stateful Multilayer Inspection Firewall

Stateful Multilayer Inspection Firewall

2.      How do I implement a firewall?

We suggest you approach the task of implementing a firewall by going through the following steps:

a.      Determine the access denial methodology to use.

It is recommended you begin with the methodology that denies all access by default. In other words, start with a
 gateway that routes no traffic and is effectively a brick wall with no doors in it.

b.      Determine inbound access policy.

If all of your Internet traffic originates on the LAN this may be quite simple. A straightforward NAT router will block
all inbound traffic that is not in response to requests originating from within the LAN. As previously mentioned, the true
 IP addresses of hosts behind the firewall are never revealed to the outside world, making intrusion extremely difficult.
 Indeed, local host IP addresses in this type of configuration are usually non-public addresses, making it impossible to
 route traffic to them from the Internet. Packets coming in from the Internet in response to requests from local hosts are
addressed to dynamically allocated port numbers on the public side of the NAT router. These change rapidly making it
difficult or impossible for an intruder to make assumptions about which port numbers to use.

If your requirements involve secure access to LAN based services from Internet based hosts, then you will need to
 determine the criteria to be used in deciding when a packet originating from the Internet may be allowed into the LAN.
The stricter the criteria, the more secure your network will be. Ideally you will know which public IP addresses on the
Internet may originate inbound traffic. By limiting inbound traffic to packets originating from these hosts, you decrease
the likelihood of hostile intrusion. You may also want to limit inbound traffic to certain protocol sets such as ftp or http.
All of these techniques can be achieved with packet filtering on a NAT router. If you cannot know the IP addresses
 that may originate inbound traffic, and you cannot use protocol filtering then you will need more a more complex rule
based model and this will involve a stateful multilayer inspection firewall.

c.       Determine outbound access policy.

If your users only need access to the web, a proxy server may give a high level of security with access granted
 selectively to appropriate users. As mentioned, however, this type of firewall requires manual configuration of each
 web browser on each machine. Outbound protocol filtering can also be transparently achieved with packet filtering
and no sacrifice in security. If you are using a NAT router with no inbound mapping of traffic originating from the
Internet, then you may allow LAN users to freely access all services on the Internet with no security compromise.
Naturally, the risk of employees behaving irresponsibly with email or with external hosts is a management issue and
must be dealt with as such.

d.      Determine if dial-in or dial-out access is required.

Dial-in requires a secure remote access PPP server that should be placed outside the firewall. If dial-out access is
 required by certain users, individual dial-out computers must be made secure in such a way that hostile access to the
LAN through the dial-out connection becomes impossible. The surest way to do this is to physically isolate the
 computer from the LAN. Alternatively, personal firewall software may be used to isolate the LAN network interface
 from the remote access interface.

Decide whether to buy a complete firewall product, have one implemented by a systems integrator or implement
one yourself.

Once the above questions have been answered, it may be decided whether to buy a complete firewall product or to
 configure one from multipurpose routing or proxy software. This decision will depend as much on the availability of
in-house expertise as on the complexity of the need. A satisfactory firewall may be built with little expertise if the
 requirements are straightforward. However, complex requirements will not necessarily entail recourse to external
 resources if the system administrator has sufficient grasp of the elements. Indeed, as the complexity of the security
model increases, so does the need for in-house expertise and autonomy.

3.      Is a firewall sufficient to secure my network or do I need anything else?

The firewall is an integral part of any security program, but it is not a security program in and of itself. Security involves data integrity (has it been modified?), service or application integrity (is the service available, and is it performing to spec?), data confidentiality (has anyone seen it?) and authentication (are they really who they say they are?). Firewalls only address the issues of data integrity, confidentiality and authentication of data that is behind the firewall. Any data that transits outside the firewall is subject to factors out of the control of the firewall. It is therefore necessary for an organization to have a well planned and strictly implemented security program that includes but is not limited to firewall protection.

4.      What is IP spoofing?

Many firewalls examine the source IP addresses of packets to determine if they are legitimate. A firewall may be
 instructed to allow traffic through if it comes from a specific trusted host. A malicious cracker would then try to
gain entry by "spoofing" the source IP address of packets sent to the firewall. If the firewall thought that the packets
originated from a trusted host, it may let them through unless other criteria failed to be met. Of course the cracker
 would need to know a good deal about the firewall's rule base to exploit this kind of weakness. This reinforces the
 principle that technology alone will not solve all security problems. Responsible management of information is essential.
 "There are management solutions to technical problems, but no technical solutions to management problems".

An effective measure against IP spoofing is the use of a Virtual Private Network (VPN) protocol such as IPSec.
 This methodology involves encryption of the data in the packet as well as the source address. The VPN software or
 firmware decrypts the packet and the source address and performs a checksum. If either the data or the source
 address have been tampered with, the packet will be dropped. Without access to the encryption keys, a potential
 intruder would be unable to penetrate the firewall.

5.      Firewall related problems

Firewalls introduce problems of their own. Information security involves constraints, and users don't like this. It reminds
 them that Bad Things can and do happen. Firewalls restrict access to certain services. The vendors of information
 technology are constantly telling us "anything, anywhere, any time", and we believe them naively. Of course they forget
 to tell us we need to log in and out, to memorize our 27 different passwords, not to write them down on a sticky
 note on our computer screen and so on.

Firewalls can also constitute a traffic bottleneck. They concentrate security in one spot, aggravating the single point
of failure phenomenon. The alternatives however are either no Internet access, or no security, neither of which are
 acceptable in most organizations.

6.      Benefits of a firewall

Firewalls protect private local area networks from hostile intrusion from the Internet. Consequently, many LANs are
 now connected to the Internet where Internet connectivity would otherwise have been too great a risk.

Firewalls allow network administrators to offer access to specific types of Internet services to selected LAN users.
This selectivity is an essential part of any information management program, and involves not only protecting private
 information assets, but also knowing who has access to what. Privileges can be granted according to job description
and need rather than on an all-or-nothing basis.