Commit Graph

27 Commits

Author SHA1 Message Date
Bjorn Andersson 488412d4e6 buffer overflow in dns.c pointed out by Matus Harvan, also strncpy cleanups 2007-08-26 15:47:32 +00:00
Erik Ekman ea30edd76f fixed #17: report RCODE error msgs 2007-07-11 22:10:53 +00:00
Erik Ekman faea33eaae Move dns_build_hostname to iodine.c 2007-06-07 18:57:18 +00:00
Erik Ekman 15a83534a8 new year 2007-03-21 00:00:27 +00:00
Erik Ekman ad07e40988 Use -pedantic, fixed all warnings 2007-02-11 13:54:40 +00:00
Bjorn Andersson eb082ac9ce code cleanup 2007-02-10 22:52:36 +00:00
Bjorn Andersson 16e9df4164 moved method that encoded strings to dnsnames to read.c and renamed it to putname 2007-02-10 22:30:40 +00:00
Erik Ekman a49e400ea9 splint said that these headers where not used 2007-02-10 22:13:42 +00:00
Erik Ekman 9355cd7829 #10 fixed basic ack. pings bigger than 110 still lost 2007-02-05 19:44:46 +00:00
Erik Ekman 9b438c20d4 #3 remove dnsd_send from dns.c, move to iodined.c 2007-02-05 17:49:30 +00:00
Bjorn Andersson db62c7f82c extracted common code from send_* in iodine.c 2007-02-04 23:12:08 +00:00
Erik Ekman da636b1f47 #3 fix issue with topdomain. Also make sure ping packet is type NULL 2007-02-04 23:08:09 +00:00
Bjorn Andersson 46d3053540 servern now get a topdomain other than NULL 2007-02-04 22:38:07 +00:00
Bjorn Andersson b45dc25226 #3 major cleanup on client, moved all network code from dns.c to iodine.c 2007-02-04 20:37:36 +00:00
Erik Ekman 728919fc9a #5 Add checks on incoming queries 2007-02-04 17:22:07 +00:00
Erik Ekman c5317fe388 #3 move dnsd_read from dns.c to iodined.c, now named read_dns 2007-02-04 15:46:06 +00:00
Bjorn Andersson 692b595cfc #4 - moved common stuff to common.c and moved open_dns, close_dns there 2007-02-04 15:21:55 +00:00
Bjorn Andersson ef43ef6293 query is now an enum for compile-time checks 2007-01-28 12:31:04 +00:00
Erik Ekman 1a46808b8a Rework query testcase, some dns cleanup 2007-01-28 11:52:36 +00:00
Erik Ekman 89c99f1ddf Use dns_decode for packets from client 2007-01-28 06:47:51 +00:00
Bjorn Andersson 5beb814d8c refactoring client receive code 2007-01-28 06:00:50 +00:00
Erik Ekman d1ffedae43 Added test on dns_encode 2007-01-28 05:37:13 +00:00
Bjorn Andersson e56074b42a refactoring dns, ripped out dns packet generating code, removing dependency on io 2007-01-28 05:10:19 +00:00
Erik Ekman dc5e95ee3d Make variables static 2007-01-28 04:30:43 +00:00
Bjorn Andersson ac1cb81dec fixed memleak on failure 2007-01-28 02:01:39 +00:00
Erik Ekman 1c7f63e97a Fixed password authentication 2006-11-18 16:08:47 +00:00
Bjorn Andersson 1f740de4aa moving files to src and tests, tests disabled 2006-11-09 19:08:28 +00:00
Renamed from dns.c (Browse further)