Commit Graph

488 Commits

Author SHA1 Message Date
Domingo Dirutigliano
c726855b1c Merge pull request #29 from Pwnzer0tt1/unix_sock_bind
additional fixes to socket binding
2025-10-01 15:40:02 +02:00
Domingo Dirutigliano
bb4addf590 Merge pull request #28 from Minei3oat/socket
Allow binding to UNIX domain sockets
2025-10-01 15:39:40 +02:00
Domingo Dirutigliano
f554ac558a additional fixes to socket binding 2025-10-01 15:37:20 +02:00
Minei3oat
88f4f54b55 Allow binding to UNIX domain socket
UNIX domain sockets are the recommended configuration for proxying with Nginx:
https://uvicorn.dev/deployment/#running-behind-nginx
2025-10-01 01:49:28 +02:00
Domingo Dirutigliano
0492f16cea using empty string instead of None to bind dualstack server 2025-09-29 16:39:27 +02:00
Domingo Dirutigliano
2362eb8045 password hashing customized and also set already hashed by run.py 2025-09-29 14:33:12 +02:00
Domingo Dirutigliano
aeb97062e2 bind firegex also on ipv6 by default 2025-09-29 13:15:09 +02:00
Domingo Dirutigliano
402be8c021 new crypto system for passwords, removed bcrypt 2025-09-29 12:53:05 +02:00
Domingo Dirutigliano
2798cd4f2a Merge pull request #25 from Minei3oat/bcrypt
Restrict bcrypt version to <5
2025-09-29 00:03:27 +02:00
Domingo Dirutigliano
5343735129 Merge pull request #27 from Minei3oat/image-size
Reduce docker image size by 35%
2025-09-28 23:48:57 +02:00
Minei3oat
2f96739908 Use COPY instead of ADD
> Use ADD only when you need the additional capabilities it offers, but be mindful of potential security implications.
https://www.docker.com/blog/docker-best-practices-understanding-the-differences-between-add-and-copy-instructions-in-dockerfiles/
2025-09-28 22:28:46 +02:00
Minei3oat
ebe62acd8d Cleanup duplicate installs 2025-09-28 22:25:26 +02:00
Minei3oat
8002680642 Reduce docker image size by 35%
Since docker caches each instruction as a layer, we have to clean cached packages at the end of each step for minimal image size.
2025-09-28 22:24:46 +02:00
Domingo Dirutigliano
bda022d15f Merge pull request #26 from Minei3oat/metrics-content-type
Add Content-Type=text/plain for metrics endpoint
2025-09-28 21:19:45 +02:00
Minei3oat
907c85d85d Add Content-Type=plain/text for metrics endpoint
Without the content type, prometheus will reject the metrics if no `fallback_scrape_protocol` is specified.

https://prometheus.io/docs/prometheus/3.0/migration/#scrape-protocols
https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format
2025-09-28 21:09:25 +02:00
Minei3oat
709de42ef2 Restrict bcrypt version to <5
Starting with version 5.0.0, bcrypt will throw a ValueError if the input is more than 72 bytes.
passlib's `hash` processes the input such that more than 72 bytes are passed to bcrypt, independently of the input length.
As a result, the backend of firegex breaks when calculating the hash in `set_psw`.
2025-09-28 20:43:46 +02:00
Domingo Dirutigliano
702e42a98e fix on workflow 2025-09-15 10:36:28 +02:00
Domingo Dirutigliano
92332e2ee0 frontend updates 2025-09-15 10:33:11 +02:00
Domingo Dirutigliano
bfda2c9267 updated docs 2025-09-15 10:22:47 +02:00
Domingo Dirutigliano
89b234e670 Pointed to a specific brotli version on google repo due to a tmp rollback 2025-09-15 10:19:31 +02:00
Domingo Dirutigliano
8d78c5df6a using brotli version from google (merged from domysh/brotli) 2025-09-04 17:29:39 +02:00
Domingo Dirutigliano
760529e37a firegex custom host and better port config managment 2025-08-17 16:23:49 +02:00
Domingo Dirutigliano
81f5ea817a clean README 2025-08-04 13:29:58 +02:00
Domingo Dirutigliano
23e6d2a90c lazy umount 2025-08-04 13:27:11 +02:00
Domingo Dirutigliano
430c18f7ec fixes on start.py, more clear README about standalone running, removing sha from artefacts 2025-08-04 13:23:10 +02:00
Domingo Dirutigliano
8e2c9f0375 other manifest fixing 2025-08-04 12:25:34 +02:00
Domingo Dirutigliano
ead5f1589a fixing workflows to lowercase repo name 2025-08-04 12:12:29 +02:00
Domingo Dirutigliano
b8f71af77c fixing workflows 2025-08-04 12:03:33 +02:00
Domingo Dirutigliano
50d9d21c3e test also for arm64 2025-08-04 11:54:35 +02:00
Domingo Dirutigliano
7e28fdab8d workflow matrix 2025-08-04 11:51:06 +02:00
Domingo Dirutigliano
d868e046de refactoring workflows 2025-08-04 11:02:42 +02:00
Domingo Dirutigliano
f83928eae4 taking fedora from quay 2025-08-04 09:57:24 +02:00
Domingo Dirutigliano
cffd29771f fgex alias 2025-08-04 08:37:06 +02:00
Domingo Dirutigliano
63a576658e Update README.md 2025-08-04 08:33:46 +02:00
Domingo Dirutigliano
6562c13ad9 Merge pull request #23 from Pwnzer0tt1/standalone-start
Standalone Firegex start mode
2025-08-04 08:33:31 +02:00
Domingo Dirutigliano
14d5822193 gh action to upload rootfs on gh release + downloading rootfs from there 2025-08-04 08:33:15 +02:00
Domingo Dirutigliano
d026c058e6 standalone start implementation on start.py 2025-08-04 08:19:49 +02:00
Domingo Dirutigliano
9a17d2dc58 starting dev of standalone start 2025-08-03 19:52:14 +02:00
Domingo Dirutigliano
cf43a651a7 removed useless frontend dependences 2025-07-28 19:24:44 +02:00
Domingo Dirutigliano
78166cdae3 removing -dom from react-router 2025-07-28 19:00:12 +02:00
Domingo Dirutigliano
97b3d97753 using zustand for localStorage data, fixed socketio on login 2025-07-28 16:01:41 +02:00
Domingo Dirutigliano
699060ae0a Merge branch 'main' of github.com:Pwnzer0tt1/firegex 2025-07-28 15:45:45 +02:00
Domingo Dirutigliano
b49c42f06f fixed: packet size of mnl including packet size it-self (was causing crash sometime) and frontend updates 2025-07-28 15:45:22 +02:00
Domingo Dirutigliano
fc1e249351 Update README.md 2025-07-14 16:37:23 +02:00
Domingo Dirutigliano
d557b87cb5 Update README.md 2025-07-14 16:32:06 +02:00
Domingo Dirutigliano
b924991afd fix websocket connection 2025-07-06 17:42:59 +02:00
Domingo Dirutigliano
6853960b6d feature: HttpFullRequest and HttpFullResponse implementation 2025-06-22 17:42:21 +02:00
Domingo Dirutigliano
4a9fd48826 minor optimization 2025-06-21 15:40:52 +02:00
Domingo Dirutigliano
4d46fa7d8e optimization on Dockefile to have a smaller image 2025-06-21 15:23:44 +02:00
Domingo Dirutigliano
53546062d1 added Throughput 2025-06-16 22:50:57 +02:00