JINMEI Tatuya
df8ef3fffa
[trac893] changed the behavior against "unknown" TSIG key algorithm: accept
...
unknown names as long as the secret is empty. This will be useful in handling
the BADKEY situation.
2011-05-03 16:28:49 -07:00
JINMEI Tatuya
79b087eab3
[trac893] unrelated cleanup: correced a typo in a comment line.
2011-05-03 15:08:37 -07:00
JINMEI Tatuya
efdf126e6e
[trac893] added another constructor for TSIGContext: from key params and keyring.
2011-05-03 15:03:55 -07:00
JINMEI Tatuya
35a7c63a23
[trac893] cleanup: make TSIGKeyRing::find() a const member function
2011-05-03 14:54:54 -07:00
JINMEI Tatuya
a91fc737dd
[trac893] updated TSIGKeyRing so that its find() method takes key name and
...
algorithm and matches both
2011-05-03 12:32:25 -07:00
JINMEI Tatuya
34c2d5bbe0
[trac893] Merge branch 'trac813' into trac893
2011-05-03 11:46:04 -07:00
JINMEI Tatuya
4a2c0e7a88
[trac813] adding necessary test data (forgot to git-add them)
2011-05-03 11:45:35 -07:00
JINMEI Tatuya
e4f2823d8b
[trac893] Merge branch 'trac813' into trac893
2011-05-03 10:56:36 -07:00
JINMEI Tatuya
25301e86fb
[trac813] made sure the TSIG class calls the constructor of RR's constructor.
2011-05-03 10:55:47 -07:00
JINMEI Tatuya
1b967a5870
[trac893] Merge branch 'trac813' into trac893
2011-05-03 10:47:48 -07:00
JINMEI Tatuya
50ebc839b1
[master] added lib/cryptolink/.libs to ENV_LIBRARY_PATH in run_bind10.sh.
...
this fixes regression for MacOS X.
2011-05-03 10:46:26 -07:00
JINMEI Tatuya
f1dfe74d6b
[trac813] new test data (forgot to add it)
2011-05-02 23:13:00 -07:00
JINMEI Tatuya
6daf339b7a
[trac813] overall documentation updates and editorial cleanups
2011-05-02 23:10:55 -07:00
JINMEI Tatuya
3ce5e0a2b9
[trac813] added a test case for Message::toText() and implemented that feature.
...
also made some improvements to test tools for more useful outputs.
2011-05-02 18:16:09 -07:00
JINMEI Tatuya
9e8b5ec423
[trac813] anoter Message::toText() test: testing a message with EDNS
...
(not related to TSIG)
2011-05-02 17:53:07 -07:00
JINMEI Tatuya
cca71e70d0
[trac813] a minor editorial fix in a comment line.
2011-05-02 17:41:58 -07:00
JINMEI Tatuya
2d514a7641
[trac813] added a test case to Message::toText(), and adjusted the code
...
(and a python test) to be compatible with BIND 9 dig's output.
2011-05-02 17:36:18 -07:00
JINMEI Tatuya
e22700fc20
[trac813] added some test utilities for tests that will be added soon.
2011-05-02 17:04:47 -07:00
JINMEI Tatuya
98d147ea68
[trac813] preparation for further tests: introducing the RR class to centralize
...
the RR type independent rendering logic. Also added the trivial A/NS classes.
2011-05-02 15:23:13 -07:00
JINMEI Tatuya
ac7ff7f222
[trac890] added some more detailed comments about the addition of rpath
...
to LDFLAGS.
2011-05-02 11:34:14 -07:00
JINMEI Tatuya
677cebce17
[trac890] re-added BOTAN_RPATH to cryptolink/Makefile.am.
...
according to the libtool manual,
http://www.gnu.org/software/libtool/manual/html_node/Link-mode.html
the intent seems to propagate -R from a library's dependency_libs to
the program that uses the library. On our systems libtool doesn't do
this propagation and we needed the global rpath, but if the documentation
is correct, there may be a version of libtool that works.
2011-05-02 11:21:12 -07:00
JINMEI Tatuya
f0fe344b15
[trac890] proposed workaround fix to the botan rpath problem: specify the
...
rpath in the global LDFLAGS.
also remove BOTAN_RPATH from libcryptolink/Makefile.am (which is not part
of fix, but is simply unnecessary)
2011-05-02 10:54:44 -07:00
JINMEI Tatuya
0e3b55edc7
[trac813] added support for TSIG specific handling in Message::fromWire().
...
also added a new method Message::getTSIGRecord() so that apps can get the
received TSIG record.
2011-05-01 12:36:20 -07:00
JINMEI Tatuya
0261bbec3a
[trac813] a small update to the gen-wiredata script so that we can specify
...
the textual RR class for TSIG rr_class.
2011-05-01 12:31:28 -07:00
JINMEI Tatuya
e997ff18a6
[trac813] supported another form of TSIGRecord constructore, intending to
...
use it in "from wire" cases. also corrected RR_COMMON_LEN and related tests.
2011-05-01 12:29:06 -07:00
Jeremy C. Reed
9e183cb052
[master] add missing rdata files and change some generated headers to nodist
...
Add missing libdns++ rdata files for the distribution (this
fixes distcheck error). Change three generated libdns++
headers to "nodist" so they aren't included in the distribution
(they were mistakenly included in last tarball).
This fixes two immediate problems:
If you do a distcheck build or create a tarball it would mistakenly
include the rdataclass.h, rrclass.h, and rrtype.h headers.
They are supposed to be generated at build time.
Also the rp_17 rdata files were not included in the distribution,
so building would fail because rdataclass didn't define the RP class.
This update also includes the nsec_bitmap rdata files. (I didn't
see any problem related to this, but I assume they were meant to
be shipped.)
I added two generated files to BUILT_SOURCES. Not necessarily
required, but this implies that the target for these should be
done before the regular build (so this makes sure the generated
files are created).
Discussed a little on jabber on Friday.
This should fix the existing distcheck autobuilder failures.
2011-04-30 12:37:11 -05:00
JINMEI Tatuya
e34dd62b8e
[master] minor wording fix in (doxygen) comment
2011-04-29 17:03:35 -07:00
JINMEI Tatuya
8320ec6eb2
[trac813] Merge branch 'trac871' into trac813
2011-04-29 16:46:31 -07:00
Jeremy C. Reed
d033a50a7e
[master] sort some EXTRA_DIST entries
...
I alphabetically sorted some EXTRA_DIST entries so I can quickly
see differences when updating this. This is only for what is
included in the tarball.
2011-04-29 09:40:00 -05:00
Jelte Jansen
c8b7abc575
[master] small change to make it compile again on my system
...
acked by shane on jabber
2011-04-29 14:14:58 +02:00
JINMEI Tatuya
b8422db8e0
[trac871] Revert "[trac871] unrelated cleanup: use unnamed namespace instead of file-scope static."
...
This was committed to the wrong branch.
This reverts commit cce60befee1e0c25e20449b9242112cc0a777089.
2011-04-29 01:47:38 -07:00
JINMEI Tatuya
da16cc7764
[trac871] Revert "[trac871] implemented a minimal set of python lib for TSIG: just allowing construction of TSIGContext and add another signature to Message.to_wire() to send a signed message."
...
(this was committed to the wrong branch)
This reverts commit d6db622c5649e745fb3c64218e36c41545c47aed.
2011-04-29 01:47:08 -07:00
JINMEI Tatuya
d6db622c56
[trac871] implemented a minimal set of python lib for TSIG: just allowing construction of TSIGContext and add another signature to Message.to_wire() to send a signed message.
2011-04-29 01:41:59 -07:00
JINMEI Tatuya
cce60befee
[trac871] unrelated cleanup: use unnamed namespace instead of file-scope static.
2011-04-29 00:37:11 -07:00
JINMEI Tatuya
89dd454817
[trac871] trivial editorial cleanup: removed redundant white space after EOLs
2011-04-28 23:58:31 -07:00
JINMEI Tatuya
364be72653
[trac871] Merge branch 'master' into trac871
...
Conflicts:
src/lib/dns/tsig.cc
2011-04-28 18:05:25 -07:00
JINMEI Tatuya
43f9ce0c56
[master] forgot to apply one last suggestion in #812 : renaming a method.
2011-04-28 17:56:33 -07:00
JINMEI Tatuya
ebe0c4b1e6
[master] Merge branch 'trac812' with fixing conflicts and regression.
...
Conflicts:
doc/Doxyfile
src/lib/Makefile.am
src/lib/cryptolink/cryptolink.cc
src/lib/dns/tsigkey.cc
src/lib/util/unittests/Makefile.am
Other fixes:
- cppcheck filter adjustment
- (indirect) dependency on libbotan. actually we should be able to make
the link within libcryptolink, so I chose that approach. hopefully
it doesn't break autobuild.
2011-04-28 17:46:42 -07:00
JINMEI Tatuya
d9b00f6ded
[trac812] made sure libutil_io is linked from dns/tests as agreed in review.
2011-04-28 17:02:51 -07:00
JINMEI Tatuya
2c60d79949
[master] Merge branch 'trac868'
2011-04-28 16:52:47 -07:00
JINMEI Tatuya
0ede9e8f8c
[master] added a note about botan version: We need exactly 1.8
2011-04-28 16:42:55 -07:00
JINMEI Tatuya
64cee1a7ad
[master] removed spec_config.h from xxx_SOURCES in auth/tests/Makefile.am.
...
they were actually not "SOURCES", and caused distcheck failures.
discussed on jabber.
2011-04-28 16:37:29 -07:00
JINMEI Tatuya
177b356c92
[master] Merge branch 'master' of ssh://bind10.isc.org/var/bind10/git/bind10
2011-04-28 16:36:36 -07:00
JINMEI Tatuya
1867180c5e
[master] [master] added workaround for freebsd about ldflags and cppflags for botan:
...
use -L`botan-config --prefix`/lib and -I`botan-config --prefix`/include.
2011-04-28 16:36:00 -07:00
Jelte Jansen
6c554c8b4e
[master] removed a configure.ac line that got left over after copy/paste
2011-04-28 22:25:14 +00:00
Jelte Jansen
6eb7a93e81
[master] use botan-config
...
if nothing (or --with-botan) is specified it will be taken from $PATH, if --with-botan=dir is specified it will be taken from $withval/bin
If --without-botan is specified configure will print an error
2011-04-28 21:34:55 +00:00
Jelte Jansen
cacab413e8
[master] fix BOTAN_LDFLAGS and BOTAN_INCLUDES
2011-04-28 19:22:20 +00:00
Jelte Jansen
ec1ad75257
[master] check for botan 1.8 or higher during configure
2011-04-28 13:04:44 +00:00
JINMEI Tatuya
28143beb0e
[trac812next] made straightforward changes to toWire() methods so that
...
they use AbstractMessageRenderer.
not related to the subject of this branch, but we'll need this change anyway,
and touching some toWire()s is a good opportunity to make this happen.
2011-04-28 02:00:31 -07:00
JINMEI Tatuya
76705c8fc5
[trac812next] added document for the TSIG version of toWire()
2011-04-28 02:00:15 -07:00