Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sun Dec 10, 2023 4:46 am


Internet Protocol, Transport Control Protocol, Network protocols, Routing, Routers, IP aliases, Routes, Ethernet

Author Message
MichaM
Post  Post subject: TCP ack after two packets  |  Posted: Mon Jun 13, 2016 5:14 pm
 

TCP ack after two packets

im using wireshark for tcp project.
when ACK is sent i get window size of 65536 but every two pockets in the list are followed by ACK send
isnt ACK sent after receiving 65536 bytes?
some times the window sie jump and the goes back to 63k
what cause it to happend?

----------------------
bloody hell tcp





Top
admin
Post  Post subject: Re: TCP ack after two packets  |  Posted: Tue Jun 14, 2016 9:54 am
Site Admin

Joined: Mon Aug 03, 2009 8:43 am
Posts: 104

Offline
No. The TCP window is meant to let the other party know approximately what size is my receive buffer. This means I'm still going to ACK as soon as possible, but I can process only the amount of data in the RX buffer as I notified in the TCP window.

Delaying ACK (depends how much) significantly impacts TCP performance because the sender expects that other party acknowledges the data asap. Otherwise, the sender will start thinking something went wrong and will trigger retransmission due to timeout - every byte sent over TCP has a timeout interval inside which it needs to be acknowledged, calculated based on the RTT - this is another TCP mechanism to ensure reliability.
Keep going through TCP / IP Illustrated books and wireshark books. TCP is very complex protocol.

_________________
VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX
https://vpsie.com


Top
humdrum
Post  Post subject: Re: TCP ack after two packets  |  Posted: Tue Dec 13, 2016 10:04 am

Joined: Tue Dec 13, 2016 10:02 am
Posts: 1

Offline
Good info and straight to the point. Thank you


Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "TCP ack after two packets"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Tcpdump: How to capture first two packets of tcp conversation (SYN/SYN+ACK)

debuser

0

29976

Wed Jun 13, 2012 5:32 am

debuser View the latest post

There are no new unread posts for this topic. FreeBSD list the outgoing interface for packets to a specific IP destination

mandrei99

0

2953

Mon Jul 22, 2013 10:12 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux list the outgoing interface for packets to a specific IP destination

mandrei99

0

3305

Mon Jul 22, 2013 10:17 am

mandrei99 View the latest post

There are no new unread posts for this topic. Sendip packet crafting tool: How to send bad checksum TCP packets

mandrei99

2

4454

Wed Apr 15, 2015 2:02 am

lizamare View the latest post

 

Who is online
Users browsing this forum: No registered users and 1 guest
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO