Commit Graph
315 Commits
Author SHA1 Message Date
Davide Pesavento b97a1122e3 ci: refresh GitHub Actions matrix
* Add ubuntu-22.04, remove 18.04
 * Add macos-12, remove 10.15

Change-Id: I66908bb493100d9c7a6edda2a72e3a536b81b337
2022-08-12 18:26:07 -04:00
Davide Pesavento bd3642f31d ci: auto-detect the OS instead of relying on NODE_LABELS
And remove WAF_JOBS: waf already defaults to the number of available
CPUs, which is appropriate in most cases, and we can always use the
built-in JOBS variable to override it where necessary.

Change-Id: Id132b9ef8467a563694222ccc64a676cdc076e17
2022-08-12 18:19:31 -04:00
Davide Pesavento 423e58a503 build+ci: support macOS on arm64
Refs: #5135
Change-Id: I25a6a77eb6c60e00548704eaea88eb1ca2afc200
2022-08-12 15:51:42 -04:00
Davide Pesavento f597d07ec9 build: support CentOS Stream 9, drop CentOS 8
Refs: #5181
Change-Id: I289930c9658137e1637357f81c762ebb331474c8
2022-07-08 17:52:51 -04:00
Sichen Song 40eae0328b catchunks: avoid excess window decrease in certain conditions
Refs: #5202
Change-Id: I7eeed18fbdfc3ef7a5a277da34f9de0c7068a61d
2022-05-23 21:46:03 -04:00
Davide Pesavento 832d2300ee tests: remove unused KeyChainFixture::makeCert()
If similar functionality is needed in the future,
KeyChain::makeCertificate() should be used instead.

Change-Id: I918a957b70e1516db2b319bd0587d3daa62c18d1
2022-05-13 14:26:51 -04:00
Davide Pesavento f36375232f tests: expect a certificate name in KeyLocator
Refs: #5112
Change-Id: I0481f0f03671530d47d33d27416a33ab52ab3ae1
2022-04-20 17:05:06 -04:00
Davide Pesavento 824c45b503 ci: require gcovr 5.1 for code coverage reports
Stop passing `-j`, it wasn't very useful and it's broken in gcovr 5.1

Change-Id: I12ef24e809b5a500f5c237b29c603c0058ca73fc
2022-04-19 16:10:42 -04:00
Davide Pesavento 242d5063f7 dissect+peek: avoid deprecated ndn-cxx functions
Change-Id: Ibd9f8ad30e315f537d1560db823372af3d58d713
2022-03-12 16:08:34 -05:00
Davide Pesavento 96412a18d8 build: align minimum clang dependency with ndn-cxx
ndn-cxx requires clang 6 or later, so there's no point
supporting older versions in ndn-tools

Change-Id: I7be683abd4fce12c85187c0b5abf2ee288bbe908
2022-03-05 14:45:04 -05:00
Davide Pesavento b04c52b044 build: raise minimum build requirements
* Hard-depend on gcc >= 7.4 and clang >= 5.0, which have
   almost complete C++17 support
 * Require Xcode 10 on macOS but recommend 11.3 or later
 * Boost >= 1.65.1 is now a hard requirement

Change-Id: I76eb915b226e8f5dd5c5fdbde9b23befc2a37c90
2022-02-20 15:40:02 -05:00
Davide Pesavento b3570c614a build: switch to C++17
Change-Id: Id6217b5c993f3e4726e89773128b565e5f136bb6
2022-02-20 15:35:23 -05:00
Davide Pesavento ebea9094a3 Prepare release 22.02
Change-Id: If7e6cb33fb658fa91549a2cbbd2e3f992e20103e
ndn-tools-22.02
2022-02-18 11:30:32 -05:00
Davide Pesavento 5998428e9c Avoid deprecated ndn-cxx functions
Change-Id: I5d9ac045740267db783ff724c938b659b49c40ee
2022-02-16 22:41:03 -05:00
Junxiao Shi ed0017bd07 dump: replace pcap_lookupdev with pcap_findalldevs
pcap_lookupdev API is deprecated in favor of pcap_findalldevs.

refs #4797

Change-Id: I0f2a9d17368daa500c1fae0281f0c8171c93415b
2022-02-04 02:16:39 +00:00
Junxiao Shi fd2d1012c7 ndnpeek: replace --link-file with --fwhint
refs #4207, #5187

Change-Id: I8213e971520d3edab631634a03bf7950d265dc11
2022-01-11 18:20:38 +00:00
Davide Pesavento 50882ebf1d build: update waf to version 2.0.23
Change-Id: I2afeee792c0b6627d979c7c175862ae25507599b
2021-12-29 13:23:23 -05:00
Davide Pesavento 84eb4873c8 dissect-wireshark: recognize ForwardingHint
Refs: #4185
Change-Id: I42619aaedf7aa4dbb32d204c46c67a8df541a272
2021-12-20 21:11:22 -05:00
Davide Pesavento 38dca3952a dissect-wireshark: update TLV type of IncomingFaceId
Refs: #5185
Change-Id: I9949f55b64882db61179aba4d5b3395f26c47533
2021-12-20 20:50:45 -05:00
Davide Pesavento 585e18a5e3 dissect-wireshark: minor cleanups
Change-Id: I4b62396b1ff574537f46df5c4f3489d54006b80e
2021-11-27 23:00:16 -05:00
Davide Pesavento 918652862c dissect-wireshark: fix decoding of several fields
HopLimit and PitToken are not NonNegativeIntegers.
ApplicationParameters and Content are not strings but arbitrary bytes.
Recognize "None" values in NackReason and CachePolicyType.

Refs: #3197, #4517
Change-Id: I18c55a638bf5985d8ec4a1f2a76dba7b7e4407ad
2021-11-27 22:46:54 -05:00
Davide Pesavento 89b52d4639 dissect-wireshark: recognize ParametersSha256DigestComponent
Refs: #4517
Change-Id: I385cdee9d30fb6b1832a0c366f8eb808488fbbaa
2021-11-27 22:46:17 -05:00
Davide Pesavento 200014a739 dissect-wireshark: remove support for obsolete TLV elements
Change-Id: I83cf827c89acb99784b4ab421feda76113de5c39
2021-11-27 21:25:45 -05:00
Davide Pesavento 79482ec462 dissect: add signed Interest fields and more name component types
Change-Id: Id009dbf254e17e7fc497385ca6868ae085abb82f
2021-11-24 21:07:36 -05:00
Davide Pesavento 2c8ec07ae5 ci: add macOS 11 Big Sur
Remove all traces of Travis CI

Change-Id: Ic0a802db8a2ec5dfef093321b3bc0a7c736b5a5c
2021-09-30 00:04:23 -04:00
Davide Pesavento 8c35390e61 ci: use gcovr 5.0 to generate code coverage reports
Change-Id: I680b476bb93cffff389071437e7a818f16b6334d
2021-08-30 19:10:36 -04:00
Davide Pesavento c4343232bc ci: restrict token permissions and add badges to README.md
Change-Id: I057fab1370f4f3941bf3fe1de9c6d99198e3bd71
2021-08-13 23:17:05 -04:00
Davide Pesavento f8d9a531dd Eradicate all uses of std::bind()
Change-Id: I6e1ccf2d87b76142e6d519c1a288d03022e4d167
2021-07-30 20:35:06 -04:00
Davide Pesavento e8c82ef8a1 ci: add GitHub Actions
Change-Id: Ic7ed7356fef4af465843b44a5cefd0458c78774d
2021-07-30 19:50:03 -04:00
Eric Newberry a209f6747f docs: use typed name components instead of markers
refs #5044

Change-Id: I3083fd733dabca549e5e21d47b42e2dd1e4ea802
2021-03-26 11:02:31 -07:00
Davide Pesavento 7c4246ca67 putchunks: increase the default segment size to 8000 bytes
Change-Id: I16c2e21f168c77259d6bdc47b86fceb258521517
2021-03-12 20:00:32 -05:00
Davide Pesavento f8a14d88cb chunks: add --naming-convention option
Refs: #5109
Change-Id: I98170dd362663900900e9f792ffb5340ad96fe3a
2021-03-12 00:42:03 -05:00
Davide Pesavento a420e97fed dissect: no longer dissect Content element by default
Use the new -c/--content option to enable it

Change-Id: Id5692b53a0921918bb029ad653b9f5504ab5e4ab
2021-02-25 18:25:26 -05:00
Davide Pesavento 3f588caea2 dissect: do not try to dissect the TLV-VALUE of SignatureValue
Change-Id: Idd3fce801d7ca7f0bc8a8c8972ceea43c2735c18
2021-02-24 15:48:33 -05:00
Davide Pesavento 7ef5cf7f24 dissect: use Unicode characters to draw the TLV tree on the terminal
Change-Id: If92176528361cb57f5e5a0a31a9c501d7fff54e7
2021-01-29 00:20:24 -05:00
Davide Pesavento 9b1fd4b332 dissect: print offset of parsing error
Change-Id: I2209a16330e513b46abe2dfcc57ca780b3478b82
2021-01-26 22:16:02 -05:00
Davide Pesavento 6929b4344a poke: change the short form of --freshness to -f
For consistency with ndnpingserver and ndnputchunks

Change-Id: I82afc6de29e207d65bf885b0acbabfc9da05a5a7
2021-01-26 17:07:58 -05:00
Davide Pesavento 814ad34909 poke+pingserver: remove deprecated command-line options
Change-Id: Ic5518f1ca54edcb4a4c4fbe16f96b207dc867ebf
2021-01-26 16:08:53 -05:00
Davide Pesavento a0e6b60e8f Cleanup includes in common.hpp
Change-Id: I1bb08a44726de5c880e6bc2f016506e6083e919b
2021-01-21 19:47:04 -05:00
Davide Pesavento 3047ba4741 ci+docs: CentOS renamed the PowerTools repo to lowercase
Change-Id: I3868d1763c5b9d060603e440627ad8990de3ae4e
2020-12-27 20:00:06 -05:00
Davide Pesavento 6677762595 tests: sync common testing infrastructure with ndn-cxx and NFD
And upgrade waf to version 2.0.21

Change-Id: Id713e0f3035badd97ca7fc03f76e50085b9a266c
2020-11-24 15:18:18 -05:00
Eric Newberry 374f4e47b5 Prepare release 0.7.1
refs #5129

Change-Id: Idb9c7ccbf764be3d61b9a58dd0bd4ecfca5c63d5
ndn-tools-0.7.1
2020-10-08 16:20:15 -07:00
Davide Pesavento 02ec47c8ac ci: add clang 12 (dev snapshot) to Travis CI build matrix
Change-Id: I45266be56d700434b84aab5f5954828f5df1b598
2020-08-09 02:23:07 -04:00
Davide Pesavento 9a1b65d0da ci: disable frames in lcov HTML coverage report
Change-Id: Ie7ecce199aefc37b95d721f1032ac69ebe3f8338
2020-08-06 17:27:58 -04:00
Davide Pesavento 352755871f tests: avoid deprecated Data::getSignature()
Change-Id: Ica204fe6cd60f070b49f9ec5b72c0f68a32065d6
2020-07-27 18:02:03 -04:00
Davide Pesavento d653afaf01 ci: add Xcode 11.6 and 12 to Travis CI build matrix
Change-Id: I14c9635b56dac2c7988734d72adf8c41c5c5540e
2020-07-01 22:35:25 -04:00
Alexander Afanasyev 28181ee93a Adjust includes for the updated locations of ndn-cxx security headers
Change-Id: Ia4a82d7a4a56bfa88e62adab6a1e31bbe459e773
2020-06-06 17:53:32 -04:00
Alexander Afanasyev 298c4355c3 Rename VERSION to VERSION.info to avoid conflicts with modern STL
On case-insensitive file systems (e.g., macOS), inclusion of the new
standard <version> header resulted in unexpected inclusion of VERSION
file.

Change-Id: Ib08d8e9efa0f6ed0cee6843b818b773485dc73d8
2020-05-31 15:40:28 -04:00
Davide Pesavento b07d7a96da 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

Refs: #5087, #5106
Change-Id: I88ef0e0f183736f19ac414a84baebb0e1073381b
2020-05-14 02:25:24 -04:00
Davide Pesavento 8a2907ea04 ci: avoid exceeding Travis time limit on arm64
Change-Id: I9c3802e07c49ed33460b6f2341950ad0b6bee71a
2020-04-16 00:02:23 -04:00