PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम Proxy Firewalls (Application Level Gateways) (प्रॉक्सी फायरवॉल (एप्लिकेशन लेयर गेटवे): डीप पैकेट इन्स्पेक्शन) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।
Overview: Proxy firewalls, also called Application-Level Gateways (ALGs), terminate client connections at OSI Layer 7 and initiate separate outbound connections on the client's behalf. By acting as a strict split-connection intermediary, they hide internal network topology, enforce RFC-compliant Layer 7 content filtering, and sanitize malformed application requests at the cost of higher latency.
अध्याय सार: प्रॉक्सी फायरवॉल, जिन्हें एप्लिकेशन-लेवल गेटवे (ALG) भी कहा जाता है, OSI की लेयर 7 पर क्लाइंट के कनेक्शन को रोककर उसकी ओर से सर्वर से एक नया स्वतंत्र कनेक्शन बनाते हैं। स्प्लिट-कनेक्शन मध्यस्थ के रूप में ये आंतरिक नेटवर्क की पहचान छिपाते हैं और HTTP/FTP/SMTP पेलोड की गहन जाँच करते हैं।
Proxy Firewalls (Application Level Gateways): Detailed Notes & Architecture (प्रॉक्सी फायरवॉल (एप्लिकेशन लेयर गेटवे): डीप पैकेट इन्स्पेक्शन)
1. Split-Connection Architecture & Topology Hiding (स्प्लिट-कनेक्शन आर्किटेक्चर और टोपोलॉजी छिपाना)
[EN] Unlike packet filters and stateful firewalls that route packets directly between internal hosts and external servers, a proxy firewall completely breaks the direct TCP path. The client establishes TCP session #1 with the proxy, the proxy parses the full Layer 7 request, and then the proxy opens an entirely independent TCP session #2 toward the destination server. Consequently, external servers only ever see the proxy's public IP address and OS TCP stack—never internal RFC 1918 addresses or host fingerprints.
[HI] पैकेट फ़िल्टर और स्टेटफुल फायरवॉल के विपरीत, प्रॉक्सी फायरवॉल क्लाइंट और बाहरी सर्वर के बीच सीधे कनेक्शन को तोड़ देता है। क्लाइंट पहले प्रॉक्सी से कनेक्शन #1 बनाता है, प्रॉक्सी पूरे एप्लिकेशन डेटा को पढ़ता है और फिर बाहरी सर्वर से नया कनेक्शन #2 खोलता है। इससे बाहरी सर्वर को केवल प्रॉक्सी का IP एड्रेस दिखता है और आंतरिक नेटवर्क की संरचना व क्लाइंट का IP पूरी तरह छिपा रहता है।
2. Application-Level Gateways vs Circuit-Level Gateways (एप्लिकेशन-लेवल गेटवे बनाम सर्किट-लेवल गेटवे)
[EN] Application-Level Gateways (Layer 7) deeply understand specific protocol syntax—such as HTTP methods, MIME types, URLs, FTP commands, or SMTP attachments—allowing them to block non-compliant protocols tunneling over port 80 or dangerous methods like HTTP `TRACE`/`DELETE`. In contrast, Circuit-Level Gateways (such as SOCKS4/SOCKS5 operating at OSI Layer 5 Session Layer) relay generic TCP or UDP circuits after authenticating the user without understanding the inner application grammar.
[HI] एप्लिकेशन-लेवल गेटवे (लेयर 7) HTTP, FTP या SMTP जैसे विशिष्ट प्रोटोकॉल्स का व्याकरण समझते हैं, जिससे वे पोर्ट 80 पर छिपकर चलने वाले अमान्य ट्रैफिक या खतरनाक HTTP कमांड्स को रोक सकते हैं। इसके विपरीत सर्किट-लेवल गेटवे (जैसे लेयर 5 पर SOCKS5) उपयोगकर्ता को प्रमाणित कर सामान्य TCP/UDP सर्किट को आगे बढ़ाते हैं, लेकिन अंदर के एप्लिकेशन डेटा की संरचना नहीं पढ़ते।
3. Forward Proxy, Reverse Proxy & Transparent Interception (फॉरवर्ड प्रॉक्सी, रिवर्स प्रॉक्सी और ट्रांसपेरेंट मोड)
[EN] A Forward Proxy sits in front of internal users to enforce acceptable-use URL filtering, Active Directory authentication, malware scanning, and web response caching (commonly via Squid on port 3128 or 8080). A Reverse Proxy sits in front of public-facing web servers to terminate TLS, cache static assets, balance loads, and block OWASP attacks as a Web Application Firewall (WAF). Transparent proxies intercept traffic seamlessly at the gateway without requiring browser proxy configuration.
[HI] फॉरवर्ड प्रॉक्सी आंतरिक कर्मचारियों के आउटबाउंड इंटरनेट ट्रैफिक पर URL फ़िल्टरिंग, यूज़र ऑथेंटिकेशन और कैशिंग लागू करती है (जैसे Squid पोर्ट 3128/8080)। रिवर्स प्रॉक्सी बाहरी ग्राहकों से आने वाले ट्रैफिक को रोककर वेब सर्वर के आगे ढाल (WAF, TLS टर्मिनेशन, लोड बैलेंसिंग) का काम करती है। ट्रांसपेरेंट प्रॉक्सी बिना क्लाइंट ब्राउज़र सेटिंग बदले गेटवे पर स्वतः ट्रैफिक पकड़ लेती है।
4. Performance Latency, Protocol Support & TLS Inspection Caveats (विलंबता, प्रोटोकॉल सीमाएं और TLS डिक्रिप्शन चुनौतियाँ)
[EN] Running full dual TCP termination and application-layer parsing demands substantially more CPU and RAM per session than stateful inspection, adding noticeable latency (offset partially by web caching). Furthermore, pure ALGs require a dedicated proxy daemon for every supported protocol—blocking unsupported custom apps until a handler exists—and inspecting HTTPS payloads requires TLS interception (MITM decryption) using an enterprise Root CA trusted by all internal endpoints.
[HI] दो अलग TCP कनेक्शन संभालने और पूरा पेलोड पढ़ने के कारण प्रॉक्सी फायरवॉल में स्टेटफुल फायरवॉल की तुलना में अधिक CPU, RAM और विलंबता (Latency) लगती है। साथ ही, प्रत्येक प्रोटोकॉल (HTTP, FTP, SMTP) के लिए अलग प्रॉक्सी मॉड्यूल चाहिए होता है। HTTPS डेटा की जाँच करने के लिए प्रॉक्सी को एंटरप्राइज Root CA की मदद से TLS को डिक्रिप्ट करके पुनः एन्क्रिप्ट करना पड़ता है।
Syntax, Formula & Technical Example (Proxy Firewalls (Application Level Gateways))
# Squid Layer-7 Forward Proxy Policy Snippet (/etc/squid/squid.conf)
http_port 3128
acl internal_net src 192.168.10.0/24
acl blocked_sites dstdomain .malicious-example.com .gambling.test
acl dangerous_methods method TRACE PUT DELETE CONNECT
http_access deny blocked_sites
http_access deny dangerous_methods
http_access allow internal_net
http_access deny all
Proxy Firewalls (Application Level Gateways) Quick Reference & Comparison Table
| Proxy / Gateway Architecture | OSI Layer & Connection Behavior | Primary Security Role & Exam Note |
|---|---|---|
| Application-Level Gateway (ALG) | Layer 7 split TCP termination understanding protocol syntax | Validates HTTP headers, URLs, FTP cmds, and MIME types |
| Circuit-Level Gateway (SOCKS5) | Layer 5 session relay authenticating TCP/UDP circuits | Hides client IP without parsing application payload grammar |
| Reverse Proxy / WAF | Layer 7 inbound shield sitting ahead of origin web servers | Offloads TLS, caches content, and filters SQLi/XSS attacks |
| Transparent Proxy | Redirects port 80/443 via router WCCP/iptables silently | Enforces policy without configuring client browser settings |
Proxy Firewalls (Application Level Gateways) Top 20 Bilingual MCQs with Answers
Q1. How does a proxy firewall physically handle the TCP connection between an internal client and an external web server?
(एक प्रॉक्सी फायरवॉल आंतरिक क्लाइंट और बाहरी वेब सर्वर के बीच TCP कनेक्शन को कैसे संभालता है?)
(A) It terminates the client's TCP connection and initiates a brand-new separate TCP connection to the server
(B) It bridges raw Ethernet frames directly at Layer 1
(C) It forwards the exact original IP packet unchanged with zero buffering
(D) It converts the TCP stream into ICMP echo messages
Correct Answer: (A)
[EN] This split-connection model guarantees no packet ever passes directly from the untrusted Internet to an internal endpoint.
[HI] प्रॉक्सी क्लाइंट का कनेक्शन अपने ऊपर समाप्त कर सर्वर के लिए एक नया स्वतंत्र कनेक्शन बनाता है, जिससे बाहरी दुनिया और क्लाइंट का सीधा संपर्क नहीं होता।
Q2. At which layer of the OSI model do Application-Level Gateway (ALG) proxy firewalls inspect and enforce policies?
(एप्लिकेशन-लेवल गेटवे (ALG) प्रॉक्सी फायरवॉल OSI मॉडल की किस लेयर पर डेटा का निरीक्षण और नियंत्रण करते हैं?)
(A) Layer 7 (Application Layer)
(B) Layer 3 (Network Layer) exclusively
(C) Layer 2 (Data Link Layer)
(D) Layer 1 (Physical Layer)
Correct Answer: (A)
[EN] ALG proxies decode full Layer 7 application protocols such as HTTP, FTP, DNS, and SMTP to validate headers, commands, and payloads.
[HI] ALG प्रॉक्सी लेयर 7 पर HTTP हेडर, URL, FTP कमांड और SMTP पेलोड की गहराई से जाँच करते हैं।
Q3. Which OSI layer characterizes a Circuit-Level Gateway such as SOCKS5?
(SOCKS5 जैसे सर्किट-लेवल गेटवे को OSI मॉडल की किस लेयर के अंतर्गत वर्गीकृत किया जाता है?)
(A) Layer 1 (Repeater)
(B) Layer 5 (Session Layer)
(C) Layer 7 (Application Layer) with full HTML parsing
(D) Layer 2 (MAC Switching)
Correct Answer: (B)
[EN] Circuit-level gateways establish and monitor virtual circuits/sessions (port 1080 for SOCKS) without inspecting inside Layer 7 application syntax.
[HI] सर्किट-लेवल गेटवे (जैसे SOCKS5 पोर्ट 1080) लेयर 5 सेशन स्तर पर काम करते हैं और अंदरूनी एप्लिकेशन डेटा को नहीं पढ़ते।
Q4. Which privacy and architectural benefit automatically results from a proxy firewall's split-connection design?
(प्रॉक्सी फायरवॉल के स्प्लिट-कनेक्शन डिज़ाइन से कौन सा प्रमुख सुरक्षा व गोपनीयता लाभ स्वतः प्राप्त होता है?)
(A) Unlimited support for unknown custom UDP games without modules
(B) Automatic repair of corrupt RAM modules
(C) Complete hiding of internal private IP addresses, network topology, and client OS TCP fingerprints
(D) Zero latency hardware ASIC forwarding
Correct Answer: (C)
[EN] External servers communicate exclusively with the proxy's interface, exposing nothing about the internal LAN architecture.
[HI] बाहरी सर्वर को केवल प्रॉक्सी का IP एड्रेस और हेडर दिखाई देता है, जिससे आंतरिक LAN संरचना व क्लाइंट OS छिपा रहता है।
Q5. What distinguishes a Forward Proxy from a Reverse Proxy in enterprise network security?
(एंटरप्राइज नेटवर्क सुरक्षा में फॉरवर्ड प्रॉक्सी और रिवर्स प्रॉक्सी के बीच मुख्य अंतर क्या है?)
(A) Forward proxies cannot cache data; reverse proxies cannot terminate TLS
(B) Forward proxies protect/mediate outbound internal clients; reverse proxies protect/shield inbound backend servers
(C) Forward proxies run on Layer 1; reverse proxies run on Layer 3
(D) Reverse proxies block all HTTP traffic; forward proxies allow only FTP
Correct Answer: (B)
[EN] Clients talk through a forward proxy to reach the Internet, whereas Internet users talk through a reverse proxy (e.g., Nginx/Cloudflare/WAF) to reach internal web servers.
[HI] फॉरवर्ड प्रॉक्सी आंतरिक यूज़र्स के बाहर जाने वाले ट्रैफिक को नियंत्रित करती है, जबकि रिवर्स प्रॉक्सी बाहरी ट्रैफिक से बैकएंड सर्वरों की रक्षा करती है।
Q6. Why can an Application-Level Gateway stop an attacker using port 80 to tunnel unauthorized peer-to-peer or SSH traffic?
(एप्लिकेशन-लेवल गेटवे पोर्ट 80 का उपयोग कर अनधिकृत SSH या P2P टनलिंग करने वाले हमलावर को कैसे रोक देता है?)
(A) It parses the payload to verify strict HTTP protocol grammar rather than blindly trusting TCP port 80
(B) It hashes MAC addresses every second
(C) It blocks all IP addresses starting with 10.0.0.0
(D) It disables TCP port 80 permanently
Correct Answer: (A)
[EN] Because an HTTP proxy validates actual HTTP request lines and headers, non-HTTP binary streams masquerading on port 80 fail parsing immediately.
[HI] HTTP प्रॉक्सी केवल पोर्ट 80 पर भरोसा करने के बजाय वास्तविक HTTP व्याकरण जाँचता है, जिससे पोर्ट 80 पर छिपा गैर-HTTP ट्रैफिक तुरंत पकड़ा जाता है।
Q7. Which default TCP port is traditionally associated with the Squid HTTP proxy and with SOCKS5 proxies respectively?
(Squid HTTP प्रॉक्सी और SOCKS5 प्रॉक्सी से क्रमशः कौन से डिफ़ॉल्ट TCP पोर्ट जुड़े होते हैं?)
(A) 3128 (Squid HTTP) and 1080 (SOCKS)
(B) 443 and 500
(C) 53 and 67
(D) 22 and 23
Correct Answer: (A)
[EN] Squid defaults to TCP 3128 (8080 is also common for HTTP proxies), while IANA assigns TCP 1080 to SOCKS.
[HI] Squid प्रॉक्सी का मानक डिफ़ॉल्ट पोर्ट 3128 (या सामान्य HTTP प्रॉक्सी 8080) और SOCKS का पोर्ट 1080 होता है।
Q8. What is the most significant performance drawback of classic proxy firewalls compared to stateful packet filters?
(स्टेटफुल पैकेट फ़िल्टर की तुलना में पारंपरिक प्रॉक्सी फायरवॉल की सबसे बड़ी प्रदर्शन कमी क्या है?)
(A) Complete lack of authentication support
(B) Inability to read IP addresses
(C) Higher CPU/RAM consumption and added latency due to terminating two TCP connections and parsing payloads
(D) Failure to work with DNS names
Correct Answer: (C)
[EN] Buffering streams, running user-space socket state machines twice, and decoding Layer 7 syntax reduces maximum throughput per box.
[HI] दोहरे TCP टर्मिनेशन और लेयर 7 पेलोड पार्सिंग के कारण इसमें अधिक प्रोसेसिंग समय (Latency) व मेमोरी खर्च होती है।
Q9. How can a forward HTTP proxy actually speed up repetitive web browsing for an organization despite its inspection overhead?
(निरीक्षण के बावजूद एक फॉरवर्ड HTTP प्रॉक्सी संगठन के वेब ब्राउज़िंग को वास्तव में तेज़ कैसे बना सकती है?)
(A) By shrinking TCP MTU to 64 bytes
(B) By bypassing TLS encryption for banking sites
(C) By caching frequently requested static web objects locally so duplicate requests serve at LAN speed
(D) By turning off DNS lookups globally
Correct Answer: (C)
[EN] Caching common downloads, OS updates, and images saves external WAN bandwidth and delivers sub-millisecond LAN responses.
[HI] बार-बार मांगी जाने वाली वेबसाइट फाइलों को स्थानीय रूप से कैश (Cache) करके यह WAN बैंडविड्थ बचाती है और तेज़ उत्तर देती है।
Q10. What operational requirement arises if a company deploys a proxy firewall to inspect malware inside HTTPS (port 443) traffic?
(यदि कोई कंपनी HTTPS (पोर्ट 443) ट्रैफिक के भीतर मालवेयर की जाँच के लिए प्रॉक्सी फायरवॉल लगाती है, तो क्या आवश्यक होता है?)
(A) Publishing the proxy's private key on Wikipedia
(B) Switching browsers to FTP mode
(C) Disabling HTTPS across all browsers
(D) Installing an internal enterprise Root CA certificate onto client machines so the proxy can perform TLS interception
Correct Answer: (D)
[EN] Without trusting the proxy's inspection Root CA, browsers display fatal invalid-certificate errors when the proxy dynamically re-signs server certificates.
[HI] प्रॉक्सी द्वारा डिक्रिप्ट कर पुनः साइन किए गए HTTPS सर्टिफिकेट को ब्राउज़र स्वीकार करें, इसके लिए क्लाइंट सिस्टम में कंपनी का Root CA इंस्टॉल होना जरूरी है।
Q11. What limitation applies when deploying an enterprise proxy firewall for a proprietary custom application protocol?
(किसी कंपनी के निजी कस्टम एप्लिकेशन प्रोटोकॉल के लिए प्रॉक्सी फायरवॉल लागू करने पर क्या सीमा आती है?)
(A) Proxy firewalls automatically guess every unknown binary grammar safely
(B) A dedicated protocol-specific proxy handler or module must exist for each supported application
(C) Proxies only support IPv6
(D) Proxies drop every TCP packet containing ASCII
Correct Answer: (B)
[EN] Because an ALG strictly parses Layer 7 syntax, protocols lacking a built-in proxy agent must be bypassed via SOCKS or refused.
[HI] ALG हर एप्लिकेशन का व्याकरण समझता है; इसलिए किसी नए कस्टम प्रोटोकॉल के लिए अलग प्रॉक्सी मॉड्यूल न होने पर वह चल नहीं पाता।
Q12. What does a Transparent (Intercepting) Proxy do differently from an Explicit Proxy?
(एक ट्रांसपेरेंट (इंटरसेप्टिंग) प्रॉक्सी, एक्सप्लिसिट प्रॉक्सी से किस प्रकार भिन्न होती है?)
(A) It sends all client passwords unencrypted in URLs
(B) It intercepts traffic silently at the gateway without requiring proxy IP/port configuration in user browsers
(C) It runs solely inside the client's BIOS
(D) It never logs or inspects HTTP traffic
Correct Answer: (B)
[EN] Network routers redirect port 80/443 packets directly into the transparent proxy, preventing employees from bypassing controls simply by clearing browser proxy settings.
[HI] ट्रांसपेरेंट प्रॉक्सी गेटवे स्तर पर ही ट्रैफिक मोड़ लेती है, इसलिए प्रत्येक यूज़र के ब्राउज़र में प्रॉक्सी सेटिंग डालने की आवश्यकता नहीं पड़ती।
Q13. Which HTTP proxy feature helps organizations enforce accountability before allowing external web access?
(बाहरी वेब एक्सेस देने से पहले उपयोगकर्ता की जवाबदेही तय करने के लिए फॉरवर्ड प्रॉक्सी की कौन सी सुविधा काम आती है?)
(A) MAC address randomization
(B) ICMP Timestamp replies
(C) BGP route flapping
(D) Proxy Authentication tied to LDAP / Active Directory credentials
Correct Answer: (D)
[EN] By requiring Proxy-Authorization (Kerberos/NTLM/Basic over TLS), every URL request is logged to a named employee rather than a shared NAT IP.
[HI] LDAP या Active Directory से जुड़े प्रॉक्सी ऑथेंटिकेशन के द्वारा हर वेब रिक्वेस्ट को किसी व्यक्ति विशेष के लॉग से जोड़ा जा सकता है।
Q14. How does an HTTP Reverse Proxy mitigate slowloris or malformed header attacks against an Apache/IIS backend server?
(एक HTTP रिवर्स प्रॉक्सी बैकएंड वेब सर्वर को स्लोलोरिस (Slowloris) या विकृत हेडर हमलों से कैसे बचाती है?)
(A) It forwards partial broken bytes instantly to the backend
(B) It reduces backend RAM to 64 MB
(C) It buffers and validates the complete HTTP request cleanly before opening a fast backend connection
(D) It blocks all traffic from port 443
Correct Answer: (C)
[EN] Because the reverse proxy terminates slow client sockets itself, backend application workers only receive complete, RFC-valid requests.
[HI] रिवर्स प्रॉक्सी धीमे व अधूरे HTTP अनुरोधों को स्वयं संभालती है और बैकएंड सर्वर को केवल पूर्ण व वैध अनुरोध ही आगे भेजती है।
Q15. Which mechanism allows a forward proxy to tunnel end-to-end HTTPS when TLS decryption is NOT enabled?
(जब TLS डिक्रिप्शन सक्रिय न हो, तब फॉरवर्ड प्रॉक्सी एंड-टू-एंड HTTPS ट्रैफिक को किस HTTP मेथड से टनल करती है?)
(A) The HTTP `CONNECT` method
(B) The HTTP `OPTIONS` method
(C) The ICMP `ECHO` method
(D) The HTTP `HEAD` method
Correct Answer: (A)
[EN] The client sends `CONNECT example.com:443 HTTP/1.1` to the proxy, which opens a raw TCP pipe without decrypting the TLS session.
[HI] बिना डिक्रिप्ट किए HTTPS टनल बनाने के लिए क्लाइंट प्रॉक्सी को HTTP `CONNECT` मेथड भेजकर सीधा TCP पाइप खुलवाता है।
Q16. Which of the following statements about proxy firewalls is FALSE?
(प्रॉक्सी फायरवॉल के बारे में निम्नलिखित में से कौन सा कथन असत्य (FALSE) है?)
(A) Application-Level Gateways inspect traffic up to OSI Layer 7
(B) Proxy firewalls route packets directly between internal clients and external servers using a single shared TCP socket
(C) Proxy firewalls hide internal IP addresses from external servers
(D) SOCKS5 operates as a circuit-level gateway at Layer 5
Correct Answer: (B)
[EN] Proxy firewalls never route a single direct TCP connection across; they terminate the client connection and create a separate outbound connection.
[HI] प्रॉक्सी फायरवॉल कभी एक ही सीधे TCP कनेक्शन को आर-पार नहीं जाने देता, बल्कि क्लाइंट व सर्वर के लिए दो अलग कनेक्शन बनाता है।
Q17. Within Proxy Firewalls (Application Level Gateways), which proxy / gateway architecture directly maps to: "Layer 7 split TCP termination understanding protocol syntax"?
(Proxy Firewalls (Application Level Gateways) में कौन सा Proxy / Gateway Architecture सीधे "Layer 7 split TCP termination understanding protocol syntax" से संबंधित है?)
(A) Circuit-Level Gateway (SOCKS5)
(B) Application-Level Gateway (ALG)
(C) Transparent Proxy
(D) Reverse Proxy / WAF
Correct Answer: (B)
[EN] In Proxy Firewalls (Application Level Gateways), 'Application-Level Gateway (ALG)' handles 'Layer 7 split TCP termination understanding protocol syntax' (Validates HTTP headers, URLs, FTP cmds, and MIME types).
[HI] Proxy Firewalls (Application Level Gateways) में 'Application-Level Gateway (ALG)' का कार्य/विवरण 'Layer 7 split TCP termination understanding protocol syntax' (Validates HTTP headers, URLs, FTP cmds, and MIME types) है।
Q18. Which option accurately describes 'Circuit-Level Gateway (SOCKS5)' in Proxy Firewalls (Application Level Gateways)?
(Proxy Firewalls (Application Level Gateways) के संदर्भ में 'Circuit-Level Gateway (SOCKS5)' की सही विशेषता कौन सी है?)
(A) Layer 7 split TCP termination understanding protocol syntax
(B) Layer 5 session relay authenticating TCP/UDP circuits
(C) Layer 7 inbound shield sitting ahead of origin web servers
(D) Redirects port 80/443 via router WCCP/iptables silently
Correct Answer: (B)
[EN] 'Circuit-Level Gateway (SOCKS5)' provides 'Layer 5 session relay authenticating TCP/UDP circuits' — key point: Hides client IP without parsing application payload grammar.
[HI] 'Circuit-Level Gateway (SOCKS5)' का मुख्य विवरण 'Layer 5 session relay authenticating TCP/UDP circuits' है (Hides client IP without parsing application payload grammar)।
Q19. In Proxy Firewalls (Application Level Gateways), identify the correct parameter for the specification: "Layer 7 inbound shield sitting ahead of origin web servers".
(Proxy Firewalls (Application Level Gateways) में "Layer 7 inbound shield sitting ahead of origin web servers" विवरण किस विकल्प के लिए सही है?)
(A) Reverse Proxy / WAF
(B) Circuit-Level Gateway (SOCKS5)
(C) Transparent Proxy
(D) Application-Level Gateway (ALG)
Correct Answer: (A)
[EN] 'Reverse Proxy / WAF' corresponds to 'Layer 7 inbound shield sitting ahead of origin web servers' (Offloads TLS, caches content, and filters SQLi/XSS attacks).
[HI] 'Reverse Proxy / WAF' का संबंध 'Layer 7 inbound shield sitting ahead of origin web servers' (Offloads TLS, caches content, and filters SQLi/XSS attacks) से है।
Q20. Considering Proxy Firewalls (Application Level Gateways), what key behavior defines 'Transparent Proxy'?
(Proxy Firewalls (Application Level Gateways) में 'Transparent Proxy' की मुख्य भूमिका या मान क्या है?)
(A) Layer 7 inbound shield sitting ahead of origin web servers
(B) Redirects port 80/443 via router WCCP/iptables silently
(C) Layer 5 session relay authenticating TCP/UDP circuits
(D) Layer 7 split TCP termination understanding protocol syntax
Correct Answer: (B)
[EN] 'Transparent Proxy' represents 'Redirects port 80/443 via router WCCP/iptables silently' (Enforces policy without configuring client browser settings).
[HI] 'Transparent Proxy' का अर्थ/मान 'Redirects port 80/443 via router WCCP/iptables silently' है (Enforces policy without configuring client browser settings)।
Proxy Firewalls (Application Level Gateways) — Exam FAQs
Q1: Why are proxy firewalls slower than stateful packet-filtering firewalls?
प्रॉक्सी फायरवॉल, स्टेटफुल फायरवॉल की तुलना में धीमे क्यों होते हैं?
[EN] A proxy must terminate the client TCP stack, buffer and parse full Layer 7 application headers/content, enforce security policies, and create a brand-new server TCP session—requiring far more CPU and memory per flow.
[HI] प्रॉक्सी को दो अलग TCP कनेक्शन बनाने, पूरा लेयर 7 डेटा बफर कर पढ़ने और नियमों की जाँच करने में अधिक CPU व मेमोरी खर्च करनी पड़ती है।
Q2: Does a SOCKS5 proxy provide encryption automatically?
क्या SOCKS5 प्रॉक्सी स्वतः डेटा को एन्क्रिप्ट करती है?
[EN] No. SOCKS5 itself only authenticates and relays Layer 5 TCP/UDP traffic without encrypting it; confidentiality relies on upper protocols like TLS/HTTPS or wrapping SOCKS over an SSH tunnel.
[HI] नहीं। SOCKS5 स्वयं एन्क्रिप्शन नहीं करती; डेटा सुरक्षा के लिए भीतर से HTTPS/TLS चलना चाहिए या इसे SSH टनल के अंदर चलाया जाता है।
Q3: How is a Reverse Proxy different from a VPN?
रिवर्स प्रॉक्सी और VPN में क्या अंतर है?
[EN] A reverse proxy sits in front of web servers to accept public Layer 7 requests from anonymous users safely, whereas a VPN creates an encrypted Layer 3/4 network tunnel granting authenticated remote users access to private LAN subnets.
[HI] रिवर्स प्रॉक्सी सार्वजनिक यूज़र्स से सुरक्षित रूप से वेब अनुरोध लेकर बैकएंड सर्वर की रक्षा करती है, जबकि VPN प्रमाणित यूज़र्स को निजी नेटवर्क में एन्क्रिप्टेड टनल एक्सेस देता है।
Post a Comment
Post a Comment