summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ready to upload to unstable.debian/3.0.0+ds-1archive/debian/3.0.0+ds-1Étienne Mollier2022-12-21
|
* Revert "Declare compliance with Debian Policy 4.6.1."Étienne Mollier2022-12-21
| | | | | This reverts commit 8d554356ee9f9770f9f4b220e9c6bb72132c89cb. Debian Policy is at 4.6.2.
* Remove trailing whitespace from debian/*.Étienne Mollier2022-12-21
| | | | Gbp-Dch: ignore
* Declare compliance with Debian Policy 4.6.1.Étienne Mollier2022-12-21
|
* Update debian/changelogÉtienne Mollier2022-12-21
| | | | Gbp-Dch: Ignore
* Update upstream source from tag 'upstream/3.0.0+ds'Étienne Mollier2022-12-21
|\ | | | | | | Update to upstream version '3.0.0+ds' with Debian dir 2b13be2d8f7da300e646c80cf679e938fb037f62
| * New upstream version 3.0.0+dsÉtienne Mollier2022-12-21
| |\
| | * Merge pull request #164 from matsduf/merge-develop-into-masterMats Dufberg2022-12-19
| | |\ | | | | | | | | Merge develop into master (zonemaster-ldns)
| | | * Merge remote-tracking branch 'zonemaster/develop' into merge-develop-into-masterMats Dufberg2022-12-19
| | | |\
| | | | * Merge pull request #163 from matsduf/prepare-release-v2022.2Mats Dufberg2022-12-15
| | | | |\ | | | | | | | | | | | | Updates for release v2022.2 (Zonemaster-LDNS)
| | | | | * Updates for release v2022.2Mats Dufberg2022-12-13
| | | | |/
| | | | * Merge pull request #162 from blacksponge/use-internal-ldns-dockerGaël Berthaud-Müller2022-12-08
| | | | |\ | | | | | | | | | | | | use internal LDNS for docker image
| | | | | * use internal LDNS for docker imageGaël Berthaud-Müller2022-12-07
| | | | |/
| | | | * Merge pull request #161 from pnax/fix-buildAlexandre Pion2022-12-07
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix build Discovered while building on CentOS 7.
| | | | | * Fix buildAlexandre Pion2022-12-07
| | | | |/
| | | | * Merge pull request #159 from matsduf/update-license-refMats Dufberg2022-11-28
| | | | |\ | | | | | | | | | | | | Corrects the license statement in LDNS.pm
| | | | | * Adds license reference to READMEMats Dufberg2022-11-27
| | | | | |
| | | | | * Adjustss the license statementMats Dufberg2022-11-27
| | | | | |
| | | | | * Corrects the license statementMats Dufberg2022-11-26
| | | | | |
| | | | * | Merge pull request #153 from marc-vanderwal/bugfix/#149Marc van der Wal2022-11-28
| | | | |\ \ | | | | | |/ | | | | |/| Fix unsafe string manipulations in XS code
| | | | | * Fix “bad CAA” unit tests on single-threaded PerlMarc van der Wal2022-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instantiation of a malformed CAA resource record is a guaranteed croak if and only if the Perl in use is compiled with support for interpreter threads (-DUSE_ITHREADS). If not, it won’t. So the unit test is modified to try to convert the bad CAA record back to presentation form, so that it does become a guaranteed croak.
| | | | | * Fix unsafe string manipulations in XS codeMarc van der Wal2022-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix two instances of unsafe C string manipulations, vulnerable to null pointer dereferences and out-of-bounds accesses in edge cases. This was observed as segfaults in zonemaster-cli when attempting to process the following malformed resource record: bad-caa.example. IN CAA \# 4 C0000202 Zonemaster::LDNS::RR and Zonemaster::LDNS::Packet objects can be converted to a string (i.e. presentation format) with the string() method. Doing so triggers a call to the ldns_rr2str() and ldns_pkt2str() C functions respectively. However, when given some classes of malformed packets, ldns’s functions fail by returning NULL instead of a valid C string. Normally, these strings end with a newline, which is removed in the XS code before returning the result. But the removal of that newline character is attempted without checking for NULL pointers or empty strings. With this commit, Zonemaster::LDNS::RR->new() will now croak when given the aforementioned malformed resource record, and so will Zonemaster::LDNS::Packet->string() if it contains such a resource record.
| | | | | * Add unit tests to reproduce issue on bad CAA RRsMarc van der Wal2022-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a unit test in packet.t and another one in rr.t to reproduce the segfaults I observed. See also issue #149.
| | | | * | Merge pull request #158 from pnax/make-update-ldnsAlexandre Pion2022-11-03
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | Automatically reconfigure internal libldns on "ldns/Changelog" updates
| | | | | * | Keep ldns changelog fileAlexandre Pion2022-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The file would be installed, and ease libldns review.
| | | | | * | Fix libldns reconfiguration on updateAlexandre Pion2022-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use prerequisites to check for submodule existence and rebuild it on change (based on Changelog file updates).
| | | | * | | Merge pull request #151 from pnax/nsidAlexandre Pion2022-11-03
| | | | |\ \ \ | | | | | |/ / | | | | |/| | | | | | | | | Add support for NSID option + update internal LDNS to 1.8.3
| | | | | * | Missing files in MANIFEST from libldnsAlexandre Pion2022-10-17
| | | | | | |
| | | | | * | Don't overwrite already defined EDNS optionsAlexandre Pion2022-10-12
| | | | | | |
| | | | | * | Unit test for NSID supportAlexandre Pion2022-10-12
| | | | | | |
| | | | | * | Correctly look up for NSID supportAlexandre Pion2022-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * internal LDNS is 1.8.3 so it supports NSID * external LDNS is unknown, a check is needed
| | | | | * | Update internal ldns to 1.8.3Alexandre Pion2022-09-28
| | | | | | |
| | | | | * | Enable NSID feature with LDNS version >= 1.8.2Alexandre Pion2022-09-28
| | | | | | |
| | | | | * | Set and get EDNS option NSID for/from a packetAlexandre Pion2022-09-28
| | | | | | |
| | | | * | | Merge pull request #157 from mvw-afnic/feature/#155Marc van der Wal2022-10-13
| | | | |\ \ \ | | | | | |/ / | | | | |/| | Improve access to text data in TXT and SPF resource records
| | | | | * | Improve access to data in SPF recordsMarc van der Wal2022-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SPF resource records are, in essence, TXT resource records with a different type identifier. The only real difference between SPF and TXT resource records lies in their uses: TXT is more generic, where SPF was meant for publishing Sender Policy Framework policies before being deprecated. The Zonemaster::LDNS::RR::SPF module suffered from the same problem as its TXT counterpart, i.e. the spfdata() method only returns the first string, in presentation format. For parsing actual SPF policies, however, the behavior of the spfdata() method is both not very useful as well as incorrect: RFC 7208 states that the SPF policy is the concatenation of *all* strings in a single TXT (or SPF) resource record. So like with the txtdata() method in the TXT package, we entirely replace the spfdata() method with a correct and pure-Perl variant.
| | | | | * | Improve access to text data in TXT recordsMarc van der Wal2022-10-12
| | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far, there has been no real elegant way of accessing the data in DNS TXT records. The only existing method, txtdata(), is implemented in XS code and has several issues. Firstly, it only returns the first string of the TXT record. Secondly, it returns that string in presentation format, that is, it returns a string which itself has surrounding quotes and contains decimal escapes for non-printable characters. This incorrect implementation is replaced with one in pure Perl. Normally, the only correct abstraction for TXT resource records is a list of strings. But for some use cases, such as SPF, DKIM and DMARC, the TXT record data ought to be treated as a single long string, which is the concatenation of all the strings in the TXT resource record data, without adding any spaces between consecutive strings. To my knowledge, there is no need to access the actual list of strings in the resource record data. This function could easily be made context-sensitive (e.g. by returning the list of strings in list context) if need be. This commit is also an excellent opportunity to rewrite the unit test for TXT resource records. The previous version needed Internet connectivity, but this new version can be run offline.
| | | | * | Merge pull request #154 from pnax/header-links-lowercaseAlexandre Pion2022-09-15
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | URL fragments referring to internal headings in lowercase
| | | | | * | Use lowercase fragments for internal referenceAlexandre Pion2022-09-01
| | | |_|/ / | | |/| | |
| | | | * | Merge pull request #152 from pnax/build-pathsAlexandre Pion2022-09-05
| | | | |\ \ | | | | | |/ | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Options to build with Libidn and LDNS in uncommon locations * `--debug`: more verbose output * `--libidn-inc`, `--libidn-lib`: where to look for Libidn files * `--ldns-inc`, `--ldns-lib`: where to look for LDNS files
| | | | | * Update README with new optionsAlexandre Pion2022-08-25
| | | | | |
| | | | | * Fix syntax errorAlexandre Pion2022-08-25
| | | | | |
| | | | | * Refactoring: factorize code to load libraryAlexandre Pion2022-08-24
| | | | | |
| | | | | * Options to provide LDNS and Libidn inc/lib pathsAlexandre Pion2022-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow passing distinct LDNS and Libidn paths for include and library files when configuring Zonemaster-LDNS.
| | | | | * Debug optionAlexandre Pion2022-08-24
| | | | |/
| | | | * Merge pull request #148 from zonemaster/masterMats Dufberg2022-06-20
| | | | |\ | | | |_|/ | | |/| | Merge master to develop (Zonemaster-LDNS)
| | | * | Update_master_to_state_of_developMats Dufberg2022-12-19
| | |/ /
* | | | ready to upload to unstable.debian/2.2.2+ds-2archive/debian/2.2.2+ds-2Étienne Mollier2022-12-18
| | | |
* | | | d/control: declare compliance to standards version 4.6.2.Étienne Mollier2022-12-18
| | | |
* | | | d/copyright: document possible confusion with amount of clauses.debian/2.2.2+ds-1archive/debian/2.2.2+ds-1Étienne Mollier2022-11-24
| | | |