Skip to main content

All Questions

Tagged with
2 votes
1 answer
1k views

What would prevent a TCP server port (once closed), from being re-opened right away?

I have a server program that uses TCP. Sometimes, I need to restart the program for updates, or any other reasons, but when I do, the program closes the server port, and then once it restarts, it ...
NS studios's user avatar
2 votes
0 answers
307 views

How can I use the "location of socket in memory" field in /proc/net/tcp

I'm working on a proxy for linux(C++) that, amongst other functions, keeps track of tcp connections and associates them with the process's pid. To do that, I get the inode in /proc/net/tcp and then ...
Tiberiu Hodorogea's user avatar
1 vote
0 answers
765 views

TCP traffic not working through Iperf tool in ubuntu

I am using system-A(interace name:tun0; IP: 192.168.3.1) and system-B(interface n ame:ss200; 192.168.3.2) which run on ubuntu. When I try sending traffic in TCP mode from A to B or vice versa, by ...
Technocrat's user avatar
1 vote
1 answer
6k views

How to immediately kill orphaned TCP connection?

Closing orphaned TCP connections is surprisingly difficult in Linux. This issue has been raised here, here, here, and here; however, neither of the approaches worked for me. Calling close() doesn't ...
vasilyrud's user avatar
  • 131
3 votes
0 answers
2k views

Destination Host Unreachable between linux boxes

I have a home wifi network with 2 linux and 1 mac system. I can reach each linux from mac and other way round, but an attempt to ping a linux from another linux results with "Destination Host ...
Alex Blex's user avatar
  • 131
2 votes
3 answers
15k views

can't ping a Windows 10 through Ubuntu both connected to the same switch

so I have connected both machines to the same switch. both have internet through ethernet and are in the same network. I am trying to connect to Windows 10 it is not working. So I decided to test ...
Mona Jalal's user avatar
0 votes
1 answer
4k views

ubuntu 16.04 trying to open port 8443 not working

i need to open port 8443 in OS ubuntu 16.04 but nothing is working first i tried to do a scan port using Nmap: RESULT : Discovered open port 139/tcp on 127.0.0.1 Discovered open port 445/tcp on ...
devleb's user avatar
  • 3
0 votes
1 answer
461 views

how can i get SYN & SYN+ACK value for current tcp connection of any website on Browser?

As I know that '$sysctl | grep net.ipv4.tcp' gives the system wide TCP parameter value,I need to make a script in Bash for my college practical file in which If we open Browser and input the URL ...
Asmaul Husna's user avatar
0 votes
1 answer
434 views

Create local TCP connection from C program in Ubuntu VM to Labview in Windows (Host)

Sorry if this is lengthy, I'll try to keep it as concise as possible. I have made a C program which runs in Ubuntu in a virtual machine and a Labview program running in windows (the host of the VM) ...
timeshift117's user avatar
0 votes
0 answers
628 views

Ubuntu openVPN TCP no internet, UDP works. Win7 works on both TCP/UDP with same settings

I've recently purchased a VPN service which I'm connecting to with openVPN. On Windows 7 I can connect on both UDP and TCP settings, but when I'm trying the same thing on Ubuntu 13.04, it gives me ...
charmixer's user avatar
  • 101