Category: Networking

TCP zero window flow

When troubleshooting this condition, it is imperative that you obtain a thread dump on the client. There is a reason it cannot consume the data being sent to it from the server, so you need to understand why it is…

Can two switches talk to each other?

Yes, and you don’t even need a crossover cable for the connection on newer switches. One important proviso is that this can be only on the default VLAN. If you use a different VLAN, the mode must be trunk rather…

Simple network test with client and server

This simple network trace shows the essential elements of a network interaction between a client and a server. For our test, we use the following for the client… import sys, socket, time remote_ip = socket.gethostbyname(socket.gethostname()) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #s.setsockopt(socket.IPPROTO_TCP,…

Spoofed IP network behaviour

In this case, we spoof the IP of our client to 192.168.1.101. When we do this, and send only a SYN packet to the server, we see the SYN on the client… [root@cmhlcarchapp02 ~]# python spoof.py 1 09:37:52.469226 IP 192.168.1.101.49999…

Connection Reset – What does it mean?

Generally, it indicates your client successfully connected to the server. A subsequent attempt to use the client connection failed after the server closed the socket, or had been disconnected for any reason. You can prove this with what is below,…

Akamai GTM

Akamai’s Global Traffic Manager, or GTM for short, is technology that allows a user to configure traffic to be sent to more than one data center, or at least more than one origin URL. For an Akamai primer, go here.…