Commit Graph

71 Commits

Author SHA1 Message Date
Domingo Dirutigliano
4476da02bd
QUIC support and bug fixes 2026-09-18 09:34:44 +02:00
Domingo Dirutigliano
e491a14899
improved addr/int selection UI + change llhttp managment 2026-09-13 15:54:56 +02:00
Domingo Dirutigliano
9832e449c6
Initial commit for future 5.0.0 version: new UI, proxies and managment 2026-09-10 08:51:08 +02:00
Domingo Dirutigliano
ba2703d4bf
Stop a non-string filter code from crashing the nfproxy page
`genericapi` ran every response body through `JSON.parse`, falling back to
the raw text only when that threw. The nfproxy filter source is served as a
PlainTextResponse, so a filter file that happens to be valid JSON came back
as a number/array/object. Mantine's CodeHighlight then calls `code.trim()`
on it, which throws and takes the whole page down with it. `42`, `"abc"`,
`[1,2]` and `{"a":1}` are all both valid JSON and valid Python, so they
pass the upload validation and leave the service page unreachable.

Responses declaring text/plain are no longer parsed, and the render site
type-checks the code before handing it to CodeHighlight.
2026-09-03 18:42:28 +02:00
Domingo Dirutigliano
090d117115
Keep a dragged firewall rule at its measured width
The Card carried Mantine's `w="100%"` prop, whose style props land in the
style attribute after anything passed via `style`, so it overrode the pixel
width dnd measures at lift time. On a `position: fixed` element `100%`
resolves against the viewport rather than the list, so grabbing a rule
snapped the card from 734px to 798px and pushed it past the right edge.

Moving the width into `style`, ahead of the dnd spread, leaves normal flow
untouched and lets the measured width win while dragging.
2026-09-03 18:42:16 +02:00
Domingo Dirutigliano
72b3386d3e
Fix drag-and-drop reordering of firewall rules
Three separate defects made the rule list impossible to reorder:

- The Card's own `style` was placed after `{...provided.draggableProps}`,
  clobbering the `position`/`transform` dnd sets while dragging. The drag
  did start, but nothing moved on screen. Styles are now merged with dnd's
  winning, and the dragged card is highlighted.
- `Draggable index` used the position in the full `state` array and the
  rules of the other table were filtered out afterwards, leaving gaps.
  dnd requires contiguous indexes from 0 inside a Droppable, so a single
  rule in the other table broke the visible tab entirely. Visible rules
  are now re-indexed and mapped back to their `state` position on drop.
- `destination?.index || 0` reordered to the top instead of doing nothing
  when a rule was dropped outside the list.
2026-09-03 10:22:19 +02:00
Domingo Dirutigliano
0dd538621d
integrated more tooltips 2026-07-24 13:47:31 +02:00
Domingo Dirutigliano
bd55a7bc9c
integrated and refactore docs + minor changes 2026-07-23 16:53:09 +02:00
Domingo Dirutigliano
c37d2b31e8
graphics and TLS feature total refactoring 2026-07-23 13:39:01 +02:00
Sogoss
75c54f0155 Add transparent TLS proxying and certificate management for NFProxy and NFRegex
- Add Nginx stream proxy module for transparent TLS termination in NFProxy and NFRegex
- Add backend routes and SQLite schema for certificate management (upload, view, delete)
- Implement DNAT nftables redirection rules for deterministic TLS ports
- Add frontend React components (TLSConfigModal, TLSServiceFields) for certificate configuration
- Update Dockerfile and docker-entrypoint.sh to support Nginx stream module and sysctl forwarding
2026-07-20 12:25:30 +02:00
Domingo Dirutigliano
24634ec60b
mantine update 2026-06-21 11:49:53 +02:00
Domingo Dirutigliano
78166cdae3
removing -dom from react-router 2025-07-28 19:00:12 +02:00
Domingo Dirutigliano
3494d10032
docs completed 2025-03-05 14:05:31 +01:00
Domingo Dirutigliano
e31796b249
push partial docs 2025-03-05 10:02:15 +01:00
Domingo Dirutigliano
072745cc06
code push 2025-03-03 20:25:36 +01:00
Domingo Dirutigliano
8ae533e8f7
push: code changes x2 2025-02-28 21:14:09 +01:00
Domingo Dirutigliano
6a11dd0d16
push: code changes 2025-02-25 23:53:04 +01:00
Domingo Dirutigliano
8652f40235
nfproxy module writing: written part of the firegex lib, frontend refactored and improved, c++ improves 2025-02-20 19:51:28 +01:00
Domingo Dirutigliano
59652fc697
optional nfqueue fail-open option 2025-02-18 17:36:15 +01:00
Domingo Dirutigliano
ec3bd84aaf
Frontend re-styling 2025-02-12 22:24:59 +01:00
Domingo Dirutigliano
44d72dfff9
improves on the nfregex binary x3 2025-02-04 21:09:03 +01:00
Domingo Dirutigliano
2d8f19679f
nfqueue to hyperscan and stream match, removed proxyregex 2025-02-02 19:54:42 +01:00
Domingo Dirutigliano
d64e0aa73c
add: filtering table of firewall + InterfaceSelector frontend fixes and improves 2024-10-19 18:39:42 +02:00
Domingo Dirutigliano
cbf2c5a43d
add: frontend update 2024-10-13 01:50:52 +02:00
Domingo Dirutigliano
0e34805b4c
gui: reposive? yeah responsive 2023-10-12 20:01:48 +02:00
Domingo Dirutigliano
c044383fd0
add: dhcp on firewall 2023-10-12 12:53:44 +02:00
Domingo Dirutigliano
e96c38b186
fix: settings update fixed + packet invalid drop 2023-10-01 02:01:47 +02:00
Domingo Dirutigliano
b11fa66909
refactoring: firewall model changed using ufw model (due to docker iussues) 2023-09-29 16:10:28 +02:00
Domingo Dirutigliano
71edfc29c4
Firewall refactor 2023-09-28 20:45:58 +02:00
Domingo Dirutigliano
0c972baa9c
add(todo): additional setting to implement 2023-09-26 01:17:09 +02:00
Domingo Dirutigliano
a9446d6dc6
add: graphic improvements x2 2023-09-25 20:43:29 +02:00
Domingo Dirutigliano
7c324a90c2
add: graphic improvements 2023-09-25 20:09:26 +02:00
Domingo Dirutigliano
c0ea0eb331
add/fix: frontend and backend improves 2023-09-25 18:10:12 +02:00
Domingo Dirutigliano
ab96b24cac
add (todo): Switch to allow ip4/ip6 filters 2023-09-24 22:54:59 +02:00
Domingo Dirutigliano
d195f2c7cd
add: created components for rules visualization 2023-09-24 22:50:42 +02:00
Domingo Dirutigliano
205a21a23a
fix: reset on refresh firewall 2023-09-24 17:13:32 +02:00
Domingo Dirutigliano
594e6b4e00
firewall Frontend Improvements 2023-09-24 17:05:55 +02:00
Domingo Dirutigliano
4247dc181d
react-query + enable/disable firewall 2023-09-24 05:48:54 +02:00
Domingo Dirutigliano
ae8dbd9423
fix: backend optional types + firewall frontend initial code 2023-09-23 02:02:02 +02:00
Domingo Dirutigliano
0430cb3773
mantine update + passed to vite 2023-06-05 00:57:54 +02:00
Domingo Dirutigliano
63a3014676
sysctl managmento for port hijacking 2023-04-12 23:53:43 +02:00
DomySh
a8330a9516 Port hijack frontend progresses 2022-08-12 16:00:58 +00:00
DomySh
25d2cfd562 Port hijack changes and start writing frontend 2022-08-12 11:55:30 +00:00
DomySh
af59ea0ef4 Fixes and improvements in thread managment 2022-08-02 19:45:28 +00:00
DomySh
d8dc5c9f8b Fixes 2022-07-22 00:34:57 +02:00
DomySh
1399d0e22d Moduled Firegex, Merging pt2 (to finish and test) 2022-07-21 21:17:06 +02:00
DomySh
63ba0e94e7 Moduled Firegex, Merging pt1 (not finished and not working yet) 2022-07-21 20:25:39 +02:00
DomySh
6fd2f6b359 Modulating frontend 2022-07-21 12:39:30 +02:00
DomySh
acf9642f54 Restructurated frontend 2022-07-21 10:20:54 +02:00
DomySh
2988a37bdf Fixes (need fixes on docker) 2022-07-19 15:32:37 +02:00