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

0
votes
1answer
92 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
88 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
354 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
156 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
22k 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 ...
0
votes
1answer
82 views

Connect to sphinx on remote server

I recently moved sphinx onto the same server as our db so our architecture is: File Server that hosts our web app DB server w/ Sphinx instance (searchd) When I try to connect to sphinx at ...
0
votes
2answers
94 views

Debugging slow transfer rate from server

I'm trying to explain this as simple but documented as possible. This is not exclusive to this server or my current ISP. I've seen the same exact issue over the years while being with different ISPs ...
2
votes
1answer
186 views

TCP Window size increases drastically and sender don't send until the receive buffer is not empty

I have a download stream over TCP in an application (running on Win2k12). The problem is that the connection gets closed by the sender because it times out. I used wireshark to see what happens on ...
1
vote
1answer
88 views

Increase number of connections per socket

How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: # sysctl kern.ipc.somaxconn=4096 But each connection is then ...
0
votes
2answers
55 views

FreeBSD Established Connections Maxing out at 300

We've previously had issues in our environment where it seemed we were reaching FreeBSDs max connection limit. We took action demonstrated by http://nginx.org/en/docs/freebsd_tuning.html and bumped up ...
0
votes
1answer
234 views

TCP Zero windows size and full windows size

The problem that we are facing is that some of the http connection have response time > 60s (about 5%). I discover that the problem should between the web server and loadbalancer. Here is my finding, ...
1
vote
0answers
17 views

Debian as TCP-Server for Serial Port redirecting [duplicate]

I want to start a tcp listener on debian. One client should be able to connect and should get inputs of serial port in the tcp connection. And when the client sends data through the tcp socket the ...
4
votes
1answer
2k views

Too many TCP connections causes disconnections

I have a game server which runs with TCP connections. Server disconnects users randomly. I think its related with TCP settings of server. In local development environment written code can handle ...
1
vote
0answers
169 views

What does “connections reset due to unexpected data” in netstat -s mean

I'm running a memcached server under heavy load from multiple web servers. While investigating some odd app level behaviour, we spotted that netstat -s on the memcached box was showing a lot of ...
2
votes
0answers
117 views

TCP connection timeouts that persist - listener queue backlog?

I have an app running on AIX 6.1 that has a single server process that listens for and polls tcp connections and simply forwards on messages to another process using an IPC message queue. It's been ...
0
votes
0answers
117 views

Keep doing TCP Retransmission with ACK, PSH

here is my situation: I got two servers, a loadbalancer (prowered by softlayer) and a web server running apache 2.2 and php 5.4. My web application only serve android mobile device. I was tested 2 set ...
6
votes
1answer
625 views

Varnish running out of open ports, lots of SYN_SENT connections

Recently we've been experiencing issues with our Varnish (3x) -> Apache (3x) setup, resulting in a huge spike in SYN_SENT connections. The spike itself is due to the amount of new traffic hitting the ...
0
votes
2answers
22 views

Distributed LAMP vs DB and Web Server same box

We have a very read heavy semantic web (RDF) application which is RHEL 5/Apache 2.2.3/Tomcat 6/Java 6 on one Server, and MySQL 5.1 on another. Apache and MySQL are backported Red Hat repo stuff, so ...
1
vote
1answer
98 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 ...
0
votes
0answers
41 views

Reproduce netperf TCP_RR test with NTttcp

The documentation of NTttcp being hard to find and to understand, how can I mimic the behavior of the TCP_RR netperf test with NTttcp?
0
votes
1answer
86 views

Linux tool to show connections/s?

Is there a tool/command to show connections per sec? I've tried a few iptraf and iftop but I can't see anything about connection rates.
1
vote
1answer
55 views

TCP timestamps field is in the future

I have a server sending TCP packets. I noticed, with wireshark, that my packets in the Timestamp optional field look like Timestamps: TSval 2552765291, TSecr 3858527953 The TSval is the value my ...
0
votes
0answers
109 views

iperf test in reverse direction gives different result

I used iperf to measure the max throughput for TCP connection between two ubuntu machines. Both the machines were directly connected be means of a 1Gbps cable. When I performed iperf tests i obtained ...
0
votes
1answer
49 views

Support of batch mode in tcpkill

I fire tcpkill with destination ip. Example tcpkill host 10.0.2.184 The problem I am facing is that, tcpkill doesn't come out after killing all tcp connection. After killing all tcp connection it ...
0
votes
1answer
115 views

Show real TCP/IP addresses behind Nginx environment

When i execute the command netstat -atun | awk '{print $5}' | cut -d: -f1 | sed -e '/^$/d' |sort | uniq -c | sort -n I see high number of connection assigned to server ip I want to see the real ...
-1
votes
1answer
52 views

Open file count keeps increasing forever

I'm experiencing issues with the number of files opened increasing over time. If I run my server for about few hours, it'll no more accept any connections. The limit was 1024. I've increased the limit ...
1
vote
1answer
253 views

Windows Server 2008 TCP connections limit

I run my own game server made in .net 4.5 on a Windows Web Server 2008 VPS. I have done some research on a problem I have. My app doesn't accept clients, if there are already 1000 clients connected. ...
3
votes
0answers
153 views

TCP packet being retransmitted 7 times when sysctl tcp_retries1 is set to 3 - why?

Ubuntu 12.04 I am trying to better understand how many times TCP will attempt to retransmit a packet when it does not receive confirmation the destination received it. After reading the tcp man page ...
1
vote
0answers
137 views

No response to some SYN packets when timestamps are enabled

I have a TCP server listening on a machine ("the server") running Ubuntu 12.04.3 (kernel 3.8.0-31-generic). It receives connections from 2 different client machines. Machine A is running Ubuntu ...
2
votes
3answers
201 views

Windows Server TCP sockets random disconnect: how to reproduce?

We rented 10 Windows servers from a large provider in Europe. They all work as expected. One server suddenly crashed and customer care found that both disks were broken. They replaced disks and also ...
1
vote
0answers
105 views

Linux MIPS box: ICMP (ping) works, but TCP does not - how to fix it?

I'm trying to set up MIPS Linux box network. Here is it's configuration: ~ # ifconfig eth0 Link encap:Ethernet HWaddr CC:5D:4E:FF:45:7F inet addr:192.168.0.2 Bcast:192.168.0.255 ...
5
votes
6answers
449 views

How can I find the total number of TCP connections for a given port and period of time by IP?

On a Linux system there are plenty of methods for listing the current TCP connections for a given port by connecting IP but: how can I count the total number of connections to a port per source IP for ...
4
votes
2answers
646 views

VMXNET3 performance on Linux on ESX 5.0

What kind of performance can I expect from VMXNET3 adapter when running two Linux guests on the same VMware ESX private network defined between those guests? I use VMXNET3 adapter for communicating ...
0
votes
0answers
78 views

How can I replay a TCP stream to my client

I need to do some validation testing of a new feed handler I have made. I have some pcap data that I captured from the production network and I would like to have my development feed handler connect ...
4
votes
4answers
8k views

Karmic Koala (Ubuntu): enable remote x clients through TCP

It seems every version of Ubuntu has a different way to enable remote connections to the local X server. I'm asking this question, while I do my own research: how can I enable the X server listening ...
3
votes
3answers
2k views

Allow X Client Display through TCP on Lucid

On Karmic, to allow other PCs to open and X-Window on a station, one had to edit /etc/gdm.conf and change DisallowTCP to false. That file no longer exists on Lucid. I tried changing an entry in ...
1
vote
1answer
55 views

TCP echo server security [closed]

I am setting up a Linux server similar to a TCP echo server and am wondering about security issues I should be concerned about. This will be a bare bones Centos/KDE server with no additional files ...
-6
votes
1answer
56 views

What is the incentive to operate a TCP/IP node? [closed]

I mean, why does anybody relay messages to other nodes? Why are these eleven good people below helping me send my bytes to their destination? traceroute to stackoverflow.com (198.252.206.140), ...
3
votes
1answer
42 views

Default TCP connection backlog value in Windows

Which is the default connection backlog value for TCP in Windows? I have tried to find it but no luck. Cheers
0
votes
1answer
103 views

Port scanning from localhost

I see lot of tcp connections on different ports on my server with 'TIME_WAIT' status. Just simple port scan, but i cant see ip address of this bastard because connections is going from my nginx. Can ...
3
votes
3answers
435 views

How can private IPV4 addresses get past iptables NAT (tcp RST,FIN)

I've got a router performing simple NAT translation using iptables iptables -t nat -o -j MASQUERADE This works fine almost all of the time except for one particular case where some TCP RST and FIN ...
1
vote
1answer
120 views

why dstat failed with --tcp option?

why --tcp option failed? should i install some package? if yes, which package i should install? this question is not the same as ...
1
vote
0answers
53 views

TCP load balance authentication

Impala is a piece of Cloudera software which implements an ODBC driver on a desktop, which then connects directly to a Hadoop cluster. In our implementation, our Hadoop cluster sits behind a DMZ, in ...
0
votes
2answers
69 views

How to drop bogus tcp packets through iptables?

We are seeing the issue described here - http://archives.neohapsis.com/archives/bugtraq/2002-10/0266.html In brief, we need to drop bogus packets, such as with SYN+FIN flags set. I can drop this ...
0
votes
0answers
56 views

opensips sever running fine and UDP connection cannot register but TCP connections works fine

Im a newbie to opensips and Centos/Linux. Recently installed opensips sever which running smoothly on TCP connections, but users cannot register on UDP connections. here my Log, have a look. Feb 26 ...
0
votes
1answer
113 views

pushing apache2 past 1500 concurrent connections

I am trying to scale to 4000 concurrent connections on a ubuntu/apache box. It is 8 core / 64gb ram, so it is not hitting memory or cpu, or any resources for that matter. The problem is with ...
0
votes
1answer
74 views

How to view tcp connection errors in apache/ubuntu

I am load testing a ubuntu/apache2 server and after 500 concurrent connections my load testing software is telling me there are connection errors. The errors are not showing up in apache error log. ...
5
votes
1answer
102 views

Odd TCP termination sequence

While troubleshooting another thing, I've noticed an odd pattern of TCP closes. Packets: http://www.cloudshark.org/captures/7590ec4e6bef What's happening is that the last few packets of the close ...
1
vote
1answer
107 views

TCP and retransmission [closed]

I'm trying to understand how the transmission and ACK work in TCP. In this Figuure, when A retransmitt the seq 100 after he recive three duplikated ACK , B will answer with 121 ACK or 158 ACK ?
0
votes
1answer
86 views

Linux unfriendly IIS/ASP.NET :-) : Quick download on windows but slow on linux [closed]

This particular web site (gops.tay.be) serves objects quick if I try to request the page using windows, but I get them very slow if trying using linux. There is no difference if I use browser or curl: ...