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
410 views

QEMU: SYN/ACK ignored on host in host-only networking with tap interface

I'm trying to set up host-only networking between my Linux host (running Fedora 33) and a QEMU instance (a fork for Xilinx devices), more specifically between a bridge interface (host) and a tap ...
0 votes
1 answer
571 views

socat resetting USB port on open

I'm having an issue with socat, and it is probably just in my environment. I need to have a USB serial port redirected to a TCP port. I use the following and it works perfectly: socat TCP-LISTEN:4444,...
0 votes
1 answer
2k views

SSH file transfers slow with lots of TCP retransmissions

Good evening, I use SFTP (File Transfer over SSH) from a computer (Windows 10) to a Synology NAS. Both devices are behind NAT on different locations. Around 3 weeks ago, whenever I initiated a ...
0 votes
1 answer
1k views

Why do I get a "TCP Retransmission" right after having sent a packet?

I have a program (in Python) that publishes information to a bus (MQTT, implemented by mosquitto). This is a "fire and forget" kind of message, that is there is no long term subscription, ...
0 votes
0 answers
738 views

After opening port 443 in windows firewall as inbound rule, I cannot see it when I run 'netstat -an'

As an inbound rule on Windows 10 firewall, I added port 443 as TCP connection allowing all types of connections. However, I cannot see it when I run 'netstat -an'. How can I get it so that I see my ...
0 votes
0 answers
500 views

TCP port number reused

I am using STM32 TCP Echo server client Cube IDE example. I have server and client device. I can connect first time successfully but when I reset the client, I get after 70 line in wireshark ...
0 votes
0 answers
140 views

Chunked HTTP response does not come through completely

Consider the following setup +-------+ +--------+ +----------+ | | | | | | | +----------->+ +---------->+ ...
0 votes
1 answer
301 views

Modbus TCP Master-Slave

I have a problem with modbus master and slave TCP communication, On windows computer: When Master and Slave connect each other they communicate successfuly on 50905->502 ports, when I disconnect to ...
0 votes
1 answer
549 views

How does the server get the correct MSS value in the TCP triple handshake

When the client establishes TCP connection with the server, it will report its MSS value during the third handshake. According to my understanding, the MSS value should be obtained by subtraction 40 ...
4 votes
3 answers
9k views

TCP header option: SACK-permitted (Selective Acknowledgments) negotiation

I'm doing a research project, which needs to split tcp connection. so I have some pecular questions, which may happen in my development. The problem is understanding of TCP SACK-permitted negotiation....
0 votes
1 answer
208 views

is "Empty reply from server" a deliberate reply, or a default one from the TCP/IP stack?

I have a device whose port 80 is open and I was wondering what is behind: ~ # curl -v http://192.168.10.253 root@srv * ...
25 votes
2 answers
84k views

what is type of ICMP packets? TCP or UDP

The ping packet is a type of ICMP packet. Is there any relation between ICMP with TCP? In other words, can we guarantee their arrival in the network? I want to know if ICMP packets in the network are ...
2 votes
1 answer
4k views

How to see all the TCP connections opened by Google Chrome browser on Mac?

I am currently browsing using the Google Chrome browser. I know that for every tab I open and type a URL in, a TCP connection is opened. I also know that a maximum of 6 concurrent TCP connections are ...
0 votes
0 answers
878 views

java.exe opens up hundreds of ports on 127.0.0.1 on a windows 10 computer and listens to itself

After I ran netstat -ab with admin right on my win10 computer, which is not running anything "java" related on the desktop nor there is "java.exe" in taskmanager's "detailed ...
0 votes
3 answers
13k views

eMule not connected

I'm using eMule v0.50a on Windows 7. After installation, I clicked 'connect' It is not connected. Please see the attached screenshot. It reads 'eD2K:Connecting, Kad:Connecting | Preparing' How can I ...
1 vote
1 answer
3k views

System error(10054) - An existing connection was forcibly closed by the remote host

I run a dialer made by Altitude Software. Few people are likely to be familiar with this product, so please bear with me. Problem: The Altitude dialer software is an application running on Windows ...
0 votes
1 answer
2k views

Exporting TCP Connection Latency in Resource Monitor

In Resource Monitor in Windows 10 I am looking to monitor and log out the latency of for a particular TCP connection. In Performance Monitor there is the option to create a data collector set but I ...
1 vote
0 answers
38 views

Disable instant closing of TCP connections when interface or route becomes unavailable in Windows

Whenever there is a brief glitch with my ethernet connection, Windows 10 instantly closes all of my TCP connections going over that interface. Is there a way to change it so that the connections are ...
2 votes
3 answers
40k views

How to delete binded port from cmd in Windows 7?

How to delete binded port in Windows 7 from cmd? I'm developing client server application which running on the port 3434 and also is binded on port 0.0.0.0. When I type in cmd netstat -an, I get this ...
1 vote
0 answers
44 views

understand ss -to4 output for a jdbc connection

My application connects to a database over JDBC, and performs a lot of sequential inserts. There is only 1 JDBC connection opened by the application. As the performance is not as expected, I started ...
0 votes
0 answers
49 views

How to set different TTLHOP for TCP ports

We want to set sensitive TCP/UDP Ports at low TTL/HOP Leaving other ttl/hop at 128 default data center = 3 Priv net = 8 Internet = 128 default Ssh 22 = 8 (internal hop max) Rdp 3389 = 8 Http 80 = 128 (...
2 votes
3 answers
11k views

Why is TCP port 563 opened?

Can someone explain what service opens TCP port 563 and uses it? I`m using Windows.
0 votes
1 answer
1k views

Troubleshooting transport layer connectivity issues with pfSense

I am building a virtual network of vhosts that is NATed out to the internet through pfSense. For some reason, vhosts cannot establish connections to the outside world, although lower-layer operations ...
0 votes
1 answer
593 views

Sniff tcp connection and forward to TCP connection on other adapter

I have a system with two network adapters. One of the network adapters is connected to a port mirror, so it sees all the traffic in the network. I'd like to sniff that connection for a certain TCP ...
0 votes
1 answer
1k views

Traceroute/tracert fails to receive hops return information

I noticed that with some routers/gateways when I issue a traceroute or a tracert in a 'inner' computer the hops always fail with: request timed out can anybody clarify this? what information goes ...
1 vote
1 answer
71 views

Assigning IP addresses manually

I have internet connection from a local ISP at home. I see other routers and their IP addresses on my network using wireshark, when I connect the ethernet cable from ISP directly to my laptop using ...
0 votes
1 answer
88 views

Attack on a Linux file server | What is the damage of this file contents?

TCP Networking This file was uploaded using a loophole in a file uploading network program I was writing. The ability to access the server itself was too simple and the techniques I used resulted in ...
0 votes
1 answer
244 views

How can I stabilize my wireless internet connection if it keeps dropping?

My current internet connection is very unstable. I'm using a Windows laptop connected to a 4G smartphone's Wi-Fi hotspot. The 4G signal is often so weak that it disconnects my phone from the network ...
3 votes
1 answer
2k views

Create a TCP half open connection with bash command

Is there a way to (easily) create a TCP half-open connection using a bash command with common Linux tooling? I want to monitor availability of a remote server using such mechanism. I know it is also ...
0 votes
1 answer
384 views

Is sending a file with multiple TCP streams a good idea?

Imagine I got a large file and I want to send it through a TCP connection. The typical way is to use a stream and send continues bytes through it. But the question is, is it possible to send this file ...
4 votes
1 answer
5k views

How can I know what is preventing my socket to bind to localhost:50060-50959

I am using this Python code to listen to a port on my Windows 10 system: import socket for port in (50059, 50060, 50959, 50960): try: print(socket.socket(socket.AF_INET, socket.SOCK_STREAM)....
1 vote
2 answers
5k views

virtualbox: no TCP traceroute

I have VirtualBox running Ubuntu on an Ubuntu host. The networking mode I set is NAT. I noticed that TCP traceroute-like messages (i.e. with low IP TTL) never receive any ICMP reply. Is there some ...
8 votes
3 answers
63k views

What does it mean when a portscan shows a port as "tcpwrapped"?

Interesting ports on 192.168.1.76: Not shown: 998 closed ports PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 5.2 (protocol 2.0) 62078/tcp open tcpwrapped I see tcpwrapper ...
1 vote
1 answer
2k views

How do I capture packets between a WiFi router and an internet modem?

In my home all devices were connected to my router. I want to capture all traffic so I have done below connection: Modem --- (Ethernet to USB Adapter) --> Laptop (Windows 10) --- (Ethernet CABLE) -...
-3 votes
1 answer
80 views

Why does my IPTables changes not deny access from all IP addresses except CloudFlare’s ranges?

I am running apache on ubuntu 18.04. I used IPtables to deny access from all IP addressed except CloudFlare’s ranges and when I run iptables -L –line-number I get 1 ACCEPT tcp – 131.0.72.0/22 anywhere ...
1 vote
2 answers
1k views

three way handshake in application protocols?

I was reading an article (https://www.inetdaemon.com/tutorials/internet/tcp/3-way_handshake.shtml) which says: FTP, Telnet, HTTP, HTTPS, SMTP, POP3, IMAP, SSH and any other protocol that rides over ...
1 vote
0 answers
2k views

SSH fails to connect from one computer but works from other computers

Problem I have an external VPS server running Ubuntu 18.04 with openssh-server 7.6p1. I can connect via ssh to this server from many different networks except from one particular client. This ...
55 votes
17 answers
135k views

How do I kill a process that is dead but listening?

I'm developing an app that listens on port 3000. Apparently there's an instance of it still listening to the port because whenever I start it, it can't create a listener (C#, TcpListener, but that's ...
3 votes
2 answers
2k views

IPTables - Redirect traffic based on country

Is there any way how to allow TCP traffic only from specified countries on a specified port and the rest of traffic redirect to another IP/port using iptables ?
1 vote
1 answer
54 views

PC suddenly cannot do layer 3 communications any more

A PC running Win7x64 always functioned properly until a power off yesterday. From then on, the IP layer of its 3 network interfaces (2 LAN, 1 WL) only partially function any more. A backup was taken ...
0 votes
1 answer
97 views

network connection works only once

I have setup a home server and did port forwarding for http/ssh/tcp etc on the router. It was working well until very recently. My problem is that now connections seem to work only once from outside ...
0 votes
0 answers
3k views

buffer deadlock prevented error from RTSP streaming over UDP

I have an issue to view RTSP streaming over UDP in the open VPN connection. Our project is to integrate 360 degree IP camera in unity system. And we want to get the UDP streaming rather than TCP to ...
3 votes
1 answer
4k views

have tcpdump show the 'conversation' as i would get from wireshark?

Is it possible to get the same output i would get from: tcpdump port 80 -w log.pcap wireshark log.pcap in wireshark Analyze > Follow TCP Stream and then in the bottom drop down Entire ...
1 vote
2 answers
2k views

Packet reaches OS but not the process

Sorry if my issue is a bit hard to summarize in the title. That is the best I could come up with. TL;DR Version: How do I debug when packets reach OS, but not the destination process? Explanation: I ...
1 vote
0 answers
538 views

How to enable ECN marking in IP header in Linux?

Is the ECN marking in the IP header is performed by default in Ubuntu (4.15.x kernel) or should the kernel be recompiled with a special option? I configured a RED ingress queue at an Ubuntu machine, ...
0 votes
1 answer
1k views

tshark: using frame contains and write to file

i want to filter out TCP packets that contain a specific string in the frame data (data.data) tshark -i 1 -f "tcp port 8800" -Y "frame contains FILE" -w "data.txt" This is exactly what i want. ...
0 votes
0 answers
257 views

Utility to display received TCP data

I'm writing code that consumes a TCP protocol - no authentication you just connect and wait for data. I'd like to display & save this data nicely formatted - e.g. hex - and before I waste time ...
1 vote
1 answer
2k views

Track down processes that connect through tcp (on certain ports) using auditd (in GNU/Linux)

I'd like to track down processes that tries to connect to a certain port (on remote host). So, I discovered that auditd is very powerful for these kind of tasks. The following command instruct auditd ...
0 votes
1 answer
919 views

When connecting via SSH, does the Diffie-Hellman key exchange take place over an unencrypted TCP session or does encryption occur before the exchange?

I'm a cybersecurity student and I'm eager to understand the basic processes of an SSH session. I wrote down the stages to the best of my ability, but need help understanding what happens right after ...
0 votes
1 answer
1k views

TCP RST when connecting via telnet to the application - Windows

I have an application running on Windows. The application listens on port 54000. I can connect to the application from the local machine and it works fine: telnet 127.0.0.1 54000 Now, I am trying to ...

1
3 4
5
6 7
19