Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Bernard Pidoux <pidoux@ccr.jussieu.fr>
To: Chuck Hast <wchast@gmail.com>
Cc: Richard Stearn <richard@rns-stearn.demon.co.uk>,
	linux-hams@vger.kernel.org
Subject: Re: Document request - ROSE protocol specification
Date: Thu, 15 Mar 2007 12:22:10 +0100	[thread overview]
Message-ID: <45F92C62.2030707@ccr.jussieu.fr> (raw)
In-Reply-To: <620c90570703141711v444bd67dqd9cf8e86a6fc1b54@mail.gmail.com>


Chuck Hast wrote:
> On 3/14/07, Richard Stearn <richard@rns-stearn.demon.co.uk> wrote:
>> Greeting all
>>
>> I am attempting to add ROSE to wireshark (ethereal).  My preference is
>> to code the protocol analyser from the specification document rather
>> than reverse engineer an existing driver stack.
>>
>> The RATS web site www.rats.org now goes to a holding site.  Does anyone
>> have either an electronic copy of the ROSE spec or a URL to a current
>> copy?
>>
> 
> Richard,
> I googled on X.25 PLP and found that most of the descriptors pretty much
> follow what I recall from Brian Lantz decoding of ROSE in TNOS. Listen
> does not show the GFI just the LCN. Here is a good website for the X.25
> PLP breakout:
> 
> http://www.techfest.com/networking/wan/x25plp.htm
> 
> Also perhaps Bernard F6BVP can provide you information or Jean-Paul
> F6FBB, Bernard is actively working on FPAC (the set of tools and wrapper
> that makes ROSE easy to use under Linux and also allows for integration
> of IP and NetRom under a single system).
> 
> Back to X.25 PLP, there is a lot of info out there and again as far as I
> can remember, the only things that may not have been always visible
> were all of the different cause diagnostic codes because there are a
> lot of them that deal with commercial operations.
> 

ROSE has been described by Tom Moulton W2VY in different ARRL Computer
Networking Conference proceedings available on CDs (google ROSE W2VY).
Sorry I only have 3rd (1984), 9th (1990) and 13th (1994) books
                                                     without ROSE
protocole descripion.








ROSE adressing follows the X.121 specs and uses 14 digits.

There is a good description here :
http://www.rhyshaden.com/x25.htm

Linux kernel source provides diagnostic codes and specs.
For example in /linux/include/net/rose.h :


#define ROSE_ADDR_LEN                   5

#define ROSE_MIN_LEN                    3

#define ROSE_GFI                        0x10
#define ROSE_Q_BIT                      0x80
#define ROSE_D_BIT                      0x40
#define ROSE_M_BIT                      0x10

#define ROSE_CALL_REQUEST               0x0B
#define ROSE_CALL_ACCEPTED              0x0F
#define ROSE_CLEAR_REQUEST              0x13
#define ROSE_CLEAR_CONFIRMATION         0x17
#define ROSE_DATA                       0x00
#define ROSE_INTERRUPT                  0x23
#define ROSE_INTERRUPT_CONFIRMATION     0x27
#define ROSE_RR                         0x01
#define ROSE_RNR                        0x05
#define ROSE_REJ                        0x09
#define ROSE_RESET_REQUEST              0x1B
#define ROSE_RESET_CONFIRMATION         0x1F
#define ROSE_REGISTRATION_REQUEST       0xF3
#define ROSE_REGISTRATION_CONFIRMATION  0xF7
#define ROSE_RESTART_REQUEST            0xFB
#define ROSE_RESTART_CONFIRMATION       0xFF
#define ROSE_DIAGNOSTIC                 0xF1
#define ROSE_ILLEGAL                    0xFD


ROSE packets identified by listen have PID=1(X.25)

Here is a sample screen dump from F6BVP FPAC node F6BVP-11 :

0: fm KP4DJT-9 to F6BVP-11 ctl I27^ pid=1(X.25) len 3
X.25: LCI 032 : RR R7
0: fm KP4DJT-9 to F6BVP-11 ctl RR3+
0: fm F1MVP-5 to F6BVP-11 ctl SABM+
0: fm F1MVP-5 to F6BVP-11 ctl I00+ pid=1(X.25) len 5
X.25: LCI 000 : RESTART REQUEST - Cause DTE Originated - Diag 0
0: fm VK2TV-2 to F6BVP-11 ctl RR0v
0: fm F5KBW-9 to F6BVP-11 ctl SABM+
0: fm F5KBW-9 to F6BVP-11 ctl I00^ pid=1(X.25) len 5
X.25: LCI 000 : RESTART REQUEST - Cause DTE Originated - Diag 0
0: fm F5KBW-9 to F6BVP-11 ctl I11^ pid=1(X.25) len 60
X.25: LCI 064 : CALL REQUEST - NbAlea: B464
fm F5KBW-3   @2080,833501
to F6BVP-3   @2080,175502


73 de Bernard, f6bvp

  reply	other threads:[~2007-03-15 11:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 22:26 Document request - ROSE protocol specification Richard Stearn
2007-03-14 22:36 ` Folkert van Heusden
2007-03-14 23:27   ` Richard Stearn
2007-03-15  0:11 ` Chuck Hast
2007-03-15 11:22   ` Bernard Pidoux [this message]
2007-03-15 13:42     ` Chuck Hast
2007-03-16 20:42       ` Richard Stearn
2007-03-17  2:35         ` Chuck Hast
2007-03-18 10:46       ` Bernard Pidoux
2007-03-18 15:07         ` Chuck Hast
2007-03-16 20:37     ` Richard Stearn
2007-03-19  4:25     ` Ralf Baechle DL5RB

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F92C62.2030707@ccr.jussieu.fr \
    --to=pidoux@ccr.jussieu.fr \
    --cc=linux-hams@vger.kernel.org \
    --cc=richard@rns-stearn.demon.co.uk \
    --cc=wchast@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox