![]() ![]() Socat can be used to function as a proxy which enables it to be used to view the traffic generated by plaintext network protocols such as HTTP. Next using socat as a proxy will be covered. The reuseaddr option ensures that socat will be kept in a listening state even if the connection is restarted, while fork allows socat to handle multiple client connections. A connection to port 1234 will be transferred to the homepage of socat. The computer running the above command is listening for all connections on port 1234. Socat TCP4-LISTEN:1234,reuseaddr, fork TCP: :80 In this article, the various uses of Socat will be discussed including its use as a proxy, securing communications with Socat, using Socat as a client and server and finally crafting packets with Socat.Ī Socat command to pipe connections from one end point to another can be represented as follows: Thes e locations can be sockets such TCP, UDP, IPv4, ssl-sockets or even an open file. Socat (SOcket CAT) is a networking tool which transfer s data between two locations. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |