Commit Graph

48 Commits

Author SHA1 Message Date
fedorHub c26c5ba975
fix: multiply node run db issue 2026-04-21 14:07:45 +02:00
fedorHub f66f9c0ba5
fix: traffic accumulation 2026-03-14 17:34:28 +01:00
fedorHub 16387ac4ba
fix: del expired status 2026-03-14 11:52:58 +01:00
fedorHub f968261320
feat: accumulated traffic counter 2026-03-14 09:52:51 +01:00
fedorHub 2edd1a2630
feat: optimize performance 2026-03-13 23:29:03 +01:00
fedorHub 753c521e8b
fix: db rm status issue 2026-02-20 16:20:25 +01:00
fedorHub d2234e52af
fix: cleanup expired 2026-02-16 09:53:50 +01:00
fedorHub 9e771e947b
fix: node peer owner 2026-02-15 13:30:30 +01:00
fedorHub 4abbd09f56
fix: database issue 2026-02-15 09:46:19 +01:00
fedorHub 498c998494
feat: rebuild sync process 2026-02-15 07:13:09 +01:00
fedorHub d3a424421f
feat: switch to event-based communication 2026-02-13 16:09:03 +01:00
fedorHub b75b40b652
fix: db issue 2026-02-12 22:32:58 +01:00
fedorHub b66986b7f2
feat: add db conns param 2026-02-12 14:41:56 +01:00
fedorHub d2e91a4dc6
feat: add healthchecks 2026-02-12 14:21:45 +01:00
fedorHub ee5760783f
fix: all subnet for peers 2025-11-27 13:54:20 +01:00
fedorHub ea74f3482d
fix: metrics update 2025-11-07 13:40:31 +01:00
fedorHub 40b9cc00ed
feat: optimize metrics 2025-11-06 13:08:32 +01:00
fedorHub 0549b9c7ef
fix: nofanout sync issue 2025-10-30 13:07:00 +01:00
fedorHub 09e41ca6c1
feat: statistics update 2025-09-30 22:35:31 +02:00
fedorHub 078fd1d58e
feat: metrics state sync 2025-09-23 15:05:54 +02:00
fedorHub e10ac4aff5
feat: add ttl and autoremove peer 2025-09-17 20:30:33 +02:00
fedorHub 142f2a56a3
feat: remove expired peers 2025-09-17 13:32:39 +02:00
fedorHub dd2187264a
feat: routes fix 2025-09-15 12:26:14 +02:00
fedorHub c9c49c08e2
fix: do not touch main rt 2025-09-13 14:44:22 +02:00
fedorHub 6e4e468803
fix: config file sync 2025-09-12 10:14:25 +02:00
fedorHub 49048921e7
feat: fanout algo 2025-09-11 12:57:04 +02:00
fedorHub b9bcf0e4ce
feat: migrate to wg-portal2 2025-08-28 15:14:23 +02:00
h44z 112f6bfb77
Mikrotik integration (#467)
Allow MikroTik routes as WireGuard backends
2025-08-10 14:42:02 +02:00
Marcin Woźniak 3f76aa416f
chore(logs): added more debug logs and reformated those files using gofmt (#490) 2025-07-27 23:32:34 +02:00
h44z be29abd29a
add webhook event for peer state change (#444) (#468)
* add webhook event for peer state change (#444)

new event types: connect and disconnect

example payload:

```json
{
  "event": "connect",
  "entity": "peer",
  "identifier": "Fb5TaziAs1WrPBjC/MFbWsIelVXvi0hDKZ3YQM9wmU8=",
  "payload": {
    "PeerId": "Fb5TaziAs1WrPBjC/MFbWsIelVXvi0hDKZ3YQM9wmU8=",
    "IsConnected": true,
    "IsPingable": false,
    "LastPing": null,
    "BytesReceived": 1860,
    "BytesTransmitted": 10824,
    "LastHandshake": "2025-06-26T23:04:33.325216659+02:00",
    "Endpoint": "10.55.66.77:33874",
    "LastSessionStart": "2025-06-26T22:50:40.10221606+02:00"
  }
}
```

* add webhook docs (#444)
2025-06-27 12:37:10 +02:00
Christoph Haas 1394be2341 add webauthn (passkey) support 2025-05-12 22:53:43 +02:00
Christoph Haas b06c03ef8e fix missing error check (#419) 2025-05-01 19:12:19 +02:00
Christoph 9354a1d9d3 add simple webhook feature for peer, interface and user events (#398) 2025-04-19 21:29:26 +02:00
Christoph Haas 6cbccf6d43 feat: add simple audit ui 2025-03-29 16:42:31 +01:00
Christoph Haas 7473132932 chore: replace logrus with standard lib log/slog 2025-03-02 08:51:13 +01:00
Christoph Haas fdb436b135 chore: get rid of static code warnings 2025-02-28 16:11:55 +01:00
Christoph Haas e24acfa57d chore: cleanup code formatting 2025-02-28 08:37:55 +01:00
Christoph Haas 2d78fe33b8 add metric endpoint to public API (#72, #80) 2025-01-11 23:42:05 +01:00
h44z d596f578f6
API - CRUD for peers, interfaces and users (#340)
Public REST API implementation to handle peers, interfaces and users. It also includes some simple provisioning endpoints.

The Swagger API documentation is available under /api/v1/doc.html
2025-01-11 18:44:55 +01:00
Christoph Haas 3020fbca4e fix change of peer identifier (public key) (#265) 2025-01-05 11:30:34 +01:00
Christoph Haas 6d86f15ff8 implement/fix peer and user disable event (#337, #273) 2025-01-05 10:06:34 +01:00
Christoph bf9183256a chore: update dependencies, refactor option types 2024-10-15 15:44:47 +02:00
Dmytro Bondar d8eac37302
Updated metrics, added dashboard for Grafana (#311)
* Updated metrics, added dashboard for Grafana

* Remove unused interfce metric

* Set default scrape interval
2024-10-09 22:33:50 +02:00
Dmytro Bondar f22a7e4a2e
feat: Metrics for Prometheus (#309)
* feat: prometheus metrics

* Added Prometheus resources support to helm chart
2024-09-29 22:10:50 +02:00
Christoph Haas 95e10dcc24 execute interface hooks if interface settings have changed (#224) 2024-04-02 20:51:09 +02:00
Christoph Haas b49ff66c41 fix invalid ip suggestions (#185) 2023-10-20 12:13:39 +02:00
Christoph Haas d78b4f49bd fix nilpointer dereference 2023-10-20 11:44:17 +02:00
h44z 8b820a5adf
V2 alpha - initial version (#172)
Initial alpha codebase for version 2 of WireGuard Portal.
This version is considered unstable and incomplete (for example, no public REST API)! 
Use with care!


Fixes/Implements the following issues:
 - OAuth support #154, #1 
 - New Web UI with internationalisation support #98, #107, #89, #62
 - Postgres Support #49 
 - Improved Email handling #47, #119 
 - DNS Search Domain support #46 
 - Bugfixes #94, #48 

---------

Co-authored-by: Fabian Wechselberger <wechselbergerf@hotmail.com>
2023-08-04 13:34:18 +02:00