I was looking at the code spawning new SSH servers and at src/server/mod.rs:411 I noticed the following:
if config.maximum_packet_size > 65535 {
error!(
"Maximum packet size ({:?}) should not larger than a TCP packet (65535)",
config.maximum_packet_size
);
}
The maximum packet size is checked however nothing is done with it and the server is spawn anyway with the bogus value. Maybe an option would be to force config.maximum_packet_size value to 65535 is this situation.
Hi,
I was looking at the code spawning new SSH servers and at src/server/mod.rs:411 I noticed the following:
The maximum packet size is checked however nothing is done with it and the server is spawn anyway with the bogus value. Maybe an option would be to force
config.maximum_packet_size
value to65535
is this situation.