0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-08 19:11:08 +01:00
Commit graph

8929 commits

Author SHA1 Message Date
Jason Volk
9c624c7738 configure: Check for ifaddrs.h header. 2019-03-25 12:55:13 -07:00
Jason Volk
d7631dc39b ircd::server: Skip DNS resolution on IP literals. 2019-03-25 12:26:56 -07:00
Jason Volk
9d552cd88a ircd::net: Improve ipport/ep to_string related. 2019-03-25 12:25:25 -07:00
Jason Volk
46346f504e ircd::rfc3986: Reorg grammar stack; add variable valid() tool. 2019-03-25 12:25:25 -07:00
Jason Volk
c5088c3af2 ircd::server: Show response code in tag completion debug log msg. 2019-03-25 12:25:25 -07:00
Jason Volk
d149c540f4 ircd::server: Split link opening routine from resolver handler. 2019-03-24 20:50:16 -07:00
Jason Volk
a9cff4f073 ircd::rfc3986: Add valid_literal() to interface. 2019-03-24 20:50:16 -07:00
Jason Volk
7f5f07509a ircd::net::dns: Add utils to properly check for empty records in JSON. 2019-03-24 20:13:23 -07:00
Jason Volk
8e15e5d09b ircd::net: Add single-string amalgam construction to ipport. 2019-03-24 19:33:03 -07:00
Jason Volk
fe81c30806 ircd::net: Refactor dual stack integration. 2019-03-24 19:33:03 -07:00
Jason Volk
f098848386 configure: Fix HAVE_IPV6 enableval / conditional. 2019-03-24 16:35:45 -07:00
Jason Volk
be563a9f18 ircd::net: Fix constness. 2019-03-24 16:21:01 -07:00
Jason Volk
c3c99ecea8 ircd::net: Interface support for sockopt IPPROTO_IPV6 IP_V6ONLY. 2019-03-24 16:20:05 -07:00
Jason Volk
7b29282ab9 README: Update setup instructions to allow '*' in net listen cmd. 2019-03-24 16:05:24 -07:00
Jason Volk
138b7bff65 ircd::net: Interface wrap boost::asio::ip::make_address(). 2019-03-24 15:59:46 -07:00
Jason Volk
e640e6ac62 ircd::server: Perform DNS resolution sequence and handler logic externally here. 2019-03-24 15:28:07 -07:00
Jason Volk
71b86df0fe ircd::net::dns: Reorg various utilities from dns::cache:: to dns::. 2019-03-24 14:50:26 -07:00
Jason Volk
55af53e2a0 ircd::net::dns::cache: Add addl utils random_choice and is_error(). 2019-03-24 14:47:07 -07:00
Jason Volk
dbb965ce48 ircd::server: Add loghead() and display request method/paths in some debug log msgs. 2019-03-24 14:10:11 -07:00
Jason Volk
83dcfb05a0 modules/s_dns: Tweak conf TTL defaults; use dynamic content buffer. 2019-03-24 14:06:47 -07:00
Jason Volk
4677e5f443 modules/s_dns: Improve ipport query deduction related. 2019-03-24 14:06:47 -07:00
Jason Volk
a1ac9cb356 ircd::net::dns: Expose more cache utils to public interface. 2019-03-24 14:06:47 -07:00
Jason Volk
59b0b633cb ircd::mods: Support code and data demangled export sections. 2019-03-24 14:06:47 -07:00
Jason Volk
94ed73a60e ircd::http: Remove gratuitous error constructor; fix 505 response content. 2019-03-23 03:13:11 -07:00
Jason Volk
54f7ddb6bd modules/client/rooms/state: Log an error when a state event fetch fails during sync. 2019-03-23 02:45:05 -07:00
Jason Volk
17abecff3b modules/s_dns: Default to SRV when deducing for single ipport query. 2019-03-23 02:32:20 -07:00
Jason Volk
3c09d62934 modules/s_dns: Various cleanup / reorg of handlers. 2019-03-23 01:04:41 -07:00
Jason Volk
e6320e0716 modules/federation/state: Seek an event_id before starting chunked encoding to allow 404. 2019-03-22 21:57:18 -07:00
Jason Volk
7f27cdbf1d modules/federation/state_ids: Seek an event_id before starting chunked encoding to allow 404. 2019-03-22 21:06:28 -07:00
Jason Volk
b72758f904 ircd::server: Fix insertion/resolver reentrancy conflict. 2019-03-22 21:06:28 -07:00
Jason Volk
2417d7ac7d modules/m_event: Stub missing sections of event auth checks for now. 2019-03-22 21:06:28 -07:00
Jason Volk
77648137e9 Revert "ircd: Remove use of all unwind::exceptional and unwind::nominal devices."
This reverts commit 4f243826c2.
2019-03-22 21:06:28 -07:00
Jason Volk
712409218e ircd::ctx: Manipulate uncaught exception count on context switch. 2019-03-22 21:06:28 -07:00
Jason Volk
86759ecc15 ircd::http: Show the unrecognized version string in error message. 2019-03-22 21:06:28 -07:00
Jason Volk
5ca54b06d1 ircd::resource: Show the X-Matrix-Authorization destination host in error. 2019-03-22 18:14:07 -07:00
Jason Volk
3480819ab5 configure: Add conditional for --enable-lowmem-compile. 2019-03-22 17:46:21 -07:00
Jason Volk
2f1cd45fba ircd/Makefile.am: Apply param ggc-min-expand to grammar units; minor reorg. 2019-03-22 16:43:17 -07:00
Jason Volk
3db83faac3 ircd::server: Fix concurrency assumptions in server::get(). 2019-03-22 15:13:55 -07:00
Jason Volk
dfd9a3ed83 modules/s_dns_resolver: Handle ServFail better with retries so it's not immediately cached.
modules/s_dns_resolver: Increase recv work log level to critical.
2019-03-22 14:28:57 -07:00
Jason Volk
4ec689ef65 modules/s_dns: Handle case for entirely irrelevant records. 2019-03-22 13:51:28 -07:00
Jason Volk
8f41687940 modules/s_dns: Fix exception propagation to callback. 2019-03-22 13:51:28 -07:00
Jason Volk
e62e65df6b ircd::server: Add peer to map before resolve. 2019-03-22 10:51:11 -07:00
Jason Volk
eee620df3e modules/s_dns: Fix keying for response matching. 2019-03-22 10:50:16 -07:00
Jason Volk
12744182c2 modules/s_dns: Return tag id down stack if possible. 2019-03-22 10:41:26 -07:00
Jason Volk
68e3655a1d ircd::net::dns: Refactor system for the !dns room. 2019-03-21 18:24:36 -07:00
Jason Volk
e133cd5a25 ircd::net: Add specific allow(acceptor) rather than using start(acceptor). 2019-03-21 17:07:35 -07:00
Jason Volk
a6886dafe6 ircd::net: Bail early if no SNI sent by client. 2019-03-21 16:54:36 -07:00
Jason Volk
a9b098a280 ircd: Start a 128bit conditional typedef section in stdinc.h. 2019-03-21 16:46:04 -07:00
Jason Volk
4ae283b9c6 configure: Add more type and size checks. 2019-03-21 16:46:04 -07:00
Jason Volk
008dfcb43f ircd:Ⓜ️:vm: Add counters and synchronization for safe module reloading. 2019-03-21 16:46:04 -07:00