Jason Volk
637b6ecede
ircd::net::dns::cache: Move cache waiter calling out of module.
2020-04-25 00:28:39 -07:00
Jason Volk
180963ca22
ircd::net: Add hostport construction from explicit rfc3986::uri.
2020-03-24 12:14:05 -07:00
Jason Volk
f092b4214b
ircd::net::hostport: Add missing default port argument for constructor.
2020-03-24 11:55:17 -07:00
Jason Volk
8914af3e84
ircd::net::dns: Add complementary interface to getservbyport(3).
2020-03-12 21:09:56 -07: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
0e25a2e055
ircd::net::dns: Add support for netdb; interface to getservbyname(3).
2020-03-06 15:43:24 -08:00
Jason Volk
14cce54b1f
ircd::net: Add missing service(hostport) mutable referencer.
2020-03-05 20:10:35 -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
65d41d0093
ircd::net::dns::resolver: Copy to preserve service string from hostport in tag.
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
7f2eb104b6
ircd::net::acceptor: Refactor error and limit handling branches; fix reset.
2020-03-03 14:14:43 -08:00
Jason Volk
6ec9867843
ircd::net::acceptor: Add a default proffer callback when none set.
2020-03-03 13:54:14 -08:00
Jason Volk
ac021785a2
ircd::net::hostport: Deinline amalgam constructors.
2020-02-28 10:21:49 -08:00
Jason Volk
c1737e167c
ircd::ios: Employ the asio::executor abstraction w/ backward-compat.
2020-02-27 12:44:57 -08:00
Jason Volk
51e62a56f6
ircd::net::socket: Switch to deadline timer.
2019-10-08 19:30:48 -07:00
Jason Volk
2b2374db6c
ircd: Split all non-matrix definitions back to lib; rename module to net_dns_cache.
2019-10-05 17:37:44 -07:00
Jason Volk
cfc76f1777
ircd::net::dns: Move resolver into libircd proper.
2019-10-03 12:14:29 -07:00
Jason Volk
035ec56bc3
ircd::net::acceptor: Condition accepted SNI from listener's certificate for now.
2019-09-30 14:23:28 -07:00
Jason Volk
43a86a428c
ircd::net::acceptor: Split/cleanup the acceptor configuration related.
2019-09-30 14:23:28 -07:00
Jason Volk
7d1da07894
ircd::net::wait: Simplify ctor stack for noexcept suggestion.
2019-09-26 14:03:43 -07:00
Jason Volk
56c025ab7b
ircd::net::socket: Minor cleanup; move warning into unlikely branch.
2019-09-14 12:17:07 -07:00
Jason Volk
a280350dee
ircd::net: Fix the asio callback and error_code interp on socket waits.
2019-09-13 12:44:59 -07:00
Jason Volk
b19ed6854b
ircd::net: Consolidate all eof error_code related.
2019-09-13 12:44:59 -07:00
Jason Volk
cb94558c4a
ircd: Ⓜ️ :fed: Remove opts inline constructor due to shared linkage issues.
2019-08-18 04:13:12 -07:00
Jason Volk
c64bb6850c
ircd::net: Fix/improve the v6/v4 check.
...
ircd::net: Add an is_null(ipport/ipaddr).
ircd::net: Improve the v6/v4 check efficiency.
ircd::net: Swap defaulting from v6 to v4 for better null address output.
2019-08-04 18:05:58 -07:00
Jason Volk
63a9f33d7c
ircd::net: Simplify socket check related.
2019-07-27 13:17:53 -07:00
Jason Volk
2a8162b2b7
ircd::net::hostport: Remove unique symbol.
2019-07-14 19:35:28 -07:00
Jason Volk
0f4d1e2869
ircd::net::socket: Convert totals counters to stats::items.
2019-07-11 15:51:09 -07:00
Jason Volk
015cbe53b1
ircd::net::socket: Add static counters for totals.
2019-07-08 06:03:20 -07:00
Jason Volk
cf3b1218c4
ircd: Misc fixes for clang.
2019-06-23 16:22:06 -06:00
Jason Volk
5bf62fc33f
ircd: Degrade enum addressing for clang.
2019-06-23 07:37:23 -06:00
Jason Volk
7aaee4c68d
ircd: Mark recommended noexcept on inline constructors.
2019-06-22 17:36:42 -06:00
Jason Volk
ce425b438d
ircd::net::acceptor: Elide the accepting list for single-accept [revertible].
2019-06-01 17:10:49 -07:00
Jason Volk
dafb8bd42f
ircd::net::acceptor: Track and limit operations based on configuration.
2019-06-01 17:10:49 -07:00
Jason Volk
d7edd1960e
ircd::net::listener: Add some doc comments on the structure.
2019-06-01 15:33:39 -07:00
Jason Volk
a08d5370f8
ircd::net::ipport: Add convenience conversion to ipaddr.
2019-06-01 15:33:39 -07:00
Jason Volk
3e43a10e6d
ircd::net: Improve loghead(acceptor) and loghead(acceptor_udp) related.
2019-05-31 02:35:22 -07:00
Jason Volk
2e525df668
ircd::net::acceptor: Add ALPN negotiation handler support.
2019-05-31 00:35:46 -07:00
Jason Volk
4aef8cfdf8
ircd::net::socket: Deinline the read/write member template suites.
2019-05-03 16:29:56 -07:00
Jason Volk
e2136a3157
ircd::net::dns: Minor cleanup.
2019-05-03 16:09:57 -07:00
Jason Volk
0f404a0bda
ircd::net: Addition assertions; use constrefs in handler cbs.
2019-04-16 21:39:43 -07:00
Jason Volk
92cdccf956
ircd::net: Add parent ssl_cipher conf items; add curve items.
2019-04-15 22:16:16 -07:00
Jason Volk
5c359f22f3
ircd::net::socket: Change behavior of non-blocking read_() calls to not throw for EAGAIN.
2019-04-09 21:08:15 -07:00
Jason Volk
3a9e85c294
ircd::net::addrs: Tweak interface detail; workaround issues.
2019-04-09 20:05:48 -07:00
Jason Volk
37ddf9f8fb
ircd::net: Make various conversions to ipaddr explicit.
2019-04-09 15:54:22 -07:00
Jason Volk
a54c5f44e4
ircd::net: Add conf item to toggle ipv6 for ircd::net::. Auto-detect viability on net::init.
2019-03-25 15:18:06 -07:00
Jason Volk
c0cbfd2d23
ircd::net: Add util to detect usable ipv6 interface.
2019-03-25 15:18:06 -07:00
Jason Volk
28569176f2
ircd::net: Use a structured argument to addrs closure; add more data.
2019-03-25 15:18:06 -07:00
Jason Volk
8c27cb847a
ircd::net: Add conditional interface to getifaddrs() w/ console cmd.
2019-03-25 13:56:08 -07:00
Jason Volk
4d3fd753e1
ircd::net: Add interface for listener bound socket information; improve net listen console cmd.
2019-03-25 12:55:59 -07:00