Commit Graph

703 Commits

Author SHA1 Message Date
Junxiao Shi 21e0193e5c face: piggyback Ack field with fixed-width encoding
refs #4403

Change-Id: I4b0123d20aea058581774d467452553724fddc61
2018-04-21 10:39:05 +00:00
Davide Pesavento 45898d2215 tools: fix compilation with Boost 1.67
Change-Id: Ia2bdaa0c78757a03796acf64b15c781ec9fa6c0e
Refs: #4584
2018-04-19 12:32:40 -04:00
Junxiao Shi bd72431945 mgmt: implement cs/erase command
refs #4318

Change-Id: I2c8180cde940cc378a219f9aaecae71cd3b0b28c
2018-04-17 02:23:48 +00: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
Alexander Afanasyev ded17426c6 face: Configurable IP subnets for "local" TCP faces
Change-Id: Idaddfe4b2c304b552d2e132235f4c3d3e6c2ebcb
Refs: #4546
2018-04-11 19:23:41 -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
Teng Liang 43bb2315ea fw: introduce afterReceiveData strategy trigger
Change-Id: Ia805f1bd48f481c9b903b6ce5c388dd66fbbb7d1
refs: #4290
2018-04-10 05:30:36 -07: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
Junxiao Shi 30c37ab9bf table: add Cs::erase method
This commit also corrects CS's description in Doxygen.

refs #4318

Change-Id: Ie8854a2e2b59a072b98603c0cc31768bb84ea6d2
2018-04-09 14:26:47 +00:00
Eric Newberry 971d9621ce face: correctly handle removed fragments in LpReliability
refs #4479

Change-Id: Id5d1aa231ddfc10a14859ef819f6dde0a4111501
2018-04-02 18:37:29 -07:00
Teng Liang 85a36632a7 fw: introduce afterContentStoreHit strategy trigger
Change-Id: I71ca9e21467d2296203eb9686bff7647b1140271
refs: #4290
2018-03-22 21:57:06 -07:00
Junxiao Shi 7a36ac7d9d tools: include CS config in 'nfdc cs info'
Also, ForwarderGeneralModule::formatItemText now uses ItemAttributes.

refs #4050

Change-Id: I1b2bde29b82e4b3910d87b41efd90e273052b18d
2018-03-21 15:23:22 +00:00
Junxiao Shi 057d149fda table: enforce NameTree max depth universally
refs #4262

Change-Id: Ia9b04a89c12cd09aa244201b513cc1808c0c473f
2018-03-20 17:14:18 +00:00
Teng Liang 7003e0bc66 fw: replace straggler timer with per-strategy decision
remove onInterestReject pipeline

refs: #4200

Change-Id: I184d7ef7f732efda3d1066eef6cd89e36a6a8802
2018-03-20 00:26:15 -07:00
Davide Pesavento 3cf75dc10b mgmt: prevent potential nullptr dereference in FaceManager
Change-Id: Ice622f2b51a3be448dc1c211dc4f80d967db14c6
Refs: #4548
2018-03-17 00:38:03 -04:00
Davide Pesavento 0064c1dd91 build: update waf to version 2.0.6
Major cleanup of all build scripts

Change-Id: I6904f034d40adc66366fdf08749900ffb31c68d9
2018-03-08 20:16:30 -05:00
Junxiao Shi cdf7845986 tools: add 'nfdc cs config' command
refs #4050

Change-Id: Ifc49b78a286b1947452d3d7917b5937b95d1bfe5
2018-03-03 07:37:47 -08:00
Junxiao Shi 8dc473a724 tools: simplify on/off attribute printing
refs #4004

Change-Id: Idb666ff4dbeddc37f1cb10710ba3d75f7fe8bdb5
2018-03-03 07:35:50 -08:00
Davide Pesavento cfb1a315ed mgmt: eliminate FaceManager::setConfigFile()
Change-Id: Ib39b05a969345448b3719047093577df31d2bf8a
Refs: #3904
2018-03-01 01:35:36 -05:00
Teng Liang 63086448bf fw: remove onInterestUnsatisfied pipeline stage
Change-Id: Ic008bb26b87db176bac8d51230e53f923b19e5d2
refs: 4290
2018-02-27 13:20:11 -07:00
Davide Pesavento d214744ab8 tools: alias 'nfdc cs' to 'nfdc cs info'
Change-Id: Ied1d34a84110ee0b6488d35d56fb1caecaf14117
Refs: #4498
2018-02-20 21:39:09 -05:00
Davide Pesavento 2a58815ee3 tools: extend nfdc help to cover more cases
Change-Id: I0cd182c8635b15c8ffb750c913e14fa99e595d45
Refs: #4503
2018-02-20 21:34:00 -05:00
Davide Pesavento e0bae0f64b tools: make nfdc smarter when the user asks for help
Now 'nfdc foo help', 'nfdc foo --help', and 'nfdc foo -h'
are all accepted as synonyms of 'nfdc help foo'.

Additionally, '--version' can be used in place of '-V'.

Change-Id: I070bb0ea9231a2642c40938377f1e9af2630b34e
Refs: #4503
2018-02-18 10:26:12 -05:00
Teng Liang fdcbb4d0ef face: support NonDiscovery and PrefixAnnouncement in GenericLinkService
Change-Id: I2b9577203274d28b374ebfd6a8154b5398b8ec57
Refs: #4280, #4355
2018-02-18 11:23:56 +00:00
Eric Newberry 17d1849dec face: enable congestion marking by default on supported faces
refs #4465

Change-Id: Id545f83763f1ba27ba0d770fd4398948d6f20acf
2018-02-11 23:23:09 -07:00
Davide Pesavento 003357899d tests: increase tolerance in several time-sensitive test cases
To avoid spurious failures when CI build bots are overloaded.

Change-Id: If6ec5579dfef1f9fdbd57723e6aeec0a46221a3f
2018-02-11 14:42:47 -05:00
Eric Newberry de33245d9f tools: add congestion marking parameters to nfdc face create
refs #4465

Change-Id: I5df5d6136f4729ad836a72f55531208d868da5f7
2018-02-10 14:04:10 -07:00
Junxiao Shi 26667e16df mgmt: include capacity and enablement flags in cs/info dataset
refs #4050

Change-Id: I3de0692ec9f26429733bade80a96e154865928fe
2018-02-08 20:01:18 +00:00
Junxiao Shi c9b5e018ed mgmt: implement cs/config command
refs #4050

Change-Id: I86b050ac062855bad66197a775a502007e687d8d
2018-02-07 15:04:18 +00:00
Junxiao Shi 02a0e0fbe3 mgmt: limit prefix length in fib/add-nexthop
This commit also makes FibManager logging more consistent.

refs #4262

Change-Id: I8e1d58eacfdf0a87d6f94182c78a157421de6f6f
2018-02-06 02:03:45 +00:00
Ashlesh Gawande 92e4ea53ba fw: Add ASF strategy parameters n-silent-timeouts & probing-interval
refs: #4193

Change-Id: I9572425a2fdcbf67b9886c2a5b6b50a10a0856e2
2018-02-06 01:09:01 +00:00
Davide Pesavento 494a955b56 face: support non-listening UDP channels
This commit also improves coverage of the ProcessConfig
test suite for the various protocol factories.

Change-Id: Id9dbe2ca914e273f9225cd93db41bf714c714591
Refs: #4098
2018-02-05 02:31:20 -05:00
Junxiao Shi 332783b3e5 mgmt: respond with 414 if StrategyChoice prefix is too long
refs #4262

Change-Id: Ief6dec02d7fbf372382a167e04d82e48777fa30b
2018-02-04 23:52:46 +00:00
Davide Pesavento d96744d968 mgmt: don't crash if no authorizations are configured
Change-Id: I02d439a73c9b02fcb7141104d62a67aa1fa5aefb
Refs: #4487
2018-02-03 20:19:09 -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
Junxiao Shi 3d2049fbc1 table: add CS enablement flags
This commit also:

* deletes never-implemented and unused Cs::erase method
* groups CS configuration methods together
* uses Table::emplace in Cs::insert

refs #4050

Change-Id: If8cf29dd33921da2f2c4ce56e02395d43cd3ee99
2018-01-30 09:15:15 -08:00
Eric Newberry 0c3e57b399 face+mgmt: allow congestion marking parameters to be enabled and set
refs #4465

Change-Id: I9d49135ab32bacb2885b70031c573f7c8709ac1f
2018-01-29 21:52:53 -07: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
Davide Pesavento 97a010178c tests: prevent unsigned integer underflow in TestUdpFactory/Blacklist
Change-Id: If00bb69fc2ddaded91c199c6ba17d94e12b1ffea
2018-01-22 19:37:44 -05:00
Davide Pesavento 5cc706c8cb tests: update copyright in test case example
Change-Id: Ifb12152dc56b59c038751c53abc169f3d36c8b17
2018-01-22 17:39:00 -05:00
Eric Newberry 0c84164fd0 face: allow enabling/disabling congestion marking through config file
refs #4465

Change-Id: I888b83b1fdbe8e3fc36a902bf7af52147807d829
2018-01-22 01:00:16 +00:00
Davide Pesavento a6f2d245d7 tests: use BOOST_TEST_GLOBAL_CONFIGURATION with boost >= 1.65
Change-Id: I12b06a97955f611a48642bc20ebc896e1007ccb1
Refs: #4255
2018-01-21 16:18:00 -05:00
Md Ashiqur Rahman 8ce09032ff face: implement IPv6 UDP multicast transport
Change-Id: Ib6ab956354dbbba00694c7949fa9ee4639579879
Refs: #4222
2018-01-14 22:43:25 -05:00
Eric Newberry b49313db62 face: congestion detection in TCP, UDP, and Unix socket transports
refs #4362

Change-Id: Idaa5d65e1f33663d95bad56de42640183b2cda6d
2018-01-14 17:50:01 -07:00
Junxiao Shi 3160a3f820 tools: implement 'nfdc cs info' command
refs #4219

Change-Id: I4252878943c3f6c88f306f83f5023fffc82326b0
2018-01-09 21:25:15 +00:00
Junxiao Shi f2bfb44a4a mgmt: CS information dataset (hit/miss counters)
refs #4219

Change-Id: If3ede6b3cba3b836e4e3190989c65f13280fa972
2018-01-05 12:34:57 +00:00
Davide Pesavento 8215a3ada6 face: deduplicate multicast UDP socket setup
In preparation for adding IPv6 support.

Change-Id: I5a3be2007f7fecc44915a5d6794093143ce9c0f9
Refs: #4222
2017-12-26 13:58:24 -05:00
Eric Newberry 4738f15594 tests: make CongestionMarkStrategy parameters human-readable
Change-Id: I45448640b9125015a0ae2711f14fc3c1472603c3
2017-12-21 21:10:50 -05:00
Eric Newberry 00d39fda3c tests: improve LpReliability unit tests
count retransmitted, but received packets properly in LpReliability

refs #4391

Change-Id: I6867a70a1e7d7e949a250982df2ff97e49848996
2017-12-13 05:25:24 -08:00