Commit Graph

55 Commits

Author SHA1 Message Date
Vaxry
1c8625ffa4 docs: add nginx info
ref #18
2025-04-20 16:37:47 +01:00
Vaxry
06007e2a36 README: update git status 2025-04-17 15:10:23 +01:00
Vaxry
01998444c0 config: move async_proxy out of experimental and enable
tested for hours on my git forge, lgtm
2025-04-15 23:33:03 +01:00
L95Kdg8bw9U74mUBK9XqBjWlUrS9ksUN
3bfbe3598b html: Add conditionals for a no javascript environment (#15)
---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2025-04-15 18:05:08 +02:00
Vaxry
5893be77c3 proxy: add experimental async mode 2025-04-15 16:55:58 +01:00
Vaxry
5d7f0bb322 proxy: drop text/event-stream requests
otherwise the proxy will die on a hang
2025-04-15 16:19:55 +01:00
Vaxry
f4b9bb1294 proxy: minor content encoding fixes 2025-04-15 15:38:15 +01:00
Vaxry
7fa7d5f7c0 handler: make a single client instance 2025-04-15 15:26:08 +01:00
Vaxry
9460795c92 handler: remove old commit 2025-04-15 15:22:27 +01:00
Vaxry
11e00b9c1c config: fix case-sensitive actions 2025-04-15 15:03:11 +01:00
Vaxry
55d136c760 repo: use system re2 2025-04-15 14:59:29 +01:00
Vaxry
c43f6bd919 cmakelists: fix include dirs 2025-04-15 14:56:57 +01:00
Vaxry
871284672c rules: add exclude actions 2025-04-15 14:55:12 +01:00
Vaxry
50fbc7f5ac rules: add support for resource excludes 2025-04-15 14:49:29 +01:00
Vaxry
15689ca20a handler: gather real ip for rules, check X-Real-IP 2025-04-15 14:38:12 +01:00
Vaxry
a0577efed7 proxy: use cookies() for cookie transfer
ref #14
2025-04-15 13:25:38 +01:00
Vaxry
321d1eb326 core: add IP-range based rules for permissions and fifficulty 2025-04-15 01:49:56 +01:00
Vaxry
1bdc60b8d2 fs: dedup functions, fix absolute paths in cfg
fixes #2

closes #12
2025-04-14 21:03:10 +01:00
Vaxry
ab01c2c469 pistache: bump dep 2025-04-14 15:59:07 +01:00
Vaxry
7e1a99a691 challenge: make challenges expire after 10 minutes
fixes #10
2025-04-14 13:26:32 +01:00
Vaxry
4f019a97c0 proxy: don't pass content-length header
fixes #7
2025-04-14 01:44:44 +01:00
L95Kdg8bw9U74mUBK9XqBjWlUrS9ksUN
dd87fda183 html: Eliminate strings in Javascript (#5)
eliminate strings in hasher for 15kh/s speed improvement

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2025-04-14 01:20:02 +02:00
Vaxry
067c993317 token: set topmost domain as owner of cookie
ref #4
2025-04-14 00:16:56 +01:00
Vaxry
2c757c449a handler: restore static page html 2025-04-14 00:10:26 +01:00
Vaxry
e7a35794cd proxy: pass query parameters
fixes #3
2025-04-13 23:39:15 +01:00
Vaxry
305fb11b46 token: add a Domain to the cookie
fixes #4
2025-04-13 23:37:22 +01:00
Vaxry
4e307c314b handler: bring back the host header
also bump pistache to add a fix for host 400, fixes #1
2025-04-13 21:59:13 +01:00
Vaxry
f8c234141f token: fix missing include 2025-04-13 21:25:36 +01:00
Vaxry
c3975b27f1 core: move away from db towards hash-based auth 2025-04-13 21:19:05 +01:00
Vaxry
5f20698aa6 handler: localize client to avoid queue stalls 2025-04-13 19:12:17 +01:00
Vaxry
0075123ba9 proxy: forward set cookies 2025-04-13 18:14:43 +01:00
Vaxry
1c5758c466 token: use an http header for the token 2025-04-13 17:58:38 +01:00
Vaxry
4986f525f6 db: create data dir if it's not present 2025-04-13 17:07:19 +01:00
Vaxry
43f7dc4668 main: remove old comment 2025-04-13 16:57:05 +01:00
Vaxry
5cda24165f html: add href to checkpoint's git 2025-04-13 16:55:15 +01:00
Vaxry
b5ee8880ff html: add noto sans subset 2025-04-13 16:54:19 +01:00
Vaxry
5a0d332466 core: use fingerprints instead of ips for db 2025-04-13 16:47:00 +01:00
Vaxry
9b3fd6efac core: fix git support 2025-04-13 15:28:37 +01:00
Vaxry
6e47605085 proxy: drop Cache-Control incoming
Fixes chromium.
2025-04-13 01:48:58 +01:00
Vaxry
1982dcd0ed readme: add minimal part 2025-04-13 01:16:33 +01:00
Vaxry
36844424b3 proxy: propagate response code 2025-04-13 00:18:56 +01:00
Vaxry
1571a21a13 html: use a serif font 2025-04-13 00:10:03 +01:00
Vaxry
2e48d32a4d handler: make client persistent 2025-04-12 23:50:45 +01:00
Vaxry
7e348baf8c config: add proxy_timeout_sec 2025-04-12 23:13:11 +01:00
Vaxry
7bfb4cdb84 subprojects: fix pistache 2025-04-12 23:09:19 +01:00
Vaxry
5b35b675cb core: Implement basic git integration
Missing streaming, so git's a bit confused, but works.

Also easy to bypass. Although I doubt any mf at alibaba gon bypass it
with his custom UA.
2025-04-12 23:04:24 +01:00
Vaxry
090a9fc35f README: update with info 2025-04-12 20:53:39 +01:00
Vaxry
4baca17449 db: fix invalid sql query 2025-04-12 20:35:02 +01:00
Vaxry
0317dda47c repo: remove config 2025-04-12 20:22:57 +01:00
Vaxry
3f13ba1b08 db: fix build 2025-04-12 20:21:17 +01:00