AU2003227123A1 - Firewall with stateful inspection - Google Patents
Firewall with stateful inspection Download PDFInfo
- Publication number
- AU2003227123A1 AU2003227123A1 AU2003227123A AU2003227123A AU2003227123A1 AU 2003227123 A1 AU2003227123 A1 AU 2003227123A1 AU 2003227123 A AU2003227123 A AU 2003227123A AU 2003227123 A AU2003227123 A AU 2003227123A AU 2003227123 A1 AU2003227123 A1 AU 2003227123A1
- Authority
- AU
- Australia
- Prior art keywords
- packet
- network
- firewall
- network card
- acceptable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Description
WO 03/094464 PCT/AU03/00527 1 FIREWALL WITH STATEFUL INSPECTION TECHNICAL FIELD The invention relates to a network security device and more particularly to a stateful inspection firewalling bridge. 5 BACKGROUND ART Many network services have been proven exploitable and tools to do so, even for the beginner, have become widely available. Even without compromising information, the temporary blackout of a server or network can mean many hours of lost work and missed business opportunities. 10 Companies can connect to the Internet, and can exchange data via dialup; isdn and leased lines. Furthermore, employees can be offered remote access options. Moreover, every incoming connection is likely to have outgoing connections as well. No computer network is completely secure. Like any lock, if it is human 15 built, it can be human broken. A small security measure may take out most amateurs that otherwise would cause an annoyance. On the other hand, a major site should not settle for small security measures. Security is expensive. Dedicated hardware and software has to be purchased, installed, configured and maintained by either hiring, employing or 20 creating expertise. Often changes have to be made to existing infrastructure requiring more hardware or causing downtime. Glossary of Terms Bridge 25 A device which forwards traffic between network segments based on data link layer information. These segments would have a common network layer address.
WO 03/094464 PCT/AU03/00527 2 Firewall A dedicated gateway machine with special security precautions on it, used to service outside network, especially Internet connections and dial-in lines. The idea is to protect a cluster of more loosely administered machines 5 hidden behind it from crackers. The typical firewall is an inexpensive microprocessor-based unit machine with no critical data, with modems and public network ports on it, but just one carefully watched connection back to the rest of the cluster. Router 10 A device which forwards packets between networks. The forwarding decision is based on network layer information and routing tables, often constructed by routing protocols. Packets The unit of data sent across a network. "Packet" is a generic term used 15 to describe a unit of data at any layer of OSI protocol stack, but it is most correctly used to describe application later data units ("application protocol data unit", APDU). Stateful Inspection A stateful inspection program reviews all packets initiating a connection 20 against a firewall rulebase in sequential order. If the packet goes through any rule without being accepted, the packet is denied. If the connection is accepted, the session is then entered into the firewall's stateful inspection table. If the session is in the table, and the packet is a part of that session, then the packet is accepted. If the packet is not part of the session, then it is 25 dropped. Every packet is compared against the rulebase and based on the matching rule a decision is executed.
WO 03/094464 PCT/AU03/00527 3 Rule Base A set of rules which determines which packets are allowed or disallowed through a network. HTML: Hypertext Markup Language 5 This is the language used to describe WWW pages. A tag-based ASCII language that is used to specify the content and hypertext links to other documents on World Wide Web servers on the Internet. Browsers made for any operating system, (hardware platform, monitor resolution, etc.) can then be used to view the prepared documents and follow 10 links to display other documents. Network Interface Card (Network Card) A name for the LAN'Adaptor (printer circuit board) installed in a PC, that enables it to communicate over a LAN. The term is used commonly by IBM PC and token ring users. 15 IP Address All network-layer protocols have an address format, and for the 32-bit IP addresses of the TCP/IP protocol, addresses are of the form "199.12.1.1" This is called dotted decimal, and each of the four sections is a decimal number from 0 to 255, representing 8 bits of the IP address specifies a specific 20 host on that network. Since there are only 32 bits to the entire IP address and some networks have many more hosts than others (and there are fewer larger networks), there are different address classes. These allocate different numbers of bits to the network and host portion of the address. 25 DMZ De-Militarised Zone From the military term for an area between two opponents where fighting is prevented.
WO 03/094464 PCT/AU03/00527 4 DMZ Ethernets connect networks and computers controlled by different bodies. They may be external or internal. External DMZ Ethernets link regional networks with routers to internal networks. Internal DMZ Ethernets link local nodes with routers to the regional networks. 5 Current Technology Many different types of firewalls and security software are known. They can be broken down to three categories. (We do not consider personal firewalls protecting a single home computer). S Proxy based: The firewall serves as an application-proxy between 10 systems that physically connect to different network interfaces on the firewall server. An application-proxy acts as an agent or substitute at the application level for entities that reside on one side of the firewall when dealing with entities on another side of the firewall. By maintaining this separation between interfaces, and continuously protocol checking, provides a very secure 15 environment. This is demanding on CPU time and this can become an issue in high volume sites. * Stateful inspection: Whenever the firewall receives a packet initiating a connection, that packet is reviewed against the firewall rulebase in sequential order. If the packet goes through any rule without being accepted, the packet is 20 denied. If the connection is accepted, the session is then entered into the Firewall's stateful connection table, which is located in memory. Every packet that follows is then compared to the stateful inspection table. If the session is in the table, and the packet is part of that session, then the packet is accepted. If the packet is not part of the session then it is dropped. This improves system 25 performance, as every single packet is not compared against the rule base. * Packet filters: Every packet is compared against the rulebase and based on the matching rule or rules a decision is executed.
WO 03/094464 PCT/AU03/00527 5 Most of the high-end firewalls provide combinations or hybrids of the above-mentioned techniques. All known examples have in common, that they are technically routers and need to have different subnets on each network interface. 5 Router vs. Bridge A router is a device that forwards packets between networks. The router is aware of different networks and how to get there. This is the technique currently used by all known commercial firewalls. This implies that hosts on a different side of the firewall have to have a different network address, as the 10 traffic will otherwise never end up at the firewall. Network changes needed on the dial-in device as well as on the LAN. A bridge is a device that forwards traffic between network segments based on data link layer information. It works based on the MAC address. The present invention emerged from a real life situation where a 15 company wanted to protect their dial-in server. That server already provided network connectivity for employees and third parties. A new third party company needed access, but it was known that that company had an insecure Internet connection. Implementing any sort of conventional firewall would have meant 20 reconfiguring the addressing-scheme of the dial-in server and coordinating changes with the remote companies. Accordingly the need exists for a security device which requires no changes to existing infrastructure. Also required is a fully transparent firewall. The systems of the present 25 invention will never show in traceroute, as it is not a logical part of the network.
WO 03/094464 PCT/AU03/00527 6 Further, the invention may be implemented without assigning an IP address to it. This means console access for configuration but results in a security device without an address. DISCLOSURE OF THE INVENTION 5 A network security device for controlling the flow of packets into and out of an internal network, said device including first and second network cards and a stateful inspection firewall and wherein during inflow of packets the first network card forwards each packet to the firewall for inspection to determine whether or not the packet is part of an existing session and wherein: 10 (i) if the packet is part of an existing session it will be forwarded to the second network card and on to the internal network, and (ii) if the packet is not part of an existing session it will be compared with a set of rules which determine whether the packet is acceptable or not acceptable to the network and wherein: 15 (a) if the packet is acceptable it will be forwarded to the second network card and to the internal network, and the session is entered into the stateful inspection table, (b) if the packet is not acceptable it will be dropped and will disappear, 20 and wherein during the outflow of packets an outbound packet passes through the second network card where it is inspected to determine whether or not it is part of an existing session and, if so, it is forwarded to the first network card to exit the device, and, if not, it is compared with the set of rules and if the packet is acceptable it is forwarded to the first network card to exit the device and, if 25 not, it is dropped and disappears.
WO 03/094464 PCT/AU03/00527 7 BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a flow chart illustrating how the system of the present invention is configured, Fig. 2 is a flow chart illustrating how network traffic enters an internal 5 network through the system of the present invention, Fig. 3 is a flow chart illustrating how internal network traffic passes through the system of the present invention into the external world, and Fig. 4 is an illustration of the graphical user interface which provides a 10 user with editorial control over a packet filtering rule set. MODES FOR CARRYING OUT THE INVENTION 15 Implementation of the invention requires, for example: Hardware Minimum 200Mhz Processor Min 64MB RAM One solid-state hard drive of 64MB Capacity 20 3 x Network Cards 10/100/1000 Case with power supply and LCD panel with input device for system configuration. Serial port for debugging and startup information as we do not use a video card. 25 Software Linux Kernel Version 2.4.x WO 03/094464 PCT/AU03/00527 8 Apache Web Server 1.3.22 mod perl mod_SSL Perl Version 5.6.1 OpenSSH + OpenSSL GNU Tools and utilities needed for running SYS V Linux OS 5 Web Interface using mod perl, HTML and CSS Installation is accomplished by creating a computer using the hardware listed in the "Hardware" section above. The invention includes a configuration interface, which include firewall configuration and system monitoring. 10 The Firewall Configuration is shown in flow chart form in Fig. 1. The interface 10 uses plain text configuration files (20), manipulated through a Common Gateway Inferface (50), that contain the ruleset. The configuration files 20 are manipulated by Perl scripts that are accessed through an HTML interface and then translated (30) into the kernel rules 40 by Perl scripts. 15 Preferred management interface and firewall configuration files are described below. The System Monitors: (i) LOAD status which tells the users the current load on the CPU, (ii) DISK SPACE status which tells the users the current level of Disk 20 Space usage, and (iii) CONFIGURATION status, which tells the users whether or not the changes they have made to the configuration of the firewall have been committed to the firewall. The system also monitors and logs whether or not packets have been 25 allowed or denied. As shown in Fig. 2, the inward flow of information comprises a flow of packets from the world 70. Each packet passes through the first network card WO 03/094464 PCT/AU03/00527 9 80. The packet is then inspected (90) to see if it is part of an existing session. If the packet is part of an existing session (100) the packet will be accepted (110) and then forwarded to the second network card 120 and through to the internal network 60. 5 If the packet is not part of an existing session (130) it will be compared with the set of rules. If the packet is accepted (110) it will be then forwarded to the second network card 120 and through to the internal network 60. This session will then be entered into a Stateful Inspection Table and any packet that is part of this session will be then forwarded to the second network card 10 120 and through to the network 60. If the packet is denied (150) or is not part of that session it will then be dropped (160) which means that it disappears. A log can record what happened to the packet. As shown in Fig. 3, an outbound packet from the network 60 passes through the second network card 120. The packet is then inspected to see if it 15 is part of an existing session (90). If the packet is part of an existing session (100) the packet will be accepted (110) and then forwarded to the first network card 80 and through to the world 70. If the packet is not part of an existing session, the packet will then be compared to the ruleset. If the packet is accepted (110) it will be then 20 forwarded to the first network card 80 and through to the world 70. This session will then be entered into the Stateful Inspection Table and any packet that is part of this session will be then forwarded to the first network card 80 and through to the world 70. If the packet is denied (150) it will then be dropped (160) which means that it disappears. The log can record what happened to 25 the packet. The following table compares the features of the present invention to two other commercial products.
WO 03/094464 PCT/AU03/00527 10 Present Invention FireBox II T Firewall I TM & Raptor TM 1. All-In-One Network All-In-One Network Software Based Network Security Device that Security Device that Security Device requires no other devices requires no other devices Require: Extra Hardware to protect a network or to protect a network or (a computer) & Extra segment of a network segment of a network Software (an operating system) 2, HTML Interface for HTML Interface for Uses its own Interface for Configuration which Configuration which configuration which means that it can be means that it can be means that it can only be configured from any configured from any configured from a computer that has a computer that has a computer that has the browser without installing browser without installing software installed on it. any additional software any additional software 3. Uses 3 Network Cards- Uses 3 Network Cards Uses at least 2 Network Management Interface - DMZ Cards. Can uses as with dummy internal IP - Local many as supported by address - Internet hardware and OS - No IP Address combination. - No IP Address - Internal - External 4. Requires No IP Requires Multiple Requires Multiple Addresses on the Relevant IP Addresses Relevant IP Addresses protected segments 5. Uses Stateful Uses Packet Filtering Uses Stateful inspection Inspection Firewall Firewall Technology and proxy Firewall Technology Technology WO 03/094464 PCT/AU03/00527 11 6. Checks Packet and Checks Packet and then Checks Packet and then then Bridges it Routes it Routes it (Completely Transparent) Firewall I and Raptor require a separate computer with an operating system before they can run and is therefore very different to the other two firewalls. 5 The present invention uses 3 Network Cards. The first two network cards 80, 110 do not have an IP address assigned to them. The third network card is a management interface with dummy internal IP address which is only used to configure the firewall. It is not used in the operation of the firewall in any way and has no IP address. 10 This is the greatest difference between the invention and any known Firewall on the market. Because the present inventive solution does not use IP addresses, it is not a logical part of the network. This means that it cannot be detected and that it can be implemented simply by disconnecting an existing interface and plugging this in the middle. No other network reconfiguration is 15 required. This makes it completely unique. The Firebox TM uses 3 Network Cards and requires 3 relevant IP addresses. This means that the Network needs to be reconfigured to allow for the installation of this product. Firewall I TM and Raptor T M use 2 Network Cards and require 2 relevant IP 20 addresses. This means that the Network needs to be reconfigured to allow installation of these products. The present invention checks a packet and then bridges it, which is completely transparent. The Firebox
T
" checks a packet and then routes it.
WO 03/094464 PCT/AU03/00527 12 Firewall I TM and Raptor TM check the packet and then route it. Raptor T" checks the requests and then proxies it. All three firewalls check a packet. One significant difference is that the present invention will bridge it rather than route it. 5 As shown in Fig. 4, a rule set 90 can be edited through a graphical user interface 200. All rules 210 are given an order. This order may be modified at any time. The rules 210 are checked by the computer, one at a time, in order. If a packet satisfies a rule 210 it will be actioned 230 as determined by the rule, otherwise it will go to a default rule. The rule set takes into account the packet 10 source 220, the destination 240, the relevant service 250 and options 260 such as logging requirements. Graphical buttons provide 270, 280 easy user editing or deletion. The preferred management interface and firewall configuration files will now be 15 described. The CGI interface uses mod_perl and distinguishes between two types of files. *.cgi files which deal with what the user sees in the webbrowser. *-Iib.pl files which contain functions for checking user input and manipulating the 20 configuration files. There are static html files, images and cascading stylesheets used as a framework for the dynamic content and presentation. The following files are used to manipulate the configuration files: I 25 - fb-cgilib.pl (general functions used by all scripts) - ipcalc-lib.pl (ip calculator library) - ipcalc.cgi (ip calculator presentation) WO 03/094464 PCT/AU03/00527 13 * bridgeview (this contains the read only versions) - vwgroups.cgi - vwnetobjects.cgi - vwrules.cgi 5 - vwservices.cgi *fw - fwconf-lib.pl (write ipchains compatible config based on rules) - fwconf.cgi (activate/roll back configuration) - groups-lib.pl (manipulate group file) 10 - groups.cgi (presentation for group file) - netobjects-lib.pl (manipulate network objects file) - netobjects.cgi (presentation for network objects file) - rules-lib.pl (manipulate rules file) - rules.cgi (presentation for rules file) 15 - services-lib.pl (manipulate services file) - services.cgi (presentation for services file) * Iogvw - Iogvw.cgi (view current log file) * options 20 - fbgconf-lib.pl (manipulate global configuration options) - fbgconf.cgi (presentation global configuration options) * status - confstatus.cgi (check if current configuration is identical to active) - loadstatus.cgi (check the load of the box) 25 * wizard - wizard.cgi (step by step creation of rules and related objects) WO 03/094464 PCT/AU03/00527 14 Firebridge uses the following configuration files: Actions (Possible actions for a rule) nr:action 5 fbgcfg (Global configuration options) option=value (true or false) fbrules (rules by number) nr:allow/deny:source-name:destination-name:service-name:action-n r:comment (note that source/destination/service can be a group name) 10 groups (groups) name:type:member-name,member-name,member-name:comment netobjects (network entities) name:address/mask protocols (ip protocols by number) 15 nr:name:comment name:description:protocol-nr:source-port:destination-port (ports can be ranges separated by a dash, e.g: 1024-65535) The Firebridge uses the following directories for it's configuration: 20 /usr/Iocal/firebridge/fwconfig/active /usr/Iocal/firebridge/fwconfig/config Upon boot the system will write the files from ./active to ./config which physically lives on the /var ram drive (symbolic link to the above name). When a user makes changes to the firewall these will be recorded in the ./config 25 directory. Once the user is happy with all the changes he then selects activate config within the management interface.
WO 03/094464 PCT/AU03/00527 15 The system then takes all the files from the ./config and overwrites the files in ./active. It then starts creating ipchains compatible output translating groups into multiple rules as desired. When all rules were written successfully it activates these in ipchains. 5 Alternatively the user can select roll back upon which the system will take the files from ./active and overwrite the files in ./config.
Claims (13)
1. A network security device for controlling the flow of packets into and out of an internal network, said device including first and second network cards and a stateful inspection firewall and wherein during inflow of packets the first network card forwards each packet to the firewall for inspection to determine whether or not the packet is part of an existing session and wherein: (i) if the packet is part of an existing session it will be forwarded to the second network card and on to the internal network, and (ii) if the packet is not part of an existing session it will be compared with a set of rules which determine whether the packet is acceptable or not acceptable to the network and wherein: (a) if the packet is acceptable it will be forwarded to the second network card and to the internal network, and the session is entered into the stateful inspection table, (b) if the packet is not acceptable it will be dropped and will disappear, and wherein during the outflow of packets an outbound packet passes through the second network card where it is inspected to determine whether or not it is part of an existing session and, if so, it is forwarded to the first network card to exit the device, and, if not, it is compared with the set of rules and if the packet is acceptable it is forwarded to the first network card to exit the device and, if not, it is dropped and disappears.
2. A device according to claim 1 wherein the first and second network cards do not have publicly routed IP addresses. WO 03/094464 PCT/AU03/00527 17
3. A device according to claim 1 and further including a third network card which is a management interface having a private, not publicly routed IP address which is used to configure the firewall.
4. The device of claim 1 wherein the device is configured to act as a stateful inspection firewall which bridges rather than routes or proxies.
5. The device of claim 1 wherein the device is adapted to be located between a router and a hub or server machine.
6. The device of claim 1 wherein the device does not require a separate computer to implement.
7. The device of claim 1 wherein the device is configurable from an HTML interface.
8. The device of claim 1 wherein the device is configured with an HTML interface which is supplied with the device.
9. The device of claim 1 further comprising a LOAD monitor which provides LOAD status, and for providing a graphic notification to a user of what the current load on the CPU is.
10. The device of claim 1 further comprising a CONFIGURATION status monitor, which provides for a graphic notification to a user of whether or not the changes they have made to the configuration of the firewall have been committed to the firewall. WO 03/094464 PCT/AU03/00527 18
11. The device of claim 1 further comprising a monitor and log which provides for a graphic indication of whether or not packets have been allowed or denied.
12. The device of claim 1 further comprising: an HTML interface for configuration such that it can be configured from any computer to which it is networked that has an HTML browser without installing any additional software.
13. The device of claim 1 wherein: the first and second network cards do not have or require an IP address assigned to them.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2003227123A AU2003227123B2 (en) | 2002-05-01 | 2003-05-01 | Firewall with stateful inspection |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AUPS2148 | 2002-05-01 | ||
AUPS2148A AUPS214802A0 (en) | 2002-05-01 | 2002-05-01 | Firewall with stateful inspection |
AU2003227123A AU2003227123B2 (en) | 2002-05-01 | 2003-05-01 | Firewall with stateful inspection |
PCT/AU2003/000527 WO2003094464A1 (en) | 2002-05-01 | 2003-05-01 | Firewall with stateful inspection |
Publications (2)
Publication Number | Publication Date |
---|---|
AU2003227123A1 true AU2003227123A1 (en) | 2003-11-17 |
AU2003227123B2 AU2003227123B2 (en) | 2007-01-25 |
Family
ID=34137030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2003227123A Ceased AU2003227123B2 (en) | 2002-05-01 | 2003-05-01 | Firewall with stateful inspection |
Country Status (1)
Country | Link |
---|---|
AU (1) | AU2003227123B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5802320A (en) * | 1995-05-18 | 1998-09-01 | Sun Microsystems, Inc. | System for packet filtering of data packets at a computer network interface |
SE513828C2 (en) * | 1998-07-02 | 2000-11-13 | Effnet Group Ab | Firewall device and method for controlling network data packet traffic between internal and external networks |
IL128814A (en) * | 1999-03-03 | 2004-09-27 | Packet Technologies Ltd | Local network security |
WO2001006726A2 (en) * | 1999-07-15 | 2001-01-25 | Sun Microsystems, Inc. | Secure network switch |
-
2003
- 2003-05-01 AU AU2003227123A patent/AU2003227123B2/en not_active Ceased
Also Published As
Publication number | Publication date |
---|---|
AU2003227123B2 (en) | 2007-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7512781B2 (en) | Firewall with stateful inspection | |
EP1389377B1 (en) | Network security system | |
US8640237B2 (en) | Integrated firewall, IPS, and virus scanner system and method | |
US20060041936A1 (en) | Method and apparatus for graphical presentation of firewall security policy | |
US20040220882A1 (en) | Method and apparatus for a broker entity | |
AU2003227123B2 (en) | Firewall with stateful inspection | |
Cisco | Release Notes for RSM/VIP2 IOS 11.3T Software Release | |
AU2002248989B2 (en) | Network security system | |
Cisco | TS_Errata906.frm | |
US6763378B1 (en) | Synchronous TCP/IP port monitor for enhanced computer system security | |
Cisco | Terminal Server Configuration and Reference Errata | |
Cisco | Terminal Server Configuration and Reference Errata | |
Cisco | Terminal Server Configuration and Reference Errata | |
Cisco | Terminal Server Configuration and Reference Errata | |
Cisco | Private Internet Exchange Reference Guide | |
Cisco | Terminal Server Configuration and Reference Errata | |
Cisco | Terminal Server Configuration and Reference Errata | |
Cisco | Terminal Server Configuration and Reference Errata | |
Cisco | Private Internet Exchange Reference Guide | |
Cisco | Private Internet Exchange Reference Guide | |
Cisco | Private Internet Exchange Reference Guide | |
Held | Working with cisco access lists | |
AU2002248989A1 (en) | Network security system | |
Row et al. | Security issues in small linux networks | |
Rosamond | Building a more secure network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FGA | Letters patent sealed or granted (standard patent) | ||
MK14 | Patent ceased section 143(a) (annual fees not paid) or expired |