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

2
votes
1answer
26 views

Why is my web server dropping connections with a TCP reset at high load?

I have a small VPS setup with nginx. I want to squeeze as much performance as possible out of it, so I've been experimenting with optimization and load testing. I'm using Blitz.io to do load testing ...
18
votes
6answers
31k views

How to capture ack or syn packets by Tcpdump?

I want to use a filter rule to capture only ack or syn packets. How do I do this?
-1
votes
0answers
10 views

Tracking down failed TCP connections [on hold]

Windows performans log full with "More than 10 tcp connection failures per hour" message. Any idea how to track down what cause this? (I think its not normal!?) Thank you
-1
votes
0answers
33 views

Azure intermittent outbound connection failure to EC2 [on hold]

I have three Linux VMs (Ubuntu 14.04) running in a vnet, like this: Host Internal IP External IP prod1 10.0.1.1 104.45.234.56 <---\__ load balanced prod2 ...
1
vote
3answers
168 views

How can one redirect to a new host all traffic destined for an old host?

We're moving a bunch of services, say from 1.2.3.4 to 5.6.7.8. In order to test that the new services are correctly configured, we'd like to redirect (to the new host) all traffic destined for the ...
6
votes
4answers
2k views

Automatically-reconnecting TCP tunnel

I have an unreliable network connection between two machines: sometimes active TCP connections get dropped for reasons beyond my control. I want to establish a reliable TCP connection between the two ...
2
votes
1answer
1k views

How to achieve multiple NFS/TCP connections to the same server?

I'm trying to maximize the NFS/TCP bandwidth between a Linux client and a single NFS server over a 10Gbps link. Although each NFS mount has its own device (major/minor), everything comes down to a ...
1
vote
1answer
1k 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
22 views

Squid3 CONNECT imap.gmail.com:993 TCP_DENIED:NONE

I have the following configuration under squid.conf. However, when my Blackberry email client attempts to fetch new emails, etc. Squid access log show the following error: imap.gmail.com "CONNECT ...
1
vote
1answer
19 views

Does TCP's MSS hide a mismatched intra-LAN MTU?

I'm trying to understand how mismatched MTUs behave in a network. Suppose two hosts are able to talk to each other through an Ethernet-based network. The network and host A are configured for jumbo ...
3
votes
0answers
57 views

Common back pressure strategies for services under sustained high load

I'm wondering what are the common backpressure strategies people use for their web services? Imagine your service operates under heavy load, and at some point the load reaches 120% of your capacity. ...
0
votes
0answers
28 views

Forwarding ports and traffic to VPN tunnel

I've installed OpenVPN on my VPS. I have one question: how to forward traffic going to that VPS to go to VPN tunnel created with my local PC. I will use TCP connection. The whole traffic will be like ...
-1
votes
0answers
30 views

Routing traffic from VPS to private IP [closed]

I have ordered VPS on Digitalocean. I need to route all incoming traffic from this VPS to my local PC, which dont have public IP. I have read about reverse proxy and about VPN. Is it possible to route ...
0
votes
1answer
21 views

what could cause a not so busy redis server to close connection?

We have 17k tcp connection in CLOSING state on redis server. My understanding is that only client would initiate closing a connection, not from a redis server. So I should see 0 connection in CLOSING ...
6
votes
2answers
122 views

TCP acks are paused, then resumed, then paused again. Why?

I would like some help finding the reason for the reduced data transfer rate in my application. I have 12 embedded systems and a Linux server. The embedded systems send data to the server over TCP on ...
1
vote
3answers
2k views

NAT Gateway - Maximum connection limit

I know just enough networking to be dangerous. The nitty gritty low level details of NAT are not something I am particularly knowledgeable about. I accidentally found myself in a discussion earlier ...
0
votes
1answer
981 views

ffmpeg simple RTMP streaming

I am trying to launch up a rtmp transcoder server using ffmpeg; that receives udp MPEG-TS streams as input, transcodes it; and generates an rtmp output to a URL, that can be accessed by users to ...
3
votes
4answers
3k 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
45 views

how to determine client side or server side retransmission from a pcap

I am trying to get some clarification on something I read here: how to calculate packet loss from a binary TCPDUMP file The first answer says that the sequence number will be the same from client to ...
1
vote
0answers
19 views

Why is SQL Server using all ephemeral ports connecting to itself and causing TIME_WAITs?

I've got an AWS server with Windows 2008 R2, SQL Server 2012, and Tomcat 7. When I run netstat -ano the screen is flooded with TIME_WAIT. I posted the output in a Gist. When I run CurrPorts, filter ...
-3
votes
1answer
56 views

How to artificially open many tcp connection on a host (testing)? [closed]

I'm trying to build a test setup which test my server's performance under high load. In order to do that I want to open thousands of tcp connection. The problem is that I only have two hosts, one is ...
-2
votes
1answer
27 views

IIS listening 127.0.0.1 instead 0.0.0.0

I configure binding on my IIS 7 server like: ip address: All Unassigned port: 8080 but in netstat -aon command see only 127.0.0.1:8080 instead 0.0.0.0:8080(which I would like) (0.0.0.0:8080 is ...
1
vote
0answers
21 views

After sending Duplicate ack by the server, it stop responding [closed]

My TCP client communicates with multiple 3rd TCP servers. However one particular server produces duplicate ack and stop responding in the specific time only. That particular server is OK other time. I ...
0
votes
2answers
2k views

TCP port numbers reused and TCP Retransmission

Facing issues due to TCP Port Reuse and Retransmission for HTTP traffic. My deployment is as follows: enter image description here I have a squid proxy installed on a unix machine which is sending ...
1
vote
2answers
43 views

is it normal for NGINX to accumulate connections in writing state?

This is a graph showing connection count from nginx's stab_status, the drops in graph are server restarts done manually. I find this behaviour strange, looks like some leakage. I think there are ...
3
votes
1answer
169 views

Low throughput on Debian + nginx/apache

On the same LAN/WAN I have a Windows server 2012 server running IIS 7.5 and a Debian (wheezy) server running Nginx 1.4.5. Both servers are connected to the same LAN/WAN. When I download a 10MB file ...
2
votes
1answer
49 views

How to filter for the most common problems with tcpdump/tshark

I am currently using the following command in Linux to get specifics on network problems. tshark -r file.pcap -q -z io,stat,1,\ "COUNT(tcp.analysis.retransmission) tcp.analysis.retransmission",\ ...
0
votes
1answer
26 views

TCP ACK Window shrinking

(Note: I am not a networking engineer) We are sending files to an outside vendor and getting random timeouts on different services. It seems that we are getting timeouts most often on larger files. We ...
7
votes
1answer
1k views

What is theoretical maximum of TCP traffic over GigaEthernet?

What is theoretical maximum of TCP traffic over GigaEthernet ?
0
votes
0answers
37 views

TCP connections drop off after initial build up

A bizarre problem on a production setup. Scenario 1) A server listens on a particular port. 2) There are potentially thousands of TCP connection requests. 3) About 200-300 TCP connections reach ...
-1
votes
1answer
59 views

FTP upload slows down when devices are connected via hub [closed]

I have a setup with a network hub and three Ethernet devices. One of them is a PC (running windows XP), two others are hardware components that need to communicate with each other over the network. ...
0
votes
1answer
35 views

Windows Server 2012, application needs administrative access to open port

How can I grant an application access to listen on one particular port, without running it as Administrator or disabling UAC? Per policy, had to transition from an old server (Windows Server 2003) to ...
1
vote
3answers
920 views

Windows Server 2008 - unable to bind any TCP port

OS: Win Server 2008 RC2 Windows firewall on (no effect when off) I have suddenly been plagued by an issue in which I cannot find any similar ones with a search. I am running about 20 game servers ...
1
vote
0answers
11 views

How do I cap each individual tcp stream, to a fixed maximum rate?

I've read but not in depth all the various traffic shaping docs and seen the long question on HSFC scheduling Does anyone really understand how HFSC scheduling in Linux/BSD works? looked at the ...
7
votes
2answers
1k views

TCP Dump, cannot understand these 4 lines?

I need support understanding these 4 lines. looks like tcp dump but im actully not understanding what exactly is happening here. 13:13:22.407445 IP 192.168.246.128.54955 > 192.168.246.13.80: S ...
0
votes
1answer
51 views

A LOT of connections from my external IP address to my web server

I installed Nagios recently on a Debian machine running an Apache web server among other things. The thing is that lately, Nagios tells me that the HTTP service is failing intermittently and it seems ...
0
votes
2answers
344 views

Recommended TCP keepalive settings for a busy server

We are having some network timeout issues on a Debian server that is quite busy, and maintains multiple connections to a number of other servers on the network. Here are our current TCP keepalive ...
1
vote
0answers
23 views

TCP High Send-q coupled with FIN_WAIT1 status

I'm having a problem with one of my webservers, which is taking minutes to completely render a web page. I had a look at the TCP connection and noticed that I have a very high value in the send-q ...
35
votes
5answers
6k 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 ...
4
votes
4answers
1k views

Is there a way to see what is actually filtering TCP port communication?

nmap -p 7000-7020 10.1.1.1 Will output all the filtered ports Starting Nmap 6.40 ( http://nmap.org ) at 2015-03-04 12:18 EET Nmap scan report for 10.1.1.1 Host is up (0.00091s latency). PORT ...
6
votes
4answers
3k views

apache webserver unresponsive 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 years with the same ...
0
votes
1answer
42 views

How do I open specific ports on Linux (an AWS instance of RHEL v. 7)?

I'm using RedHat version 7. My AWS instances are in a security group with ample permissions for inbound connectivity. I can do Yum updates. The servers can ping each other. I can transfer files ...
3
votes
3answers
566 views

tcp-upstream in unbound doesn't work. Use TCP for query upstream DNS servers really work in the real world?

Today I've been playing with some options in unbound.conf just for fun. I've enabled tcp-upstream but it doesn't work with some domains. OS: OpenBSD current. Unbound: 1.4.19 Examples with ...
1
vote
3answers
1k views

HTTP not finishing over LAN. Hardware cause?

On a customer server running Apache 2.2 on Windows server 2012 we're noticing that from time to time, some requests to the server never finish. Using wireshark I've found a bunch of duplicate ACKs get ...
0
votes
0answers
19 views

TCP forwarding IIS

i have a server, let's call it: GATEWAY-SERVER (GS). On GS i installed a custom build TCP proxy/forwarder. This tool accepts connection TCP level and formulates a new request towards a TARGETSERVER ...
1
vote
1answer
787 views

Big IP orphaned connections

Let me state up-front that I know just enough about networking at this level to be dangerous, so if I say something stupid, please be kind. I am using a Big IP load balancer in front of 3 Apache ...
0
votes
1answer
13 views

SNORT only alerting on inbound traffic

I am trying to raise an alert when someone is setting up a connection to PORT 25 (tcp), whatever source or destination. For this i came up with this simple rule: alert tcp any any -> any 25 ...
0
votes
1answer
10 views

Windows Server 2008 sending regular TCP DNS requests to Forwarders

Our organization's primary DNS server is a Windows Server 2008 which two Forwarders set. I happened to notice on our firewall that this server is sending out regular TCP requests to the Forwarders in ...
3
votes
1answer
601 views

How to debug why WAN TCP/IP throughput is lower than expected?

I'm trying to figure out why tcp/ip throughput between two hosts I control is much lower than expected. Host A: internet connectivity provided by Comcast (Residential) in Boston Metro -- can ...
3
votes
1answer
127 views

(Why) does FreeBSD 'net.inet.tcp.always_keepalive' violate RFC1122?

While working on a server application that runs on FreeBSD and uses TCP, I noticed that TCP keepalive probes get sent even though my application explicitly disables SO_KEEPALIVE on TCP sockets. ...