Commit Graph

44 Commits

Author SHA1 Message Date
8f8c32c525 fixed some faults in dns.c 2020-06-25 03:08:22 +00:00
b112280225 breaking http-svr.c to multiple files 2020-05-25 08:04:30 +00:00
26b720099c made list management more consistent 2020-04-30 14:48:39 +00:00
ec33f042d3 minor comment changes 2020-04-28 11:33:54 +00:00
c52ce87aa4 fixed a parsing bug of a compressed domain name placed at the end of the packet 2020-04-28 11:27:24 +00:00
a0545235dd fixed wrong conditions in lib/dns.c 2020-04-28 10:27:41 +00:00
b801ff6703 implemented soa rr encoding in dnc 2020-03-02 04:58:22 +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
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
f5f8b9e2b4 enhanced mio_equal_skads() 2020-02-20 10:07:12 +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
ee0fe1b408 enhanced rr data parsing 2020-02-17 14:54:21 +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
bac56f3d1d placing rdata encoding code in encode_rdata_in_dns_msg() 2019-04-13 07:23:11 +00:00
2bff2e76fe adding more dns parsing code 2019-04-13 06:04:43 +00:00
e5c82673a8 removed wrongly placed hash sign in dns.c 2019-04-12 09:39:42 +00:00
423b627cbc created the dns_msg_to_pkt() macro
schedued to wait for response only if a query has been sent
2019-04-12 07:02:04 +00:00
0d3bebb42f fixed the mio_dev_sck_getxtn() macro 2019-04-12 05:52:33 +00:00
564af6fbaf preparing to write dns packet parser 2019-04-11 08:23:01 +00:00
a0f9b567cb enhanced the dns client code with timeout handling, id tracking, etc 2019-04-11 07:26:00 +00:00
cc9a038760 enhanced the dns message builder function 2019-04-10 09:05:56 +00:00
92677d5129 added some experimental edns code 2019-04-09 15:24:16 +00:00
9217fcec55 some code for edns 2019-04-09 09:45:02 +00:00
c82aae920a minor change 2019-02-22 10:13:35 +00:00
a76dc94e0a renamed mio_makedev() to mio_dev_make().
added MIO_SVC_REGISTER() and MIO_SVN_UNREGISTER().
defined mio_svc_t
2019-02-22 08:44:51 +00:00
0760dc1a04 attempt to support edns0 2019-02-16 18:22:32 +00:00
f6278a4623 added the actual dns function file left out previously 2019-02-14 10:09:11 +00:00