Security 13-17

The five input filters and one output filter that make up Basic Firewall are shown in the table below.

Setting

Input filter

Input filter

Input filter

Input filter

Input filter

Output

1

2

3

4

5

filter 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enabled

Yes

Yes

Yes

Yes

Yes

Yes

 

 

 

 

 

 

 

Forward

No

No

Yes

Yes

Yes

Yes

 

 

 

 

 

 

 

Source IP

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

address

 

 

 

 

 

 

 

 

 

 

 

 

 

Source IP

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

address mask

 

 

 

 

 

 

 

 

 

 

 

 

 

Dest. IP

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

address

 

 

 

 

 

 

 

 

 

 

 

 

 

Dest. IP

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

address mask

 

 

 

 

 

 

 

 

 

 

 

 

 

Protocol type

TCP

TCP

ICMP

TCP

UDP

0

 

 

 

 

 

 

 

Source port

No

No

N/A

No

No

N/A

comparison

Compare

Compare

 

Compare

Compare

 

 

 

 

 

 

 

 

Source port ID

0

0

N/A

0

0

N/A

 

 

 

 

 

 

 

Dest. port

Equal

Equal

N/A

Greater

Greater

N/A

comparison

 

 

 

Than

Than

 

 

 

 

 

 

 

 

Dest. port ID

2000

6000

N/A

1023

1023

N/A

 

 

 

 

 

 

 

Basic Firewall’s filters play the following roles.

Input filters 1 and 2: These block WAN-originated OpenWindows and X-Windows sessions. Service origination requests for these protocols use ports 2000 and 6000, respectively. Since these are greater than 1023, OpenWindows and X-Windows traffic would otherwise be allowed by input filter 4. Input filters 1 and 2 must precede input filter 4; otherwise they would have no effect since filter 4 would have already forwarded OpenWindows and X-Windows traffic.

Input filter 3: This filter explicitly forwards all WAN-originated ICMP traffic to permit devices on the WAN to ping devices on the LAN. Ping is an Internet service that is useful for diagnostic purposes.

Input filters 4 and 5: These filters forward all TCP and UDP traffic, respectively, when the destination port is greater than 1023. This type of traffic generally does not allow a remote host to connect to the LAN using one of the potentially intrusive Internet services, such as Telnet, FTP, and WWW.

Output filter 1: This filter forwards all outgoing traffic to make sure that no outgoing connections from the LAN are blocked.

Page 187
Image 187
Netopia 4753 manual TCP Icmp UDP