New features:
- Base
- The license under which the library is released is changed to Lesser GNU Public
License version 3.0.
- New ways to use incoming Interest dispatching:
- New InterestFilter abstraction that supports filtering based on name prefixes
and regular expressions.
- Separated Face::registerPrefix() and Face::setInterestFilter() methods allow
distinct operations of registering with the local NDN forwarder and setting up
application-specific OnInterest call dispatch using InterestFilters.
- Security
- Add type dir trust-anchor in ValidatorConfig to add all certificates under the
specified directory as trust anchors. The new option also allows periodic
reloading trust anchors, allowing dynamic trust models.
- Added support for multiple signature types to PublicKey, SecPublicInfo
abstractions
- New SignatureSha256WithEcdsa signature type
- Wire encoding
- Data::getFullName() method to get Data packet name with implicit digest
- New Name::getSuccessor() method to get name successor
- Management
- Support for ChannelStatus, StrategyChoice datasets
- Build
- enabled support of precompiled headers for clang and gcc compilers to speed up
compilation
Updates and bug fixes:
- Wire encoding
- Nonce field is now encoded as 4-byte uint8_t value, as defined by NDN-TLV spec.
- Optimized Data packet signing
KeyChain::sign method now pre-allocates EncodingBuffer, requests unsigned portion
of Data using Data::wireEncode(EncodingBuffer, true), and then appends the
resulting signature and prepends Data packet header. This way there is no extra
memory allocation after Data packet is signed.
- Security
- Allow user to explicitly specify the cert name prefix before 'KEY' component in
ndnsec-certgen
- SignatureSha256 has been renamed to DigestSha256 to conform with NDN-TLV
specification.
- Add checking of Timestamp and Nonce fields in signed Interest within
ValidatorConfig
- Allow validator customization using hooks:
Sub-classes of Validator class can use the following hooks to fine-tune the
validation process:
- Validator::preCertificateValidation to process
received certificate before validation.
- Validator::onTimeout to process interest timeout
- Validator::afterCheckPolicy to process validation
requests.
- Other minor fixes and corrections
Deprecated:
- SignatureSha256 class, use DigestSha256 instead.
- All Face constructors that accept shared_ptr<io_service>.
Use versions that accept reference to io_service object.
- Face::ioService method, use Face::getIoService instead.
- Interest constructor that accepts name, individual selectors, and individual guiders
as constructor parameters.
Use Interest().setX(...).setY(...) or use the overload taking Selectors
- name::Component::toEscapedString method, use name::Component::toUri instead.
- SecPublicInfo::addPublicKey method, use SecPublicInfo::addKey instead.
- Tlv::ConentType constant (typo), use Tlv::ContentType instead.
Removed:
- support of ndnd-tlv (only NFD management protocol is supported now)
- SecPublicInfoMemory and SecTpmMemory classes that were no longer used
- Removing concept of periodic event from Scheduler.
In applications, periodic events should be just re-scheduled within the callback for
single-shot events.
- c169a81 src: Switching to LGPL 3.0 license by Alexander Afanasyev · 10 years ago
- 258ec2b src: Refactoring common.hpp and minimizing exposed includes by Alexander Afanasyev · 10 years ago
- 770827c docs: Updating doxygen comments and minor update to normalize API by Alexander Afanasyev · 10 years ago
- f73f063 src: Removing unnecessary use of cref() in concert with make_shared by Alexander Afanasyev · 10 years ago
- 984ad19 face: Finalizing separation between registerPrefix and setInterstFilter by Alexander Afanasyev · 10 years ago
- b67090a build+tests: Fixing c++11 mode compilation and correcting integrated test with faces by Alexander Afanasyev · 10 years ago
- 6507fb1 transport: Fixing regression with TCP transport by Alexander Afanasyev · 10 years ago
- dfa52c4 docs: Updating documentation and license boilerplates in all files by Alexander Afanasyev · 10 years ago
- 2a7f720 exceptions: Make Tlv::Error a base class for all packet-processing exceptions by Alexander Afanasyev · 10 years ago
- fdbfc6d src: Improving consistency and correcting code style by Alexander Afanasyev · 10 years ago
- c07b3a2 util, transport: add configuration file support and make default unix socket configurable by Steve DiBenedetto · 10 years ago
- 937aa78 decoding+transport: Exception-safe Block parsing by Alexander Afanasyev · 10 years ago
- aa0e7da all: Refactoring work with time using boost::chrono by Alexander Afanasyev · 10 years ago
- 6e0c5a5 transport: Fixing bug with pausing transport by Alexander Afanasyev · 10 years ago
- 52afb3f face: When there are no more events to process, pausing transport instead of closing it by Alexander Afanasyev · 11 years ago
- 5964fb7 management: Making LocalControlHeader encoding independent of Interest/Data wire by Alexander Afanasyev · 11 years ago
- f7ca320 face: Making environment-based selection of the daemon (ndnd-tlv vs. nfd) by Alexander Afanasyev · 11 years ago
- e2dcdfd build: Experimental support to build using precompiled headers by Alexander Afanasyev · 11 years ago
- 1950885 build+src: Updating common.hpp to import (std|boost)::(shared_ptr|function|...) into ndn namespace by Alexander Afanasyev · 11 years ago
- 09c613f src: Another round of source updates: moving all headers close to implementation files by Alexander Afanasyev · 11 years ago
- d409d59 build: Finalizing waf building system (removing legacy code) by Alexander Afanasyev · 11 years ago
- 20d2c58 transport: Implementing TcpTransport by Alexander Afanasyev · 11 years ago
- 61ec272 renaming: ndn-cpp to ndn-cpp-dev by Yingdi Yu · 11 years ago
- 8995f54 node+transport: Fixing bug that prevented reconnection to the forwarder after being disconnected for some reason by Alexander Afanasyev · 11 years ago
- 50ca627 transport/unix: Fixing segfault due to errorneous creation of multiple UnixTransport::Impl instances by Alexander Afanasyev · 11 years ago
- 0102be9 transport/unix: Implementing connect timeout by Alexander Afanasyev · 11 years ago
- bf08211 node: Ensure that processEvents blocks only if there are active events by Alexander Afanasyev · 11 years ago
- 54467af build: Fixing gcc compilation by Alexander Afanasyev · 11 years ago
- 3c03420 transport/unix: Fixing compilation in c++11 mode by Alexander Afanasyev · 11 years ago
- 3ae2da2 node+transport: Improving async operations and error reporting by Alexander Afanasyev · 11 years ago
- a557d5a face: Extending Face interface to support ``put`` call by Alexander Afanasyev · 11 years ago
- 328e23d transport/unix: Adding complex logic to handle streamed data by Alexander Afanasyev · 11 years ago
- e2e0d75 face+transport: Cleanup and preparation for implementation of fully async Face operations by Alexander Afanasyev · 11 years ago
- fe3b150 transport: Implementation of semi-async UNIX transport (for TLV format only) by Alexander Afanasyev · 11 years ago
- 8863d9d transport: (temporary) remove UDP and TCP transports by Alexander Afanasyev · 11 years ago
- 0b688dc face+transport: Eliminating concept of ConnectionInfo by Alexander Afanasyev · 11 years ago
- 17cb30c transport: Remove unused member elementListener_. by Jeff Thompson · 11 years ago
- 53430e0 TcpTransport: need to #include <stdlib.h> for malloc. by Jeff Thompson · 11 years ago
- 2db6037 files: Rename ndn-cpp/ to src/. Updated Makefile.am. Refs #1054. by Jeff Thompson · 11 years ago