Commit graph

42 commits

Author SHA1 Message Date
J. A. Bezemer 90e25e3a2c update dns parsing #75 2012-02-04 20:34:03 +01:00
Guillaume Rischard 3879f96a80 Fix build error on OSX 10.6 by Guillaume Rischard, #79 2012-02-04 20:34:03 +01:00
Erik Ekman b6fc3fc0ef Made dns_get_id return unsigned short, added test cases 2012-02-04 20:34:00 +01:00
Erik Ekman 155f0c6f37 Merged branch with mingw port. Compiles now, tun work to do 2012-02-04 20:34:00 +01:00
Erik Ekman 0836ad0a5b revert cygwin stuff 2012-02-04 20:34:00 +01:00
Erik Ekman 97bf71e944 Make it build and fix tests in cygwin 2012-02-04 20:33:59 +01:00
Erik Ekman 23fad5b628 Downstream fragmentation now working. Currently fragment size is hardcoded to 1200. More tweaking left, as well as fragsize auto detection. (#7) 2012-02-04 20:33:59 +01:00
Erik Ekman a5031ee9dd Happy new year 2012-02-04 20:33:59 +01:00
Erik Ekman 62824e92ed Handle trans id >= 0x8000, fix bug #37 2012-02-04 20:33:58 +01:00
Erik Ekman 8769d14cde rewrote strange message 2012-02-04 20:33:58 +01:00
Erik Ekman 9d3f87ddcc Fix issue #33, respond to NS requests 2012-02-04 20:33:57 +01:00
Erik Ekman 49695a4cb4 Updated year 2012-02-04 20:33:57 +01:00
Erik Ekman 02d40c1a7b Forward non-tunnel requests to another udp port (fixes #31) 2012-02-04 20:33:57 +01:00
Erik Ekman 539ebb27d9 Changes to allow handling of queries of type A, NS etc 2012-02-04 20:33:57 +01:00
Erik Ekman d50533e26e Rewrote strange warning message 2012-02-04 20:33:56 +01:00
Matus Harvan 4a16503ea5 buffer overflow in dns.c pointed out by Matus Harvan, also strncpy cleanups 2012-02-04 20:33:55 +01:00
Erik Ekman fc3de73f85 fixed #17: report RCODE error msgs 2012-02-04 20:33:55 +01: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)