Commit Graph
17 Commits
Author SHA1 Message Date
hexkyz 43c6da000c dns.mitm: allow bsdsocket to cleanup 2026-10-15 22:06:50 +01:00
hexkyz 90cd78a3a3 dns.mitm: trust bsdsocket to generate query ids
Further testing confirmed that bsdsocket ensures each query is unique and per-process.
Not only this allows us to simplify the mitm logic, but also fix a noticeable slowdown that was being caused by clients not being informed that bsdsocket's queue was full.
2026-10-14 22:08:48 +01:00
hexkyz 4106801486 dns.mitm: forward queries for hostnames not in the hosts file 2026-10-11 22:21:31 +01:00
hexkyz f5cd912604 dns.mitm: implement mitm for the new c-ares resolver and update serializer code 2026-10-06 02:25:38 +01:00
Michael Scire dd78ede99f ams: use R_SUCCEED, R_THROW globally 2022-03-26 00:14:36 -07:00
Michael Scire a595c232b9 strat: use m_ for member variables 2021-10-10 00:14:06 -07:00
Michael Scire 1ab0bd1765 ams: replace most remaining operator & with std::addressof 2021-10-09 14:49:53 -07:00
Michael Scire 6a53726833 strat: build sysmodules with -Wextra/-Werror 2021-10-06 23:22:54 -07:00
Michael Scire 77fe5cf6f5 ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
Michael Scire bb4c7a390b ams: update for 12.0.2 2021-05-12 09:08:47 -07:00
Michael Scire 26fb201518 dns.mitm: handle nullptr hostname 2021-05-10 13:27:14 -07:00
Michael Scire c0e3cee657 dns.mitm: allow nullptr for port string (closes #1352) 2021-02-03 12:41:23 -08:00
Michael Scire ffbdf29c10 dns.mitm: fix ABORT_UNLESS -> ABORT 2021-02-02 11:41:49 -08:00
Michael Scire 135d42ffee dns.mitm: hint = {} fix in options 2021-02-02 11:41:49 -08:00
Michael Scire 1306d03136 dns.mitm: add GetAddrInfo redir, AtmosphereReloadHostsFile, debug logging control 2021-02-02 11:41:49 -08:00
Michael Scire 400f5142ee dns: implement GetHostByName redirection (backend TODO) 2021-02-02 11:41:49 -08:00
Michael Scire 8bf8df43e2 dns: skeleton passthrough mitm 2021-02-02 11:41:49 -08:00