Commit graph

396 commits

Author SHA1 Message Date
7b0474e4eb Add Basic Config Validation 2023-03-06 17:13:17 +01:00
a04127c0e6 remove unnessesary error log 2023-03-06 13:32:21 +01:00
f935fac523 Add GetServices API Method 2023-03-06 00:02:38 +01:00
6736141681 Add GetAddresses API Method 2023-03-06 00:02:25 +01:00
74307566ff update template from netfilter to firewall 2023-03-05 23:59:39 +01:00
126213e829 rename netfilter to firewall 2023-03-05 23:56:18 +01:00
b7d11cc0a1 move Addresses, Services into Firewall 2023-03-05 23:56:01 +01:00
db871f328a Add simple sessions 2023-03-05 23:19:03 +01:00
5f5ff34337 Add Firewall Get Rule API Methods 2023-03-05 21:44:42 +01:00
3d943ea77d remove bad write header call 2023-03-05 21:27:56 +01:00
a9985b27f7 Rename netfilter to firewall 2023-03-05 21:24:02 +01:00
be852d0655 Manage API Method Registration from main 2023-03-05 21:11:37 +01:00
c3d5e3edc1 rename api to cmd 2023-03-05 21:01:42 +01:00
4b246f6c51 hookup websocket to api handler 2023-03-05 20:53:16 +01:00
1675882b84 improve http api request handling 2023-03-05 20:52:45 +01:00
bc8ba876e1 catch panic, improve error log 2023-03-05 20:52:24 +01:00
5e43a48766 check for jsonrpc version 2023-03-05 20:51:43 +01:00
7cf945d4ab remove request test meta field 2023-03-05 20:18:08 +01:00
a86624caa0 move ws api to /ws/api, rename Handler 2023-03-05 18:59:57 +01:00
503464dbf1 Implement basic JsonRPC Handler 2023-03-05 18:57:43 +01:00
e36af35aad DissallowUnkownFields in config 2023-03-03 15:56:59 +01:00
471470a253 actually generate address matcher 2023-03-03 11:28:56 +01:00
d70a888b56 Add Custom IPNet Json Marshaling 2023-03-03 11:28:38 +01:00
d604ba1074 Add Exit Status 2023-03-03 10:38:11 +01:00
a3746e6082 Setup Websocket and Routing 2023-03-02 23:25:17 +01:00
0232a5c4f4 add -apply flag, add webserver 2023-03-02 23:00:22 +01:00
cb5554dcfe update module import url 2023-03-02 21:52:32 +01:00
00b5286c42 Add Address Matching 2023-03-02 21:34:39 +01:00
4479627a00 fix matcher generation 2023-03-02 00:40:36 +01:00
06a0d20404 fix Template Scope 2023-03-02 00:40:07 +01:00
82f90aabb8 Implement Service Based nftables Match Generator 2023-03-02 00:10:38 +01:00
b70a2688b5 add service utilities 2023-03-02 00:08:07 +01:00
db54f8aa8c Remove TCPUDP Service, Add Service Group 2023-03-02 00:06:55 +01:00
2afe7341c1 Add Service Port Helpers 2023-03-02 00:05:58 +01:00
16a9fec479 Rename Address Group Constant 2023-03-02 00:04:43 +01:00
b09875fd85 rework rules 2023-03-01 18:20:47 +01:00
02da0168f3 remove bad jump in template 2023-03-01 18:20:25 +01:00
1d723168a3 Make config version uint64 2023-03-01 18:18:51 +01:00
4e1e868054 add Addresses and Service to Config 2023-03-01 18:18:27 +01:00
02c12cf90e add initial service definition 2023-03-01 18:17:52 +01:00
9fe13b3589 add initial address definition 2023-03-01 18:17:42 +01:00
327062958b add go4.org/netipx dep 2023-03-01 18:17:21 +01:00
db54e40d83 add staticcheck.conf 2023-03-01 11:11:52 +01:00
b4a7294029 Create LICENSE.md 2023-03-01 11:10:47 +01:00
b279746017 initial nftables config generation test 2023-03-01 11:10:33 +01:00
ba99844ae4 first commit 2023-03-01 11:10:23 +01:00