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.

learn more… | top users | synonyms

0
votes
1answer
153 views

List all open sockets in /dev/tcp/localhost/

Is it possible to list all open sockets in /dev/tcp/localhost/ on a Linux machine? I want to list all sockets where the following command would return 0: timeout 2 bash -c "cat < /dev/null > ...
1
vote
1answer
638 views

TCP congestion control Windows 7

Based on what I read, Compound TCP is disabled by default in Windows 7. If so, which default congestion control algorithm does windows 7 use? Is it TCP RENO or NEW RENO? Could you give me some links ...
0
votes
1answer
132 views

Wget not getting cookies, not pulling back results in check.

I'm having a couple of issues when porting check scripts between a couple of servers. The script. #!/bin/bash hostname=$1 port=$2 retstatus=0 retStr= st=`date "+%s.%N"` if [ $# -ne 2 ]; then ...
0
votes
2answers
125 views

How are Internet connections differentiated from each other by an operating system?

Given this example, how would my operating system differentiate between each request. Let us say I have 3 tabs open, and at the same exact time, they all go to http://google.com. How would my ...
0
votes
0answers
73 views

How can one redirect to a new host all traffic destined for an old host?

We're moving a bunch of services, say from 1.2.3.4 to 5.6.7.8. In order to test that the new services are correctly configured, we'd like to redirect (to the new host) all traffic destined for the ...
0
votes
1answer
618 views

RPC Connection Filtered with no Firewalls

I have a workstation (PC1) that cannot communicate with a domain controller over RPC (TCP/135). C:\PortQryV2> portqry.exe -n 192.168.1.1 -p tcp -o 135 Querying target system called: 192.168.1.1 ...
0
votes
2answers
3k views

TCP Dup ACK/Retransmission, bad configuration?

I'm currently investigating network issues of a friends LAN (again). The Internet connectivity is very slow and unreliable and sometimes services simply don't work. I've monitored the traffic for ...
0
votes
0answers
165 views

iptables TCP flags

I'm beginner with iptables and networking so please excuse me for such beginner questions. I found on the Internet part of filtering malformed packets: /usr/bin/sudo /sbin/iptables -A tcpchk -p tcp ...
0
votes
0answers
6 views

What happens when I terminate a process and the socket send buffer is not empty? [duplicate]

In Windows (and probably in other operating systems), if a process has a TCP connection with another process on another machine, and then I terminate the process, an RST packet will be sent to the ...
3
votes
1answer
167 views

What happens when I terminate a process and the socket send buffer is not empty?

In Windows (and probably in other operating systems), if a process has a TCP connection with another process on another machine, and then I terminate the process, an RST packet will be sent to the ...
-2
votes
1answer
44 views

3 duplicate ACKs in TCP

If a client receives 3 duplicate ACKs in TCP then it will half the window size and switch from slow start to congestion avoidance. Will it retransmit the next window_size segments, or will it just ...
0
votes
1answer
45 views

Multiple TCP Connections to download simple webpage and images?

I created a very simple webpage: <html> <body> foo bar <img src="img1.png"/> <img src="img2.png"/> <img src="img3.png"/> Hello world </body> </html> And ...
2
votes
2answers
664 views

Force DNS resolution to use TCP

My Comcast internet connection has been giving problems in DNS resolution, and I am guessing the reason is a probably broken or limited UDP. I am currently working around it by tunneling over TCP ...
4
votes
9answers
3k views

How to make Firefox use TCP for DNS

I want to use TCP for DNS, to bypass my ISP's slow and broken DNS servers. I'm not using (and don't want to use) a proxy. Note: I want to use DNS over TCP because if I use it over udp, no matter what ...
1
vote
1answer
353 views

How to redirect TCP traffic from one virtual machine to another in Linux?

What is the simplest way to redirect all TCP traffic from one virtual machine to another in Ubuntu Linux and reverse? And what type of connection I suppose to use in VirtualBox?
1
vote
1answer
270 views

HTTP performance over high latency links

I have users that previously used FTP for file transfers across high latency paths to their local server. They have switched to HTTP for these transfers (not by choice) and file transfer perforamance ...
18
votes
2answers
31k views

For what does ssh use UDP?

Wile doing research I noticed that SSH both uses TCP and UDP. I completely understand the use of TCP, but UDP seems a bit strange. Why would I use an "unreliable" transport protocol with minimal ...
0
votes
0answers
197 views

Tunneling trough VPN over TCP

I'm currently trying to set up a VPN on my server to connect to from my Laptop. The server is a command-line ubuntu running on a x64 machine. The Laptop runs x64 Windows 7. The VPN itself is already ...
0
votes
1answer
60 views

How do you force linux to treat a tcp packet as if it were at the destination ip?

The situation: A tcp packet arrives on eth0 with destination 8.8.8.8. This packet meets some criteria that makes me want to intercept it (lets say I am interested in all packets from source ...
0
votes
1answer
72 views

Forward TCP packets by destination and port number

Is there any way to forward only TCP packets heading to destination XYZ and port number NN to 127.0.0.1 port number 9150 ? I'm on Windows. Thanks
0
votes
1answer
46 views

Receive encrypted string from server [closed]

What is the easiest way (as easy as possible) to make a web server that will check a string received from client and respond with another string? How to do it from the very beginning to the very end? ...
1
vote
0answers
161 views

How to split pcap files maintaining tcp sessions

I have a pcap file which contains tcp traces. I was wondering if there's a way to split these traces in order to maintain tcp flows, but also filtering the traffic on a src ip basis. For example, if ...
2
votes
0answers
108 views

Force local packet pass trough the router (or disable loopback) - windows 8

i would like to avoid that packets sent from my machine to the same machine (via the IP assigned by the external router eg. 192.168.1.20) are routed with loopback and so never reach the external ...
0
votes
1answer
326 views

What is the timeframe used, for TCPBacklogDrop value calculation in netstat [closed]

I'm interested in the value TCPBacklogDrop of the command netstat -s on linux. But I don't know which timeframe is considered, when calculating it.
3
votes
1answer
1k views

Localhost tcp throughput performance differences

I have been using psping for measuring bandwith statistics on localhost on different computers: laptops, home computers and servers. All of them get to between 100 and 200 MB/s but my PowerPc at work ...
-1
votes
3answers
119 views

What happens when 2 hosts simultaneous establish a connection in a 3-way handshake

Say two hosts, A and B, both attempt to start a connection with each other, but the SYN from A gets to B before B's SYN arrives at A. My answer is that A would sent SYN ACK and would ignore the SYN ...
36
votes
4answers
71k views

What does “On-link” mean on the result of “route print” command?

I'm using Windows 7. When I type "route print" under command prompt, I get a IPv4 Route Table with several "On-link" values under the Gateway column. For example, like this one: IPv4 Route Table ...
0
votes
1answer
419 views

Testing DNS truncated queries over TCP with dig

I want to test if my network supports EDNS0. It means that if the record is bigger than 512byte, the DNS will be over TCP. It will ne truncated at firts using UDP ,the it willbe over tcp. I'm using ...
0
votes
1answer
232 views

Changing TCP sliding window behaviour

We all know that TCP's congestion control uses additive (linear) increase and multiplicative decrease when adjusting sliding window size. Is there a way to change it to "linear decrease"? When a ...
38
votes
2answers
14k views

How does Router know where to forward packet

If several computers with local addresses (192.168.0.#) are connected to a router and each computer opens a web browser and requests a page over HTTP, when these TCP:80 packets are sent out, the ...
2
votes
1answer
208 views

Sending large data over TCP and progress indicators

It is my understanding that when you open a tcp connection to send data the tcp layer on the receiving end holds on to all the packet until the transmission is complete, then sends all the data up to ...
0
votes
0answers
264 views

Windows 7 stops responding to my SYN requests unless I continue to ping the client

Basic synopsis, my Windows 7 box stops sending RST, ACK packets to a client which is sending SYN packets after time. What I know: I have a client who sends a SYN packet, followed by a retransmit 3 ...
0
votes
2answers
2k views

Capture TCP communication on a specific port using wireshark

I have build a simple TCP server which listens on port 9999, and it has IP address 202.168.66.1. I have a TCP client which has the same IP address and connects to the server on the said port. Now ...
0
votes
1answer
117 views

Can I ping a host that has disabled the ICMP Ping option?

I need to know if it's possible to compare and test how fast is an IP (ie: any web or game server) relative to my location (in terms of network latency), even if they have disabled ICMP/Ping requests ...
0
votes
0answers
337 views

Retransmitted TCP packets (smaller than original) are being dropped, causes hang

I'm trying to troubleshoot my home internet connection, which often hangs on large downloads. I believe I have been able to duplicate the problem between my home computer and an Amazon EC2 instance ...
2
votes
1answer
10k views

Windows 7 firewall causing remote connection to time out; should refuse connection

The Windows 7 Firewall is running with default options to allow outbound connections and block incoming connections. I have a process trying to connect regularly from within my local network, which is ...
4
votes
2answers
6k views

Detect what outgoing ports are bypassed by firewall

My school has a firewall which limits most outgoing ports. There're only TCP/80, TCP/443, TCP/21 allowed. Is there's a way to find out all the outgoing port allowed by the firewall? My current idea: ...
0
votes
1answer
418 views

Forcing a game to not take “real local IP” into account but only recognize virtual local IP assigned by VPN server

We are two friends who want to play Heroes of Might and Magic 2, 3 or 5 together in online multiplayer mode over internet using a TCP/IP connection. As we are not happy with third party solutions ...
7
votes
5answers
2k views

How does a server get notified about the HTTP request?

I have a basic understanding of how HTTP works. I understand the client (web browser) makes a request and server responds back to the request. However, the thing I don't understand is how does a web ...
0
votes
3answers
763 views

How does a web server return an HTTP request?

I'm sorry if this is a really stupid question; my networking knowledge is pretty sparse. So, a user makes a HTTP request to some address. That request comes from an address on a local subnet, but the ...
1
vote
0answers
35 views

Assessing Performance in Process Explorer: Varying Block Sizes

I am trying to assess the performance of my scientific software using Process Explorer, with the files both locally on our blade server (Dell VRTx, Windows Server 2012) and over the network from ...
1
vote
1answer
212 views

Accessing two devices with the same IP?

I want to connect my laptop to two WiFi enabled digital cameras, that have the same IP hardcoded: 192.168.1.1 One solution that I've successfully tried: Connect one device to the laptop's built in ...
1
vote
1answer
386 views

Cannot connect to 192.168.1.1

I have router TP Link n900 and I cannot connect to my admin panel of the router, I just bought it, I have internet when I am connected with cabel, but cannot open the router. My connection is : PC -> ...
2
votes
1answer
320 views

Keep alive, ESTABLISHED and TIME_WAIT semantics

When I use the following command netstat -ant | grep :9111 | awk '{print $6}' | sort | uniq -c | sort -n I get the following 1 LAST_ACK 1 LISTEN 2 SYN_RECV 7 FIN_WAIT1 51 ESTABLISHED ...
24
votes
4answers
4k views

How does HTTP become stateless?

HTTP is said to be stateless. Meaning, it doesn’t need to store information for the transmission of data. But HTTP uses TCP, which is state oriented. If that's the case, how does HTTP becomes ...
0
votes
0answers
49 views

Network tcp parameters

i have a netstat -s output which i would like some opinions on. Which are the parameters that seems to appear to have problems? from what I can see, tcpInUnorderBytes and tcpInUnorderSegs have some ...
1
vote
1answer
243 views

Linux Kernel TCP socket functions

So I have been looking through the Linux Kernel v3.8.0-19-generic source code and I noticed that the proto struct, whose members are virtual functions for socket operations depending on the particular ...
0
votes
3answers
102 views

TCP connection assistance

I have 2 PCs at home connected to a router. I am trying to establish a TCP connection from PC2 to PC1. I have installed TCP Test Tool 3.0 on both and have set PC1 to listen on port 54100. On PC2 I ...
0
votes
1answer
491 views

Does an open TCP socket connection consume data when not used?

I have a TCP socket connection established between my server and a modem which has a active GSM module and sim card installed. I create this wirless 3G connection via socat: /usr/bin/socat ...
1
vote
0answers
485 views

What's wrong with this tcpdump syntax?

sudo tcpdump -i ath1 -s 0 -nne "(type mgt and subtype beacon)" Can anyone help me? I was following a tutorial at http://wiki.secarmour.com/2013/09/capture-wireless-traffic.html but seems I got ...