Commit Graph

353 Commits

Author SHA1 Message Date
1cd2510bcd defined mio_svc_dnc_send_flag_t to use with mio_svc_dnc_sendmsg() and mio_svc_dnc_sendreq() 2020-03-02 05:16:37 +00:00
b801ff6703 implemented soa rr encoding in dnc 2020-03-02 04:58:22 +00:00
aeba287690 added MIO_SVC_DNC_RESOLVE_FLAG_PREFER_TCP.
added an additional parameter 'prefer_tcp' to mio_svc_dnc_sendreq() and mio_svc_dnc_sendmsg()
2020-03-01 17:43:42 +00:00
247184282f implemented proper tcp packet reading in dnc 2020-02-29 16:56:36 +00:00
9d10edb77e some pseudo code for proper reading over dnc tcp 2020-02-28 08:10:29 +00:00
f9a0f3bc00 added some tcp transport code for dnc 2020-02-28 07:41:25 +00:00
d717c25a2b changed on_reply to on_done in dns client code
added some tcp transport code in dns client
2020-02-27 17:34:27 +00:00
72689c179b addeed some dns client code 2020-02-27 08:40:39 +00:00
71ffd4ce17 changed mio_dev_sck_connect() to not fire on_connect() callback inside itself upon immediate successful connect.
fixed some issues in dns related code
2020-02-25 07:09:20 +00:00
9ef09941c3 initialized capa to 0 in to_dn_capa() 2020-02-24 17:14:21 +00:00
8264142dbe enhanced dns packet builder to encode some rrdata 2020-02-24 16:39:29 +00:00
d98397cd1f added mio_dev_sck_setsockopt(), mio_dev_sck_getsockopt()
fixed the ssl part of the stateful socket writev method.
2020-02-23 16:11:32 +00:00
75887e4f74 adding writev support 2020-02-22 18:24:49 +00:00
052e10694d adding mio_dev_timedwritev() 2020-02-21 16:58:41 +00:00
ef50d2458b some code to implement dns over tcp in dnc 2020-02-21 09:42:10 +00:00
c620afe4c9 separated dnc code from dns.c to dns-cli.c 2020-02-21 04:21:16 +00:00
6787ee7841 updated copyright years.
attempting to support dns over tcp
2020-02-20 15:35:16 +00:00
2332d6a4e7 renamed some utility functions 2020-02-20 14:59:49 +00:00
f5f8b9e2b4 enhanced mio_equal_skads() 2020-02-20 10:07:12 +00:00
e73d822d0a added intmax formatting functions 2020-02-20 06:48:43 +00:00
e19490a505 changed to remember the server address for each dns message sent 2020-02-20 06:21:53 +00:00
3d20fc7421 reorganized and enhanced socket address functions 2020-02-20 06:00:53 +00:00
c5e8e902aa fixed a dns packet check issue in dns.c 2020-02-19 15:42:29 +00:00
73eff3822b added PTR parsing.
added string to skad conversion functions
2020-02-19 14:59:06 +00:00
51865ceaa8 deleted a duplicate definition 2020-02-19 05:46:58 +00:00
69d16b7050 fixed configure.ac regarding __uint128_t 2020-02-19 05:44:29 +00:00
ee0fe1b408 enhanced rr data parsing 2020-02-17 14:54:21 +00:00
616384b042 added nwif functions 2020-02-16 14:23:27 +00:00
201bbf20a1 added unfinished socket address functions 2020-02-16 13:59:41 +00:00
a3b2645cb7 implemented dnc resolve retries 2020-02-16 11:03:25 +00:00
5b9fb40ba5 attempting to implement retries in dnc resolve 2020-02-14 16:55:04 +00:00
20de4ae2db handled MIO_DNS_RRT_Q_ANY/MAILA/MAILB/AXFR in brief mode of dnc resolve 2020-02-14 10:13:45 +00:00
11e50cd5c8 simplified mio_svc_dnc_resolve(), mio_svc_dnc_sendreq().
changed the above and some similar functions to return mio_dns_msg_t*
changed them to accept extension space size
2020-02-14 10:06:29 +00:00
769fdb5ad2 some code touch-up in dns.c 2020-02-13 16:27:29 +00:00
4e6a1b7d85 added some code to implement dns packet parser 2020-02-13 09:31:02 +00:00
192e64b65c more code to handle rrdata 2020-02-12 15:23:36 +00:00
d0906bb8ac implemented dns domain parser in a packet 2020-02-12 10:06:05 +00:00
42fe77bde5 attempting to add a dns packet parser 2020-02-11 15:51:41 +00:00
c6e3b6204b some dns resolver code 2020-02-11 09:02:46 +00:00
89371559bb fixed wrong prefix output for %# in fmt.c 2019-11-24 08:08:08 +00:00
d95b96b34e fixed a wrong conditional in mio-prv.h 2019-11-24 05:10:55 +00:00
ec1c9ac5d0 added mio_oocu_t, mio_ucu_t, mio_bcu_t 2019-11-19 14:02:26 +00:00
2c4e247c98 added MIO_BITSOF(x) 2019-09-26 05:43:04 +00:00
29195437a7 added static assertion macros 2019-08-06 03:01:22 +00:00
2ad04e20da not useful macro reordering 2019-06-24 11:38:13 +00:00
f94280bae4 added bin/Makefile.am 2019-06-21 14:19:39 +00:00
6d357fe1fe added the _instsize field to mio_t and revised mio_getxtn() using the new field 2019-06-21 12:43:50 +00:00
86c1d9ebe6 added lib/fmt.c 2019-05-31 14:32:02 +00:00
3f60b8e4e8 refactored the formatter code 2019-05-31 14:31:40 +00:00
cff18d2067 added the bin directory and moves files for binary commands into it 2019-05-14 04:25:38 +00:00