MaimMim Man in the middle minetest interceptor

- prototype
- between client and server, allow to capture all exchanges and potentially change them
- created to capture server maps in laby
- first test get only MapBlock, support version serialization version 28
  - prepartion for 29 with zstd but untested.
This commit is contained in:
philippe lhardy
2022-04-23 11:54:25 +02:00
parent 1e03ae561c
commit 6d7c03d468
29 changed files with 1141 additions and 12 deletions

View File

@@ -14,6 +14,18 @@ fetch_jackson_databind()
fi
}
fetch_zstd-jni()
{
echo "compiled from https://github.com/luben/zstd-jni commit 54d3d50c16d96bd8a30e2d4c0a9648001a52d6f9"
# had to hack through jar generation ...
# cp ~/artisanlogiciel/ext_projects/java/zstd-jni/target/zstd-jni-1.5.2-2.jar .
libversion_zstdjni=1.5.2-2
pushd libs
wget https://repo1.maven.org/maven2/com/github/luben/zstd-jni/${libversion_zstdjni}/zstd-jni-${libversion_zstdjni}.jar
popd
}
if [[ ! -d ../sharedrawweb ]]
then
echo "[ERROR] expected a sharedrawweb project parent ( for exports )" >&2
@@ -35,3 +47,5 @@ if [[ -n $use_jackson ]]
then
fetch_jackson_databind
fi
fetch_zstd-jni