GATE / CS ARCHIVE

GATE CSE 2014 SET 2 / QUESTION 27

GATE CSE 2014 Set 2 Q27

Computer Networks · Network Security · Full GATE CSE 2014 Set 2 paper

GATE 2014 Set 2, Q27 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Network Security

Question 27, GATE 2014: Q downloads a file over HTTP from H via routers Q→R1→R2→R3→H. Session-layer encryption uses DES with a shared key. Information items: I1 file URL; I2 TCP port numbers at Q and H; I3 IP addresses of Q and H; I4 link-layer addresses of Q and H. By sniffing only at R2, which can an intruder learn? A only I1,I2; B only I1; C only I2,I3; D only I3,I4.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

1. Set up the reasoning. Track which protocol headers remain visible after encrypting the session payload. The HTTP URL is in the protected content, while TCP and IP routing information must remain available to carry the packet.

2. Derive the result. Session-layer encryption hides the HTTP URL payload, while TCP and IP headers still reveal endpoint ports and IP addresses. Link-layer headers at R2 identify its neighboring hops, not the remote hosts Q and H. Thus I2 and I3 only, C, under the stated encrypted-payload model without cryptanalysis.

3. Check the interpretation. Link-layer addresses change from hop to hop. A frame observed at an intermediate router need not contain either end host's hardware address. The answer assumes the stated encryption model, not successful DES cryptanalysis or other side channels.

Original paper, page 35 · Answer key