├── .dockerignore ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── Dockerfile ├── LICENSE ├── README.cn.md ├── README.md ├── common ├── CMakeLists.txt ├── fnv.h ├── hash_32.c ├── hashqueue.c ├── hashqueue.h ├── hashqueue_test.c ├── list.h ├── rbuffer.c ├── rbuffer.h ├── rbuffer_test.c ├── sha256.c ├── sha256.h ├── test_helper.h ├── testdata │ ├── timerlist_testdata.txt │ └── treemap_testdata.txt ├── timerlist.c ├── timerlist.h ├── timerlist_test.c ├── treemap.c ├── treemap.h ├── treemap_test.c ├── windowed_filter.c └── windowed_filter.h ├── docker ├── README.md ├── docker-start.sh └── liteflow.conf.template ├── examples ├── liteflow.conf.client-example └── liteflow.conf.server-example ├── scripts ├── liteflow └── liteflow.sh ├── src ├── CMakeLists.txt ├── config.c ├── config.h ├── ctrl.c ├── ctrl.h ├── fec.c ├── fec.h ├── litedt.c ├── litedt.h ├── litedt_fwd.h ├── litedt_internal.h ├── litedt_messages.h ├── litedt_test.c ├── liteflow.c ├── liteflow.h ├── main.c ├── retrans.c ├── retrans.h ├── tcp.c ├── tcp.h ├── udp.c ├── udp.h ├── util.h └── version.h └── tools └── conf-compose ├── README.md ├── conf-compose.py ├── draw-graphviz.py ├── example-firewall-rules ├── clients.yaml ├── nodes.yaml ├── output │ ├── client.node3_firewall_inout_rules.yaml │ ├── client.node4_firewall_inout_rules.yaml │ ├── home_devices_firewall_out_rules.yaml │ ├── school_devices_firewall_out_rules.yaml │ ├── server.node1_firewall_inout_rules.yaml │ └── server.node2_firewall_inout_rules.yaml └── tunnels.yaml ├── example-regular ├── nodes.yaml ├── output │ ├── client.node3.conf │ ├── client.node4.conf │ ├── liteflow.dot │ ├── liteflow.png │ ├── liteflow.svg │ ├── server.node1.conf │ └── server.node2.conf └── tunnels.yaml ├── generate-firewall-rules.py ├── schema-clients.json ├── schema-nodes.json ├── schema-tunnels.json └── validate-yamls.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/LICENSE -------------------------------------------------------------------------------- /README.cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/README.cn.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/README.md -------------------------------------------------------------------------------- /common/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/CMakeLists.txt -------------------------------------------------------------------------------- /common/fnv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/fnv.h -------------------------------------------------------------------------------- /common/hash_32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/hash_32.c -------------------------------------------------------------------------------- /common/hashqueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/hashqueue.c -------------------------------------------------------------------------------- /common/hashqueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/hashqueue.h -------------------------------------------------------------------------------- /common/hashqueue_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/hashqueue_test.c -------------------------------------------------------------------------------- /common/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/list.h -------------------------------------------------------------------------------- /common/rbuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/rbuffer.c -------------------------------------------------------------------------------- /common/rbuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/rbuffer.h -------------------------------------------------------------------------------- /common/rbuffer_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/rbuffer_test.c -------------------------------------------------------------------------------- /common/sha256.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/sha256.c -------------------------------------------------------------------------------- /common/sha256.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/sha256.h -------------------------------------------------------------------------------- /common/test_helper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/test_helper.h -------------------------------------------------------------------------------- /common/testdata/timerlist_testdata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/testdata/timerlist_testdata.txt -------------------------------------------------------------------------------- /common/testdata/treemap_testdata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/testdata/treemap_testdata.txt -------------------------------------------------------------------------------- /common/timerlist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/timerlist.c -------------------------------------------------------------------------------- /common/timerlist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/timerlist.h -------------------------------------------------------------------------------- /common/timerlist_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/timerlist_test.c -------------------------------------------------------------------------------- /common/treemap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/treemap.c -------------------------------------------------------------------------------- /common/treemap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/treemap.h -------------------------------------------------------------------------------- /common/treemap_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/treemap_test.c -------------------------------------------------------------------------------- /common/windowed_filter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/windowed_filter.c -------------------------------------------------------------------------------- /common/windowed_filter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/common/windowed_filter.h -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/docker/README.md -------------------------------------------------------------------------------- /docker/docker-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/docker/docker-start.sh -------------------------------------------------------------------------------- /docker/liteflow.conf.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/docker/liteflow.conf.template -------------------------------------------------------------------------------- /examples/liteflow.conf.client-example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/examples/liteflow.conf.client-example -------------------------------------------------------------------------------- /examples/liteflow.conf.server-example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/examples/liteflow.conf.server-example -------------------------------------------------------------------------------- /scripts/liteflow: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/scripts/liteflow -------------------------------------------------------------------------------- /scripts/liteflow.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/scripts/liteflow.sh -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/config.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/config.c -------------------------------------------------------------------------------- /src/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/config.h -------------------------------------------------------------------------------- /src/ctrl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/ctrl.c -------------------------------------------------------------------------------- /src/ctrl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/ctrl.h -------------------------------------------------------------------------------- /src/fec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/fec.c -------------------------------------------------------------------------------- /src/fec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/fec.h -------------------------------------------------------------------------------- /src/litedt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/litedt.c -------------------------------------------------------------------------------- /src/litedt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/litedt.h -------------------------------------------------------------------------------- /src/litedt_fwd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/litedt_fwd.h -------------------------------------------------------------------------------- /src/litedt_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/litedt_internal.h -------------------------------------------------------------------------------- /src/litedt_messages.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/litedt_messages.h -------------------------------------------------------------------------------- /src/litedt_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/litedt_test.c -------------------------------------------------------------------------------- /src/liteflow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/liteflow.c -------------------------------------------------------------------------------- /src/liteflow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/liteflow.h -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/main.c -------------------------------------------------------------------------------- /src/retrans.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/retrans.c -------------------------------------------------------------------------------- /src/retrans.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/retrans.h -------------------------------------------------------------------------------- /src/tcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/tcp.c -------------------------------------------------------------------------------- /src/tcp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/tcp.h -------------------------------------------------------------------------------- /src/udp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/udp.c -------------------------------------------------------------------------------- /src/udp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/udp.h -------------------------------------------------------------------------------- /src/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/util.h -------------------------------------------------------------------------------- /src/version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/src/version.h -------------------------------------------------------------------------------- /tools/conf-compose/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/README.md -------------------------------------------------------------------------------- /tools/conf-compose/conf-compose.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/conf-compose.py -------------------------------------------------------------------------------- /tools/conf-compose/draw-graphviz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/draw-graphviz.py -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/clients.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/clients.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/nodes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/nodes.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/output/client.node3_firewall_inout_rules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/output/client.node3_firewall_inout_rules.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/output/client.node4_firewall_inout_rules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/output/client.node4_firewall_inout_rules.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/output/home_devices_firewall_out_rules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/output/home_devices_firewall_out_rules.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/output/school_devices_firewall_out_rules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/output/school_devices_firewall_out_rules.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/output/server.node1_firewall_inout_rules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/output/server.node1_firewall_inout_rules.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/output/server.node2_firewall_inout_rules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/output/server.node2_firewall_inout_rules.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-firewall-rules/tunnels.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-firewall-rules/tunnels.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/nodes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/nodes.yaml -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/output/client.node3.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/output/client.node3.conf -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/output/client.node4.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/output/client.node4.conf -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/output/liteflow.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/output/liteflow.dot -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/output/liteflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/output/liteflow.png -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/output/liteflow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/output/liteflow.svg -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/output/server.node1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/output/server.node1.conf -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/output/server.node2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/output/server.node2.conf -------------------------------------------------------------------------------- /tools/conf-compose/example-regular/tunnels.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/example-regular/tunnels.yaml -------------------------------------------------------------------------------- /tools/conf-compose/generate-firewall-rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/generate-firewall-rules.py -------------------------------------------------------------------------------- /tools/conf-compose/schema-clients.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/schema-clients.json -------------------------------------------------------------------------------- /tools/conf-compose/schema-nodes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/schema-nodes.json -------------------------------------------------------------------------------- /tools/conf-compose/schema-tunnels.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/schema-tunnels.json -------------------------------------------------------------------------------- /tools/conf-compose/validate-yamls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhc105/Liteflow/HEAD/tools/conf-compose/validate-yamls.py --------------------------------------------------------------------------------