From: Bernard Pidoux <pidoux@ccr.jussieu.fr>
To: Matti Aarnio <matti.aarnio@zmailer.org>
Cc: DL5DI <dl5di@prgm.org>, linux-hams@vger.kernel.org
Subject: Re: BUGs into libax25
Date: Mon, 02 Jun 2008 18:28:41 +0200 [thread overview]
Message-ID: <48441FB9.6000405@ccr.jussieu.fr> (raw)
In-Reply-To: <20080602104149.GS3700@mea-ext.zmailer.org>
Hi,
Sorry, I wrongly wrote 6 letters callsigns where I wanted to say 6
characters. Not the same of course.
My typo leaded to an interesting discussion.
Somedays I dreamt that we could increase the SSID number up to 31.
But the necessary bytes are already taken by DAMA protocol and EAX25 flags.
Back to the bug.
With previous loop limit (<6) into the code, a callsign like KD4YAL-8
would not be correctly translated into shifted ASCII AX25 code.
Actually, with this 6 characters callsign, SSID was truncated and an
error message sent complaining about SSID not being correctly entered.
I had seen it very often in FPAC. I am glad I found the error while
investigating on other bugs.
73 de Bernard, f6bvp
Matti Aarnio a écrit :
> On Mon, Jun 02, 2008 at 11:36:25AM +0200, DL5DI wrote:
>
>> This special event station callsign that we sometimes find like
>> DQ2008ANYEVENT will never work in packet radio.
>> The protocol header of ax25 frames only allows 6 bytes of callsign and 1
>> halfbyte of SSID.
>> Not only for the destiantion, also for all digipeaters inbetween.
>> We would need to change the whole protocol and all digipeaters and stations
>> using it worldwide to get that covered.
>> I expect that packet radio will be dead before that happens. :-)
>>
>
> Arbitrary long callsigns... Only OSI stack can handle that, and even it
> has some upper limits on address lengths.
>
> On IPv6 the addresses are 16 bytes long, and low 8 bytes (64 bits) of them
> are reserved for "link local" use. Considering that.. one can encode
> any callsign with 38 characters, add couple codes for things like
> "no character here", and "next is ssid", that would be 40 codes.
> Using 6 bits per character one could encode 10 characters + 4 bits on IPv6-
> address "local half". With arithmetic encoding (see APRS mic-e) maybe
> 17 code bytes.
>
> Would that be AX.25 ? Definitely not. That would be IPv6.
>
> On IPv6 the basic assumption is that link local area is /64 size slice,
> and thus "AX.25 space" would be something smaller.. like /32.
>
> How could we implement smooth transition from AX.25 to IPv6 on data links ?
> Very good question... old legacy junk will want to live a long time.
> (we are way too willing to recycle obsolete hardware...)
>
>
>> 73 de Hans, DL5DI
>>
>
> 73 de Matti, OH2MQK
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-06-02 16:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-02 9:36 BUGs into libax25 DL5DI
2008-06-02 10:41 ` Matti Aarnio
2008-06-02 16:28 ` Bernard Pidoux [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-01 22:26 Bernard Pidoux
2008-06-02 2:14 ` Mike McCarthy, W1NR
2008-06-02 6:49 ` Robin Gilks
2008-06-02 9:16 ` Ralf Baechle DL5RB
2008-06-02 17:16 ` Dave Platt
2008-06-02 8:49 ` 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=48441FB9.6000405@ccr.jussieu.fr \
--to=pidoux@ccr.jussieu.fr \
--cc=dl5di@prgm.org \
--cc=linux-hams@vger.kernel.org \
--cc=matti.aarnio@zmailer.org \
/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