03-18-2011
Doubt regarding TCP Options negotiation
Hi,
I am aware that duirng the intial SYN, SYN-ACK, ACK (connection establishment) phase, both TCP ends advertize TCP options (or extended features) each would like to use for the connection. Ultimately both ends end up using TCP options commonly supported and advertized by both.
My doubt is simple - Does the TCP negotiation happen only at the connection establishment phase? Is it possible for one end to stop using a previously advertised option and make room for another (specifically an option that is set (for the first time) on TCP by the application by issuing a setsockopt on the connected socket?
Please do clarify.
7 More Discussions You Might Find Interesting
1. Programming
Due to some project requirement I am writing an application which uses Transport Layer Interface (TLI's) in Sun OS Release 5.8.
The problem is in setting the tcp's TCP_KEEPIDLE or TCP_KEEPINTVL or TCP_NKEEP parameters by t_optmgmt ( ) function.I understand that in Sun OS these are referenced by... (2 Replies)
Discussion started by: S.P.Prasad
2 Replies
2. IP Networking
I have written a TCP/IP client and server program. The client sends a message to the server and then the server sends a file back to the client. The client reads the buffer and stores it another file in the client side.
I need to know what are the various exceptions that I need to handle in... (0 Replies)
Discussion started by: Rajeshsu
0 Replies
3. Solaris
on solaris 10, I use static ip address, and choose no dhcp during installation. But I keep receiving the following messages in my console:
Mar 9 03:43:40 ellst rmclomv: DHCP negotiation failed, perhaps misconfigured or no DHCP server available
Mar 9 03:49:58 ellst rmclomv: DHCP negotiation... (1 Reply)
Discussion started by: fredao
1 Replies
4. Programming
Hello everybody,
It's me again, i need your help!
I was almost finishing a program when it crashed, because of TCP segments with the TCP Options enabled.
I am able to control every field of every packet i receive, except of those using TCP Options. Is there a way to determine if a packet is... (0 Replies)
Discussion started by: Zykl0n-B
0 Replies
5. Ubuntu
Hello Everyone,
First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you !
I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies
6. IP Networking
from my understanding
step 1:
From device A to device B , sending SYN.
SYN=1
ACK=0
Ackno=0
Sequence number=2000
step 2:
from device B to A , sending SYN-ACK
SYN=1
ACK=1
ACKno=2001
Sequence number= 5000
Step :3 (4 Replies)
Discussion started by: baker
4 Replies
7. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
synos(1) Mail Avenger 0.8.3 synos(1)
NAME
synos - guess operating system from TCP SYN fingerprint
SYNOPSIS
synos [--mtu mtu] [--db path] syn-fingerprint
DESCRIPTION
synos takes a SYN fingerprint, in the format described for the CLIENT_SYNFP environment variable in the avenger(1) man page, and outputs a
guess as to the type of the client operating system. synos makes use of the OpenBSD SYN fingerprint database (which is also repackaged
with Mail Avenger).
OPTIONS
--mtu val
Certain operating systems set the initial TCP window size based on the maximum transmission unit, or MTU, of the network. For such
operating systems, synos usually checks the window size using both the client's MSS option plus 40 bytes (for TCP and IP headers), or a
hard-coded MTU, which defaults to 1,500 bytes. If either value works, the fingerprint is considered to match the operating system.
You can change the value 1,500 by specifying this option. A value of 0 tells synos to use only the value derived from the MSS option.
--db file
Specifies an alternate location for the SYN fingerprint database.
FILES
/usr/local/share/pf.os
Default location of SYN fingerprint database.
SEE ALSO
avenger(1), asmtpd(8)
The Mail Avenger home page: <http://www.mailavenger.org/>.
The OpenBSD home page: <http://www.openbsd.org/>.
BUGS
The operating system type is determined by heuristics that are not always reliable. Moreover, not all operating systems can be
distinguished. The database may not even contain a client's particular operating system and version.
It is not hard to fool synos deliberately by changing TCP socket options or injecting raw packets onto the network.
AUTHOR
David Mazieres
Mail Avenger 0.8.3 2012-04-05 synos(1)