-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FX.25[0]: Frame length of N + overhead is too large to encode. #380
Comments
That is an inherent limitation of FX.25 as originally specified. |
It's also worth noting that the maximum PACLEN size (aka MTU) in AX.25 v2.0 is 256 OCTETS or 256 bytes - Section 2.4.7.3 in https://erikarn.github.io/ax25/AX25V20.pdf . AX.25 v2.2, not very clear on the maximum per section 6.7.2.1 - https://www.tapr.org/pdf/AX25.2.2.pdf but if you're using Linux as your base OS, you're going to be using the in-kernel AX.25 stack which is AX.25 v2.1 only and you won't be able to leverage Direwolf's Ax.25 v2.2 stack. Finally, if you are going to consider running IP over AX.25, you will need to lower the IP interface's MTU to be even lower than 256 bytes to handle the IP header overhead and then also consider other overhead say the ICMP header, TCP headers, etc - https://www.tamos.net/~rhay/overhead/ip-packet-overhead.htm |
AX.25 v2.2 (1998) doesn't have a specific maximum size. The XID frames can be used to negotiate a size depending on capabilities of each end. Dire Wolf has a max of 2k. At the time I thought that would be a good limit because it could easily hold an Ethernet frame. |
Found this in log.
For reproduce you can send ping with large payload (i.e. 300 bytes):
ping -i 1 -s 300 $IP
I've tried:
PACLEN n
and/etc/ax25/axports paclen
. But it was not helps.How it can be fixed and use FX.25 for any packets?
The text was updated successfully, but these errors were encountered: