Community discussions

MikroTik App
 
Chiara
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Thu Jul 23, 2015 3:47 pm

Prevent TCP Out-Of-Order ?

Tue Jan 17, 2023 4:14 pm

Dear Sirs,

got a canon printer that can send max 4 scan to email then it start to trow this until reboot:

TCP 66 [TCP Out-Of-Order] [TCP Port numbers reused] 65132 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1 80
TCP 60 [TCP Dup ACK 338#1] 80 → 58692 [ACK] Seq=1 Ack=654 Win=10867 Len=0 58692

I'm a little confused about it, but old printer of same vendor got same behavior.
Main problem is that only scan to email result in error, other way to scan i.e. from computer would not fail.
I've checked with provider, the remote connection is correctly started, then start to send data and then unexpectly end to send the file.

The printer is diretclty connected to port 6 as DHCP Client of a RouterOS 7.7 # software id = REBC-YUB1 # model = CCR1009-7G-1C-1S+.

Can you help me if this is a RouterOS config problem?

Thanks, BR
 
ChristianMorris
just joined
Posts: 10
Joined: Sun Dec 04, 2022 5:08 pm

Re: Prevent TCP Out-Of-Order ?

Fri Jan 27, 2023 10:40 am

Hi,
I think that the issue you are experiencing is related to TCP Out-Of-Order packets, which can occur when packets are delivered to the recipient out of the order in which they were sent. This can happen for a variety of reasons, including network congestion, routing issues, or problems with the sender's or receiver's TCP stack.

Based on the information provided, it seems that the issue is related to the printer's ability to handle multiple scans sent to email simultaneously. This suggests that the issue may be with the printer itself or with its configuration.

It's possible that the RouterOS configuration is causing the issue, but without more information about the network setup and the specific configuration of the RouterOS, it's difficult to say for sure.

You could try to check the RouterOS logs, firewall rules and the DHCP settings to see if there is any unusual behavior. Additionally, you might try to update the firmware of the printer, or to contact the printer's vendor for support.

You could also try to limit the number of scans that can be sent to email simultaneously, to see if that resolves the issue.

Also, you could check the TCP Window Scaling and SACK option on RouterOS, and the MTU size.
 
Chiara
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Thu Jul 23, 2015 3:47 pm

Re: Prevent TCP Out-Of-Order ?

Mon Jan 30, 2023 4:06 pm

Thanks for your reply, I'm trying to understand where the issue is created, the printer fail to send even a single page (but after a few single page scan with success),

The routeros setup is this:
interfaces
# NAME TYPE ACTUAL-MTU L2MTU MAX-L2MTU MAC-ADDRESS
5 RS 6PRINTER ether 1500 1580 10222 6C:3B:6B:E0:84:2F
1 R 2WANFIBRA ether 1500 1580 10222 6C:3B:6B:E0:84:2B

dhcp-server
# ADDRESS MAC-ADDRESS HOST-NAME SERVER
51 10.7.218.26 5C:62:5A:21:F2:41 Canon21f241 ros_DHCP

route
# DST-ADDRESS GATEWAY DISTANCE
;;; main
1 As 0.0.0.0/0 192.168.1.1 1

Who is online

Users browsing this forum: andrep, gogle and 51 guests