Getting into flags  

Tuesday, June 2, 2009

U=Urgent Reserved 1|A|P|R|S|F

->If set , checks the urgent pointer field later in the header. That field indicates where you should start reading the data

------------------------


A=Ack Reserved U|1|P|R|S|F

->If set , indicates that the sender is acknowledging receiver from the partner


---------------------------

R=Reset Reserved U|A|P|1|S|F

->If set, sender is refusing or explicitly closing the connection


-----------------------------



understanding these flags helps in understanding our tcp connections which are very much helpful in getting protocols like BGP for example .. can you imagine importance of Reset flag in BGP?

The Tcp Flags  

The Tcp Flags

we have


Reserved bits like U|A|P|R|S|F

U=Urgent Reserved when set on 1|A|P|R|S|F
A=Ack Reserved when set on U|1|P|R|S|F
P=Push Reserved when set on U|A|1|R|S|F
R=Reset Reserved when set on U|A|P|A|S|F
S=Syn Reserved when set on U|A|P|A|1|F
F=Fin Reserved when set on U|A|P|A|S|1

The tcp handshake  

The tcp handshake

->Standard 3-way handshake to setup a connection

->sets up the initial sequence number (ISN) for each side

->May have 1 or more options in tcp header

ISN initial sequence number will be different for host and server

Congestion avoidance / Recovery  

Congestion avoidance / Recovery

When a packet hist congestion it drops down to 50% and again they slowly creep up

->congestion avoidance has two basic mechanisms

*Slow start algorithm

*congestion-avoidance algorithm

Tcp Functionality  

Tcp Functionality

-> Connection-oriented communications

->sequencing and acknowledgement

->windowing

->congestion avoidance and recovery

->specialised functions (aka flags)

->variable length header

->Recovery for lost packets

TCP/IP STACK  

TCP/IP STACK


UPPER LAYER -> UPPER LAYER PROTOCOLS, SNMP , TELNET, FTP , HTTP , POP3


TRANSPORT -> UDP RFC 768 , CONNECTION LESS TRANSPORT
-> TCP RFC 793 , CONNECTION ORIENTED TRANSPORT

NETWORK -> IPV4 RFC 791 , ICMP INTERNET CONTROL MESSAGING PROTOCOL (RFC 792)

ARP -RFC 826

DATALINK LAYER -> MEDIA ACCESS CNTROL (MAC) , ETHERNET , TOKEN RING , PPP ETC

Here iam again  

people who were following me or just watching my progress kept me mailing about the blog status . i was down with personal problems and was buried deep ! very deep .. iam just making out to brighter side of my life again and hence started with studies ...

i will be continuing with tcp / ip sessions and my notes as well

best regards

Design by Blogger Buster | Distributed by Blogging Tips