The source can be downloaded from ftp.wanware.com/pub/linux/sgp.
See www.wanware.com for more details on the SGP card.
It has been tested on kernel 2.2.14 (RedHat 6.2) and 2.4.0 test7.
There is also an associated utilities package at the same website
which includes:
1. A trace program that decodes the headers of each frame sent and
received. This decoding includes LAPB, X.25 packet layer, IP, TCP,
ICMP, UDP, LCP, PAP, CHAP and IPCP header decoding into English text.
2. A configuration program that allows the selection of line speed (if
internally clocked), frame size and NRZ versus NRZI encoding from
the user level.
3. Two applications, gensock and sinksock, which establish an X.25
virtual circuit and then send/receive data as fast as possible along
with verifying the data integrity. They provide a good way to verify
a setup and measure overall performance through the network.
Below is a sample of the trace output for a SyncPPP line.
Steve
---------------------------------------------------------------
Steve Schefter phone: +1 705 725 9999
The Software Group Limited fax: +1 705 725 9666
642 Welham Road, email: st...@wanware.com
Barrie, Ontario CANADA L4N 9A1 Web: www.wanware.com
R<03> ( 489) HDLC Broadcast UI frame
PPP - IP packet
IP Header - Version: 4, Service Type: 0
Header Length: 20, Total Length: 485
Protocol: TCP, Checksum: xb5ed
TTL: 255, ID: x0021, Offset: 0
Source Address: 1.1.1.1
Destination Address: 1.1.1.2
IP Data:
TCP Header: Seq# x24AC2B7B, Ack# xB4DFF483
Source Port: 23, Destination Port: 1026
Window: x0826, Checksum: x3B5D, Urgent x0000
Flags: ACK PUSH
Message:
22 73 68 6F 77 20 3F 22 20 66 6F 72 20 6C "show ?" for l
69 73 74 0D 0A 73 6C 69 70 20 3C 61 64 64 ist..slip <add
72 3E 20 20 20 20 20 45 r> E
T<04> ( 44) HDLC Broadcast UI frame
PPP - IP packet
IP Header - Version: 4, Service Type: 0
Header Length: 20, Total Length: 40
Protocol: TCP, Checksum: x15f8
TTL: 64, ID: x20d4, Offset: 0 Don't Frag
Source Address: 1.1.1.2
Destination Address: 1.1.1.1
IP Data:
TCP Header: Seq# xB4DFF483, Ack# x24AC2D38
Source Port: 1026, Destination Port: 23
Window: x7D78, Checksum: x2EF7, Urgent x0000
Flags: ACK
T<05> ( 12) HDLC Broadcast UI frame
PPP - LCP packet
Echo-Req #14
Magic-Number: 00 03 bc e6
R<06> ( 12) HDLC Broadcast UI frame
PPP - LCP packet
Echo-Reply #14
Magic-Number: 24 ab c5 e0