A. BaCon System Architecture
BaCon system architecture consists of a Linux-based server
which serves as an Internet gateway, as well as a web server
and a database server. The server must have at least two
network interfaces; one connected to the Local Area Network
(LAN) and the other to the Internet (WAN). To control all
network traffic, BaCon should be placed such that it sees all
communications to and from the local network. Inbound traffic
is data that comes into a local network from an external host
while outbound traffic is generated by a local host going to the
Internet. According to the scenario shown in Figure 1, to shape
inbound and outbound traffic, tc commands must be activated
at interface eth0 (WAN interface) and eth1 (LAN interface)
respectively.