Replies: 4 comments 2 replies
-
About Lines 144 to 154 in 31ca1b3 Is there a potential issue is that this function might not handle certain edge cases correctly? Specifically, when If we change this condition to |
Beta Was this translation helpful? Give feedback.
-
Here some ACK packet will discarded. Lines 86 to 92 in a8afef8 We can watch it with this if tcp.inner().syn {
return Ok(stream);
}
if !tcp.inner().rst {
_ = pkt_sender.send(stream.create_rev_packet(RST | ACK, TTL, None, Vec::new())?);
}
if tcp.inner().ack {
log::info!("Invalid TCP packet with ACK flag");
}
Err(IpStackError::InvalidTcpPacket) |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Here is my reading code results, Please review it. #41 |
Beta Was this translation helpful? Give feedback.
-
The
contains
functionipstack/src/stream/tcb.rs
Lines 221 to 223 in 31ca1b3
can change to this?
Beta Was this translation helpful? Give feedback.
All reactions