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.
636 questions
0
votes
1
answer
24
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
472
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
24
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
80
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
56
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
0
answers
26
views
Iptables rule with per-connection and per-packet conditions
For example, I have 2 conditions for passing in iptables (input chain): destination tcp port - condition 1, source mac address - condition 2
Is it possible to create the rule or some rules, that will ...
0
votes
1
answer
437
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
80
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
269
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
74
views
TCP RST doesn't reach process running inside Podman container
I'm debugging an issue I'm seeing where connections between a podman container and the host aren't being closed inside the container.
I've written very simple test programmes: server and client.
...
0
votes
0
answers
84
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
190
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
283
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
92
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?
0
votes
0
answers
60
views
How to protect a docker container with tcp wrappers, xinetd or something like that?
I have a Dicom medical docker container, on a bridged network, that receives tcp connections (not web/http/https) from other Dicom enabled devices, such as MRI scanners. It is an old DCMTK binary ...