Skip to content
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

Fix ip header id field sequence in generated packets #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pavel4e5
Copy link

Если задана последовательность фейковых пакетов, то в текущем виде все они имеют одинаковое поле Identification в заголовке IP пакета, это сказывается на проходимости DPI такими пакетами. Например для доступа к *.googlevideo.com (Ростелеком) у меня достаточно в Zapret задать: winws.exe --wf-tcp=443 --dpi-desync=fake --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00 --dpi-desync-repeats=20 .
В GoodbyeDPI, в текущей версии программы, аналогичная последовательность не работает - goodbyedpi.exe --wrong-seq --fake-from-hex 00 --fake-resend 20 из за того, что вышеуказанное поле всегда имеет одно и то же значение.
Предлагаемый PR исправляет этот момент, и значение в этом поле увеличивается на единицу с каждым сгенерированным пакетом.

If a sequence of fake packets is given, in its current form they all have the same Identification field in the IP packet header, which affects the ability of such packets to pass through DPI. For example, to access *.googlevideo.com (Rostelecom), it is enough for me to set in Zapret: winws.exe --wf-tcp=443 --dpi-desync=fake --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00 --dpi-desync-repeats=20.
In GoodbyeDPI, a similar sequence in the current version of the program does not work: goodbyedpi.exe --wrong-seq --fake-from-hex 00 --fake-resend 20 because the aforementioned field always has the same value.
The proposed PR fixes this issue by incrementing value in this field by one, with each generated packet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant