Commit Graph

2895 Commits

Author SHA1 Message Date
Miek Gieben b691354313 Add OPENPGPKEY, but without type code 2014-07-24 09:29:42 +01:00
Miek Gieben 44520ac719 Merge branch 'systemd'
Add ActivateAndServe to start a server from systemd.
2014-07-23 12:20:35 +01:00
Miek Gieben 62ee88c895 Documentation 2014-07-22 08:27:59 +01:00
Miek Gieben 5222cf4826 drop 1.1 2014-07-21 19:47:30 +01:00
Miek Gieben a71489b611 EDNS0: implement RFC 7314
Add the new option code.
2014-07-21 19:31:28 +01:00
Miek Gieben 00ea2ba8c8 remove go 1.1 from the build targets 2014-07-21 15:37:00 +01:00
Miek Gieben e1cb18539a Systemd support
Rename StartAndServe to ActivateAndServe and only use one PacketConn or
Listener. This just adds a new entry point into starting a server.
2014-07-21 15:24:55 +01:00
Miek Gieben d80ad4aae5 Add support for systemd socket activation 2014-07-18 20:32:17 +01:00
Miek Gieben 9af5c1f8a8 Merge pull request #99 from egonelbre/master
Fix: UDP serving on windows
2014-07-18 13:22:54 +01:00
Egon Elbre dc06b3bde1 undo some changes 2014-07-17 20:48:28 +03:00
Egon Elbre 1d5e55d9b6 Fix: UDP serving on windows, UDP serving test paniced
Also, replaced t.Error/t.Fail with t.Fatal in some places.
2014-07-17 13:14:50 +03:00
Miek Gieben 5c48f3623a Merge pull request #98 from omribahumi/travis-cross-compilation
Added GOOS={linux,darwin,windows} to the Travis-CI build matrix
2014-07-11 13:38:36 +01:00
Omri Bahumi c7ae6d7ab3 Added GOOS={linux,darwin,windows} to the Travis-CI build matrix 2014-07-11 15:25:23 +03:00
Miek Gieben c00b800150 And add the import 2014-07-11 09:28:39 +00:00
Miek Gieben 4ae6bac881 typo 2014-07-11 09:27:55 +00:00
Miek Gieben e571f699d2 Move more syscall function into their own impl.
Windows is stupid
2014-07-11 08:47:49 +00:00
Miek Gieben 907e91be57 udp: Windows: abstract the GetSocketOption away too.
Windows is weird, put this stuff in the impl. specific sub file too.
2014-07-11 08:13:05 +01:00
Miek Gieben 892588a93c Fix the function documentation 2014-07-09 22:23:02 +01:00
Miek Gieben 20ddea5ac9 even shorter 2014-07-09 21:06:42 +01:00
Miek Gieben d161b9087e Cleanup the PR a bit
Remove code and simplify some functions. Documentation is still on the
todo.
Also don't export any of these functions and/or types.
2014-07-09 21:02:21 +01:00
Miek Gieben e4d735493c It compiles 2014-07-09 20:10:27 +01:00
Miek Gieben 97b62e4aff Cleanup the pull request somewhat 2014-07-09 20:07:23 +01:00
Miek Gieben 448e8eb700 Merge branch 'ISSUE-95' of https://github.com/EverythingMe/dns into udp 2014-07-09 19:41:48 +01:00
Miek Gieben 28d936c032 disable ipv6 test until I know how to check for v6 conn. 2014-07-09 07:23:54 +01:00
Miek Gieben f110a8404a remove empty last line 2014-07-08 14:53:28 +00:00
Omri Bahumi 0ef26ca4b8 [ISSUE-95] Added copyright notice to udp.go, udp_linux.go & udp_other.go 2014-07-08 17:44:36 +03:00
Miek Gieben 89edef6b6b Merge pull request #97 from EverythingMe/travis
Added Travis-CI integration
2014-07-08 15:40:20 +01:00
Omri Bahumi 6d33ede2b2 Added travis build status to README.md 2014-07-08 17:35:41 +03:00
Omri Bahumi 14df7a327d Added .travis.yml for Travis-CI 2014-07-08 17:23:29 +03:00
Miek Gieben d09d1781e8 Add v6 benchmarking test.
Mostly to exercise the v6 serving path (of which most lies in the
standard library). But it also is a good test of v6 functionality.
2014-07-08 14:15:08 +00:00
Omri Bahumi aea5c1da03 [ISSUE-95] Patch only relevant stacks (v4, v6, dual) 2014-07-08 15:18:33 +03:00
Omri Bahumi 44f988ea86 [ISSUE-95] Added some documentation for the new UDP implementation 2014-07-08 11:42:02 +03:00
Omri Bahumi 767ff3a2bb Added Omri Bahumi to the CONTRIBUTORS file 2014-07-08 11:09:20 +03:00
Omri Bahumi 4fb9d5f005 [ISSUE-95] Fixed IPv6 handling, reduced OOB buffer size to 40 bytes 2014-07-08 00:19:51 +03:00
Omri Bahumi dea4cb300a [ISSUE-95] Send replies from the right source IP address
Fixes #95
2014-07-07 18:16:42 +03:00
Miek Gieben 3710182f0f Merge pull request #94 from tarnfeld/readme-projects-discodns
Added our discodns project to the list
2014-07-04 09:46:09 +01:00
Tom Arnfeld 244ba9db68 Added our discodns project to the list 2014-07-04 07:29:35 +01:00
Miek Gieben ecf5962c24 Merge pull request #93 from DSpeichert/master
Added godnsagent to the list of users
2014-07-03 08:55:45 +01:00
Daniel Speichert 7cf0864eb9 Added godnsagent to the list of users 2014-07-02 19:21:29 -04:00
Miek Gieben b0342e8757 Small extension of documentation 2014-06-29 10:36:59 +01:00
Miek Gieben dd90d7942b Add more EDNS0 options 2014-06-19 11:05:28 +00:00
Miek Gieben fc67c4b981 Add Class parsing test function 2014-06-15 20:40:34 +01:00
Miek Gieben 09c28d4a95 comment 2014-06-14 12:48:44 +01:00
Miek Gieben 05cfaca9f0 Merge branch 'master' of github.com:miekg/dns 2014-06-06 21:10:48 +01:00
Miek Gieben 5a8fe5d5f7 Add Copy test 2014-06-06 21:10:38 +01:00
Miek Gieben e8919b372d added comment/todo 2014-06-04 10:21:27 +00:00
Miek Gieben 060e66250e Add IsMsg()
A quick validating function that checks if a buffer is a valid
DNS message.
The code is *far* from complete.
2014-05-18 09:02:00 +01:00
Miek Gieben 812ab5e755 Merge pull request #92 from andrewtj/atj-oversizerrdata
Make PackRR enforce RR data length limit
2014-04-29 08:33:53 +01:00
Andrew Tunnell-Jones 8772f9064c Make PackRR enforce RR data length limit
• Make rawSetRdlength return false if length would overflow
• Make PackRR assume rawSetRdlength returning false indicates an overflow
2014-04-29 05:03:01 +00:00
Miek Gieben 9ee1d1eda1 Merge branch 'master' of github.com:miekg/dns 2014-04-25 09:13:05 +00:00