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
0answers
8 views

Establishing TCP Connections by hping3

when a client sends 10 TCP SYN packets by hping3(not spoofing), server responds and sends 10 TCP SYN+ACK packets. now client should answer to server and Establish the connection by sending 10 ACK ...
0
votes
1answer
1k views

How to enable TCP Vegas on Centos 5.4?

I'm trying to enable TCP Vegas congestion control on Centos 5.4 box. According to Vegas home page it is as simple as echo 1 > /proc/sys/net/ipv4/tcp_vegas_cong_avoid but this file does not exist. I ...
0
votes
1answer
34 views

Need help in understanding the packet analysis(wireshark)

The snapshot capture below contains a single HTTP request to a web server, in which the client web browser requests some files from server, and the server returns an HTTP/1.1 200 (OK) response which ...
-2
votes
1answer
68 views

Any tool for forking/teeing/sharing a TCP connection to the remote server? [on hold]

Could down voter please post your reason, as it's not obvious to me? Here's my problem. I'm building an automation program that talks to a remote server (think of it as a chat server or MUD game ...
0
votes
0answers
10 views

What is the default value for TCP accept queue length on Linux?

I have read this article but it doesn't mention where the default accept queue length can be found (it does mention tcp_max_syn_backlog though, but it's different). I'm working on a Java 8 project ...
0
votes
0answers
19 views

Large payload - connection get's Hung with CLOSE_WAIT or LAST_ACK state

We have a webservice client which posts data to a 3rd party Webservice. We are having an issue when the payload is a bit large (Around 600KB) xml. Once we pay the process hangs forever. The Netstat ...
0
votes
2answers
32 views

Wireshark Packet Capture Data Data ACK Confusion

I understand how acks work and windowing works. What I am not getting is why am I seeing the following behavior in packet captures Client Server data1-----> data2-----> <--------ack ...
0
votes
1answer
43 views

How to setup linux to retransmit TCP packets by reducing the packet size like OS X

On OS X I noticed that for packets which are not ACKed, the system retransmits them with reduced packet size. This can be seen in the image below. Is it possible to enable the same behavior in ...
-1
votes
1answer
13 views

Time until a TCP socket closes if the connection is lost

How long will a TCP socket remain open if there's a loss of a network connection between the source and the destination?
1
vote
1answer
37 views

How to set the maximum TCP receive window size in Linux?

I want to limit the rate of every TCP connection. Can I set the maximum TCP receive window size in Linux? With iptables + tc can only limit IP source. The parameters net.core.rmem_max and ...
0
votes
1answer
17 views

What's the default TCP window size of iperf3?

Does anyone know what's the default TCP window size for iperf3? It is not mentioned in the manual and I also can't find it in the output, when running a test.
0
votes
0answers
23 views

Why sar ETCP shows TCP retransmission but wireshark tcp.analysis.retransmission doesn't

I am trying to investigate the cause of TCP retransmission. When I use sadc and sar, it shows there are tcp retransmission; but when I use wireshark on all of the server's interfaces, it doesn't show ...
3
votes
3answers
67 views

Do clients typically implement failover/load-balancing on multiple A records?

Typically, load balancers like Amazon's Elastic Load Balancers use a DNS record set with multiple A records to provide multiple load balancer instances which can handle traffic to requesting ...
0
votes
1answer
1k views

How to increase nginx connections

I am facing the problem of nginx max connection issues. I am not able to increase max active connections(520) made by nginx. Some time it is using whole writing (516) operation connections. and due to ...
7
votes
2answers
1k views

Where are my TIME_WAITs on Mac OS X?

No TIME_WAITs on Mac OS X Normally, when a TCP connection is closed, the socket on the side where close() is called first is left in the TIME_WAIT state. When one of the peers is a Mac OS X (Lion) ...
0
votes
1answer
34 views

Linux server failing to send SYN/ACK after receiving SYN remotely, works locally

Problem: A server process can be accessed by a device on the LAN or by the server itself, but it cannot be accessed outside the LAN (port forwarding is configured correctly as the server does receive ...
0
votes
0answers
19 views

Can't transmit from multiple virtual vlan id interfaces on same interface

I'm creating virtual interfaces of vlan id on same interface, i.e: eth0 - the main interface with ip 0.0.0.0 . eth0.1 - tagged interface under eth0 with ip 10.0.0.1 . eth0.2 - tagged interface ...
0
votes
1answer
24 views

TCP connection RST after FIN, ACK

I have a situation that would like to clarify with the experts here. I am no network expert so maybe it's normal, but i rather ask. We are trying to diagnose a problem between two servers, both are ...
-1
votes
2answers
65 views

How does TCP offload NIC cause the TCP checksum to be invalid?

A tcpdump pcap exported and being investigated on another machine with wireshark is showing a lot of invalid TCP checksum messages. This is a known and documented phenomenon when using TCP offload ...
0
votes
2answers
5k 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: I have a squid proxy installed on a unix machine which is sending handling http requests ...
5
votes
3answers
2k views

How to reset a tcp connection immediately on both ends on a certain condition using linux netfilter/iptables?

Dear Serverfault community, I have the following problem: I need to reset (disconnect) tcp connections on both network sides immediately if a certain string is encountered in the packet data. I don't ...
-1
votes
0answers
15 views

Wifi, remote connection, mysql

I am having this really strange error on my connection to my mysql server from a remote host. It basically hangs out large queries with blob or throws the following Warning: Empty row packet body; I ...
0
votes
2answers
28 views

Count number of incoming connection on a port - Linux

We have a server which listens on port X. The server has a large number of clients, from time to time the process gets hung, I am seeing SYN flooding messages in the log. I have been trying to tune ...
3
votes
2answers
6k views

Traceroute, ICMP, UDP and TCP

When does traceroute use TCP? Or does it just use UDP, also why does Traceroute use UDP on MacX and ICMP on windows? I thought ICMP just contains a message saying what caused the error of a packet and ...
6
votes
5answers
2k views

Netcat fails to start in listening mode

I'm using CentOS 6.7 (Final) system, and when I try to run nc in listening mode it prints the following: # nc -l 1234 nc: Protocol not available The port is not bound. I tried other port numbers ...
1
vote
1answer
1k 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 ...
0
votes
0answers
37 views

multiplexing a TCP connection through a dumb shell connection?

I am connecting to a VPN whose gateway is sufficiently misconfigured that basically the only useful thing I can do with it is to ssh to a specific Linux host set up for my usage inside the VPN, and ...
0
votes
0answers
16 views

stunnel keeps stopping with WSAECONNREFUSED given

Right so bit of background to start with I've got 2 stunnel installs on 2 different servers and basically using ensemble and stunnel to bounce a message around with ssl cert. Here is the flow. Where ...
0
votes
0answers
34 views

TCP Balancer active/standby active/passive

I have two Servers, Server A,ServerB. running as TCP socket server. I want to a active/standby or /active/passive failover. that means: 1:Server A and Server B Running, route ALL connection to ...
1
vote
1answer
37 views

TcpTimedWaitDelay is missing in Windows Server 2012

Suddenly my server log shows: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full And I googled and found these links as ...
3
votes
2answers
12k views

tcp syn checking

I have a WatchGuard Firebox that I've recently configured. All of the policies look fine and all appropriate services seem to be working correctly. However, one or two (seemingly) random nodes keep ...
1
vote
2answers
481 views

TCP timeout for established connections in Windows

I have the following situation: Application (Firebird DB client) on a client computer opens a TCP connection to server on port 3050 Application crash on client, application terminated netstat on the ...
5
votes
2answers
517 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. ...
1
vote
1answer
24 views

utility of using ALL in --tcp-flags in iptables rule

I m wondering what is the difference between the following 2 --tcp-flags rules: 1) -p tcp --tcp-flags SYN,FIN,RST SYN,FIN,RST 2) -p tcp --tcp-flags ALL SYN,FIN,RST
6
votes
2answers
2k 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
0answers
44 views

Nginx log to syslog on TCP port

I need to redirect Nginx access and error logs to a remote syslog server. From http://nginx.org/en/docs/syslog.html I saw that I can do: error_log syslog:server=192.168.1.1; However I need to ...
0
votes
1answer
32 views

PCI Scan failing at TCP Source Port Pass Firewall testing

I'm trying to get PCI scan PASS for my website, Scan failing at this step. The host responded 4 times to 4 TCP SYN probes sent to destination port 20 using source port 80. However, it did not ...
0
votes
0answers
7 views

Windows/IIS7.5 half-closing connections resulting in sockets in TIME_WAIT

I'm seeing scenarios where the client side initiates the TCP close but the webserver (IIS 7.5) simply responds with an ACK and the connection ends up in TIME_WAIT. Why would it do that? Typical HTTP ...
4
votes
4answers
4k 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
0answers
25 views

lower tcp throughput than expected

I've conducted some tests which measured tcp throughput via wireless and wired connection. (a) was wired link between my desktop and my home router. (b) was wireless link between my desktop and my ...
-1
votes
1answer
34 views

Manually sent ICMP redirect packets [closed]

I'm trying to sent a ICMP redirect to my router to add a new route, as I can not configure it from the portal, and have no access to it though telnet/ssh. The scenario is the next. LAN network ...
0
votes
0answers
9 views

What filter in Wireshark, can return the ACKs packets employed to complete TCP three-way handshakes instigated by a particular party?

What filter in Wireshark, can return the ACKs packets employed to complete TCP three-way handshakes instigated by a particular party? For instance if machine A requests for a TCP connection to be ...
0
votes
1answer
35 views

Is it normal to have HTTP 499 errors in 1 out of 4000 requests?

I made a website, behind CloudFlare, and sometimes I get an early terminated (nginx 499) request, which is really hard to work around in the codebase. This happens in about 1 out of 4000 requests. ...
1
vote
1answer
2k views

What do I need to consider when setting TCP idle timeouts?

What's purpose of having a [low] TCP idle timeouts? E.g., why have a 60 second timeout on a firewall or load-balancer? Is it a memory management or /performance optimization thing? Is there a security ...
1
vote
0answers
1k views

Improving TCP performance over a network with small packet loss

I’m trying to improve my TCP throughput over a “high delay network”, with some packet drops, between Linux machines. I set tcp_mem, tcp_wmem and tcp_rmem to “8192 20530752 20530752”. I set rmem_max, ...
1
vote
0answers
13 views

TCP tuning for DPM on Windows 2012

I've got a pair of servers on opposite ends of a fast (1-10Gb depending on the server) but higher latency (40-60ms) link. Various network tuning options have been set resulting in iperf3 yielding ...
0
votes
0answers
326 views

Weird CLOSE_WAIT statuses at standard PHP application

I am asking for help regarding tcp problems on a webserver serving a web application built in PHP. The client is a standard html/js page viewed in the web browser. This client sends Ajax requests ...
0
votes
0answers
15 views

How to debug lost connections

I'm having a problem between a computer running Filemaker Server and their clients: clients loose the connection often (3-4 times per day), even when the user is using it (so no disconnect on idle). ...
8
votes
2answers
1k views

How to configure iptables so an unwanted port is not reported as filtered

I'd like to stop others from seeing my ports as filtered in the nmap standard scan (unprivileged). Let's say that I have the following ports open: 22, 3306, 995 and a firewall configured like this: ...
1
vote
1answer
55 views

Cannot ping through one of the network interfaces

Setup ubuntu linux VM ( virtual-box) is configured with two interfaces, eth0 and eth1. eth0 is on a bridged network and directly connected to external network. eth1 is on "nat network", which is ...