201 Commits
Author SHA1 Message Date
Davide Pesavento 7e9d7e4f9a Switch to Face::getIoContext()
Change-Id: Ice05b0b8e9af4ed4651abcf6fc4ea6b84c34da7c
2023-11-11 15:00:03 -05: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
Junxiao Shi 869d73e924 Change namespace of DummyClientFace, Signal, Segmenter
refs #3940

Change-Id: I67ca0ecb8c916aab411a2f90454e0d25925978cd
2023-08-10 22:52:26 +00: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 db9613e5fd Minor README improvements; fix outdated URLs
Change-Id: Ia57f83892471ad85a2301ba4c8ab3df144581000
2023-01-21 02:22:27 -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 b61e3e2174 putchunks: use ndn-cxx's Segmenter
Change-Id: I2a2bdac2983cce45c6e6d8f5b41a5609b4a98c48
2022-11-11 14:38:52 -05:00
Varun Patil 0168d281c6 dissect-wireshark: add type, len, bin fields
Change-Id: Ib5134f03f0d4ecc3bc19bddb9a87c4a573fbc196
2022-09-18 16:37:00 -07: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 242d5063f7 dissect+peek: avoid deprecated ndn-cxx functions
Change-Id: Ibd9f8ad30e315f537d1560db823372af3d58d713
2022-03-12 16:08:34 -05:00
Davide Pesavento b3570c614a build: switch to C++17
Change-Id: Id6217b5c993f3e4726e89773128b565e5f136bb6
2022-02-20 15:35:23 -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 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 f8d9a531dd Eradicate all uses of std::bind()
Change-Id: I6e1ccf2d87b76142e6d519c1a288d03022e4d167
2021-07-30 20:35:06 -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
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
Klaus Schneider 4a2e89d88f catchunks: Improve CUBIC performance for lossy networks
Change-Id: I4baea5dcbc02d5c4a989330603e059daa55e767f
refs: #5036
2019-10-29 19:33:16 -07:00
Davide Pesavento 296b385c58 catchunks: add --no-version-discovery option
Refs: #5021
Change-Id: I37bb1f86c1a6d63ab28fbe116e75d1047c110217
2019-10-20 16:00:16 -04:00
Davide Pesavento 97a33b200d catchunks: simplify internal options handling
Change-Id: I537a281f6c996c2544c145ab9cc01a54272c8efa
2019-10-18 12:51:10 -04:00
Davide Pesavento 32c0df2e9e catchunks: silence new clang-10 warning "final-dtor-non-final-class"
Change-Id: I50052872199fb6ca621f4abe5ab2636735604373
2019-10-18 12:41:18 -04:00
Davide Pesavento 11c69910f3 dump: add missing include
Change-Id: I617a9580216e4c579eebac702309b3610a8c6dcf
2019-09-01 01:30:13 -04:00
Davide Pesavento c214e073d8 peek: add --hop-limit option
Change-Id: I1d0179f498ce70166085e6934e015ff4c00b4858
2019-08-22 20:46:30 -04:00
Davide Pesavento 9602823383 peek: add --app-params and --app-params-file options
Change-Id: Ic1afb118d2e1a58d99d046e072a9df439e0020b3
2019-08-22 20:45:40 -04:00
Davide Pesavento 5e3773dd5a catchunks: switch to RttEstimatorWithStats
Refs: #4887
Change-Id: I8d49eff6ff4a7dc9ff49ffacc0744e50695128d2
2019-08-22 15:35:08 -04:00
Davide Pesavento 50cf6db473 peek: change --link-file option to expect a raw binary file
Change-Id: I952ebc55616307a939c4ecb5ae4019e27b7342bb
2019-07-29 20:40:10 -04:00
Davide Pesavento 0d4b182304 pingserver: change the short form of --freshness to -f
-x is still accepted but will print a deprecation warning

Change-Id: Ibc2e9750006a450c85d19c432ec1a02416cdc174
2019-07-27 19:35:13 -04:00
Davide Pesavento 7de32c1f2d poke: add --signing-info option
Supersedes --digest and --identity, which are now deprecated.

Change-Id: Ia4c57659874f134af0192aa1ca721ec1a58e7901
2019-07-27 16:53:46 -04:00
Davide Pesavento 0da1f44c79 chunks+peek+ping: use correct underlying type for time::milliseconds
Change-Id: I3f46f846401eccc0c11d3abcd1a5ebff89056f7d
2019-07-26 19:06:36 -04:00
Davide Pesavento 6a1396e2e0 poke: rename -f/--force option to -u/--unsolicited
The old name will still be accepted for some time,
but will print a deprecation warning if used.

This commit also improves --help output.

Change-Id: I2ebac82423a5276109f4b40b382312bd852419de
2019-07-26 19:05:45 -04:00
Davide Pesavento 6752d943ef catchunks: remove previously deprecated options
Change-Id: I0a7154dfd8879337f40524261fc854807dbc3d22
2019-07-26 19:00:20 -04:00
Davide Pesavento c5243b40f4 poke: don't respond if the Interest cannot be satisfied
Change-Id: I616e974ff041a4a2c9fd738e98c83c28a21a47de
2019-07-26 13:30:16 -04:00