Commit Graph

2885 Commits

Author SHA1 Message Date
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
Miek Gieben 40333dd179 Fix trailing whitespace 2014-04-24 09:55:55 +00:00
Miek Gieben b7a8c14d7d Add dns.Name as a type
This can be used for printing names.
2014-04-23 21:06:17 +01:00
Miek Gieben 6295f64c1c Make sprintDomain public as NameToString 2014-04-23 20:58:55 +01:00
Miek Gieben 2dc3e40828 add TODO 2014-04-23 20:54:17 +01:00
Miek Gieben b0474155fb NewRR: add documentation about Rdlength
Rdlength is not set when the RR is returned from NewRR and friends.
2014-04-21 09:10:39 +01:00
Miek Gieben 5592ee4172 Merge branch 'master' of github.com:miekg/dns 2014-04-11 14:00:44 +00:00
Miek Gieben da2a67f6db Update the README slightly 2014-04-11 13:53:48 +00:00
Miek Gieben 1367585a43 Merge pull request #90 from axaxs/master
must lowercase ownername when computing hash for DS
2014-04-10 19:54:17 -04:00
Alex A. Skinner a156d1ec2f must lowercase ownername when computing hash for DS 2014-04-10 19:40:52 -04:00
Miek Gieben bbd975571c tests: fix for 32 bit platforms
On 32 bits the tests would fail with an out of bounds error (in the
tests).
2014-04-10 13:40:37 +00:00