Commit graph

21 commits

Author SHA1 Message Date
dac7920927
Refactoring + working compiler for ip6? (s|d)addr 2022-09-06 19:35:50 +02:00
d6e5e32b79
Add ipv4 and ipv6 functions to Expr 2022-09-06 19:35:03 +02:00
46bb83da92
Replace 'assert false' with 'failwith' 2022-09-06 17:35:14 +02:00
e14386880d
Add a .ocamlformat file 2022-09-06 17:25:54 +02:00
6739c4b4a8
WIP: add a compile.ml file 2022-09-06 17:25:19 +02:00
82ae6dbc33
Loosen JSON list parsing 2022-09-06 17:19:45 +02:00
482bc9ecb6
Add infix operators 2022-09-06 17:19:22 +02:00
3504737de8
Fix typo: saddr → daddr 2022-09-06 17:18:51 +02:00
41462c0d6d
Create modules in config.ml 2022-09-06 15:49:31 +02:00
aaba2f32ae
Create modules in nftables.ml 2022-09-06 13:55:53 +02:00
6e26862f40
Replace record type with tuple for Match 2022-08-30 02:46:01 +02:00
570c40b434
Add an implementation for zone_of_json 2022-08-30 01:58:52 +02:00
429379ccf3
Fix zone type in config.ml 2022-08-29 22:51:47 +02:00
e8b7c08b27
Simplify nftables.ml types 2022-08-29 22:51:14 +02:00
9d300de0f3
Format utils.ml 2022-08-29 22:50:52 +02:00
2a837d831d
Format config.ml 2022-08-29 21:14:06 +02:00
397eebb638
Format nftables.ml + simplify Ipv6 2022-08-29 21:13:13 +02:00
2bee462997
Add a zones compiler 2022-08-29 12:19:45 +02:00
463513c4c8
Add support for JSON config files parsing 2022-08-29 12:19:14 +02:00
c1450c704c
Add support for IP prefixes 2022-08-29 08:37:33 +02:00
848a4269c4
Initial commit 2022-08-29 07:35:35 +02:00