Davide Pesavento
1752159ae0
build: align minimum build dependencies with ndn-cxx
...
* Recommend boost >= 1.65.1 and gcc >= 7.4.0
* Require clang >= 4.0, or Xcode >= 9.0 on macOS
* Silence an ABI-related diagnostic message from gcc on armv7
* Fix redundant-tags warning with gcc 10
* Add CentOS-specific instructions to docs/INSTALL.rst
* Add Xcode 11.5 to Travis CI
Refs: #5087 , #5106
Change-Id: I70746729a132ecb07d4788934385bb403039dba9
2020-05-15 14:25:26 -04:00
Junxiao Shi
606d5ddc9e
face+fw: store and return PitToken from downstream
...
refs #4532
Change-Id: I97b95232a242186601459622f17983d1bef806d6
2019-09-23 12:47:44 -06:00
Davide Pesavento
eb7b7abbee
fw: use ndn-cxx's RttEstimator in AccessStrategy
...
Refs: #4887
Change-Id: I7e404df953f99374e676c7eb29897c45d0868eef
2019-08-22 22:15:53 -04:00
Davide Pesavento
2cae8cacf0
core: move nfd-specific files to daemon/
...
Refs: #4922
Change-Id: I2243dbb87c63f9cbaf7d7051d7a0d4bca2f9fdb5
2019-04-21 22:15:03 -04:00
Davide Pesavento
03f45d2bb6
core: move NFD_VERSION{,_BUILD}_STRING to version.cpp
...
Change-Id: I97c23de24d8a176bb83a8f481f4880ff49ea710d
2019-04-04 12:35:17 -04:00
Davide Pesavento
16916ae20a
face: introduce NullTransport and use it in several places
...
Refs: #4528
Change-Id: Icc7a77232bca1a700ce1319493c15a85d05d7488
2019-03-30 15:30:09 -04:00
Davide Pesavento
3dade00499
core+daemon: eliminate scheduler::{schedule,cancel} wrappers
...
Also move core/global-io.hpp to daemon/global.hpp
Refs: #4528 , #4883
Change-Id: I0b99029f1a19d7451aab57099cd3303b7eb42ff3
2019-03-19 11:29:56 -06:00
Davide Pesavento
78ddcabcd0
mgmt: merge ManagerBase with NfdManagerBase
...
Refs: #4528
Change-Id: I2ecb4af68927157a9eafc269399855cff192bb54
2019-02-28 23:37:02 -05:00
Davide Pesavento
2bdf60c4e8
core+main: switch to std::thread and thread_local
...
Change-Id: I892eb7d87639c2b0d24a8ed457b9d32635269216
2019-02-19 18:23:45 -05:00
Davide Pesavento
97e33024f2
Replace nfd::getExtendedErrorMessage with boost::diagnostic_information
...
Refs: #4834
Change-Id: I7fc00960d7e5a97748b2277c525a19775810377f
2019-02-15 18:48:22 -05:00
Davide Pesavento
19779d861e
Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
...
Refs: #4834
Change-Id: If2455e1830f310beea434ffb455d960e11c4c2ed
2019-02-14 20:48:34 -05:00
Alexander Afanasyev
99a7ce1363
core: Fix compilation error when privilege drop is not supported
...
Refs: #4833
Change-Id: I2ccc80b31eb5642d66b28e205143243e006f18ca
2019-02-05 14:38:19 -05:00
Davide Pesavento
b8bd5ee965
core: use ndn-cxx's getRandomNumberEngine()
...
Change-Id: I3b5b3ac5238d47ac14481b21d0303c63d0c93b56
2019-02-04 18:52:05 -05:00
Junxiao Shi
feddc3c054
core: use ndn-cxx scheduler::ScopedEventId
...
refs #4698
Change-Id: I5ab56855fb22824e129fd7e3ccfb53174cf34f82
2019-01-17 19:06:00 +00:00
Davide Pesavento
e271260c49
core: seed the global PRNG with more entropy
...
Change-Id: I874b742e0d7cccfc71eb4ea21c60e6e1042d7d6f
2019-01-03 15:50:54 -05:00
Yanbiao Li
f48d0809f0
rib: reimplement auto prefix propagation based on readvertise
...
Change-Id: I6c4d81b829cf78084d26121c81d977d0a86c9a0c
Refs: #3819
2018-10-20 10:31:50 +00:00
Davide Pesavento
7015694293
tests: use "daemon" user/group in Test{PrivilegeHelper,GeneralConfigSection}
...
Change-Id: I40ff8317a11e8fb88555f6c85dae3430295ac435
Refs: #3403
2018-09-15 18:40:21 -04:00
Teng Liang
f59e58f202
core: add a facility to execute functions on the main io_service
...
Change-Id: I38e5f4ad5ed6798a14e0075fb7a14b792f8b2413
refs: #4683
2018-09-10 12:42:01 -07:00
Teng Liang
04d5ce685d
rib: make Service globally accessible via get() static function
...
Change-Id: I2101fb81a613d301acbce7f26e062caa692c5e29
Refs: #4683
2018-08-11 00:54:18 +08:00
Teng Liang
952d6fd3d7
core: add a facility to execute functions on the RIB io_service
...
refs #4279
Change-Id: I29222053348e5d1737d47c85a59d29280b4b791b
2018-08-05 14:12:14 -04:00
Davide Pesavento
e4b2238b33
Improve and simplify code with modern C++ features
...
Change-Id: I83bf5513c2a1f90ba5a59e93c473306864b27d94
2018-06-11 20:26:47 -04:00
Davide Pesavento
c0822fa4a5
build: switch to C++14
...
Change-Id: I7a32dad01e74ef5b7c5f37a5464d0b17a7882c61
Refs: #3076
2018-06-06 16:24:22 -04:00
Davide Pesavento
9c33b90fd3
core+face+tools: use asio::ip::address::from_string directly
...
The compatibility wrappers in ndn-cxx are no longer needed
and will be deprecated soon.
Change-Id: I394164c11dfe776f1d5a6f7c0dceffe9ce6ad85f
2018-05-22 18:22:49 -04:00
Davide Pesavento
a3148081ce
core: reimplement logging using ndn-cxx's facility
...
Change-Id: Ifc7c5d70a61ad405dc1f1adfa522a2c0ad1586ab
Refs: #4580
2018-05-05 23:04:22 -04:00
Davide Pesavento
e34a2825f1
core: silence truncation warning in LoggerTimestamp's operator<<
...
Change-Id: I85882bf5589fbdb8239deec285509c123740ec25
Refs: #4365
2018-04-20 13:10:18 -04:00
Davide Pesavento
87fc0f8d6f
core: drop std::function and ndn::Exclude from common.hpp, add ndn::optional
...
Change-Id: Ie3983d8b6f9929430efd8ada8d942e3f95755cd4
2018-04-12 14:23:40 -04:00
Davide Pesavento
981db808cb
Delete core/asserts.hpp and use ndn-cxx's util/concepts.hpp instead
...
Change-Id: I13a3460c1c3a90ea0fdca3d8212267353f72af4f
2018-04-11 19:24:54 -04:00
Davide Pesavento
1cb619e63b
docs: fully qualify types documented via doxygen's \class command
...
Change-Id: I38594e4d358078d3c6dc7c588695c4b299a44895
2018-04-11 19:24:48 -04:00
Alexander Afanasyev
e4d745d41f
core: Add IpAddressPredicate for white-/blacklisting IP address subnets
...
Change-Id: I9f67c4bcbc55e8a8de0bb70812c5562ba083c948
Refs: #4546
2018-04-10 19:28:07 -04:00
Alexander Afanasyev
3bdc1decf6
core: Add support for IPv6 subnets in Network::isValidCidr
...
This change effectively adds support for IPv6 subnets in white-/blacklists
of NetworkInterfacePredicate
Change-Id: I1962100329d398b4659c4d1a4a0975fa354af026
Refs: #4546
2018-04-09 19:25:14 +00:00
Davide Pesavento
acd00876f9
core: optimize PrivilegeHelper::runElevated()
...
Using std::function is overkill
Change-Id: I0e60592aea1b2fb82c3ea780701dae5e129a9810
2018-02-15 18:26:18 -05:00
Davide Pesavento
85244373f9
core: don't complain if the configuration file is empty
...
It is not an error in itself.
Change-Id: I2d100203c9c63ef4774e00dfa17fd1087e381122
2018-02-03 20:19:09 -05:00
Junxiao Shi
75306351ff
rib: limit route prefix length in rib/register command
...
refs #4262
Change-Id: I567934419f6872cb0f5a823400f53014b9c6e85e
2018-02-01 21:59:44 +00:00
Davide Pesavento
15b5505e01
face: group parameters to createFace and connect into a common structure
...
Change-Id: Icb6857602ed7e897be6c5334b05be23793d133bb
2018-01-29 18:56:12 -05:00
Yanbiao Li
afb2059377
use ndn::ip::address(V6)FromString for scope-id aware conversion
...
Change-Id: Ifdc31771b8a990867c0a79ba42b71c87a97bcd56
Refs: #1428
2017-10-06 10:15:51 -07:00
Davide Pesavento
c25737cd9a
ci+docs: remove all references to cryptopp/crypto++
...
Change-Id: I40fc72a8fa27c1a73c349e8cbaeb402a8b6af742
Refs: #3946
2017-08-26 16:39:56 -04:00
Davide Pesavento
a997d29622
Fix compilation with Boost 1.65.0
...
Change-Id: Ib88b7e13bddb1728dd882c086e97edffdd696f0d
Refs: #4258
2017-08-25 23:30:24 -04:00
Junxiao Shi
a5765d647b
core: delete NetworkInterfaceInfo class
...
nfd::NetworkInterfaceInfo has been replaced by
ndn::net::NetworkInterface.
refs #4021
Change-Id: Ic023b935f47f99f3bd74bbd4dc6c0e5bb2b3bf1c
2017-08-09 04:07:46 +00:00
Junxiao Shi
fc2e13d58d
fw: replace Link with forwarding hint
...
Forwarding now processes forwarding hint on Interests,
and no longer considers the Link object.
refs #4055
Change-Id: I0331687ee8ec31afa2f1a105e903670689647c4d
2017-07-25 02:08:48 +00:00
Junxiao Shi
0d82d0459c
face: construct EthernetTransport with NetworkInterface
...
EthernetTransport and EthernetChannel constructors now accept
ndn::net::NetworkInterface instead of NetworkInterfaceInfo,
in preparation for the transition to NetworkMonitor.
refs #4021
Change-Id: I1687a13dfaafde4ab3795a6f8c76c728c12929b9
2017-07-07 06:15:27 +00:00
Junxiao Shi
2760adcb80
core: NetworkInterfacePredicate accepts ndn::net::NetworkInterface
...
refs #4021
Change-Id: I6612a67db03b6651e8fbccad91f776ae502283d9
2017-07-06 05:44:52 +00:00
Junxiao Shi
83be1dae4b
use FaceUri and NetworkMonitor from ndn-cxx/net
...
This commit also contains a quick fix in LpReliability to avoid
ndn::lp::Packet::wireEncode(EncodingEstimator&).
refs #3940 , #4156
Change-Id: Ice8e3649be21dd023ed1f6562c185f9e6721e45e
2017-06-30 13:37:37 +00:00
Davide Pesavento
43ff2a9254
face: EthernetChannel
...
Change-Id: I8d9be571a2b0abe0cfad09756ea6c691e0679450
Refs: #4011
2017-06-22 14:11:08 -04:00
Eric Newberry
73bcad33b9
core: make SizeCounter use pointer instead of reference
...
Restore virtual inheritance of GenericLinkServiceCounters in
GenericLinkService
refs #3941
Change-Id: I368e4694fee7bc97173fddfc81d0c679da0d6eed
2017-04-27 18:53:34 -07:00
Eric Newberry
185ab29325
face: add best-effort link-layer reliability
...
refs #3931
Change-Id: I009fabe000f4dd4ceb62acab6b0c735c13112430
2017-03-28 06:45:39 +00:00
susmit
21f22e692f
core: enable wildcard matching on interface names for whitelist/blacklist
...
Change-Id: Iabf5084028d7e8c4a26ec5289c331f4a779c0bf7
Refs: #4009
2017-03-26 18:35:04 -04:00
Davide Pesavento
d396b61ba1
rib: a few cleanups and simplifications in RibManager
...
Change-Id: I77699525ab372c4f4f3bbcae74e65bec24a86b4c
Refs: #3903
2017-03-12 19:53:54 -04:00
Alexander Afanasyev
635bf20ef5
Remove use of deprecated code
...
Notably, faces/enable-local-control and faces/disable-local-control
management commands are removed in this commit.
Change-Id: I9ba45c9697eca418315c1c749a3c0c602a36f34e
Refs: #3988
2017-03-09 21:57:34 +00:00
Junxiao Shi
7003c609b8
face: process face_system.ether config section in EthernetFactory
...
This commit also fixes a potential memory access error in EthernetTransport.
refs #3904
Change-Id: I08296e7c6f1039b59b2859d277fc95326af34f52
2017-01-10 13:35:28 +00:00
Junxiao Shi
38b24c7b94
face: process face_system.tcp config section in TcpFactory
...
refs #3904
Change-Id: I509f07e6835a96c7ba05137529f29da76a6514fd
2017-01-05 02:59:31 +00:00