Questions tagged [tcp]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
558 views

How to list all the TCP_alloc on a server?

I run a node_exporter on my server and node_exporter shows that there are over 5K TCP_alloc on the server. After rebooting the server, the count of TCP_alloc is still over 5K. There are only a few ...
Hank Chow's user avatar
  • 111
0 votes
1 answer
679 views

Server 2019: slow upload

I have both Windows 10 Pro and Server 2019 VMs set up on the same host. From the Server 2019 instance, using iperf and the same NIC/driver as the Windows 10 guest, I get ~3Mbps on a theoretically ...
Harv's user avatar
  • 239
0 votes
0 answers
3k views

Why we get TCP retransmissions through IPSec Site-by-Site Tunnel

We use two pfsense firewalls at two locations and have connected the locations using IPsec site-by-site. That had worked well for a long time, now we had installed the 2.6.0 update at both locations ...
kockiren's user avatar
  • 886
0 votes
0 answers
39 views

TCP communication on port not responding on different Availability Zone or Subnet

I'm a little curious and confused about this situation. We setup a monitoring instance scraping an exposed endpoint on 2 different instances. Both on same VPC, same security group, same route table ...
forgondolin's user avatar
0 votes
1 answer
129 views

UFW route not responding

Hi i tried to make a server where every software running on it is in a vm. i tried using ufw to route the requests and it worked ... locally. when i tried to connect to one of my vm using a vpn i saw ...
Marc BARBIER's user avatar
0 votes
0 answers
182 views

The packet goes through the other router

I want to connect two hosts in parallel with two different models of virtual routers. These are made redundant by VRRP. Originally, packets are sent through only one of the routers. However, when the ...
rei's user avatar
  • 1
1 vote
0 answers
248 views

Dangling ssh sessions when my laptop goes to sleep

When I get up from my laptop (a Mac with MacOS Big Sur) for long enough that it "goes to sleep", my interactive sessions with ssh servers are broken. That is annoying but I could live with ...
q.undertow's user avatar
2 votes
1 answer
292 views

Dovecot claims ports are in use, netstat disagrees

Attempting to start dovecot gives me this: Apr 28 13:37:00 master: Error: service(pop3-login): listen(*, 110) failed: Address already in use Apr 28 13:37:00 master: Error: service(pop3-login): listen(*...
user646372's user avatar
0 votes
1 answer
1k views

Having Trouble Identifying TCP Congestion Control Provider option: Default

I am running a Windows 10 (Version 1909) OS and when I am entering the following command in CMD ... netsh interface tcp show global ...I am able to see add-on congestion control provider set to "...
DeathS7roke's user avatar
0 votes
0 answers
223 views

Bytes-in-flight higher than receiver window in frozen client connections

I am dealing with sort of a "ghost issue". We have an endpoint URL that some people can use at all times with no issues but others have a frozen connection on the client side (checked with ...
Ver Siw's user avatar
1 vote
1 answer
71 views

Could someone please explain the difference between these expressions

drop proto tcp and not (dst port 80) pass proto tcp and dst port 80 Is there a difference between them?
Do - Magedon's user avatar
0 votes
1 answer
3k views

haproxy SSL/TLS Passthrough Proxy not working?

I want to setup haproxy as simple tcp-proxy. Below is my configuration. When I try to send e-mail via Thunderbird(pointing smtp to ip_of_my_host:8123) or simple python script I get an error about not ...
Joshua's user avatar
  • 1
0 votes
1 answer
7k views

No SYN-ACK Packet from server

I have two servers and I used my own embedded system with LwIP to do connection to these server. My embedded system with LwIP is the client and I have server1 and server2. I connected to server1 and ...
Sue Koh's user avatar
0 votes
0 answers
1k views

How to find the symmetric key algorithm being used for a TLS connection in Wireshark?

I'm doing a TLS Wireshark lab and I can't find any information in Wireshark, the lab, or online how to find this answer: What symmetric key cryptography algorithm is being used by the client and ...
cocoakrispies98's user avatar
1 vote
1 answer
538 views

HAProxy: Defer TCP connection to backend only after first data arrives

I'm trying to understand if haproxy 2.2 or greater has a specific configuration that allows to defer opening the tcp connection to backend servers only after the first data segment is transmitted from ...
Alberto Pastore's user avatar
0 votes
1 answer
149 views

How to get syn flags, ack flags, sequence number and acknowledgement number in tcp packets with nfqueue?

I am working on a project which can redirect the network traffic in tcp (packets sent by client to server1 will be redirected to server2) with netfilterqueue, so I need to classify the packets by ...
Alive's user avatar
  • 1
-2 votes
1 answer
512 views

localhost loopback tcp connection in Windows: increase the bottleneck of 65535 bytes per segment

The scenario that I have is as such: I have a loopback TCP session and I want to improve its performance. I have my socket-like objects (System.Net.Sockets in .NET Framework, to be specific) sending ...
yu quan's user avatar
  • 11
-1 votes
1 answer
199 views

tcp client which makes many outgoing connections

My TCP client need to connect to thousands servers (in local network) all at once. Communication is simple. 10 bytes string TCP request, 20 bytes response. I have gigabit network. when client connects ...
Boris Ivanov's user avatar
4 votes
0 answers
510 views

Drop connections with a mismatching client certificate CN in nginx TCP reverse proxy

I'm using nginx to add TLS functionality on top of an existing TCP server (Redis) by proxying it like so (please read on before saying "Redis has builtin TLS support"): stream { server { ...
Alexander Overvoorde's user avatar
0 votes
0 answers
2k views

Traceroute - Header Link CURL result Issue

We have systematic CURLs run every 15 mins - 2 hours from this system and logging their status. Every other CURL for the past 2 months has succeeded except this. Is there a way to identify why this ...
samtech 2021's user avatar
1 vote
1 answer
96 views

Load balancing: how to find the fastest route to a user

I’m thinking about it like a week. Consider that we have a load balancer server, and two storage servers, X and Y. A user connects to load balancer. Load balancer should decide which of that two ...
Soroush Bgm's user avatar
0 votes
0 answers
697 views

High cpu usage over TCP

I'm running haproxy 2.4 and when the haproxy is configured in tcp mode i get a high cpu usage. Example: Running the stress tool to generated arround 30k connections: ./pst -c 100000 -r 100000 -u ...
André Bolinhas's user avatar
0 votes
1 answer
12k views

TCP DUP ACK/Out-of-Order/Previous segment not captured/Retransmission flooded on wireshark logs

Due to slow network, I installed wireshark on the device(laptop) to find this This is a log of the device using internet(Downloading a file),as you can see at the right end of the screenshot, the ...
user253776's user avatar
0 votes
1 answer
944 views

How to improve TCP tolerance to out-of-order delivery in Linux balance-rr bonds and/or FreeBSD roundrobin laggs?

I have 3 servers networ kwise configured as follows A is a DELL R710 is running Linux 5.13.19-1-pve Proxmox VE 7.1 and has 4 NICs teamed in a balance-rr mode bond. B is a DELL R610 is running Linux 5....
dacabdi's user avatar
  • 101
0 votes
1 answer
236 views

AWS ALB Handshake resumption

I have a problem where the AWS ALB TCP is initiated and every request which causes unnecessary latency of 0-150ms Example from postman to show what happens at every request. DNS lookup, TCP Handshake ...
lat3r's user avatar
  • 1
2 votes
2 answers
916 views

What may cause TCP / HTTP request's delay / lag

We have a device that sends POST requests or TCP messages in fixed intervals, with a JSON payload, through the internet to our server running a node application, on another location. The JSON payload ...
Király István's user avatar
0 votes
1 answer
511 views

Traceroute works but nc fails - Where is my port being blocked?

I am trying to troubleshoot two Azure VNETs that have been peered together. Lets call these VNETs A and B. There are multiple services running on a VM in VNET A on different ports. I am trying to ...
MojoJojo's user avatar
  • 101
0 votes
0 answers
546 views

rsyslog - Lower throughput when using omfwd with TCP vs UDP

TLDR; I'm getting significantly lower throughput when forwarding syslog messages with rsyslog on a Redhat server with 32 cores and 128Gi RAM to a remote server using TCP instead of UDP syslog in the ...
Wood Techie's user avatar
1 vote
0 answers
267 views

TCP handshake not completing intermittently to specific Cloudflare node

I have setup a webpage with Cloudflare that works nearly all of the time, except occasionally the TCP handshake fails with the SYN+ACK not making it to Cloudflare. On a packet capture from another ...
Erik Johnson's user avatar
0 votes
0 answers
904 views

Clamav is very slow with tcp

I'm using clamonacc on my desktop computer and servers. I use a raspberry pi as clamd server. The clamd process only uses ~25% of all 4 cores so with htop I see it's using like ~100% and 400% is the ...
france1's user avatar
  • 23
0 votes
1 answer
789 views

syslog-ng / telegraf : EOF occurred when idle - incompatible?

This is a follow-on question from this previous question, created because I found out more information and it's cleaner to pose this as a new question. I'm using syslog-ng OSE v3.31.2 to receive ...
davidA's user avatar
  • 393
0 votes
2 answers
1k views

syslog-ng: How to reduce high latency when forwarding logs to a syslog tcp consumer?

UPDATE 2: I've answered this via my new question at the link below. The root cause is behaviour by telegraf where by default it disconnects the TCP connection 5 seconds after the last received message....
davidA's user avatar
  • 393
0 votes
0 answers
337 views

netcat no reaction to syn packet crafted with gopacket

I want to do some experiments with TCP packets. Therefore I am using the gopacket (v1.1.19) to craft packets and send them onto an interface. I have this code for creating a SYN packet and putting it ...
jonathan-dev's user avatar
-1 votes
2 answers
636 views

Understanding TCP receive window [closed]

I'm currently learning about TCP, particularly the receive window aspect. I've read from several sources about it, and there's something I want to make sure I understand. From what I've learnt, the ...
YoavKlein's user avatar
  • 143
2 votes
2 answers
239 views

load balancing over single NIC to overcome per-connection limit

I have a strange setup where the ISP provides a very fast connection (10 Gbps) but limits each connection to 50 Mbps. This is fine for multi-threaded applications where I can just boost the number of ...
mohotmoz's user avatar
0 votes
0 answers
28 views

So many TCP packets to domain server from domain clients

I have Windows Server 2012 R2 which controls my LAN. Everything was working fine (Shared Folders, Folder Redirection and so on) for a two months. But suddenly, there occured delay on communication ...
Gamer In The Game's user avatar
3 votes
0 answers
1k views

Kernel TCP tuning for buffer overrun and packet collapse

We have a Nginx+Ruby application where the data between Nginx and the application are interfaced through a socket. As part of performance improvement, when we analyzed the netstat statistics on the ...
madu's user avatar
  • 153
0 votes
0 answers
58 views

Strange TCP sequence from a device

I'm debugging strange connection reset problem in Java and got the next Wireshark capture: What can be the cause of repeating that ACK? I'm sure that the device received data correctly as it is ...
Vasyl Danyliuk's user avatar
0 votes
0 answers
307 views

How to make bind force clients to connect via TCP only?

I want to set up an experimental nameserver that asks clients to send requests via TCP only by sending back packets with the TC bit set. For that purpose I tried to work with the rate-limit parameter ...
Mnemosyne's user avatar
  • 131
1 vote
1 answer
1k views

NGINX TCP Load Balancing is ip-sticky when it should be random, per request

I have an NGINX server being used as a TCP load balancer. It is default to round-robin load balancing, so my expectation is that for a given client IP, every time they hit the endpoint they will get ...
A X's user avatar
  • 519
2 votes
1 answer
218 views

Spikes on softirqs RCU monitored with NetData on proxmox container

I have a server with the following characteristics: https://www.soyoustart.com/it/offerte/1801sysgame05.xml Processor Intel i7-4790K RAM 32GB DDR3 1333MHz Traffic Unlimited Anti-DDoS Included Disks ...
Joseph's user avatar
  • 121
-1 votes
1 answer
2k views

Too many RPC connections make web socket closed

Several servers are connected via RPC. There are times when apps in OS have too many RPC calls, which causes the network to become closed. What is the best way to debug or configure my OS? "msg&...
Shervin Ivari's user avatar
3 votes
1 answer
416 views

AMD EPYC 7413 slow down to arround 400mhz when running iperf

we are trying to setup a 40gbit connection between two servers and get weird cpu behaviour when using iperf. It is also only using around 10Gbit/s of the possible 40. Server specs: AMD EPYC 7413 8x ...
Flaep's user avatar
  • 81
1 vote
1 answer
2k views

Port 80 not open. Still gets 404 when curl

Weird issue I'm facing currently! There is nothing running on port 80. Still curl gives 404 page not found. I can telnet to port 80 and even start a container exposing port 80 (host). But no requests ...
Shinto C V's user avatar
1 vote
0 answers
97 views

Troubleshooting steps when the server not responding to some SYNs

What are the troubleshooting steps that I can take if I see that my Linux server does not respond to some of the SYNs that are being sent to it? (I know this from PCAPs that I recorded on my server) I ...
Hillel Schattner's user avatar
0 votes
1 answer
35 views

How to toubleshoot port blocking issue

I'm forwarding port 80 of a web server to the public interface of the firewall, which is then mapped to a domain name so that the server can be accessible from that domain name. I did this process too ...
Menas's user avatar
  • 101
2 votes
2 answers
13k views

ERR_CONNECTION_RESET When Using HTTPS Hosted by IIS 10 and Windows Server 2019

I have a site hosted in IIS 10 on a server running Windows Server 2019. I've set up an HTTPS certificate with Let's Encrypt. Attempts to view the site with http:// work normally, but when I enter ...
user1325179's user avatar
3 votes
1 answer
1k views

Linux TCP payload filter

I use nftables, but it hasn't got anything like iptables' string nor u32 match, so it couldn't reliably gather payload offset. If not via nftables' raw payloads, how could I analyze TCP payload ...
Jorge's user avatar
  • 31
1 vote
1 answer
931 views

TCP packets split into ACK and PSH,ACK in Docker [closed]

I am working on a mainly TCP based Game Server and just tried to run it in a Docker container. However, I observed that when accessing the Server in a container (via the Game Client), the packets for ...
elsamuray7's user avatar
0 votes
1 answer
477 views

Can someone explain what those incrementing ports after 127.0.0.1:XXXXXX are [closed]

I stumbled upon a strange looking incrementing port-number right after my loopback ip when using the PHP development server, that i am unfamiliar of and can't really find information on the web about ...
wavedeck's user avatar

1 2
3
4 5
34