339 Commits
Author SHA1 Message Date
Davide Pesavento 36b78ea6ee ci: add build testing against named-data PPA
Change-Id: I42c0901dc152986706b0c7b7f908dff80c23064b
2023-11-25 23:11:24 -05:00
Davide Pesavento 7e9d7e4f9a Switch to Face::getIoContext()
Change-Id: Ice05b0b8e9af4ed4651abcf6fc4ea6b84c34da7c
2023-11-11 15:00:03 -05:00
Davide Pesavento 816767b4c2 build: disable -Wnon-virtual-dtor compiler warning
See also named-data/NFD@0a05f7aea6

Change-Id: If93d766fa8ee2b0cb6a0eb8ff9febc2dc0a4cac0
2023-10-17 15:40:22 -04:00
Davide Pesavento 2ab04a2b9f build: require boost >= 1.71.0
Refs: #5276
Change-Id: Ib62b24b041e21b2c017cd9c290f7d5dc09003d63
2023-09-15 22:08:22 -04:00
Davide Pesavento b6e10dd86a build: use python f-strings
Change-Id: I5a6537d263d8bd6297b0975f34c90dd76b9468cd
2023-09-11 21:41:24 -04:00
Davide Pesavento 4a9e0b194b build: update waf to version 2.0.26
Change-Id: I8fa8a8906617769f7cc511848b9e64fd6a314334
2023-08-19 01:48:02 -04:00
Junxiao Shi 869d73e924 Change namespace of DummyClientFace, Signal, Segmenter
refs #3940

Change-Id: I67ca0ecb8c916aab411a2f90454e0d25925978cd
2023-08-10 22:52:26 +00:00
Davide Pesavento dd808b0bae build: enable a few more compiler warnings
Refactor default-compiler-flags.py to reduce duplication

Change-Id: I40bf0b1d94356dcaac3bdfebd66af920ef3d5aff
2023-08-06 16:00:02 -04:00
Davide Pesavento 8148cd4a96 build: decrease level of debug information produced by default
Refs: #5279
Change-Id: Ie73909de8c51300abb00c873af722d730e6b70e1
2023-08-06 14:01:32 -04:00
Davide Pesavento 0df0e1c5b0 dissect: avoid deprecated overload of ndn::escape
Change-Id: Ifb9ffa1400b4109b4400f59367a079dac3a4e792
2023-04-25 15:50:05 -04:00
Davide Pesavento 003e45a9f3 build: fix detection of libpcap on Ubuntu 23.04
Beginning with version 1.10.2, pcap-config treats
unrecognized command-line options as an error.

Change-Id: Iba62d6d4586cf505c68032338048d04597baff96
2023-04-25 15:25:03 -04:00
Davide Pesavento 3653daedb6 tests: use std::optional
Change-Id: I53feb53061cd8374bc296b7dfd13175d7c7d4e37
2023-03-13 17:44:22 -04:00
Davide Pesavento ad26607467 build: drop official support for Ubuntu 18.04 and macOS 10.15
Increase the minimum required version of clang to 7.0 on linux, because
older versions fail to compile libstdc++'s implementation of std::variant

Change-Id: I5cde13b8789fceb5715d5496aeed7f9050ec801d
2023-03-07 21:14:42 -05:00
Davide Pesavento a22a742de4 build: switch source archive to xz compression
Change-Id: I8ec1968161aa6c85bf9ba7dd7859e81b160fabfb
2023-02-14 23:56:46 -05:00
Davide Pesavento c2297b11d2 ci: adopt reusable workflows from named-data/actions
Change-Id: I372cc2fa1b26cede28982bbd88ca445eb08eef5c
2023-02-08 13:22:22 -05:00
Davide Pesavento db9613e5fd Minor README improvements; fix outdated URLs
Change-Id: Ia57f83892471ad85a2301ba4c8ab3df144581000
2023-01-21 02:22:27 -05:00
Davide Pesavento 3b4ee2f130 Prepare release 22.12
Refs: #5250
Change-Id: Icc0cfa76328fd4faef152edc3330fa2c95857668
ndn-tools-22.12
2022-12-31 01:55:06 -05:00
Davide Pesavento be4f1891bd build: update waf to version 2.0.24
Change-Id: Ia27b29d77dd8b4d0714e4e724f5814eefacfe4d5
2022-12-02 20:33:45 -05:00
Davide Pesavento d66fb491df dissect: recognize TLV elements related to Certificate and SafeBag
And drop obsolete types

Change-Id: Iadf2a323a52cd12b93981b99d68103d934d5d508
2022-11-30 19:52:35 -05:00
Davide Pesavento 6f16856fc2 ci: add Xcode 14.1
Change-Id: I0dbc2eec5a50239415361292a0597ffa19b05ce1
2022-11-14 19:40:04 -05:00
Davide Pesavento b61e3e2174 putchunks: use ndn-cxx's Segmenter
Change-Id: I2a2bdac2983cce45c6e6d8f5b41a5609b4a98c48
2022-11-11 14:38:52 -05:00
Davide Pesavento 3d7b03372b build: link with lld if available
Change-Id: I14c83c7038abd5d1b58eee3d8a3b6db127ef4b58
2022-10-05 15:30:02 -04:00
Varun Patil 0168d281c6 dissect-wireshark: add type, len, bin fields
Change-Id: Ib5134f03f0d4ecc3bc19bddb9a87c4a573fbc196
2022-09-18 16:37:00 -07:00
Davide Pesavento 6b430e963a tests: delete unused code
Change-Id: I305e9d1a46b69196ab89a0de8ddb90ee9ce263ad
2022-09-18 18:55:05 -04:00
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