0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00
Commit graph

11432 commits

Author SHA1 Message Date
Jason Volk
65e217fcfb tools: Add libnss-db package to Dockerfile. 2020-03-08 19:51:52 -07:00
Jason Volk
a4f18fcd00 ircd::mods::ldso: Add loaded check using the dlfcn method. 2020-03-08 18:55:33 -07:00
Jason Volk
dc1778bce7 ircd:Ⓜ️:room::bootstrap: Use indirect for fed::opts initialization. 2020-03-08 18:54:47 -07:00
Jason Volk
dfc023bb37 configure: Check for the gnu/lib-names.h header. 2020-03-08 18:18:27 -07:00
Jason Volk
a29ec982fd configure: Check for getprotobyname(3), libnss at configure; minor cleanup. 2020-03-08 16:02:12 -07:00
Jason Volk
133b3a5611 ircd::net::dns: Call setprotoent(3) on init to throw here on missing libnss_db.so. 2020-03-08 15:07:04 -07:00
Jason Volk
dcc0aae886 ircd:Ⓜ️:homeserver: Run conf item update callbacks at construction for now. 2020-03-08 14:29:22 -07:00
Jason Volk
56a8f6494d ircd:Ⓜ️:fetch: Fix conf item type. 2020-03-08 14:09:59 -07:00
Jason Volk
1ee5cbdeee ircd:Ⓜ️:room::server_acl: Propagate interrupt without critical log. 2020-03-08 13:03:14 -07:00
Jason Volk
3c87dc2677 modules/federation/query: Fix naked origin without service name. 2020-03-08 10:28:11 -07:00
Jason Volk
97747219a4 ircd:Ⓜ️:fed: Rename property in well-known cache record. 2020-03-07 23:59:22 -08:00
Jason Volk
abdb7c0f51 ircd:Ⓜ️:media::file::download: Fix critical assertion on context switch. 2020-03-07 23:37:28 -08:00
Jason Volk
427f481ce9 ircd::server: Relax assertion on non-dynamic contiguous chunk head read. 2020-03-07 22:37:11 -08:00
Jason Volk
44f587714e ircd:Ⓜ️ Tweak various federation request buffer options; related e3e83a6423fd. 2020-03-07 22:02:14 -08:00
Jason Volk
49dc7e77f2 ircd:Ⓜ️:media: Use abstract federation request for media downloads. 2020-03-07 21:33:44 -08:00
Jason Volk
63aa71ce58 ircd:Ⓜ️:fed: Implement federation 3.1 well-known for server name resolution. 2020-03-07 21:33:44 -08:00
Jason Volk
55ffdddc6a ircd:Ⓜ️:fed: Refactor all interfaces using abstract request. 2020-03-07 21:33:44 -08:00
Jason Volk
c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00
Jason Volk
9cceed8d34 Revert "ircd::net: Remove string(net::hostport) branch ..." w/ improvement.
This reverts commit fa19b9b182 with modification.
2020-03-07 14:55:50 -08:00
Jason Volk
dddb8e4254 ircd:Ⓜ️:fed: Mitigate some remaining event_id.host() to derive a remote. 2020-03-07 14:55:50 -08:00
Jason Volk
a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk
4935015b18 ircd::net::dns: Consolidate cache interfaces in public header; weak unresolved for now. 2020-03-07 12:51:12 -08:00
Jason Volk
bfeceea645 ircd:Ⓜ️:rooms::summary: Minor cleanup. 2020-03-07 12:16:33 -08:00
Jason Volk
41a6fa4e37 modules/client/rooms/context: Move spec related comment to document variable. 2020-03-06 18:53:00 -08:00
Jason Volk
6ab71b8fdc ircd:Ⓜ️:fed: Add well-known request for server name resolution w/ console cmd. 2020-03-06 18:28:41 -08:00
Jason Volk
fa19b9b182 ircd::net: Remove string(net::hostport) branch which drops port from output. 2020-03-06 18:20:18 -08:00
Jason Volk
5a3ed6e4b3 ircd::net::dns: Add syscall_usage_warning timer around netdb related. 2020-03-06 15:43:24 -08:00
Jason Volk
6679b66806 ircd::prof: Move ctx::syscall_usage_warning into prof. 2020-03-06 15:43:24 -08:00
Jason Volk
726422f576 ircd::prof: Add a log facility for namespace. 2020-03-06 15:43:24 -08:00
Jason Volk
adcf3215f1 ircd::server: Fix port number propagation conditions across resolution handlers.
ircd::server: Condition to skip SRV when explicit port number specified.
2020-03-06 15:43:24 -08:00
Jason Volk
0e25a2e055 ircd::net::dns: Add support for netdb; interface to getservbyname(3). 2020-03-06 15:43:24 -08:00
Jason Volk
4b41efcdc8 ircd::net: Remove additional defaults and stale comments. 2020-03-06 10:42:39 -08:00
Jason Volk
18ec08c92b ircd::net: Allow explicit port instead of service name for canon string. 2020-03-06 10:37:28 -08:00
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
14cce54b1f ircd::net: Add missing service(hostport) mutable referencer. 2020-03-05 20:10:35 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
f5d5f6de3b ircd::server: Require service suffix for peer map keying; refactor host canonization. 2020-03-05 20:06:14 -08:00
Jason Volk
2e2b56e89f ircd::server: Static linkage for internal utils. 2020-03-05 15:45:46 -08:00
Jason Volk
5602a555d7 ircd::net::dns: Remove explicit port argument from callback stack. 2020-03-05 14:18:57 -08:00
Jason Volk
33cafcdfa9 ircd::net::dns: Improve exception message strings. 2020-03-05 14:18:57 -08:00
Jason Volk
65d41d0093 ircd::net::dns::resolver: Copy to preserve service string from hostport in tag. 2020-03-05 14:18:57 -08:00
Jason Volk
fddeb548a7 ircd::net::dns::resolve: Pass more information SRV key generator. 2020-03-05 14:18:57 -08:00
Jason Volk
2116567281 ircd::net::dns: Add conditions and assertions on inputs to SRV query generator. 2020-03-05 14:18:57 -08:00
Jason Volk
ae8b2bc0f8 modules/console: Require hostport param for cmd. 2020-03-05 14:18:57 -08:00
Jason Volk
a46bf7dcbe ircd::net: Eliminate the legacy canon_port/canon_service defaults.
ircd:Ⓜ️ Move canon_port/canon_service into matrix lib.
2020-03-05 14:18:55 -08:00
Jason Volk
bb8e40debc ircd::net: Increase these buffer sizes beyond DOMAIN_MAX. 2020-03-04 17:34:25 -08:00
Jason Volk
f3fbcc6ab6 ircd:Ⓜ️:vm: Eliminate head resolves for type; related c3f50d5bab. 2020-03-04 12:57:27 -08:00
Jason Volk
bb6bc40891 ircd::server: Tweak the link selection algorithm; comments. 2020-03-04 12:16:08 -08:00
Jason Volk
e7eb5a62c7 ircd::server: Add peer level aggregate for cleanup_canceled(). 2020-03-04 12:00:39 -08:00
Jason Volk
12bdc39b20 ircd::server: Add condition to close link if all tags in the pipe are canceled. 2020-03-04 12:00:39 -08:00