Answer the question
In order to leave comments, you need to log in
Why are the packets from the knock client arriving in random order?
I use knock under Windows and under Linux, I
run
knock -v myip 6000 7000 8000 9000
as standard I watch with a sniffer or tcpdump packets are sent in the right order
Answers come already
randomly , in the right order can come once out of 10 or 20 attempts.
That is, I send
knock -v myip 6000 7000 8000 9000
And the sequence 8000 9000 7000 6000 comes.
It seems that some order of packets is turned off in the kernel to increase acceleration
. The server with knockd is spinning on ubuntu 14.04 checked on two different servers in different data centers.
Testing clients from different points from Windows and from Linux.
I didn't tune the network stack in sysctl, I just turned off ipv6, but it didn't seem to have any effect.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question