TCP stands for Transmission Control Protocol and is one of the core protocols of the Internet Protocol Suite. TCP complements the Internet Protocol (IP), and therefore the entire suite is commonly referred to as TCP/IP.

learn more… | top users | synonyms

5
votes
2answers
2k views

apache webserver unresponsible with server-status showing all child processes waiting for connection

My setup: i have 3 nearly identical webserver machines serving the same high loaded dynamic website with simple load balancing over dns. The service has been working for over two ears with the same ...
2
votes
2answers
4k views

All connections from this network get stuck in SYN_RECV state, connections from my home or phone properly get ESTABLISHED

My server (a linode VPS) suddenly started to timeout on every request yesterday. I'm pretty inexperienced in networking and would love to learn a process for debugging these connectivity issues. ...
3
votes
2answers
1k views

is TCP port exhaustion real? [closed]

How fast would one need to allocate ephemeral ports in order to get into the TCP port exhaustion condition? I was told there are ~4k (older Windows), ~16k (newer Windows) or ~28k (RH Linux) ports ...
1
vote
1answer
138 views

option http-server-close on HAProxy haproxy-1.5-dev19 will result in Connection: close header sent in response

I basically have the following issue: whenever I add option http-server-close to the haproxy config (either in frontend or backend section), haproxy will send a Connection: close header in the ...
1
vote
1answer
346 views

Does hole punching require a UDP rendezvous server Or could it be a TCP one?

I'm trying to get my head wrap around this issue... I would like to connect two users... Those users are already connected to a TCP server, which is aware of both public ip and connection TCP port. ...
5
votes
1answer
1k views

How do I prevent TCP connection freezes over an OpenVPN network?

New details added at the end of this question; it's possible that I'm zeroing in on the cause. I have a UDP OpenVPN-based VPN set up in tap mode (I need tap because I need the VPN to pass multicast ...
30
votes
3answers
532 views

Windows TCP Window Scaling Hitting plateau too early

Scenario: We have a number of Windows clients regularly uploading large files (FTP/SVN/HTTP PUT/SCP) to Linux servers that are ~100-160ms away. We have 1Gbit/s synchronous bandwidth at the office and ...
0
votes
2answers
85 views

Strange data in HTTP request

I have a HTTP server that serve many short time connections from many clients, the server logged that there are some invalid HTTP requests, so I decide to capture the network traffic. This is what I ...
0
votes
1answer
17 views

Prevent TCP Connections from Timing out on Restarting Service

On Ubuntu 14.04, an app communicates with clients at intervals of about 1 per sec to 1 per min. However the service have to be restarted regularly and this causes all the connections to drop/timeout. ...
3
votes
1answer
377 views

Linux - TCP Source Port Reuse (and delay)

We have an application making a lot of calls to a remote web server/service. Client app is JBoss/Java on Linux (Red Hat 5), remote server is Windows 2008. There is a Cisco ACE in the way but there ...
-3
votes
1answer
64 views

How can my server announce its presence to everyone in the network [closed]

The situation is as follows. I want to have an application running on a server. All of the desktops in the company has to connect to it. But I do not want the IP address of the server to be hard coded ...
2
votes
1answer
38 views

FTP client/server failing on switching to PASV mode

Update The ISP said that they recently added the area where this computer is located to their IPv6 network. Coincidentally, ever since the day they added that area to their IPv6 network, no FTP ...
0
votes
2answers
761 views

How do I get my ubuntu server to listen for database connections?

I am having a problems connecting to my database outside of phpmyadmin. Im pretty sure this is because my server isn't listening on port 3306. When I type: sudo netstat -ntlp on my OTHER working ...
0
votes
0answers
26 views

Sending char* throug TCP Socket in C (Unix) [migrated]

i'm just learning how to handle socket and tcp connection in C. I've got an application (a long one) which basically sends and receive char arrays with the system call write from server to client and ...
1
vote
0answers
17 views

Multipath tcp application level performance measurement

I am working on a project related to Multipath tcp and I want to measure the goodput and the RTT at the application level. I don't want to use a traditional tool(netperf, iperf, ...) and I want to ...
0
votes
0answers
22 views

OWPING communicating between tcp and tcp6

I am trying to deploy the perfSonar toolkit on my network. I'm testing the one-way ping tool on a local subnet, which contains the monitoring station (in this case, a laptop) and a host ( a cubox-i ...
1
vote
2answers
29 views

Incoming tcp SYNs possibilities

This might be a general TCP question. Can I receive TCP SYN packet on an established connection OR a connection in TIME_WAIT state? Is is possible?
2
votes
1answer
361 views

How to force use of tcp instead of udp for rpcbind?

I'm trying to use tcp/111 for rpcbind under Debian Wheezy instead of udp/111. The portmap in Squeeze uses tcp/111 without any special configuration, but Wheezy fails. Even numerous sites (as well as ...
8
votes
5answers
567 views

dump tcp connections without tcpdump

On a centos box, I like to dump tcp connections - I would like to see if a server tries to send requests to a certain IP. Usually tcpdump would do the trick - but tcpdump is not installed, and ...
10
votes
3answers
24k views

What does LAST_ACK mean, as a State value in netstat?

If a Windows server has several thousand ports open in LAST_ACK state (as shown by netstat), what could this mean? Is it because one endpoint is waiting for the other to respond?
0
votes
1answer
30 views

TCP RST from telnet/ssh daemons when connecting from openvpn

I have LAN_1 and LAN_2 interconnected with an openvpn tunnel terminated ona pair of SOHO routers running busybox. One of the vpn purpose is to allow clients on both LAN_1 and LAN_2, to administer the ...
0
votes
1answer
702 views

Memory Pressure Protection Feature for TCP Stack - Provided by Microsoft Security Update KB967723

We've been having a lot of funky issues with some of our web based applications that allow clients to submit lot of image files to our servers. Lots of ports are used in the process. ...
6
votes
1answer
71 views

How does Intel AMT (Active Management Technology) not interfere with the TCP/IP host stack?

The Intel dev kit I've been using includes a remote management feature (also see the Ubuntu man page here) which allows remote reboots in case the operating system hangs. It has the capability of ...
2
votes
1answer
55 views

Cisco ASA 5510 Out-of-Order Packets to Google

We're seeing a large number of packets being dropped due to being Out-of-Order. The numbers are large enough that it may be having an impact on network performance. We've isolated it down to a few ...
1
vote
1answer
77 views

How to configure SSH client timeout after network failure?

Let's say I connect from a client to a server via SSH, and in the middle of the session I pull the server's network cable. On the client, the ssh connection stays alive for around 15 minutes before ...
1
vote
2answers
3k views

How to troubleshoot connectivity when curl gets an *empty response*

I want to know how to proceed in troubleshooting why a curl request to a webserver doesn't work. I'm not looking for help that would be dependent upon my environment, I just want to know how to ...
3
votes
2answers
465 views

When a server IP changes, do exising TCP (e.g. http/mysql) connections remain running

We have some PHP-FPM servers and when they need a database connection, they connect to an HAProxy server which selects them a database server to use and the connection opens. When we then want to ...
1
vote
0answers
176 views

Improving TCP performance over a gigabit network lots of connections and high traffic for storage and streaming services

I have two servers, Both servers hardware Specification are Processor : Dual Processor RAM : over 128 G.B Hard disk : SSD Hard disk Outging Traffic bandwidth : 3 Gbps network cards speed : 10 Gbps ...
3
votes
4answers
2k views

Need help troubleshooting intermittant TCP timeout in HAProxy

I have an application where the client connects to a server via a simple TCP based protocol over TLS/SSL. In development, this has worked great for many months while we were building our application ...
0
votes
1answer
35 views

How to send 0x80 byte to a tcp port using netcat or similar tool?

I'm trying to make a Memcached server respond as if I where using binary protocol. If possible just command line answers pls, no code spinet in any programming language.
0
votes
1answer
29 views

TCP Server Memory management: #Connections Vs. #Requests

Given that, there is no theoretical limit to number of concurrent TCP connections a Windows 2008 server can handle. Only thing will happen is, with each connection there will be memory consumption in ...
3
votes
0answers
39 views

Is net.ipv4.vs.timeout_timewait used also for IPv6?

Does this setting for TCP net.ipv4.vs.timeout_timewait apply only to TCP connections established over IPv4 or does it also apply to TCP connections established over IPv6? I have found this for ...
0
votes
0answers
15 views

Security concerns regarding php://stdin

I'm using xinet.d and php://stdin to host a raw tcp-connnection, (following the excellent guide at http://gonzalo123.com/2010/05/23/building-network-services-with-php-and-xinetd/) I'm concerned with ...
0
votes
1answer
27 views

How to measure TCP connection time in Linux

I want to measure the overhead in creating a TCP connection. I know of many tools like hping and netperf, but they seem oriented at measuring latency. I want to know how long the 3-way handshake ...
1
vote
1answer
306 views

Why would a client send a RST packet as reply to a SYN,ACK?

I have a HTTP webservice where sometimes the connection setup fails in a strange way: client sends a SYN packet server sends a SYN,ACK reply client responds with RST In which situations could a ...
1
vote
2answers
71 views

Wireshark TCP Window Size Value

I am debugging an application with Wireshark and watching the TCP Window Size value shrink on one side of the communication. If the packet's TCP section shows a "Window size value: 1", does that mean ...
1
vote
0answers
68 views

iptables: unknown option “--dport”

When I try to run iptables -A control_in -p tcp --dport 22 -j ACCEPT I get the error message iptables v1.4.20: unknown option "--dport". Everything I've found on the internet and serverfault relating ...
-1
votes
3answers
52 views

What happen when I assign 2 IP on one NIC? [closed]

What happen when I assign 2 IP on one NIC? e.g. I have one physical NIC (eth0) and I assign on this interface 2 IPs from different network. e.g. auto eth0 iface eth0 inet static address ...
0
votes
1answer
1k views

Connecting To FMS Server Issues

I am trying to get my computer to connect to an Adobe Connect server but I have had no luck. The error that Adobe is telling me is "ERROR: FMS Server did not return correctly!" and have done some ...
1
vote
0answers
34 views

Network flooded with LLC packet

Recently my network has been slow. From Tcpdump i found lot of frame with protocol LLC. A complete packet capture can been here tcpdump result Any hints on interpreting these packet?
11
votes
6answers
20k views

Finding cause of TCP retransmission within a LAN

Hello denizens of Server Fault I have an irritating problem with a LAN of about 100 computers, 2 Windows domain servers, and 12 VoIP phones. Since their installation around a year ago, every week or ...
1
vote
0answers
50 views

Simple tcp capture tool - output results like chat session? [closed]

I seek a tool which will capture TCP traffic with the resulting output looking almost like an iPhone SMS conversation. Something like: timestamps client stuff is left justified / green server stuff ...
-1
votes
2answers
112 views

block all packets in windows 7 (so nothing appears in wireshark)? Can anything locally installed do it?

is it possible to block all packets in windows 7, so that nothing appears in wireshark? I have tried choosing Block all for incoming. for outgoing, I see it has no block all option, just a block ...
0
votes
2answers
54 views

TCP Python Server

I have a question regarding connection reliability running a tcp server from an ec2 instance. We are currently serving mobile customers around the world from the Oregon region using a c3.4xl ec2 ...
12
votes
3answers
6k views

What's the difference between Unix socket and TCP/IP socket?

It's from this answer: http://stackoverflow.com/questions/2482411/is-this-pdo-bug-fixed-now/2482424#2482424
0
votes
1answer
83 views

TCP Sequence & Acknowledgment numbers

I have looked through other questions on here involving the relevant topics, but I am still not clear on this. I have just been reading this explanation of TCP sequence & acknowledgment numbers. ...
0
votes
2answers
78 views

apache2 keepalive and opening a tcp connection

An IP packet contains a payload, such as HTTP information, which in turn contains html information. An IP packet is encapsulated into a TCP segment, which detects problems in transmission over ...
7
votes
2answers
350 views

What are possible downsides to setting a (very) large initcwnd for high-bandwidth connections?

I have been experimenting with the TCP parameters in Linux (with a 3.5 kernel). Basically concerning this connection: Server: Gigabit uplink in datacenter, actual bandwidth (due to sharing uplinks) ...
1
vote
3answers
154 views

Is TCP header the same as TCP segment?

So, is a TCP header actually the same thing as a TCP segment? I was reading this page, where it reads near the end that: Even though it might seem they are, in most cases, when referring to the ...
31
votes
11answers
21k views

What is the difference between UDP and TCP?

My router has two protocols (and a "both" option) that I can select when setting up port forwarding: UDP and TCP. What is the difference between these two protocols and when would you select one over ...