From willem at nlnetlabs.nl Fri Feb 1 13:04:30 2013 From: willem at nlnetlabs.nl (Willem Toorop) Date: Fri, 01 Feb 2013 14:04:30 +0100 Subject: [ldns-users] ldns --with-drill: cannot find -lcrypto In-Reply-To: <20130131133057.GA7661@omroep.nl> References: <20130131133057.GA7661@omroep.nl> Message-ID: <510BBD5E.8050809@nlnetlabs.nl> Hi Leo, You are absolutely correct. I've fixed it in trunk. Thanks! -- Willem PS. Sorry for the late response. I actually noticed your post to the unbound-users list too. Op 31-01-13 14:30, Leo Baltus schreef: > > Hi, > > I just wanted to compile ldns --with-drill compiling against openssl > which I have installed in /compile/openssl-1.0.0j > > $ ./configure --with-ssl=/compile/openssl-1.0.0j --with-drill > $ make > > ./libtool --tag=CC --quiet --mode=link gcc -I. -I. -DHAVE_CONFIG_H -I/compile/openssl-1.0.0j/include -Wwrite-strings -W -Wall -O2 -g -D_GNU_SOURCE drill/chasetrace.lo drill/dnssec.lo drill/drill.lo drill/drill_util.lo drill/error.lo drill/root.lo drill/securetrace.lo drill/work.lo -lcrypto -ldl -lldns -o drill/drill > /usr/bin/ld: cannot find -lcrypto > > I think that '-I/compile/openssl-1.0.0j/include' should read > '-L/compile/openssl-1.0.0j/lib' as it is linking and not compiling at > this stage. > > Attached patch fixes this, however I have not extensively tested this so > maybe there is a valid reason to use LIBSSL_CPPFLAGS here. > > > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > From Leo.Baltus at omroep.nl Fri Feb 1 14:11:37 2013 From: Leo.Baltus at omroep.nl (Leo Baltus) Date: Fri, 1 Feb 2013 15:11:37 +0100 Subject: [ldns-users] drill bind to source address Message-ID: <20130201141137.GF17062@omroep.nl> Hi, I want to use drill in our, rather tight firewalled, environment. I have a couple of interfaces to choose from to do dns queries, however the default source addres is not one of them. Luckily there's already a patch: https://open.nlnetlabs.nl/pipermail/ldns-users/2012-October/000560.html I just tried it with ldns-1.6.16, but that does not seem to work. So I want to bind to an address to query from, like dig's -b option, the argument should however be either a name parsed by getaddrinfo() or have some way to specify both an IPv4 and an IPv6 address. Are there any plans to implement a feature like this? -- Leo Baltus, internetbeheerder /\ NPO ICT Internet Services /NPO/\ Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/ servicedesk at omroep.nl, 035-6773555 \/ From Willem at NLnetLabs.nl Mon Feb 4 22:38:38 2013 From: Willem at NLnetLabs.nl (Willem Toorop) Date: Mon, 04 Feb 2013 23:38:38 +0100 Subject: [ldns-users] drill bind to source address In-Reply-To: <20130201141137.GF17062@omroep.nl> References: <20130201141137.GF17062@omroep.nl> Message-ID: <5110386E.20805@NLnetLabs.nl> Op 01-02-13 15:11, Leo Baltus schreef: > Luckily there's already a patch: > https://open.nlnetlabs.nl/pipermail/ldns-users/2012-October/000560.html > I just tried it with ldns-1.6.16, but that does not seem to work. Oops.. I'm afraid I forgot about it after the 1.6.14 release because of the issues that subsequently led to the 1.6.15 and 1.6.16 release. I will look into it (implement it) shortly. -- Willem From mark at streamservice.nl Thu Feb 14 23:35:00 2013 From: mark at streamservice.nl (Mark Scholten) Date: Fri, 15 Feb 2013 00:35:00 +0100 Subject: [ldns-users] Problem using ldns-dane (version 1.6.16) Message-ID: Hello, Today I installed ldns 1.6.16 from source (steps are below). With this I get the tool ldns-dane, however this doesn't seem to work. The operating system is Debian 6.0.6 64bit. First I did install ldns using: ./configure --disable-gost make make install After that I did enter examples and did try to install it using: ./configure --disable-gost make make install During the installation I didn't see any error (maybe I did miss something). There was only a warning that it couldn't find a pcap library and for that reason didn't build ldns-dpa. After the installation I did run: ldns-dane create www.dnsshop.org 443 And did get the following error: ldns-dane: symbol lookup error: ldns-dane: undefined symbol: ldns_dane_create_tlsa_owner Did I make an error (likely) or is there somewhere a bug that could be solved by modifying a file? I want to get information to create a TLSA record for DANE. Any help would be appreciated. Kind regards, Mark From willem at nlnetlabs.nl Fri Feb 15 10:14:58 2013 From: willem at nlnetlabs.nl (Willem Toorop) Date: Fri, 15 Feb 2013 11:14:58 +0100 Subject: [ldns-users] Problem using ldns-dane (version 1.6.16) In-Reply-To: References: Message-ID: <511E0AA2.20705@nlnetlabs.nl> Hallo Mark, Did you have an older version already installed on your system? Perhaps the examples linked against an older ldns library. The preferred build method now is to build the library, examples and drill (and pyldns) from the top of the build dir. Could you try: ./configure --disable-gost --with-examples --with-drill make examples/ldns-dane create www.dnsshop.org 443 Cheers, -- Willem Op 15-02-13 00:35, Mark Scholten schreef: > Hello, > > Today I installed ldns 1.6.16 from source (steps are below). With this I get > the tool ldns-dane, however this doesn't seem to work. The operating system > is Debian 6.0.6 64bit. > > First I did install ldns using: > ./configure --disable-gost > make > make install > > After that I did enter examples and did try to install it using: > ./configure --disable-gost > make > make install > > During the installation I didn't see any error (maybe I did miss something). > There was only a warning that it couldn't find a pcap library and for that > reason didn't build ldns-dpa. > > After the installation I did run: > ldns-dane create www.dnsshop.org 443 > > And did get the following error: > ldns-dane: symbol lookup error: ldns-dane: undefined symbol: > ldns_dane_create_tlsa_owner > > Did I make an error (likely) or is there somewhere a bug that could be > solved by modifying a file? I want to get information to create a TLSA > record for DANE. > > Any help would be appreciated. > > Kind regards, > Mark > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > From mark at streamservice.nl Fri Feb 15 12:10:23 2013 From: mark at streamservice.nl (Mark Scholten) Date: Fri, 15 Feb 2013 13:10:23 +0100 Subject: [ldns-users] Problem using ldns-dane (version 1.6.16) In-Reply-To: <511E0AA2.20705@nlnetlabs.nl> References: <511E0AA2.20705@nlnetlabs.nl> Message-ID: Hello Willem, This solved it. After that I did copy examples/ldns-* to /usr/local/bin/ and now the usage I did expect to work also works (ldns-dane create www.dnsshop.org 443). Thank you for pointing to this option, the method I used was mentioned in the README file. Kind regards, Mark Scholten > -----Original Message----- > From: ldns-users-bounces at open.nlnetlabs.nl [mailto:ldns-users- > bounces at open.nlnetlabs.nl] On Behalf Of Willem Toorop > Sent: 15 February, 2013 11:15 > To: ldns-users at nlnetlabs.nl > Subject: Re: [ldns-users] Problem using ldns-dane (version 1.6.16) > > Hallo Mark, > > Did you have an older version already installed on your system? Perhaps the > examples linked against an older ldns library. The preferred build method > now is to build the library, examples and drill (and pyldns) from the top of the > build dir. > > Could you try: > > ./configure --disable-gost --with-examples --with-drill make examples/ldns- > dane create www.dnsshop.org 443 > > Cheers, > > -- Willem > > Op 15-02-13 00:35, Mark Scholten schreef: > > Hello, > > > > Today I installed ldns 1.6.16 from source (steps are below). With this > > I get the tool ldns-dane, however this doesn't seem to work. The > > operating system is Debian 6.0.6 64bit. > > > > First I did install ldns using: > > ./configure --disable-gost > > make > > make install > > > > After that I did enter examples and did try to install it using: > > ./configure --disable-gost > > make > > make install > > > > During the installation I didn't see any error (maybe I did miss something). > > There was only a warning that it couldn't find a pcap library and for > > that reason didn't build ldns-dpa. > > > > After the installation I did run: > > ldns-dane create www.dnsshop.org 443 > > > > And did get the following error: > > ldns-dane: symbol lookup error: ldns-dane: undefined symbol: > > ldns_dane_create_tlsa_owner > > > > Did I make an error (likely) or is there somewhere a bug that could be > > solved by modifying a file? I want to get information to create a TLSA > > record for DANE. > > > > Any help would be appreciated. > > > > Kind regards, > > Mark > > > > _______________________________________________ > > ldns-users mailing list > > ldns-users at open.nlnetlabs.nl > > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users From des at des.no Fri Feb 15 21:54:34 2013 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Fri, 15 Feb 2013 22:54:34 +0100 Subject: [ldns-users] Missing or incorrect prototypes Message-ID: <86liapp7j9.fsf@ds4.des.no> The attached patch, relative to 1.6.16, fixes a few incorrect prototypes and staticizes a number of functions that have no prototypes and aren't used outside their translation unit. DES -- Dag-Erling Sm?rgrav - des at des.no -------------- next part -------------- A non-text attachment was scrubbed... Name: ldns-prototypes.diff Type: text/x-patch Size: 12591 bytes Desc: not available URL: From des at des.no Sat Feb 16 22:11:14 2013 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Sat, 16 Feb 2013 23:11:14 +0100 Subject: [ldns-users] Missing or incorrect prototypes In-Reply-To: <86liapp7j9.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Fri, 15 Feb 2013 22:54:34 +0100") References: <86liapp7j9.fsf@ds4.des.no> Message-ID: <86a9r3c3jx.fsf@ds4.des.no> Dag-Erling Sm?rgrav writes: > The attached patch, relative to 1.6.16, fixes a few incorrect prototypes > and staticizes a number of functions that have no prototypes and aren't > used outside their translation unit. Hmm, some of these aren't even used *inside* their translation unit, so this patch may cause warnings about unused functions. DES -- Dag-Erling Sm?rgrav - des at des.no From des at des.no Sat Feb 16 22:16:18 2013 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Sat, 16 Feb 2013 23:16:18 +0100 Subject: [ldns-users] Missing or incorrect prototypes In-Reply-To: <86a9r3c3jx.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Sat, 16 Feb 2013 23:11:14 +0100") References: <86liapp7j9.fsf@ds4.des.no> <86a9r3c3jx.fsf@ds4.des.no> Message-ID: <8638wvc3bh.fsf@ds4.des.no> Dag-Erling Sm?rgrav writes: > Hmm, some of these aren't even used *inside* their translation unit, so > this patch may cause warnings about unused functions. The attached patch (relative to the previous patch) #ifs them out. DES -- Dag-Erling Sm?rgrav - des at des.no -------------- next part -------------- A non-text attachment was scrubbed... Name: ldns-unused-functions.diff Type: text/x-patch Size: 3687 bytes Desc: not available URL: