From 1adad1cf77dc8c77ecd86489e70ac9458e779dd5 Mon Sep 17 00:00:00 2001
From: bol-van <none@none.none>
Date: Sat, 5 Feb 2022 19:36:18 +0300
Subject: [PATCH] readme: raw_before_defrag notices for traditional linux

---
 docs/readme.eng.md | 8 +++++++-
 docs/readme.txt    | 4 ++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/docs/readme.eng.md b/docs/readme.eng.md
index 0a7f59c..4376797 100644
--- a/docs/readme.eng.md
+++ b/docs/readme.eng.md
@@ -427,7 +427,13 @@ and its dependency nf_defrag_ipv6 helps but this severely impacts functionality.
 Kernels 4.16+ exclude from defragmentation untracked packets.
 See `blockcheck.sh` code for example.
 Sometimes it's required to load `ip6table_raw` kernel module with parameter raw_before_defrag=1.
-In openwrt module parameters are specified after module names separated by space in files located in `/etc/modules.d`
+In openwrt module parameters are specified after module names separated by space in files located in `/etc/modules.d`.
+In traditional linux first check if the problem actually exists using tcpdump or wireshark.
+If it does check whether iptables-legacy or iptables-nft are used. If legacy create the file
+/etc/modprobe.d/ip6table_raw.conf with the following content :
+```
+options ip6table_raw raw_before_defrag=1
+```
 It must be done manually, `blockcheck.sh` cannot auto fix this for you.
 
 ## tpws
diff --git a/docs/readme.txt b/docs/readme.txt
index 16a4c79..5a03b26 100644
--- a/docs/readme.txt
+++ b/docs/readme.txt
@@ -464,6 +464,10 @@ ipv6 : Нет способа для приложения гарантирова
 Чтобы не загромождать описание, смотрите пример решения этой проблемы в blockcheck.sh.
 Иногда требуется подгружать модуль ip6table_raw с параметром raw_before_defrag=1.
 В openwrt параметры модулей указываются через пробел после их названий в файлах /etc/modules.d.
+В традиционных linux нужно сначала оценить есть ли вообще эта проблема через tcpdump или wireshark.
+Если есть, то посмотреть используется ли iptables-legacy или iptables-nft. Если legacy, то нужно создать файл
+/etc/modprobe.d/ip6table_raw.conf с содержимым :
+options ip6table_raw raw_before_defrag=1
 Это нужно сделать вручную, никакой автоматики в blockcheck.sh нет.
 
 tpws