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.

TCP is just one communications protocol on the web. Others include:

  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Hypertext Transfer Protocol (HTTP)
  • Post Office Protocol (POP3)
  • File Transfer Protocol (FTP)
  • Internet Message Access Protocol (IMAP)

TCP on Wikipedia

1636 questions
0
votes
1 answer

How can I avoid the error TCP_MISS_ABORTED/000 when uploading files through squid?

While uploading big files, > 10MB, through a squid V5.6, I noticed that they failed and/or were retried. The error has been logged multiple times in the logs: 1671092710.452 423 ::1 TCP_MISS_ABORTED/000 0 PUT http://YOUR_URL -…
Zioalex
  • 131
  • 6
0
votes
0 answers

Why is there no drop-down option for selecting auto-scaling group when creating a new TCP target group?

And bonus questions while I'm here: Why does AWS not show which Elastic Network Interface is being used in the Load Balancer details? (at least I couldn't find it) Why do auto-scaling groups let me select a network load balancer to associate with…
gozu
  • 313
  • 2
  • 6
  • 14
0
votes
0 answers

NFSv4 TCP reconnect fails after network failure due to iptables not tracking connection

I have a NFSv4 setup via TCP, /etc/fstab: nfs-server:/share /mount nfs4 tcp,hard,intr,rw,port=2049 0 0 A few days ago we had a network failure and multiple clients are still stuck trying to reconnect. I managed to pin-point the issue to the…
fodinabor
  • 101
  • 1
0
votes
0 answers

Is checking broken TCP packets still a thing?

I often see samples of IPv4 rules for iptables which are there to stop what is viewed as invalid or broken TCP packets. Certain combinations of TCP flags should never be used. Here is an example of 4 such rules: -A INPUT -i eth0 -p tcp -m tcp…
Alexis Wilke
  • 2,210
  • 1
  • 20
  • 37
0
votes
0 answers

Windows 10 and OpenSSH to encrypt a local TCP port

I'm working on a Windows 10 machine. I wrote 2 apps: server and client. Both of them communicate via standard TCP sockets, no encryption. I installed OpenSSH, no certificates at the moment, just password login to keep things simple. I don't want to…
0
votes
0 answers

REST requests to an API falls in timeout randomly

0 I developed a web app that communicate with an external API in REST. Most of the time I have no problem, but a few times (1 or 2 times a day) I have my request which is timed out although the message I send is correct. By analyzing with Wireshark,…
0
votes
0 answers

How to cause a network down event on a server?

This may seem weird, but I actually would like to cause a network failure on a project I'm working on. It's a microcontroller that is running tcp/ip and I just want to see what would happen if the network got dropped somehow. I want to ensure the…
0
votes
1 answer

Is my process not accepting TCP connection fast enough?

I have a process P that listens for incoming TCP connections on one port. I am observing that sometimes clients have to issue several SYN to get a SYN-ACK back and then the processing of their connection. I think the process P is not able to handle…
Benoît
  • 1,341
  • 3
  • 11
  • 23
0
votes
1 answer

How does TCP (and other packet-based protocols) avoid conflicting bits?

Scott here. I was thinking about how packet-based protocols, like TCP, avoid conflicting packets. It must've worked somehow because in the early networking days before switches we had hubs, which are comparable to ethernet cables with multiple…
inzig0
  • 1
  • 1
  • 1
0
votes
0 answers

tcp.analysis.bytes_in_flight times lower than communicated window size

I noticed that when I'm copying a file over SSH (not SFTP) the communicated TCP window size is ~ 250k, but the actual bytes_in_flight never raise above 50k. What could be the reason? Does Windows ignore this packet field? Is there a tweak for that?…
basin
  • 558
  • 1
  • 5
  • 22
0
votes
0 answers

What exactly makes TCP limit Cwnd with "cubic" congestion control

I have slower than expected download speed from a server (Debian sever->Windows PC, if that matters). Iperf3 shows no retries but confirms the slow bitrate. Iperf3 output (iperf3 -s on windows PC, then iperf3 -c from the problematic…
0
votes
0 answers

How AT commands can be used to know the TCP buffer status?

Atmega328p interfaced with ESP8266, vibration sensor. atmega reads vibration data from the sensor at a frequency of 10khz. Each value is sent over UDP using esp8266 UART-Wi-Fi passthrough mode to a raspberry pi sitting at a distance. The sample…
0
votes
1 answer

Every four hours after reboot TCP connections fail to establish, while ICMP ping is still OK

Every four hours after server reboot TCP connections fail to establish in both directions. The problem lasts several minutes then gone. No events in syslog seem to be relative, even in dmesg. ICMP ping is still OK at the same time, even with -s 1500…
0
votes
0 answers

iperf3: error - unable to connect to server: No buffer space available

I am testing usb to ethernet adapters by using iperf. The product I am testing has 12 ports to test, and I have 12 usb to ethernet adapters each having their default ip address. I am using Test Stand to test these ports. My tests are stable and they…
Theta
  • 1
0
votes
2 answers

Continuous RST, ACK flags from the same source

Can anyone help me better understand what is going on here? I keep receiving "broken pipe" errors that say the connection is being reset by the peer. Also, I thought 192.168.114.30 was the client, but from my reading, the original SYN in a handshake…