![]() |
| | #1 |
| Registered User Join Date: Feb 2009
Posts: 21
| Need Help in Unix commands 1 - Find out the generic format for TCP header options from Request for Comments 793 2 - Find out how TCP is supposed to respond if a FIN or an RST arrives with a sequence number other than NextByteExpected. Earlier I thought with the help of netstat I can figure it out but netstat only shows connection status as Esatblished or connected. Please advice. |
| namasteall2000 is offline | |
| | #3 |
| Registered User Join Date: Feb 2009
Posts: 21
| I am asking these question here because I have to do the same on the Linux machine. I don't kknow which commands we need to use in Linux to see the generic format of TCP header options. Please suggest. |
| namasteall2000 is offline | |
| | #4 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Download firefox (use wget, for example), then run firefox and enter Google, then enter RFC 793 in the search for box. Look for a document describing the TCP IP header format. The format is not any different for different machines or OS's. -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #5 |
| Registered User Join Date: Feb 2009
Posts: 21
| Mat - thanks for the reply. Is there is any command which can be used in Linux as we have to solve this on Linux machine. As I understand Firefox is web browser Windows utility. Once again thanks for the reply. |
| namasteall2000 is offline | |
| | #6 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| You mean to describe the RFC 793? As far as I know, it's a document, and it is the same for Linux as for everything else. Firefox is indeed a web-browser, and that's at least how I would find that sort of information if I needed it. Whether you use firefox or some other web-browser is up to you. If you really want to make your own life more difficult and not use a web-browser, then perhaps you can write down the link posted above that answers the question, and then use wget to download the document in the link and view the HTML in some text editor. But I don't see the point of it. And I certainly do not see the point of discussing "Unix" or "Linux" commands here. -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #7 |
| Registered User Join Date: Feb 2009
Posts: 21
| Mat - I understood your point. Thanks How about "Find out how TCP is supposed to respond if a FIN or an RST arrives with a sequence number other than NextByteExpected." Do you have any helpful link or any suggestion for this? thanks |
| namasteall2000 is offline | |
| | #8 |
| Crazy Fool Join Date: Jan 2003 Location: Canada
Posts: 2,596
| The answer to that question will be in the RFC as well.
__________________ jeff.bagu.org - Terrain rendering and other random stuff |
| Perspective is offline | |
| | #9 |
| Registered User Join Date: Feb 2009
Posts: 21
| I read in the RFC dcument RFC 793 (rfc793) - Transmission Control Protocol - but its not mentioned any where. Any thoughts. |
| namasteall2000 is offline | |
| | #10 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Try reading page 23 again. -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #11 |
| Registered User Join Date: Feb 2009
Posts: 21
| Thanks Mats - I got it. |
| namasteall2000 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| System Commands for UNIX | cjohnman | C Programming | 5 | 04-07-2008 01:39 PM |
| How to program in unix | Cpro | Linux Programming | 21 | 02-12-2008 10:54 AM |
| Setting up a Unix box | @nthony | Tech Board | 6 | 07-22-2007 10:22 PM |
| how to simulate Unix commands in C++? | silent_eyes | C++ Programming | 4 | 03-31-2006 12:41 AM |
| About Unix Programming - Making a career desision | null | C Programming | 0 | 10-14-2001 07:37 AM |