Questions tagged [tcp]
The Transport Control Protocol (TCP) is a low-level part of the protocol stack used by the Internet. It sits directly above the IP layer and is responsible for making sure that dropped packets are resent.
635 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
45
views
Issue with SSH connection in Mac
I'm trying to ssh to a remote server. But after the ssh is successful the connection freezes within 2-3 minutes and eventually drops.
On checking packet trace i observed my mac is randomly sending a ...
2
votes
1
answer
250
views
TCP checksum offloading on virtio-net paravirtualized interfaces
Consider the topology where 2 QEMU VMs running Linux Ubuntu 16.04 kernel version 4.4.0-210 have both virtio-net interfaces with TAP backends connected to the same (host) Linux bridge and an SSH ...
2
votes
1
answer
38
views
DTrace cannot reference the external kernel variable `ticks` on FreeBSD
I've come across the following DTrace one-liner on https://wiki.freebsd.org/DTrace/One-Liners:
# Summarize TCP life span in seconds:
dtrace -n 'fbt::tcp_close:entry {
@["TCP life span (...
0
votes
1
answer
43
views
Checking if service is running, Service is installed already
So basically i installed an Automation Anywhere product in Amazon Linux 2, when i checked the
netstat -tulnp | grep LISTEN
i didn't found the Listener that's supposed to be there exist. Thus leading ...
3
votes
1
answer
573
views
Why is `ss --kill` so slow?
I've measured ss --tcp --numeric --no-header --kill dst 1.2.3.0/24 on various machines (all running Ubuntu Server 22 or 24 LTS) and it consistently needs around 7-10ms to complete. Any idea where the ...
0
votes
0
answers
39
views
Parallelization of TCP Stack in embedded Linux
I have a ARM Cortex-A9 dual-core processor running with 800MHz. An yocto based embedded Linux with kernel 5.15 (will be updated to 6.6 soon) is executed on the ARM processor.
When I transfer data ...
0
votes
1
answer
151
views
Netstat -an command output TCP [::]:135 [::]:0 LISTENING
In my InfoSec course assignment, we were given the task to analyze the different communications that were displayed when we run the command netstat -an. While analyzing I saw the following ...
0
votes
0
answers
76
views
Possible issue with tcp_tw_recycle causing TCP connection failures
I am experiencing an issue where a Linux server sometimes does not respond to TCP connection requests with a SYN-ACK packet. I have a traffic capture showing a successful connection followed by a ...
0
votes
1
answer
646
views
Bitwise constructs to match TCP flags in nftables
I can't find any documentation that would explain the syntax and evaluation of the following sample constructs:
add rule filter output tcp flags & (syn | ack) == syn | ack
add rule filter output ...
0
votes
1
answer
111
views
How can I have multiple TCP clients connected to server ttyS0?
I'm trying to test following envirorment:
One server (it's a router, It has busybox and few other cmd) with a a physical serial port and and open socket
#tcpsvd -v 0.0.0.0 -p 999 cat /dev/ttyS0
...
0
votes
0
answers
328
views
How to Log Each Outbound TCP Connection
At my company we have a set of 3 identical VMs. These VMs house an app that "sends messages". The app sends each message by making a TCP connection out to one of two fixed IP addresses (...
0
votes
0
answers
98
views
Why receiving TCP network packets require more memory bandwidth and CPU utilization than transmitting packets?
I am analyzing an ARM system with Linux kernel 5.15 running. I am running iperf3 to measure the network throughput between two ARM systems.
Note that these are simulated systems and are loosely ...
1
vote
0
answers
237
views
TCP out-of-order and GRO feature with linux kernel 5.14
according to the RFC9293, the PSH flag will be set in the last TCP segment created from the buffer (Ref. https://datatracker.ietf.org/doc/html/rfc9293#name-send).
I'm in a scenario where the traffic ...
0
votes
1
answer
430
views
stdin redirection from /dev/tcp/localhost/port
I'm trying to get my head around some TCP-related topics, and have been experimenting:
The following works fine:
Process A: nc -l 12345 | wc -c
Process B: </dev/random head -c 1k > /dev/tcp/...
0
votes
0
answers
109
views
ARM-LINUX-GCC with LIBMODBUS
Hi everyone, I'm trying to compile a program using "arm-linux-gcc" with "libmodbus";
however it seems the compiler is not set up for libmodbus.
What should I do to fix it?