PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम Stateful Inspection Firewalls: Connection State Table Tracking (स्टेटफुल इन्स्पेक्शन फायरवॉल: कनेक्शन स्टेट ट्रैकिंग और सुरक्षा) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।
Overview: Stateful inspection firewalls enhance packet filtering by maintaining a dynamic Connection State Table in memory that tracks the full lifecycle of active network flows across Layers 3 and 4. By validating TCP handshake progression, sequence numbers, and bidirectional timeouts, they automatically permit legitimate return traffic while blocking unsolicited packets and port scans.
अध्याय सार: स्टेटफुल इन्स्पेक्शन फायरवॉल अपनी मेमोरी में एक डायनामिक कनेक्शन स्टेट टेबल (Connection State Table) बनाकर सक्रिय नेटवर्क सेशंस की पूरी स्थिति को ट्रैक करते हैं। ये TCP हैंडशेक, सीक्वेंस नंबर और टाइमआउट की जाँच करके वैध रिटर्न ट्रैफिक को स्वतः अनुमति देते हैं और अवांछित पैकेट्स या पोर्ट स्कैन को ब्लॉक करते हैं।
Stateful Inspection Firewalls: Connection State Table Tracking: Detailed Notes & Architecture (स्टेटफुल इन्स्पेक्शन फायरवॉल: कनेक्शन स्टेट ट्रैकिंग और सुरक्षा)
1. Dynamic Connection State Table & 5-Tuple Tracking (डायनामिक कनेक्शन स्टेट टेबल और 5-टपल ट्रैकिंग)
[EN] Pioneered by Check Point FireWall-1 in 1993-1994, stateful inspection stores metadata for every active conversation in an in-memory Connection State Table (or conntrack table). Each table row records the 5-tuple (Source/Destination IP, Ports, Protocol), current TCP handshake state, tracked TCP sequence and acknowledgment numbers, and an expiration timer. Once an outbound connection is verified and entered into the table, matching return packets skip expensive full-ruleset traversal and pass automatically.
[HI] चेक पॉइंट द्वारा 1993-94 में विकसित स्टेटफुल इन्स्पेक्शन हर सक्रिय संवाद का विवरण अपनी RAM में मौजूद कनेक्शन स्टेट टेबल में सहेजता है। इस टेबल में 5-टपल (IP, पोर्ट, प्रोटोकॉल), कनेक्शन की वर्तमान अवस्था, TCP सीक्वेंस/ACK नंबर और टाइमआउट टाइमर दर्ज रहता है। एक बार कनेक्शन प्रमाणित होने पर उसके वापसी पैकेट्स बिना पूरे नियम दोबारा जांचे स्वतः अंदर आ सकते हैं।
2. TCP Three-Way Handshake & Sequence Window Verification (TCP थ्री-वे हैंडशेक और सीक्वेंस विंडो सत्यापन)
[EN] For TCP connections, the firewall monitors the exact three-way handshake progression: an outbound SYN creates a SYN_SENT entry, the matching inbound SYN-ACK moves it to SYN_RCVD, and the final ACK promotes it to ESTABLISHED until FIN or RST triggers teardown. Any packet claiming ESTABLISHED flags (like an unsolicited ACK scan or FIN scan) without an existing matching entry in the state table is immediately discarded as INVALID, and packets with out-of-window sequence numbers are dropped to stop blind session hijacking.
[HI] TCP कनेक्शन के लिए फायरवॉल पूरे थ्री-वे हैंडशेक (SYN -> SYN-ACK -> ESTABLISHED -> FIN/RST) पर नज़र रखता है। यदि कोई हमलावर बिना वास्तविक हैंडशेक के सीधे नकली ACK या FIN पैकेट भेजता है, तो स्टेट टेबल में रिकॉर्ड न मिलने के कारण फायरवॉल उसे INVALID मानकर तुरंत ब्लॉक कर देता है। यह सीक्वेंस नंबर विंडो की भी जाँच कर सेशन हाईजैकिंग रोकता है।
3. Handling Connectionless UDP/ICMP & Application Helpers (ALGs) (कनेक्शनलेस UDP/ICMP और एप्लिकेशन हेल्पर (ALG) प्रबंधन)
[EN] Because UDP and ICMP have no formal connection handshake, stateful firewalls implement 'pseudo-stateful' tracking: an outbound UDP DNS query (e.g., to port 53) creates a temporary state entry with a short inactivity timer (typically 30-180 seconds) so a matching reply from that exact server IP and port is permitted back before the timer expires. For complex multi-channel protocols like Active/Passive FTP or SIP VoIP, Application Layer Gateway (ALG) helpers peek at control commands to dynamically open temporary RELATED pinhole ports.
[HI] UDP और ICMP में कोई हैंडशेक नहीं होता, इसलिए फायरवॉल इनके लिए 'स्यूडो-स्टेटफुल' तरीका अपनाता है: बाहर जाने वाले UDP पैकेट (जैसे DNS पोर्ट 53) के लिए 30 से 180 सेकंड की एक अस्थायी स्टेट एंट्री बनती है ताकि ठीक उसी सर्वर से उत्तर अंदर आ सके। FTP या SIP जैसे जटिल प्रोटोकॉल्स के लिए ALG हेल्पर मॉड्यूल कंट्रोल चैनल पढ़कर अस्थायी RELATED डेटा पोर्ट खोलते हैं।
4. Memory Limits, SYN Floods & Asymmetric Routing Failure (मेमोरी सीमा, SYN फ्लड और असिमेट्रिक रूटिंग विफलता)
[EN] Maintaining per-flow state introduces memory consumption and CPU overhead absent in stateless routers. Attackers exploit finite state tables via TCP SYN Floods—sending millions of spoofed SYN packets to fill half-open slots and deny service to genuine users—requiring mitigations like SYN Cookies or SYN Proxy. Furthermore, stateful firewalls strictly require symmetric routing: if outbound SYN leaves via Firewall A and return SYN-ACK arrives via Firewall B without state synchronization, Firewall B drops the traffic as unknown.
[HI] प्रत्येक सेशन का रिकॉर्ड रखने से RAM व CPU पर भार बढ़ता है। हमलावर लाखों नकली SYN पैकेट भेजकर (SYN Flood) स्टेट टेबल को भर सकते हैं, जिसे रोकने के लिए SYN Cookies या SYN Proxy प्रयुक्त होते हैं। इसके अलावा, असिमेट्रिक रूटिंग में (जहाँ जाने वाला पैकेट फायरवॉल A से और आने वाला फायरवॉल B से गुजरे) बिना स्टेट सिंक्रोनाइज़ेशन के फायरवॉल B वैध रिटर्न पैकेट को भी अज्ञात मानकर गिरा देगा।
Syntax, Formula & Technical Example (Stateful Inspection Firewalls: Connection State Table Tracking)
# Linux Netfilter / iptables Stateful Conntrack Policy
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m conntrack --ctstate INVALID -j DROP
iptables -A INPUT -p tcp --dport 443 -m conntrack --ctstate NEW -j ACCEPT
# Conceptual State Table Entry:
# PROTO=TCP SRC=10.1.1.5:51422 DST=93.184.216.34:443 STATE=ESTABLISHED TTL=3600s
Stateful Inspection Firewalls: Connection State Table Tracking Quick Reference & Comparison Table
| Conntrack Connection State | Traffic & Packet Criteria | Stateful Firewall Action & Exam Note |
|---|---|---|
| NEW | Initial outbound TCP SYN or first unmatched UDP packet | Checked against full security policy rules before adding entry |
| ESTABLISHED | Packets belonging to an existing verified bidirectional flow | Fast-pathed and permitted without re-checking high ports |
| RELATED | Secondary session linked to an existing flow (e.g. FTP data) | Permitted dynamically via protocol ALG helper or ICMP error |
| INVALID | Orphaned ACK/FIN, malformed flags, or out-of-window sequence | Dropped immediately to stop ACK scans and spoofing |
Stateful Inspection Firewalls: Connection State Table Tracking Top 20 Bilingual MCQs with Answers
Q1. What core internal data structure distinguishes a stateful inspection firewall from a stateless packet filter?
(कौन सी आंतरिक डेटा संरचना स्टेटफुल इन्स्पेक्शन फायरवॉल को स्टेटलेस पैकेट फ़िल्टर से अलग बनाती है?)
(A) An in-memory Connection State Table tracking active session flows
(B) An HTTP image cache directory
(C) A list of MAC addresses only
(D) A static DNS hosts file
Correct Answer: (A)
[EN] Stateful firewalls allocate dynamic entries in a Connection State Table tracking 5-tuple, TCP states, sequence numbers, and timers.
[HI] स्टेटफुल फायरवॉल अपनी मेमोरी में Connection State Table रखता है जो हर सक्रिय कनेक्शन के चरण, सीक्वेंस नंबर और टाइमर को ट्रैक करती है।
Q2. Why does a stateful firewall eliminate the need to manually open inbound ports 1024-65535 for client return traffic?
(स्टेटफुल फायरवॉल में क्लाइंट रिटर्न ट्रैफिक के लिए इनबाउंड पोर्ट 1024-65535 को मैन्युअल रूप से खोलने की आवश्यकता क्यों नहीं होती?)
(A) Return packets matching an existing outbound ESTABLISHED state entry are permitted automatically
(B) Stateful firewalls block all outbound connections by default
(C) Client browsers always receive replies on port 80
(D) Stateful firewalls convert all TCP traffic into ICMP
Correct Answer: (A)
[EN] When a client connects out from ephemeral port 54321 to server port 443, the state table remembers the socket pair and permits only matching replies.
[HI] जब क्लाइंट बाहर कनेक्शन बनाता है तो स्टेट टेबल उसका पोर्ट जोड़ा याद रखती है, जिससे केवल उसी वैध सर्वर का जवाब स्वतः अंदर आ पाता है।
Q3. How does a stateful inspection firewall treat an unsolicited inbound TCP packet carrying only the ACK flag with no matching entry in its state table?
(यदि स्टेट टेबल में कोई सक्रिय एंट्री न हो और बाहर से केवल ACK फ्लैग वाला TCP पैकेट आए, तो स्टेटफुल फायरवॉल क्या करेगा?)
(A) Allow it because the ACK bit equals 1
(B) Classify it as INVALID and drop it immediately
(C) Promote it to ESTABLISHED and forward it
(D) Convert the ACK into a SYN packet
Correct Answer: (B)
[EN] Unlike stateless filters fooled by the 'established' bit, stateful firewalls verify an actual prior handshake occurred and reject forged ACK scans.
[HI] स्टेटलेस फ़िल्टर के विपरीत, स्टेटफुल फायरवॉल बिना पूर्व हैंडशेक रिकॉर्ड के आए नकली ACK पैकेट को INVALID मानकर तुरंत गिरा देता है।
Q4. In Linux `iptables` / `nftables` stateful tracking, which state matches an FTP data channel or an ICMP 'Port Unreachable' error linked to an active flow?
(Linux `iptables` में सक्रिय सेशन से जुड़े FTP डेटा चैनल या ICMP त्रुटि संदेश के लिए कौन सा conntrack स्टेट मेल खाता है?)
(A) UNTRACKED
(B) INVALID
(C) RELATED
(D) NEW
Correct Answer: (C)
[EN] RELATED identifies new secondary connections or error notifications directly tied to an existing ESTABLISHED session.
[HI] RELATED स्टेट किसी पहले से चल रहे ESTABLISHED कनेक्शन से जुड़े सहायक डेटा चैनल (जैसे FTP डेटा) या ICMP त्रुटि को पहचानता है।
Q5. How does a stateful firewall track stateless protocols like UDP (for example, outbound DNS queries on port 53)?
(UDP जैसे कनेक्शनलेस प्रोटोकॉल (जैसे पोर्ट 53 पर DNS क्वेरी) को स्टेटफुल फायरवॉल कैसे ट्रैक करता है?)
(A) Using pseudo-stateful 5-tuple entries governed by short inactivity timeout timers
(B) By inspecting X.509 certificates inside UDP headers
(C) By blocking all UDP packets globally
(D) By forcing UDP clients to perform a TCP 3-way handshake
Correct Answer: (A)
[EN] The firewall logs the outbound UDP 5-tuple for a short window (e.g., 30-180s), letting matching server replies return until the timer expires.
[HI] फायरवॉल जाने वाले UDP पैकेट के 5-टपल के लिए एक छोटा टाइमआउट टाइमर (जैसे 30-180 सेकंड) बनाकर वैध उत्तर को वापस आने देता है।
Q6. Which DDoS attack specifically targets the finite memory of a stateful firewall's Connection State Table?
(कौन सा DDoS हमला विशेष रूप से स्टेटफुल फायरवॉल की कनेक्शन स्टेट टेबल की सीमित मेमोरी को भरने का प्रयास करता है?)
(A) Cross-Site Request Forgery
(B) SQL Injection
(C) ARP Spoofing
(D) TCP SYN Flood
Correct Answer: (D)
[EN] Sending massive volumes of spoofed SYN packets leaves millions of half-open SYN_RCVD state entries, exhausting firewall RAM unless SYN cookies/proxies intervene.
[HI] लाखों नकली SYN पैकेट भेजने से स्टेट टेबल आधी-खुली एंट्रियों से भर जाती है, जिससे वैध नए कनेक्शन बंद हो जाते हैं।
Q7. What mitigation allows a stateful firewall or OS to survive a SYN flood without allocating state table memory on the initial SYN?
(कौन सी तकनीक स्टेटफुल फायरवॉल को शुरुआती SYN पैकेट पर स्टेट टेबल मेमोरी खर्च किए बिना SYN फ्लड से बचाती है?)
(A) SYN Cookies (or SYN Proxy)
(B) Disabling TCP sequence numbers
(C) Switching from stateful to stateless ACLs permanently
(D) Permitting ICMP redirects
Correct Answer: (A)
[EN] SYN Cookies encode session parameters cryptographically inside the server's initial TCP sequence number, allocating state only after the client returns a valid ACK.
[HI] SYN Cookies शुरुआती हैंडशेक जानकारी को TCP सीक्वेंस नंबर में एन्कोड कर देती हैं और क्लाइंट के वैध ACK के बाद ही मेमोरी आवंटित करती हैं।
Q8. What happens when asymmetric routing causes outbound SYN traffic to leave through Firewall A while the return SYN-ACK arrives at Firewall B (with no HA state sync)?
(असिमेट्रिक रूटिंग में यदि आउटबाउंड SYN फायरवॉल A से जाए और वापसी SYN-ACK बिना स्टेट सिंक वाले फायरवॉल B पर आए, तो क्या होगा?)
(A) Firewall B drops the SYN-ACK packet because it has no matching entry in its local state table
(B) Firewall B forwards it faster using DNS
(C) Both firewalls automatically merge their MAC tables
(D) The client switches to UDP automatically
Correct Answer: (A)
[EN] Because Firewall B never saw the outbound SYN, the return SYN-ACK looks unsolicited and fails stateful inspection unless clustered state-sync (HA) is enabled.
[HI] फायरवॉल B के पास उस सेशन का कोई रिकॉर्ड न होने के कारण वह वैध SYN-ACK को भी अवांछित मानकर ड्रॉप कर देता है।
Q9. Which vendor pioneered commercial Stateful Inspection firewall architecture in 1993-1994?
(1993-1994 में किस कंपनी ने व्यावसायिक स्टेटफुल इन्स्पेक्शन फायरवॉल आर्किटेक्चर की शुरुआत की थी?)
(A) Check Point (FireWall-1)
(B) Canonical
(C) Netscape Communications
(D) Apache Software Foundation
Correct Answer: (A)
[EN] Gil Shwed at Check Point invented and patented stateful inspection in Check Point FireWall-1, defining the second generation of firewalls.
[HI] चेक पॉइंट (Check Point) के गिल श्वेड ने FireWall-1 में स्टेटफुल इन्स्पेक्शन तकनीक की शुरुआत की थी।
Q10. Why is checking TCP sequence numbers inside a stateful firewall important for security?
(स्टेटफुल फायरवॉल के अंदर TCP सीक्वेंस नंबर की जाँच करना सुरक्षा की दृष्टि से क्यों महत्वपूर्ण है?)
(A) It decrypts AES-256 HTTPS payloads
(B) It compresses large JPEG downloads
(C) It assigns dynamic DHCP IP addresses
(D) It verifies packets fall inside the active TCP window, stopping blind packet injection and spoofing
Correct Answer: (D)
[EN] Even if an attacker guesses ports and IPs, an out-of-window sequence number causes the stateful firewall to reject the injected packet.
[HI] सीक्वेंस नंबर विंडो की जाँच से हमलावर सक्रिय कनेक्शन के बीच में नकली पैकेट डालकर सेशन हाईजैक नहीं कर पाता।
Q11. Which condition triggers the `NEW` state in a stateful firewall?
(स्टेटफुल फायरवॉल में कौन सी स्थिति `NEW` स्टेट को सक्रिय करती है?)
(A) Every tenth packet of an HTTPS stream
(B) Any packet arriving after a FIN teardown
(C) A packet carrying an expired TTL
(D) The very first packet of a connection not yet registered in the state table (e.g., an initial TCP SYN)
Correct Answer: (D)
[EN] Only the first packet matching no prior entry enters as NEW and undergoes complete security policy rule verification.
[HI] कनेक्शन का पहला पैकेट (जैसे पहला SYN) जिसका स्टेट टेबल में पहले से कोई रिकॉर्ड न हो, NEW अवस्था में प्रवेश करता है।
Q12. Why does a pure Layer 3/4 stateful inspection firewall still fail to stop an attacker uploading a webshell over allowed HTTPS port 443?
(सामान्य लेयर 3/4 स्टेटफुल फायरवॉल पोर्ट 443 (HTTPS) के माध्यम से अपलोड किए जा रहे वेबशेल या मालवेयर को क्यों नहीं रोक पाता?)
(A) It validates connection state at Layers 3/4 but neither decrypts TLS nor inspects Layer 7 payload content
(B) Port 443 bypasses the Connection State Table
(C) Stateful firewalls only monitor IPv6 traffic
(D) It drops all packets above 100 bytes
Correct Answer: (A)
[EN] A stateful firewall sees a valid TCP handshake to port 443 and permits the stream, remaining blind to application exploits inside the payload.
[HI] स्टेटफुल फायरवॉल केवल वैध TCP हैंडशेक और पोर्ट की जाँच करता है; यह न तो TLS डिक्रिप्ट करता है और न ही एप्लिकेशन डेटा पढ़ता है।
Q13. How does a stateful firewall enable Active FTP data connections without leaving high ports exposed permanently?
(स्थायी रूप से सभी हाई पोर्ट्स को खुला छोड़े बिना स्टेटफुल फायरवॉल Active FTP डेटा कनेक्शन की अनुमति कैसे देता है?)
(A) By disabling the state table for TCP port 21
(B) By forcing clients to connect via Telnet
(C) Via an FTP Application Layer Gateway (ALG) helper that reads PORT commands and opens temporary RELATED pinholes
(D) By converting FTP to TFTP automatically
Correct Answer: (C)
[EN] The helper inspects the control stream to learn the negotiated ephemeral port and dynamically creates a short-lived RELATED rule exclusively for that pair.
[HI] FTP ALG हेल्पर कंट्रोल कनेक्शन से पोर्ट नंबर पढ़कर केवल उसी क्लाइंट-सर्वर जोड़े के लिए अस्थायी RELATED रास्ता खोलता है।
Q14. In a High Availability (HA) pair of stateful firewalls, what mechanism prevents existing calls and downloads from dropping during failover?
(दो स्टेटफुल फायरवॉल के हाई अवेलेबिलिटी (HA) सेटअप में फेलओवर के दौरान सक्रिय कनेक्शन न टूटें इसके लिए क्या आवश्यक है?)
(A) Real-time State Table Synchronization (pfsync / state sync) between active and standby units
(B) Changing all internal IP addresses
(C) Disabling the firewall completely during failover
(D) Running stateless RIP routing only
Correct Answer: (A)
[EN] Without continuous state replication over a dedicated sync link, the standby unit would drop established connections upon taking over.
[HI] एक्टिव और स्टैंडबाय फायरवॉल के बीच लगातार स्टेट टेबल सिंक्रोनाइज़ेशन होने से फेलओवर के समय चलते हुए कनेक्शन टूटते नहीं हैं।
Q15. Compare packet processing speed once a flow transitions from `NEW` to `ESTABLISHED` in a stateful firewall:
(स्टेटफुल फायरवॉल में एक बार कनेक्शन `NEW` से `ESTABLISHED` हो जाने पर पैकेट प्रोसेसिंग की गति पर क्या प्रभाव पड़ता है?)
(A) The firewall reboots to flush cache
(B) Subsequent packets match the fast-path state table lookup instead of scanning hundreds of policy rules
(C) Every subsequent packet runs twice through every ACL rule
(D) Throughput drops to 10 Kbps per connection
Correct Answer: (B)
[EN] Hash-table lookup in the state table is O(1) fast-path, making sustained stateful throughput vastly quicker than re-evaluating long ACL lists per packet.
[HI] कनेक्शन ESTABLISHED होने के बाद सैकड़ों नियम दोबारा जांचे बिना सीधे स्टेट टेबल से तेज़ O(1) फ़ॉरवर्डिंग होती है।
Q16. Which of the following statements about stateful inspection firewalls is FALSE?
(स्टेटफुल इन्स्पेक्शन फायरवॉल के बारे में निम्नलिखित में से कौन सा कथन असत्य (FALSE) है?)
(A) Stateful firewalls track TCP handshake phases and sequence numbers
(B) Asymmetric routing breaks stateful inspection unless state tables are synchronized
(C) Stateful firewalls consume zero RAM because they inspect each packet in complete isolation
(D) Stateful firewalls are susceptible to state-table exhaustion during SYN floods without protection
Correct Answer: (C)
[EN] Inspecting each packet in isolation with zero state RAM describes STATELESS packet filters, whereas stateful firewalls require RAM for their Connection State Table.
[HI] बिना RAM खर्च किए हर पैकेट को अलग-अलग जांचना स्टेटलेस फ़िल्टर का गुण है; स्टेटफुल फायरवॉल में स्टेट टेबल के लिए RAM आवश्यक होती है।
Q17. Within Stateful Inspection Firewalls: Connection State Table Tracking, which conntrack connection state directly maps to: "Initial outbound TCP SYN or first unmatched UDP packet"?
(Stateful Inspection Firewalls: Connection State Table Tracking में कौन सा Conntrack Connection State सीधे "Initial outbound TCP SYN or first unmatched UDP packet" से संबंधित है?)
(A) RELATED
(B) ESTABLISHED
(C) NEW
(D) INVALID
Correct Answer: (C)
[EN] In Stateful Inspection Firewalls: Connection State Table Tracking, 'NEW' handles 'Initial outbound TCP SYN or first unmatched UDP packet' (Checked against full security policy rules before adding entry).
[HI] Stateful Inspection Firewalls: Connection State Table Tracking में 'NEW' का कार्य/विवरण 'Initial outbound TCP SYN or first unmatched UDP packet' (Checked against full security policy rules before adding entry) है।
Q18. Which option accurately describes 'ESTABLISHED' in Stateful Inspection Firewalls: Connection State Table Tracking?
(Stateful Inspection Firewalls: Connection State Table Tracking के संदर्भ में 'ESTABLISHED' की सही विशेषता कौन सी है?)
(A) Packets belonging to an existing verified bidirectional flow
(B) Orphaned ACK/FIN, malformed flags, or out-of-window sequence
(C) Initial outbound TCP SYN or first unmatched UDP packet
(D) Secondary session linked to an existing flow (e.g. FTP data)
Correct Answer: (A)
[EN] 'ESTABLISHED' provides 'Packets belonging to an existing verified bidirectional flow' — key point: Fast-pathed and permitted without re-checking high ports.
[HI] 'ESTABLISHED' का मुख्य विवरण 'Packets belonging to an existing verified bidirectional flow' है (Fast-pathed and permitted without re-checking high ports)।
Q19. In Stateful Inspection Firewalls: Connection State Table Tracking, identify the correct parameter for the specification: "Secondary session linked to an existing flow (e.g. FTP data)".
(Stateful Inspection Firewalls: Connection State Table Tracking में "Secondary session linked to an existing flow (e.g. FTP data)" विवरण किस विकल्प के लिए सही है?)
(A) RELATED
(B) INVALID
(C) NEW
(D) ESTABLISHED
Correct Answer: (A)
[EN] 'RELATED' corresponds to 'Secondary session linked to an existing flow (e.g. FTP data)' (Permitted dynamically via protocol ALG helper or ICMP error).
[HI] 'RELATED' का संबंध 'Secondary session linked to an existing flow (e.g. FTP data)' (Permitted dynamically via protocol ALG helper or ICMP error) से है।
Q20. Considering Stateful Inspection Firewalls: Connection State Table Tracking, what key behavior defines 'INVALID'?
(Stateful Inspection Firewalls: Connection State Table Tracking में 'INVALID' की मुख्य भूमिका या मान क्या है?)
(A) Orphaned ACK/FIN, malformed flags, or out-of-window sequence
(B) Secondary session linked to an existing flow (e.g. FTP data)
(C) Initial outbound TCP SYN or first unmatched UDP packet
(D) Packets belonging to an existing verified bidirectional flow
Correct Answer: (A)
[EN] 'INVALID' represents 'Orphaned ACK/FIN, malformed flags, or out-of-window sequence' (Dropped immediately to stop ACK scans and spoofing).
[HI] 'INVALID' का अर्थ/मान 'Orphaned ACK/FIN, malformed flags, or out-of-window sequence' है (Dropped immediately to stop ACK scans and spoofing)।
Stateful Inspection Firewalls: Connection State Table Tracking — Exam FAQs
Q1: How is a stateful firewall better than a stateless firewall?
स्टेटफुल फायरवॉल स्टेटलेस फायरवॉल से बेहतर कैसे है?
[EN] A stateful firewall tracks whether a connection was legitimately initiated via a proper handshake, blocks forged ACK/FIN scans automatically, and opens return paths dynamically without exposing wide ephemeral port ranges.
[HI] स्टेटफुल फायरवॉल वास्तविक हैंडशेक की पुष्टि करता है, नकली ACK/FIN स्कैन को रोकता है और बिना पूरा इफेमरल पोर्ट रेंज खोले सुरक्षित रिटर्न ट्रैफिक आने देता है।
Q2: Can a stateful firewall inspect HTTP URLs or block viruses?
क्या सामान्य स्टेटफुल फायरवॉल HTTP URL पढ़ सकता है या वायरस रोक सकता है?
[EN] Traditional Layer 3/4 stateful firewalls only verify transport state and basic protocol helpers; inspecting URLs, payloads, and malware requires a Proxy Firewall or Next-Generation Firewall (NGFW) with DPI.
[HI] पारंपरिक लेयर 3/4 स्टेटफुल फायरवॉल केवल कनेक्शन की स्थिति देखता है; URL या वायरस रोकने के लिए प्रॉक्सी फायरवॉल या DPI युक्त NGFW की आवश्यकता होती है।
Q3: Why do cloud Security Groups behave like stateful firewalls while Network ACLs are stateless?
क्लाउड सिक्योरिटी ग्रुप स्टेटफुल और नेटवर्क ACL स्टेटलेस की तरह क्यों काम करते हैं?
[EN] Cloud Security Groups track allowed inbound/outbound sessions so return traffic passes automatically without matching reverse rules, whereas subnet NACLs evaluate every inbound and outbound packet independently.
[HI] क्लाउड सिक्योरिटी ग्रुप सक्रिय सेशन याद रखकर वापसी ट्रैफिक स्वतः आने देते हैं (स्टेटफुल), जबकि NACL में इनबाउंड और आउटबाउंड दोनों नियम अलग से लिखने पड़ते हैं (स्टेटलेस)।
Post a Comment
Post a Comment