packet:protocols
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packet:protocols [2024/04/18 09:11] – [AXIP] Add diagram 2e0itb | packet:protocols [2024/05/11 11:21] (current) – [AXTCP] 2e0itb | ||
---|---|---|---|
Line 5: | Line 5: | ||
Keep It Simple Silly | Keep It Simple Silly | ||
- | Protocol used between a TNC and a computer. | + | Protocol used between a TNC and a computer. |
====== AXIP ====== | ====== AXIP ====== | ||
Line 13: | Line 13: | ||
Appears to be an AX.25 frame in an IP packet with the IPPROTO field set to 93. | Appears to be an AX.25 frame in an IP packet with the IPPROTO field set to 93. | ||
- | | IP | AX.25 Frame | CRC16 | | + | | IP | AX.25 Frame | AX.25 CRC16 | |
Line 22: | Line 22: | ||
Appears to be an AX.25 frame in a UDP packet. | Appears to be an AX.25 frame in a UDP packet. | ||
- | | IP | UDP | AX.25 Frame | CRC | | + | | IP | UDP | AX.25 Frame | AX.25 CRC16 | |
====== AXTCP ====== | ====== AXTCP ====== | ||
- | AX.25 over TCP/IP | + | There are (at least!) two variants of AXTCP in use. A heuristic for telling them apart is to check the first byte. If it's 0xC0 then it's BPQ (kiss over TCP), otherwise it's xrouter (AXTCP). |
+ | |||
+ | ===== as spoken by xrouter ===== | ||
Appears to be two byte length (big endian), followed by an AX.25 packet. | Appears to be two byte length (big endian), followed by an AX.25 packet. | ||
- | | IP | TCP | 2 byte len (big endian) | AX.25 Packet | + | | IP | TCP | 2 byte len (big endian) | AX.25 Frame | AX.25 CRC16 | |
+ | |||
+ | For xrouter at least, the first packet needs to have your alias in the destination field, and your callsign in the source field, the control field can be anything, and the CRC must match. | ||
+ | |||
+ | ===== as spoken by bpq ===== | ||
+ | This is KISS over TCP. |
packet/protocols.1713431462.txt.gz · Last modified: 2024/04/18 09:11 by 2e0itb