HTTP
Topics in this section,
In this section, you are going to learn
HTTP
Term |
Expansion |
Explanation |
HTTP |
Hypertext Transfer Protocol |
The protocol used for transferring web pages on the internet. It operates on a client-server model where clients request resources and servers respond. |
GET |
Hypertext Transfer Protocol GET |
A request method used to fetch data from a server without making any changes. |
POST |
Hypertext Transfer Protocol POST |
A request method used to send data to a server, often used for creating or updating resources. |
PUT |
Hypertext Transfer Protocol PUT |
A request method used to send data to a server to completely replace an existing resource. |
DELETE |
Hypertext Transfer Protocol DELETE |
A request method used to delete a resource from the server. |
HEAD |
Hypertext Transfer Protocol HEAD |
Similar to GET, but only retrieves the headers of a resource (without the body). |
OPTIONS |
Hypertext Transfer Protocol OPTIONS |
A request method used to retrieve the allowed HTTP methods for a resource. |
PATCH |
Hypertext Transfer Protocol PATCH |
A request method used to apply partial modifications to a resource on the server. |
RequestMethod |
— |
A way for clients to specify the type of action they want to perform on a resource (GET, POST, PUT, DELETE, etc.). |
Status Code |
— |
A three-digit code returned by the server in response to an HTTP request to indicate the result (e.g., 200 for success, 404 for not found). |
Content-Type |
— |
A header used to specify the type of data being sent or received in an HTTP message (e.g., text/html, application/json). |
User-Agent |
— |
A header that identifies the client software (browser or app) making the HTTP request to the server. |
Cookie |
— |
A small piece of data stored on the client side that is sent with HTTP requests to remember state (e.g., sessions or preferences). |
Cache-Control |
— |
A header used to specify caching behavior, including how resources are cached and for how long. |
Authorization |
— |
A header used to provide credentials for HTTP authentication. For example, Bearer token for API access. |
Redirect |
— |
The process by which the server instructs the client to make a new HTTP request to a different URL, typically with 3xx status codes. |
Keep-Alive |
— |
A header that allows the HTTP connection to remain open for multiple requests, reducing overhead for subsequent requests. |
Connection |
— |
A header used to control whether the network connection should be kept open after the current request-response cycle. |
Accept |
— |
A header that tells the server what kind of responses the client is willing to accept (e.g., text/html, application/json). |
Accept-Encoding |
— |
A header used to specify which content encodings (e.g., gzip, deflate) the client can understand for response compression. |
Authorization |
— |
A header used to send credentials for authenticating a user or system. |
Host |
— |
A header that specifies the domain name and port number of the server to which the request is being sent. |
Referer |
— |
A header that indicates the URL from which the request originated, typically used for tracking or analytics. |
Proxy |
— |
A server that acts as an intermediary between the client and server, often used to improve security, performance, or anonymity. |
# |
Version |
---|---|
Ubuntu |
Ubuntu 22.04 64 bit |
Linux Kernel |
6.5.0 |
High Level Protocol Setup
Experimental Setup
Command |
Version |
Dependent Libraries |
Description |
---|---|---|---|
pwd |
coreutils 8.32 |
|
Prints the current working directory. |
apt |
2.4.13 (amd64) |
|
Command-line interface for package management in Debian-based systems like Ubuntu.Provides easy access to installation,removal,and management of software packages. |
squid |
5.9 |
|
The squid command starts the Squid proxy server,which acts as a caching proxy to optimize web traffic.It supports protocols like HTTP,HTTPS,and FTP,helping reduce bandwidth usage,improve response times, and control access to internet resources. |
systemctl |
systemd 249 |
|
It is used to control and manage systemd services and the system state on Linux.It allows you to start, stop, restart,enable, disable, and check the status of services and system units. |
netstat |
net-tools 2.10-alpha |
|
tables, interface statistics, and network protocol usage on a computer or server. It is commonly used for network troubleshooting, monitoring, and diagnosing network-related issues. |
curl |
7.81.0 |
|
curl (short for Client URL) is a command-line tool and library used for transferring data with URLs. It supports a wide range of protocols, such as HTTP, HTTPS, FTP, FTPS,SCP, SFTP, SMTP, IMAP, and more. It’s commonly used for interacting with web services, testing APIs, and fetching data over the internet.It can be used to send requests to servers and retrieve responses, upload files, or interact with APIs for tasks such as authentication, file downloads, and much more. |
wget |
1.21.2 |
|
wget is a command-line utility for downloading files from the web. It supports HTTP, HTTPS,and FTP protocols, and allows non-interactive downloads, resuming interrupted downloads,and recursive downloading of websites. It’s commonly used for automating file transfers and mirroring websites. |
telnet |
0.17-44build1 |
|
It is used to connect to remote systems over a network for testing and remote communication though it lacks encryption and is less secure than SSH. |
ping |
iputils 20211215 |
|
It is used to check if a computer or server is reachable over a network. It sends a small packet of data to the target and waits for a reply. If it gets a response, it means the target is online and reachable. |
Library |
Path |
Version |
Description |
---|---|---|---|
linux-vdso.so.1 |
(virtual DSO - no path, provided by kernel) |
N/A |
Virtual dynamic shared object for system calls optimization (provided by kernel) |
libc.so.6 |
/lib/x86_64-linux-gnu/libc.so.6 |
2.35 |
GNU C Library — core system functionality like memory allocation, I/O, etc. |
ld-linux-x86-64.so.2 |
/lib64/ld-linux-x86-64.so.2 |
2.35 |
Dynamic linker/loader — prepares and runs dynamic executables |
libapt-private.so.0.0 |
/lib/x86_64-linux-gnu/libapt-private.so.0.0 |
2.4.13 |
Internal library used by APT tools (Advanced Package Tool). |
libapt-pkg.so.6.0 |
/lib/x86_64-linux-gnu/libapt-pkg.so.6.0 |
2.4.13 |
Core library of APT, handling package management and retrieval. |
libstdc++.so.6 |
/lib/x86_64-linux-gnu/libstdc++.so.6 |
12.3.0-1ubuntu1~22.04 |
Standard C++ library for handling C++ programs and features. |
libgcc_s.so.1 |
/lib/x86_64-linux-gnu/libgcc_s.so.1 |
12.3.0-1ubuntu1~22.04 |
GCC low-level runtime library for exception handling. |
libz.so.1 |
/lib/x86_64-linux-gnu/libz.so.1 |
1:1.2.11.dfsg-2ubuntu9.2 |
Zlib compression library for file compression and decompression. |
libbz2.so.1.0 |
/lib/x86_64-linux-gnu/libbz2.so.1.0 |
1.0.8-5build1 |
Bzip2 compression library. |
liblzma.so.5 |
/lib/x86_64-linux-gnu/liblzma.so.5 |
5.2.5-2ubuntu1 |
XZ compression library. |
liblz4.so.1 |
/lib/x86_64-linux-gnu/liblz4.so.1 |
1.9.3-2build2 |
LZ4 compression library. |
libzstd.so.1 |
/lib/x86_64-linux-gnu/libzstd.so.1 |
1.4.8+dfsg-3build1 |
Zstandard compression library, for fast compression. |
libudev.so.1 |
/lib/x86_64-linux-gnu/libudev.so.1 |
249.11-0ubuntu3.12 |
Library for interacting with the udev device manager. |
libsystemd.so.0 |
/lib/x86_64-linux-gnu/libsystemd.so.0 |
249.11-0ubuntu3.12 |
Systemd library for managing system services. |
libgcrypt.so.20 |
/lib/x86_64-linux-gnu/libgcrypt.so.20 |
1.9.4-3ubuntu3 |
Library for cryptographic algorithms. |
libxxhash.so.0 |
/lib/x86_64-linux-gnu/libxxhash.so.0 |
0.8.1-1 |
Library for fast, non-cryptographic hash function (XXHash). |
libm.so.6 |
/lib/x86_64-linux-gnu/libm.so.6 |
2.35-0ubuntu3.9 |
Math library providing common mathematical functions. |
ld-linux-x86-64.so.2 |
/lib64/ld-linux-x86-64.so.2 |
2.35-0ubuntu3.9 |
The dynamic linker for ELF (Executable and Linkable Format) binaries. |
libcap.so.2 |
/lib/x86_64-linux-gnu/libcap.so.2 |
1:2.44-1ubuntu0.22.04.2 |
Library for handling POSIX capabilities. |
libgpg-error.so.0 |
/lib/x86_64-linux-gnu/libgpg-error.so.0 |
1.43-3 |
Library for handling errors related to GnuPG (Gnu Privacy Guard). |
libnettle.so.8 |
/lib/x86_64-linux-gnu/libnettle.so.8 |
3.7.3-1build2 |
Cryptographic library providing low-level cryptographic primitives. |
libecap.so.3 |
/lib/x86_64-linux-gnu/libecap.so.3 |
1.0.1-3.2ubuntu4 |
eCAP – content adaptation framework. |
libxml2.so.2 |
/lib/x86_64-linux-gnu/libxml2.so.2 |
2.9.13+dfsg-1ubuntu0.6 |
XML parsing library |
libexpat.so.1 |
/lib/x86_64-linux-gnu/libexpat.so.1 |
2.4.7-1ubuntu0.6 |
XML parser library written in C |
libgnutls.so.30 |
/lib/x86_64-linux-gnu/libgnutls.so.30 |
3.7.3-4ubuntu1.6 |
TLS and SSL protocols implementation |
libgssapi_krb5.so.2 |
/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 |
1.19.2-2ubuntu0.6 |
Kerberos 5 GSS-API library. |
libkrb5.so.3 |
/lib/x86_64-linux-gnu/libkrb5.so.3 |
1.19.2-2ubuntu0.6 |
Core Kerberos library. |
libcom_err.so.2 |
/lib/x86_64-linux-gnu/libcom_err.so.2 |
1.46.5-2ubuntu1.2 |
Common error description library. |
libsystemd.so.0 |
/lib/x86_64-linux-gnu/libsystemd.so.0 |
249.11-0ubuntu3.12 |
System and service manager. |
libcap.so.2 |
/lib/x86_64-linux-gnu/libcap.so.2 |
1:2.44-1ubuntu0.22.04.2 |
POSIX capabilities library |
libnetfilter_conntrack.so.3 |
|
1.0.9-1 |
Netfilter connection tracking library. |
libltdl.so.7 |
/lib/x86_64-linux-gnu/libltdl.so.7 |
2.4.6-15build2 |
Libtool dynamic module loader |
libicuuc.so.70 |
/lib/x86_64-linux-gnu/libicuuc.so.70 |
70.1-2 |
Unicode support library. |
libp11-kit.so.0 |
/lib/x86_64-linux-gnu/libp11-kit.so.0 |
0.24.0-6build1 |
PKCS#11 proxy library. |
libidn2.so.0 |
/lib/x86_64-linux-gnu/libidn2.so.0 |
2.3.2-2build1 |
Internationalized Domain Names library. |
libunistring.so.2 |
/lib/x86_64-linux-gnu/libunistring.so.2 |
1.0-1 |
Unicode string manipulation. |
libtasn1.so.6 |
/lib/x86_64-linux-gnu/libtasn1.so.6 |
4.18.0-4ubuntu0.1 |
ASN.1 parser library. |
libhogweed.so.6 |
/lib/x86_64-linux-gnu/libhogweed.so.6 |
3.7.3-1build2 |
Cryptographic library (used with Nettle). |
libgmp.so.10 |
/lib/x86_64-linux-gnu/libgmp.so.10 |
2:6.2.1+dfsg-3ubuntu1 |
Arithmetic on big numbers. |
ld-linux-x86-64.so.2 |
/lib64/ld-linux-x86-64.so.2 |
2.35-0ubuntu3.9 |
Loads and links programs |
libk5crypto.so.3 |
/lib/x86_64-linux-gnu/libk5crypto.so.3 |
1.19.2-2ubuntu0.6 |
Kerberos cryptographic library |
libkrb5support.so.0 |
/lib/x86_64-linux-gnu/libkrb5support.so.0 |
1.19.2-2ubuntu0.6 |
Support routines for Kerberos. |
libkeyutils.so.1 |
/lib/x86_64-linux-gnu/libkeyutils.so.1 |
1.6.1-2ubuntu3 |
Key management utilities. |
libresolv.so.2 |
/lib/x86_64-linux-gnu/libresolv.so.2 |
2.35-0ubuntu3.9 |
DNS resolver library. |
libnfnetlink.so.0 |
/lib/x86_64-linux-gnu/libnfnetlink.so.0 |
1.0.1-3build3 |
Netfilter communication library |
libmnl.so.0 |
/lib/x86_64-linux-gnu/libmnl.so.0 |
1.0.4-3build2 |
Minimalistic Netlink library |
libicudata.so.70 |
/lib/x86_64-linux-gnu/libicudata.so.70 |
70.1-2 |
International Components for Unicode. |
libffi.so.8 |
/lib/x86_64-linux-gnu/libffi.so.8 |
3.4.2-4 |
Foreign Function Interface library |
libselinux.so.1 |
/lib/x86_64-linux-gnu/libselinux.so.1 |
3.3-1build2 |
SELinux security policies support. |
libblkid.so.1 |
/lib/x86_64-linux-gnu/libblkid.so.1 |
2.37.2-4ubuntu3.4 |
Identifies block devices (partitions, file systems, etc.). |
libpcre2-8.so.0 |
/lib/x86_64-linux-gnu/libpcre2-8.so.0 |
10.39-3ubuntu0.1 |
Perl-compatible regular expression engine (PCRE2). |
libcurl.so.4 |
/lib/x86_64-linux-gnu/libcurl.so.4 |
7.81.0-1ubuntu1.20 |
Client-side URL transfer library supporting various protocols like HTTP, FTP, and more |
libnghttp2.so.14 |
/lib/x86_64-linux-gnu/libnghttp2.so.14 |
1.43.0-1ubuntu0.2 |
HTTP/2 C library implementing RFC 7540. |
libidn2.so.0 |
/lib/x86_64-linux-gnu/libidn2.so.0 |
2.3.2-2build1 |
Internationalized domain name (IDN) library. |
librtmp.so.1 |
/lib/x86_64-linux-gnu/librtmp.so.1 |
2.4+20151223. gitfa8646d.1-2build4 |
RTMP (Real-Time Messaging Protocol) client library. |
libssh.so.4 |
/lib/x86_64-linux-gnu/libssh.so.4 |
0.9.6-2ubuntu0.22.04.3 |
SSH (Secure Shell) protocol library. |
libpsl.so.5 |
/lib/x86_64-linux-gnu/libpsl.so.5 |
0.21.0-1.2build2 |
Public Suffix List library for domain name parsing. |
libssl.so.3 |
/lib/x86_64-linux-gnu/libssl.so.3 |
3.0.2-0ubuntu1.19 |
OpenSSL SSL/TLS cryptographic library. |
libldap-2.5.so.0 |
/lib/x86_64-linux-gnu/libldap-2.5.so.0 |
2.5.18+dfsg- 0ubuntu0.22.04.3 |
OpenLDAP libraries for Lightweight Directory Access Protocol (LDAP) servers and clients. |
liblber-2.5.so.0 |
/lib/x86_64-linux-gnu/liblber-2.5.so.0 |
2.5.18+dfsg-0ubuntu 0.22.04.3 |
OpenLDAP libraries for BER (Basic Encoding Rules) encoding/decoding. |
libbrotlidec.so.1 |
/lib/x86_64-linux-gnu/libbrotlidec.so.1 |
1.0.9-2build6 |
Brotli decompression library. |
libsasl2.so.2 |
/lib/x86_64-linux-gnu/libsasl2.so.2 |
2.1.27+dfsg2-3ubuntu1.2 |
Cyrus SASL (Simple Authentication and Security Layer) library. |
libbrotlicommon.so.1 |
/lib/x86_64-linux-gnu/libbrotlicommon.so.1 |
1.0.9-2build6 |
Brotli compression common library. |
libtasn1.so.6 |
/lib/x86_64-linux-gnu/libtasn1.so.6 |
4.18.0-4ubuntu0.1 |
ASN.1 (Abstract Syntax Notation One) library. |
libuuid.so.1 |
/lib/x86_64-linux-gnu/libuuid.so.1 |
2.37.2-4ubuntu3.4 |
Universally Unique Identifier (UUID) library |
Step-1 : Find the IP address of Ubuntu machine
test:~$ ifconfig docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255 ether 02:42:c2:a4:22:08 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.91.239.13 netmask 255.255.255.0 broadcast 10.91.239.13 inet6 fe80::bb87:2721:82b8:f6cd prefixlen 64 scopeid 0x20<link> ether e4:54:e8:4e:e4:b9 txqueuelen 1000 (Ethernet) RX packets 10426884 bytes 7818062595 (7.8 GB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3605750 bytes 434038103 (434.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 memory 0xdf000000-df020000 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 1097677 bytes 88297298 (88.2 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1097677 bytes 88297298 (88.2 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
To find the IP address of your Ubuntu machine,use the ifconfig command.
From the output of ifconfig command,for example, 10.91.239.13 is used as the Proxy Server IP.
This Proxy server IP is used when connecting HTTP server to a client.
Step-2 : Install Squid Proxy Server on Ubuntu
test:~$ pwd /home/test test:~$ sudo apt update test:~$ sudo apt install squidStep-3 : Verify the Installation
test:~$ squid -vStep-4 : Edit the Squid Configuration file
test:~$ sudo nano /etc/squid/squid.conf #specify the port for squid to listen http_port 3128 #Define an ACL for the client (replace with your client's IP) acl client_ip src 192.168.0.37 #this could be the actual IP of the client #Allow the client IP to access the proxy http_acess allow client_ip acl safe_ports port 80 #Allow access to safe ports(which is just HTTP in this case) http_access allow safe_ports #Deny all other clients from accessing the proxy http_access deny all #Logging and cache settings (optional) access_log /var/log/squid/access.log cache_dir ufs /var/spool/squid 100 16 256 #default cache directory with 100MB space visible_hostname sysadmin //optional
NOTE : comment all the lines in file the above prompt only to save.
Configuration Statement
Description
http_port 3128
Specifies the port on which Squid listens for incoming proxy requests. Default is port 3128.
acl client_ip src 192.168.0.37
Defines an Access Control List (ACL) rule that allows access to the proxy for the client with IP 192.168.0.37.
http_access allow client_ip
Grants proxy access to the client defined in the client_ip ACL rule.
acl safe_ports port 80
Defines port 80 (HTTP) as a “safe” port, which is allowed for access.
http_access allow safe_ports
Allows access to “safe” ports (e.g., HTTP port 80) as specified in the safe_ports ACL rule.
http_access deny all
Denies proxy access to all clients not explicitly allowed by the previous ACL rules.
access_log /var/log/squid/access.log
Specifies the location of Squid’s access log file, where all proxy access attempts are recorded.
cache_dir ufs /var/spool/squid 100 16 256
Defines the cache directory (/var/spool/squid) and configuration for storing cached data (100MB cache size).
visible_hostname sysadmin
Sets a human-readable hostname for the proxy server, useful for identification in logs and configuration files.
Step-5 : Start the Squid server
test:~$ sudo systemctl restart squid test:~$ sudo systemctl enable squid IItest:~$ sudo systemctl status squid
NOTE : If server is not running,check logs at “sudo journalctl -u squid” or “sudo systemctl status squid” and fix the errors.
Step-6 : Allow connection from port 3128 (http port)
test:~$ sudo ufw allow 3128Step-7 : To check the server is listening on port
test:~$ sudo netstat -tuln | grep 3128 tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN tcp6 0 0 :::3128 :::* LISTEN
Step-1 : Find the IP address of Client machine.
test:~$ ifconfig enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether e4:54:e8:0a:f2:75 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 453840 bytes 299962936 (299.9 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 453840 bytes 299962936 (299.9 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.37 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fd8d:7bbc:1295:8:3e83:f574:906b:9b12 prefixlen 64 scopeid 0x0<global> inet6 fe80::efe6:fe58:4cd1:9a51 prefixlen 64 scopeid 0x20<link> inet6 fd8d:7bbc:1295:8:51a9:e8f4:66d6:3180 prefixlen 64 scopeid 0x0<global> ether c0:b5:d7:0b:ac:5b txqueuelen 1000 (Ethernet) RX packets 3476163 bytes 2223285532 (2.2 GB) RX errors 0 dropped 48920 overruns 0 frame 0 TX packets 450874 bytes 86312159 (86.3 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0Step-2 : Using Curl
test:~$ curl --proxy http://10.91.239.13:3128 http://example.com
Expected output:The HTML source code of the webpage hosted at http://example.com
NOTE: 10.91.239.13 is the Proxy Server IP address referenced in the “Setup HTTP Proxy Server on Ubuntu” section above.
Step-3 : Using wget
test:~$ wget -e use_proxy=yes -e http_proxy=http://10.91.239.13:3128 http://example.com
Expected output:The HTML content of the webpage at http://example.com
NOTE: 10.91.239.13 is the Proxy Server IP address referenced in the “Setup HTTP Proxy Server on Ubuntu” section above.
Step-4 : Using Telnet
test:~$ telnet 10.91.239.13 3128 Trying 10.91.239.13... Connected to 10.91.239.13. Escape Character is '^]'.If the connection fails,the output will be something like connection refused or unable to connect.
NOTE: 10.91.239.13 is the Proxy Server IP address referenced in the “Setup HTTP Proxy Server on Ubuntu” section above.
Step-5 : Using firefox
- 1.Open firefox preferences.
Open firefox on your machine.
In the top-right corner,click on the three horizontal lines(the hamburger menu).
Click on settings.
- 2.Access Proxy settings
Scroll down to the Network Settings Section.
Click the settings button next to Network Settings.
- 3.Configure the Proxy
A new window will appear with various options to configure the Proxy settings.
Select Manual Proxy Configuration.
HTTP Proxy: Enter the IP address of your proxy server (e.g., 10.91.239.13).
Port: Enter the Port number (e.g., 3128,the default squid port).
Click OK.
Then restart the firefox.
4.Then search on firefox,it loads the webpages in browser.
5.Check on terminal also
test:~$ firefox http://www.example.com
It load the webpage in browser.
Step-6 : Using Chrome
- 1.Open chrome on your machine.
In the top-right corner,click on the three dots.
click on settings.
2.Scroll down to the system in that click on open your computer proxy settings.
3.In that proxy tab to click the NetworkProxy ON and below the configuration select manual option.
4.And enter Proxy server’s IP address and port number in the HTTP Proxy.
5.After that open the chrome and search http://google.com.
6.If the Proxy is setup correctly,it loads the webpages.
Step-7 : Using netcat
test:~$ nc -zv 10.91.239.13 3128 Connection to 10.91.239.13 3128 port [tcp/*] succeeded!
NOTE: 10.91.239.13 is the Proxy Server IP address referenced in the “Setup HTTP Proxy Server on Ubuntu” section above.
Step-8 : Using ping
test:~$ ping 10.91.239.13 PING 10.91.239.13 (10.91.239.13 56(84) bytes of data. 64 bytes from 10.91.239.13: icmp_seq=1 ttl=64 time=0.092 ms 64 bytes from 10.91.239.13: icmp_seq=2 ttl=64 time=0.036 ms 64 bytes from 10.91.239.13: icmp_seq=3 ttl=64 time=0.094 ms 64 bytes from 10.91.239.13: icmp_seq=4 ttl=64 time=0.105 ms 64 bytes from 10.91.239.13: icmp_seq=5 ttl=64 time=0.094 ms
NOTE: 10.91.239.13 is the Proxy Server IP address referenced in the “Setup HTTP Proxy Server on Ubuntu” section above.
squid
Test Cases
Frame Sequence
Wireshark Capture
packet 1
packet 2
FAQs
Reference links