Commit Graph

927 Commits

Author SHA1 Message Date
pommee ee152c3924 test: update benchmark test to reflect any changes 2026-04-18 10:24:26 +02:00
pommee e87d949b7f ui: fetch notifications using cursor 2026-04-18 10:24:00 +02:00
pommee 2f6d0fbb40 chore: remove unused baseurl for tsconfig 2026-04-18 10:22:44 +02:00
pommee 5152f8c97d fix(deps): switch from miekg/dns v1 to v2
Gives some performance improvements and 'native' support for DoH
2026-04-18 10:22:23 +02:00
pommee d85d9dbc02 test: remove race condition testing 2026-04-18 10:20:57 +02:00
pommee abf851ae99 perf: fetching notifications are not done cursor based
Improves performance and should be lighter compared to fetching everything

Might also help finding root cause of issues given reports like this: https://github.com/pommee/goaway/issues/126
2026-04-18 10:20:35 +02:00
pommee d5060e588d chore: increase header-max-length for commit messages from 120 to 140 2026-04-11 09:44:19 +02:00
semantic-release-bot 2a75d3bf98 chore(release): 0.63.12 [skip ci]
## [0.63.12](https://github.com/pommee/goaway/compare/v0.63.11...v0.63.12) (2026-04-11)

### Bug Fixes

* **resolution:** resolutions are now stored/handled via the settings.yaml file and not sqlite, this requires you to re-add all resolutions ([ed16cc3](https://github.com/pommee/goaway/commit/ed16cc34aa1ec7d3756579c549357a99a3d6dfa2))
v0.63.12
2026-04-11 07:42:01 +00:00
pommee ed16cc34aa fix(resolution): resolutions are now stored/handled via the settings.yaml file and not sqlite, this requires you to re-add all resolutions
Considered a breaking change, however I feel like this is needed provided the request from https://github.com/pommee/goaway/issues/120

Makes management much easier when migrating as an example
2026-04-11 09:41:36 +02:00
semantic-release-bot 8da826e51e chore(release): 0.63.11 [skip ci]
## [0.63.11](https://github.com/pommee/goaway/compare/v0.63.10...v0.63.11) (2026-04-11)

### Bug Fixes

* **deps:** update client dependencies ([8d74d66](https://github.com/pommee/goaway/commit/8d74d6628068ff3f93d72ebe09493a4460dacee1))
* **deps:** update golang version and backend dependencies ([f129507](https://github.com/pommee/goaway/commit/f129507781d2e60a57242da0735f5211d9f806ff))
v0.63.11
2026-04-11 06:51:41 +00:00
pommee f129507781 fix(deps): update golang version and backend dependencies 2026-04-11 08:51:14 +02:00
pommee 8d74d66280 fix(deps): update client dependencies 2026-04-11 08:51:00 +02:00
semantic-release-bot e2ce584430 chore(release): 0.63.10 [skip ci]
## [0.63.10](https://github.com/pommee/goaway/compare/v0.63.9...v0.63.10) (2026-04-11)

### Bug Fixes

* **dns:** ensure gateway has port when dialing for reverse DNS client lookup ([187aed3](https://github.com/pommee/goaway/commit/187aed3833493298c9ebe9fe086396756df4f52c))
* **dns:** return upstream Rcode instead of hardcoding SERVFAIL when no answers ([35afaeb](https://github.com/pommee/goaway/commit/35afaeb7ee47f656a12de98f75df3ab168af7480))
v0.63.10
2026-04-11 06:48:20 +00:00
SBCrumb 187aed3833 fix(dns): ensure gateway has port when dialing for reverse DNS client lookup
net.Dialer.DialContext requires a host:port address, but Config.DNS.Gateway
is stored as a bare IP. Unlike miekg/dns Exchange which tolerates a bare IP
and defaults to port 53, the raw dialer silently fails, causing all client
hostnames to resolve as unknown.
2026-04-11 08:47:52 +02:00
SBCrumb 35afaeb7ee fix(dns): return upstream Rcode instead of hardcoding SERVFAIL when no answers
When a host has no AAAA record, the upstream resolver correctly returns
NOERROR with an empty answer section. handleStandardQuery was overriding
this with RcodeServerFailure whenever len(answers) == 0, causing clients
to receive a SERVFAIL on the AAAA query alongside the valid A response.

This commonly affects internal hostnames that only have A records.

Use the status returned from Resolve() to set the Rcode, matching the
existing pattern in forwardPTRQueryUpstream.
2026-04-11 08:47:52 +02:00
semantic-release-bot eb5969aae5 chore(release): 0.63.9 [skip ci]
## [0.63.9](https://github.com/pommee/goaway/compare/v0.63.8...v0.63.9) (2026-02-28)

### Bug Fixes

* **deps:** update client dependencies to resolve cve's ([d4fc499](https://github.com/pommee/goaway/commit/d4fc499e9421fdd6410ca1193bfa010a53f65f66))
v0.63.9
2026-02-28 16:21:04 +00:00
pommee d4fc499e94 fix(deps): update client dependencies to resolve cve's 2026-02-28 17:20:38 +01:00
semantic-release-bot 76cace252a chore(release): 0.63.8 [skip ci]
## [0.63.8](https://github.com/pommee/goaway/compare/v0.63.7...v0.63.8) (2026-02-28)

### Bug Fixes

* **deps:** update dependencies ([83893cb](https://github.com/pommee/goaway/commit/83893cbe4d0bee323d29c88aebb67a17015eaba0))
* fixed quick action to allow/block a domain from the logs page ([0f8f6ee](https://github.com/pommee/goaway/commit/0f8f6eea4e342606dce4734cbe3f484b7cba92d1))

### UI/UX

* reworked design for client details modal ([1723dd4](https://github.com/pommee/goaway/commit/1723dd4d3942cddc70a07027dcb391d2d691ac1e))
* update logs page with some detail cards ([f466846](https://github.com/pommee/goaway/commit/f466846b7987573c4c13b827d7b0e66e3d013879))
v0.63.8
2026-02-28 16:12:45 +00:00
pommee 0f8f6eea4e fix: fixed quick action to allow/block a domain from the logs page
This should also fix a bug where the last dot was not stripped from a domain, causing custom blocked domains to not be blocked.
2026-02-28 17:12:14 +01:00
pommee 83893cbe4d fix(deps): update dependencies 2026-02-28 17:09:52 +01:00
pommee 1723dd4d39 ui: reworked design for client details modal
Instead of covering the center of the viewport with a modal, a drawer to the right is opened
2026-02-15 09:22:56 +01:00
pommee e8a218ef25 chore: give update toast and id to prevent duplicates 2026-02-13 21:36:24 +01:00
pommee b6a777b717 chore: remove unused logging 2026-02-13 21:36:24 +01:00
pommee f466846b79 ui: update logs page with some detail cards
Includes flow summary with total requests, allowed requests, blocked and cached

Top destinations, with country flag and the respective IP address

Top clients showing the client name or ip, together with the amount of requests
2026-02-13 21:36:24 +01:00
semantic-release-bot d84202f11c chore(release): 0.63.7 [skip ci]
## [0.63.7](https://github.com/pommee/goaway/compare/v0.63.6...v0.63.7) (2026-02-13)

### Bug Fixes

* **deps:** update client dependencies ([d013d92](https://github.com/pommee/goaway/commit/d013d92b794e7e38e52e20c1c0595ea163c33c46))
* **deps:** update to go version 1.26 ([9300add](https://github.com/pommee/goaway/commit/9300addf235ee1c28cee1f94262a7cdd98d94219))
v0.63.7
2026-02-13 19:01:31 +00:00
pommee d013d92b79 fix(deps): update client dependencies 2026-02-13 20:01:05 +01:00
pommee 9300addf23 fix(deps): update to go version 1.26 2026-02-13 20:01:05 +01:00
semantic-release-bot 5cd90e1073 chore(release): 0.63.6 [skip ci]
## [0.63.6](https://github.com/pommee/goaway/compare/v0.63.5...v0.63.6) (2026-02-13)

### Bug Fixes

* use client filter for live query updates ([6b6d302](https://github.com/pommee/goaway/commit/6b6d30242f01d9a0086253b9a2cabed25ed3f614))

### Documentation

* update install documentation for proxmox ([5ce9d86](https://github.com/pommee/goaway/commit/5ce9d86d26689e54d957dc1c84616bf37d2ba675))
v0.63.6
2026-02-13 19:00:53 +00:00
eap5 6b6d30242f fix: use client filter for live query updates 2026-02-13 20:00:30 +01:00
pommee 5ce9d86d26 docs: update install documentation for proxmox
Reported in https://github.com/pommee/goaway/issues/116

Information is still available for the future, in case support is brought back.
2026-01-24 09:53:06 +01:00
semantic-release-bot 49bad62f5b chore(release): 0.63.5 [skip ci]
## [0.63.5](https://github.com/pommee/goaway/compare/v0.63.4...v0.63.5) (2026-01-18)

### Bug Fixes

* bump all client dependencies to prevent vulnerabilities ([1f27381](https://github.com/pommee/goaway/commit/1f273813145f345f9ade467ac9f8d908c54a307b))
* update golang version to 1.25.6 ([9636393](https://github.com/pommee/goaway/commit/9636393065de6c2bc49daef16833b742a19668e1))

### UI/UX

* correctly fetch all clients details when opening modal from logs page ([2adf424](https://github.com/pommee/goaway/commit/2adf42478a6e52042f723afd378da4a58ee038ed))
* update FrequencyChartBlockedDomains to use client name if possible ([213a5b4](https://github.com/pommee/goaway/commit/213a5b4bcd467ff3c37916d65580cc37bf4bb5e6))
v0.63.5
2026-01-18 13:34:14 +00:00
pommee 2adf42478a ui: correctly fetch all clients details when opening modal from logs page 2026-01-18 14:33:17 +01:00
pommee 84824c4b32 chore: format 2026-01-18 14:32:17 +01:00
pommee 1f27381314 fix: bump all client dependencies to prevent vulnerabilities 2026-01-18 14:31:57 +01:00
pommee 9636393065 fix: update golang version to 1.25.6 2026-01-18 14:31:24 +01:00
eap5 213a5b4bcd ui: update FrequencyChartBlockedDomains to use client name if possible 2026-01-06 17:45:34 +01:00
semantic-release-bot 7b69b64b1d chore(release): 0.63.4 [skip ci]
## [0.63.4](https://github.com/pommee/goaway/compare/v0.63.3...v0.63.4) (2025-12-31)

### Bug Fixes

* **deps:** bump client dependencies ([f8d9a1d](https://github.com/pommee/goaway/commit/f8d9a1d2c89bc240b17778066a98072c1574e08d))

### UI/UX

* optimize ui for smaller viewports ([714f7ee](https://github.com/pommee/goaway/commit/714f7ee8359daeb77475a9b1dea2169a9d86191c))
v0.63.4
2025-12-31 12:40:05 +00:00
pommee 714f7ee835 ui: optimize ui for smaller viewports 2025-12-31 13:38:58 +01:00
pommee f8d9a1d2c8 fix(deps): bump client dependencies 2025-12-31 13:37:56 +01:00
pommee b64b20bac6 chore: update readme 2025-12-28 11:24:06 +01:00
semantic-release-bot 7b9b569fbd chore(release): 0.63.3 [skip ci]
## [0.63.3](https://github.com/pommee/goaway/compare/v0.63.2...v0.63.3) (2025-12-28)

### Bug Fixes

* added ability to change the name for any client ([2bca605](https://github.com/pommee/goaway/commit/2bca60597af60e2b9109653204d9a3eaeba81269))
v0.63.3
2025-12-28 10:17:19 +00:00
pommee 2bca60597a fix: added ability to change the name for any client
This is done inside the details view for any client; found via the logs by clicking on a client or throught the 'clients' page
2025-12-28 11:16:54 +01:00
semantic-release-bot 0805e07db5 chore(release): 0.63.2 [skip ci]
## [0.63.2](https://github.com/pommee/goaway/compare/v0.63.1...v0.63.2) (2025-12-23)

### Bug Fixes

* let gorm handle createdat/updatedat fields ([8667a15](https://github.com/pommee/goaway/commit/8667a15db030dccdc3781e9a3feee1de89e16b2e))
v0.63.2
2025-12-23 09:32:53 +00:00
pommee 8667a15db0 fix: let gorm handle createdat/updatedat fields 2025-12-23 10:27:52 +01:00
semantic-release-bot fb49eef402 chore(release): 0.63.1 [skip ci]
## [0.63.1](https://github.com/pommee/goaway/compare/v0.63.0...v0.63.1) (2025-12-22)

### Bug Fixes

* fix bypass bug and cleanup client name/ip caches ([b1f2d68](https://github.com/pommee/goaway/commit/b1f2d6836268ca5755c060d74e4df477bcfa36f1))
v0.63.1
2025-12-22 13:18:59 +00:00
pommee b1f2d68362 fix: fix bypass bug and cleanup client name/ip caches 2025-12-22 14:17:48 +01:00
pommee 4dffe76509 chore: update air entrypoint to get rid of warning 2025-12-22 14:17:48 +01:00
semantic-release-bot 990beb8904 chore(release): 0.63.0 [skip ci]
## [0.63.0](https://github.com/pommee/goaway/compare/v0.62.25...v0.63.0) (2025-12-22)

### Features

* added ability to set 'bypass' for each client to bypass any rules ([1471ff1](https://github.com/pommee/goaway/commit/1471ff1d237ea49608dc399b0527fef6e1caf6d7))

### UI/UX

* added indicator to show blocking status along with a modal rework ([2d23669](https://github.com/pommee/goaway/commit/2d23669dd96606792413c1e50c29dfe986e66830))
* make it clear that 'client' is clickable in the logs view ([dc633be](https://github.com/pommee/goaway/commit/dc633becf4cd5d9be75087f0a6ead6eca2913990))
v0.63.0
2025-12-22 02:24:42 +00:00
pommee 2d23669dd9 ui: added indicator to show blocking status along with a modal rework 2025-12-22 03:23:22 +01:00
pommee 1471ff1d23 feat: added ability to set 'bypass' for each client to bypass any rules 2025-12-22 03:20:42 +01:00