2
0
Commit Graph

48 Commits

Author SHA1 Message Date
c4a75dd7a7 support custom location for database persistent statefile (defaults to "capport.state" in cwd) 2023-08-08 13:35:43 +02:00
4f08ff796b ipneigh: handle missing mac from neighbor entry 2023-08-02 12:03:30 +02:00
77bb2b7ceb templates: add ip_in_networks test 2023-08-02 11:23:20 +02:00
a832d0ad48 permit running in light-ns 2023-07-09 22:36:27 +02:00
7b85a0d388 fix help comment IPv4->IPv6 2023-07-09 22:25:09 +02:00
7f00c93001 fix worker class detection 2023-07-06 00:20:27 +02:00
9c545d1ace fix documentation to match new TCP port of webui 2023-07-06 00:02:01 +02:00
ec467234ec move webui to 5001 to avoid overlap with kea 2023-07-05 23:59:51 +02:00
a5984f0965 permit overriding config filename/path as argument 2023-07-05 11:21:31 +02:00
1acb693e2b nft_socket.NFTTransaction: use pyroute2 nlm_request_batch instead of hack. fixes leak of sequence ids. 2023-03-22 13:50:34 +01:00
3d74447fd9 can't abort transaction if creation failed 2023-03-22 10:49:02 +01:00
a89e884b75 add contrib 2023-01-13 14:05:47 +01:00
5e1e67f2c4 move project to our public git 2023-01-12 15:27:26 +01:00
867044a407 hypercorn forks workers now, don't want that - manual hypercorn calls 2023-01-12 15:13:27 +01:00
26357f7f21 pyroute2 fixed NFTA_SET_ELEM_LIST_TABLE
f3cb21f79d
2023-01-12 14:28:19 +01:00
d31abea777 upgrade dependencies too on ./setup-env.sh run 2023-01-12 14:20:58 +01:00
3a45b2be4d upgrade requirements on ./setup-env.sh run 2023-01-12 14:18:53 +01:00
9325950f51 flake8 linting 2023-01-12 13:16:58 +01:00
f9c9b98868 update pyroute2 handling (pr2modules is gone) 2023-01-12 12:17:49 +01:00
65116375b3 update compiled protobuf 2023-01-12 11:52:08 +01:00
b9b0e422fd fix typing in ipneigh 2022-04-12 12:13:29 +02:00
5cecfb4bbe support systemd notify and watchdog 2022-04-12 12:13:19 +02:00
416b0c1770 don't bind iproute netlink socket 2022-04-12 10:27:44 +02:00
f1b36bd171 prometheus stats cli tool 2022-04-11 18:34:40 +02:00
c753f490ac move reverse proxy "fix" to before request context gets created so url_for gets fixed too 2022-04-11 16:48:53 +02:00
30e50a599f extend README with a few internals 2022-04-11 12:25:11 +02:00
aa23f6b24f fix Origin https scheme check 2022-04-11 10:31:51 +02:00
123e94111d improve Origin handling; forbind non-https origins in production 2022-04-11 10:29:17 +02:00
3059a81d56 patch pyroute2 set_elem list elem attr type 2022-04-11 09:17:23 +02:00
2a778ff46c login/logout only valid from some origin as host (and host is already checked by hypercorn) 2022-04-08 17:39:58 +02:00
156e11a882 add time helpers to MacPublicState for views 2022-04-08 16:38:10 +02:00
daf21d0afd find custom static folder 2022-04-08 11:49:40 +02:00
dd9c21b431 increase cleanup time to 5 minutes 2022-04-07 17:26:37 +02:00
896cd93224 disable buffering for incremental statefile updates 2022-04-07 17:24:52 +02:00
1896f33c77 fix statefile load, increasing cleanup time 2022-04-07 17:18:09 +02:00
e1b1ec195f sync controller database to disk and load it on start 2022-04-07 17:11:11 +02:00
1e23b1205a remove debug line in index view 2022-04-07 15:12:25 +02:00
2e6b368670 login/logout: check client mac from form as csrf protection, check accept in login 2022-04-07 15:11:24 +02:00
237640f0d7 fix resetting session lang if unset 2022-04-07 14:59:14 +02:00
8de390b6f9 use debug loglevel for login/logout messages 2022-04-07 14:54:21 +02:00
f8a3676555 only set session (cookie) lang on changes 2022-04-07 13:56:02 +02:00
7420b4107e fix i18n 2022-04-07 13:53:45 +02:00
71e7fe7b09 support i18n 2022-04-07 13:26:52 +02:00
99db542326 remove flash messages 2022-04-07 12:12:28 +02:00
7e15835ebd split templates, add static files (bootstrap 5.1.3) 2022-04-06 20:35:42 +02:00
4d98d825bf split api, support custom templates 2022-04-06 19:47:08 +02:00
4ef792e97d support hypercorn server_names against dns rebind attacks, add cookie sessions to flash messages 2022-04-06 19:05:31 +02:00
d1050d2ee4 initial commit 2022-04-05 12:05:18 +02:00