GATE / CS ARCHIVE

GATE CSE 2011 / QUESTION 2

Layer-four firewall limitation

Computer Networks · Network Security · Full GATE CSE 2011 paper

GATE 2011, Q2 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Network Security

Question 2, GATE 2011: A layer-4 firewall can inspect all protocol headers up to the transport layer. Which action can it NOT perform?

(A) Block all HTTP traffic between 9:00 PM and 5:00 AM
(B) Block all ICMP traffic
(C) Block incoming traffic from a specific IP address but allow outgoing traffic to that address
(D) Block TCP traffic from a specific user on a multi-user system between 9:00 PM and 5:00 AM
Tap to enlarge
Your answer
Answer & solution

Official answer: D

IP addresses, protocol numbers and transport ports are present in network/transport headers, allowing conventional address, protocol and port-based time rules. A particular logged-in user on a shared machine is not identified by these headers, so a layer-four firewall alone cannot implement D. The HTTP option assumes the conventional known service ports, rather than universal application identification on arbitrary ports.

Separate the information needed for each rule from the information available in a packet. A time rule can consult the firewall's clock; an IP rule can inspect the source/destination address; ICMP is identified by the network protocol field. A TCP segment identifies ports and endpoints, not which operating-system user owns its connection. Enforcing that last distinction needs additional identity information, such as a host agent or authenticated application proxy.

Original paper, page 2 · Answer key