Skip to content
Advertisement

Tag: tcp

How does netstat determine symbolic hostname?

I was trying to understand what the –numeric/-n flag of netstat does? Manual says the following about –numeric/-n –numeric , -n Show numerical addresses instead of trying to determine symbolic host, port or user names. Following is a line of output with “-n” option Following is the same line as in A but without “-n” option port 8080 in my

How to find a free TCP port

How do I find a completely free TCP port on a server? I have tried the command line; but I am told the ones with a status of LISTENING are already being used. I also tried a tool called TCPView but again it only showed which TCP ports were being used. I know how to telnet to a port to

Linux/Unix Socket Self-connection

When a client try to connect to a server, if client and server are both localhost, self-connection may happen(source port and destination port happened to be the same.). But my problem is, client is not listening to that port, how can self-connection be possible? Answer We can simple reproduce this phenomenon with the following python program when we try to

how to verify tcp checksum [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 10 years ago. For some odd reason,

Trouble on state FIN_WAIT_1

recently i’ve got some port holding on FIN_WAIT_1 state till two days later. The target port is used by one server process ever and client connect to the server process through this port. The situation is we stopped the server process, and obviously some client is still connecting with the server at that moment. From my understanding, the server process

Redirecting packets to user space TCP stack without modifying application

I’m using a user space TCP stack based on the Linux stack running under Linux. Unfortunately it requires applications to specifically call its own modified versions of the normal sockets API functions and then just grabs incoming packets it receives in response using libpcap. Now my question is whether there is any way to redirect packets from an application to

Advertisement