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
26 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
38 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 192....
0
votes
0answers
11 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
60 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
0answers
20 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
461 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
17 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). ...
1
vote
1answer
92 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 ...
0
votes
2answers
25 views

How should a long-lived connection behave when there is a DNS change?

Scenario: Connector.com connects to server.net, which resolves to 20.30.40.50 Connector.com and 20.30.40.50 keep the connection open DNS is updated so that server.net now resolves to 7.8.9.10 ...
1
vote
1answer
128 views

Nginx TCP stream routing based on source IP

I have configured nginx as a reverse proxy for a TCP (non-http) stream. I'd like to apply different routing for a particular source IP address - can this be done, and how? I'm aware of recomendations ...
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: -...
0
votes
1answer
99 views

Nginx TLS Performance Optimization

I switched a busy site to TLS-everywhere and HTTP/2 last week. Performance hasn't improved as much as hoped. In fact, depending on how you measure it, you can argue it has degraded. There is plenty ...
1
vote
1answer
64 views

Ephemeral port reuse for TCP connections to different IP addresses

I know that a web server running a website on TCP port 80 can receive TCP connections from many different IP addresses sourced from many different ephemeral ports. Can a client initiate multiple ...
0
votes
1answer
113 views

Sonicwall: cannot send email (outlook) and drops connection (google drive)

I will start by saying Im a web developer and my networking knowledge is very limited, please be patient =) . We dont have network/sysad in our company. We are having problem with our connection. We ...
2
votes
1answer
46 views

Can I trust a TCP segment with a payload of 255 bytes will be delivered in a single Ethernet frame?

I'm writing some server software that upgrades the firmware on an electronic device. It's a tricky task, because currently these devices don't have enough memory to hold a full firmware before ...
1
vote
1answer
44 views

Long lived TCP connection to DNS servers

Typically the TCP connections to DNS servers are expected to be short lived, ie: the client connects, sends the query and disconnects on getting the response. If a client wants to keep a long lived ...
-4
votes
1answer
29 views

How to open entire subnet with iptables [closed]

I want to enable the entire subnet 192.168.1.0/24 which is connected to eth0 in input. I'm very unfamiliar with iptables. If I add the rule: # iptables -A INPUT -s 192.168.1.0/24 -p tcp -m tcp --...
-1
votes
1answer
45 views

What is a TCP Relay and when is it used? [closed]

Tcprelay is a TCP connection forwarder with load balancing capabilities. If compiled with TLS support, it may be used as SSL encryption wrapper. What are some practical applications of TCP relay?
-1
votes
1answer
26 views

Is it possible for SYN/ACK to not be immediately proceeded by a SYN in a network trace

I'm writing a simple program to calculate initial RTTs from a network capture I took using Wireshark. To do this I wan't to calculate the difference in time between the SYN and the SYN/ACK. I don't ...
0
votes
0answers
57 views

What happens when connecting to port in TIME_WAIT state?

I'm trying to understand the effect of TIME_WAIT on subsequent TCP connections. I understand how TIME_WAIT behaves when net.ipv4.tcp_tw_reuse = 1, as explained by this answer. But what happens when ...
2
votes
0answers
37 views

TCP Handshake fails when ICMP Redirects are enabled

So it seems that due to ICMP redirects it's not possible to connect to a server behind a VPN connection. It immediately responds with a TCP RST (with manifests itself in SSH as ...
6
votes
4answers
675 views

ran out of tcp udp ports [closed]

How to resolve a Windows or Linux system that runs out of the tcp/udp ports on a single server? I have over around 65000 tcp/udp ports being used on a single server as a result of SQL connections, ...
0
votes
0answers
27 views

tcp receive buffer size min value seems not work

I tried to increase tcp min receive buffer size to 87380, so in my test it would OOM quickly with a little connections. net.ipv4.tcp_rmem = 87380 87380 6291456 net.ipv4.tcp_wmem = 87380 87380 ...
1
vote
2answers
35 views

Bad throughput for single tcp connections

I have a server with a Gigabit Uplink, and testing with iperf3 with 100 parallel connections i get at least 600 MBit/s, depending on the other server (i tried some public test servers). But when i run ...
5
votes
3answers
450 views

How to fine tune TCP performance on Linux with a 10Gb fiber connection

We have 2 Red Hat servers that are dedicated for customer speedtest. They both use 10Gb fiber connections and sit on 10Gb links. All network gear in between these servers fully support 10Gb/s. Using ...
1
vote
0answers
22 views

Measure goodput before sending a response

My idea is to make it possible for web applications working on slower connections to fallback on alternative smaller asset versions(like images, videos, etc.). HTTP Live Streaming has similar behavior ...
2
votes
1answer
115 views

TCP connection; ACK not received

I am having trouble sending mail from Linux to Exchange server. When I telnet from Linux to Windows on port 25, I am not receiving any message from Exchange. The connection is automatically terminated ...
0
votes
0answers
42 views

Kamailio CPU usage very high and not accepting new registrations

I am facing a very strange issue with Kamailio, our Azure VM is D2 configuration with 2 cores and 7 GB of RAM, Ubuntu 14.04 LTS, through-out the day we see high CPU usage from Kamailio, and ...
0
votes
1answer
58 views

rsyslog server listen only on tcp 514

I'm trying to set rsyslog client- server to listen to tcp messages with port other then 514, however it doesn't work. Only when using 514 it receives messages. I'm using EC2 vms. input(type="imtcp" ...
15
votes
1answer
620 views

Under HTTP2, how often are new TCP connections initiated?

I understand that HTTP2 aims to keep everything under a single TCP connection, and I was wondering how often TCP connections would be torn down. For example, if I visit youtube, do some browsing, ...
0
votes
0answers
18 views

ss vs iftop. send XMbps doesn't match

I'm troubleshooting a cross data center network issue, and I found this mismatched. In most case, the data is send from A to B, the port on B is 38790. @Host A [root@**** zhifan]# watch "ss -ati '(...
0
votes
0answers
25 views

TCP ACK delay by app / windows on VirtualBox Windows VM

I have a .NET windows service that uses an open source library (Asterisk.net - C#) to listen to TCP connections on a specific port. This service is deployed on a number of VM instances of Windows 7 ...
0
votes
1answer
194 views

Server send TCP ACK with wrong number after receiving SYN

I have a client establish new TCP connection then sends request to a server per second. Both client and server are on the same linux box (via loopback interface). The client periodically reports ...
0
votes
0answers
53 views

Why my firewall rules aren't working in my NanoStation m2?

I have two NanoStation m2 as AP and Repeater for a wireless network (make them device1 and device2), both working in BRIDGE mode. Both devices are connected as WDS pairs to each other because they ...
0
votes
1answer
45 views

kill tcp port binding by deleting proc/[0-9]/net/… in linux

I have a script to call syscall Kill the process that holds a certain TCP port in Linux (ubuntu). But even if I do that, sometimes the port still remains in /proc/[0-9]/net directory binding the port. ...
1
vote
1answer
1k views

RST ACK with Reset cause

We have a device that connects over Wired LAN (Ethernet) to our cloud servers. At certain customer locations, when the device tries to send data, we are getting RST ACK from the customer server to ...
-1
votes
1answer
386 views

What are the ports needed for L2TP VPN on Mac OS X Server 5.0.15?

I'm configuring a Mac as a server with a VPN service. So, I opened the ports listed as used by VPN in Apple documentation: UDP 500 -> 500 (+ESP and AH) UDP 4500 -> 4500 Any UDP -> 1701 (I got to ...
3
votes
2answers
5k views

TCP Messages Merged?

I have an application that sends 100 of 186-byte (excluding headers) TCP messages back to back without gap from host A to host B. I ran tcpdump to capture the packets on host A (where the sender is), ...
0
votes
0answers
39 views

Determine which equipment is causing packet loss

I'm connecting from my office to two servers (server 'A' and server 'B') hosted by two different providers. Since a few days, my connection speed to server 'A' has dramaticaly slowed down. Even when ...
0
votes
1answer
131 views

Linux: How to configure TCP wrappers in /etc/hosts.allow for manually started processes?

An internal server in the company I work for has been compromised and I would like to harden CentOS machines in the organization in order to avoid any future incidents so I've been reading about ...
0
votes
0answers
38 views

nginx monitoring failed to load status page under load

Nginx monitoring script so-called ztc failing to load nginx test page (mostly under highest load to nginx about 2000 rps, which used as proxy), causing errors like "nginx is down" on zabbix, and, in a ...
0
votes
0answers
59 views

socat Resource temporarily unavailable

I am using socat as a bridge between some devices and running socat (a couple hundreds of instances) like this: socat -d -d -d -x -d -lf "/var/log/some_log_file" TCP4-LISTEN:6126,fork,max-children=1,...
0
votes
0answers
34 views

How does TCP PSH and HTTPS works?

Right now I monitor traffic on my VPN server. I'm using tcpdump for it and it works pretty good. sudo tcpdump -n host SENDER_IP In this example you can see one HTTPS request from SENDER_IP to ...
0
votes
0answers
227 views

Why would Windows Server 2012 not respond on ports above 6000?

This is a new question but similar to this previous one. I've inherited the management of a Windows 2012 Server (not R2) and I'm unable to get a response from any ports above 6000. I have services ...
1
vote
0answers
49 views

Server socket sitting in FIN_WAIT_1 whilst network doesn't see its traffic

We've been trying to get a grip on a really weird problem where we can wget a page from Apache 2.2.19 on solaris 10 and some permutations of requests reliably take various fixed lengths of time to ...
3
votes
0answers
46 views

TCP buffer sizes and ethernet bonding

(This question was originally posted on stack overflow; Andy told me that I could get faster help here, so it is re-posted here now.) I am experimenting with TCP buffer size tuning on Linux, but ...
2
votes
0answers
122 views

How to change tcp's window size?

I've tried changing the tcp's window size by modifying net.ipv4.tcp_wmem and net.ipv4.tcp_rmem values, however the changes which I make have no effect on actual window size which I can check using a ...
1
vote
1answer
85 views

Why does data sit in Send-Q? TCP sessions freezing

Issue I run an IRC server for 20-50 users. We sometimes have issues with messages not arriving in a timely fashion or at all. After some packet captures we determined that messages sit in the server'...
0
votes
1answer
51 views

Reduce TCP send buffer

I have a windows 2008 R2 server, an app is constantly polling another server (using a Flash Socket) while waiting for a certain event to occur on that server. We are talking about milliseconds. When ...
0
votes
0answers
92 views

Too Many TIME_WAIT Connections [duplicate]

We have issue that our application sometime can not connect to DB server which is a separate server. The application server and DB server communicate locally. So I search and found out that we have ...