Commit Graph
191 Commits
Author SHA1 Message Date
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
Davide Pesavento b3ae634086 poke: add --verbose option
Change-Id: I435f01cf6625bebbea40a0f808d8456fafb01fe1
2019-07-25 21:07:16 -04:00
Davide Pesavento de01c81a92 poke: wait indefinitely if --timeout is not specified
Change-Id: I0051e65d27780d8b58a0c0febf3572b0c6a23e8c
2019-07-25 19:24:04 -04:00
Davide Pesavento 94dff006fc poke: exit with status 3 on timeout
Change-Id: Idb021fe1fa1c3d40dbcfc87d4b1dadbea6cb28f6
2019-07-25 19:20:22 -04:00
Davide Pesavento 87434bef4b poke: exit with status 5 if prefix registration fails
Change-Id: I2147570c37146011c9a4e8c024b74bcafdf18e4e
2019-07-25 19:04:23 -04:00
Davide Pesavento e75861eddb poke: code modernization and cleanup
Change-Id: Ia0d5f0b1bc495636f8fac127bec735cc35af66a7
2019-07-25 17:41:09 -04:00
Davide Pesavento ba56066683 catchunks: adapt to recent RttEstimator API changes
Refs: #4887
Change-Id: Ie39a1c5f7ad8b225397f41bb0f3c4d7c2a9cdb2a
2019-06-26 22:48:14 -04:00
Davide Pesavento 65d115569e peek: code modernization and cleanup
Change-Id: I42d706aa02ab03557d708c729f65716c1c2d3494
2019-06-24 20:46:35 -04:00
Jeff Thompson 526ff43cdb peek: with --verbose, show Data name and Nack reason
Closes: https://github.com/named-data/ndn-tools/pull/2
Change-Id: I70fa2dd164caa9cbf986b0931c38c360a8d1b6ed
2019-06-09 01:33:36 -04:00
Davide Pesavento 70576403fe catchunks: use ndn-cxx's RttEstimator
Refs: #4887
Change-Id: If24bea40a22909bf0fd9e49ec7b18330dbe336f2
2019-06-07 16:42:21 -04:00
Davide Pesavento 84d8477ae6 catchunks: get rid of the last few remaining uses of Selectors
Refs: #4556
Change-Id: Ibe0e909c21b57aaa47c325bdef5852cb5e38482b
2019-04-08 19:00:25 -04:00