Davide Pesavento
7e9d7e4f9a
Switch to Face::getIoContext()
...
Change-Id: Ice05b0b8e9af4ed4651abcf6fc4ea6b84c34da7c
2023-11-11 15:00:03 -05: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
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
Davide Pesavento
a0e6b60e8f
Cleanup includes in common.hpp
...
Change-Id: I1bb08a44726de5c880e6bc2f016506e6083e919b
2021-01-21 19:47:04 -05:00
Davide Pesavento
11c69910f3
dump: add missing include
...
Change-Id: I617a9580216e4c579eebac702309b3610a8c6dcf
2019-09-01 01:30:13 -04:00
Davide Pesavento
da85e25e59
Rename translation units containing main() to main.cpp
...
Also unify style of argv declaration
Change-Id: I1dcb8689b1cd38e042a0b1f05be7f98bd2d487ed
2019-03-18 18:24:20 -04:00
Davide Pesavento
7b9837bbda
dump: fix compilation on CentOS 7
...
Refs: #4852
Change-Id: I2550d26f709f645ee3d6b2e0f63a6698525e1a76
2019-02-26 02:00:14 -05:00
Davide Pesavento
80baddfb82
Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
...
Refs: #4834
Change-Id: I1851f0b03f1192763b367ee6afba6860717420e7
2019-02-23 15:51:59 -05:00
Davide Pesavento
3347eaad8e
build: various cleanups
...
This commit also updates waf to version 2.0.14
Change-Id: I9334f10451589e8141583f85e6cefcf199f68490
2019-01-19 22:02:08 -05:00
Davide Pesavento
0ca7e69023
dump: add IPv6 support
...
Change-Id: Id9d10cf1080d2d7f98e9a48216c6564c6bbf8607
Refs: #3861
2018-08-05 02:21:06 -04:00
Davide Pesavento
f912653a7b
dump: stricter parsing of IP/TCP/UDP headers
...
Also make the tool output more compact
Change-Id: Ia29806596f6da16e65c6ee1087bac3c7177fe971
2018-08-04 18:31:06 -04:00
Davide Pesavento
b6b176c7b9
dump: refactor packet parsing code into per-protocol functions
...
Change-Id: I96af9cb6397e34dde401ba38964601fb50ce4960
2018-08-02 21:51:08 -04:00
Davide Pesavento
4a1b21d699
dump: add udp port 56363 to the default pcap filter
...
Change-Id: If13ac4732705e60f2f11494760f13b50d5e8259d
2018-07-26 20:57:26 -04:00
Davide Pesavento
d1b1bf6666
dump: handle exceptions thrown by lp::Packet::wireDecode()
...
Change-Id: Ia3bd8a4f57c70313a589c197ee453f517664ec43
Refs: #3943
2018-07-26 18:27:16 -04:00
Davide Pesavento
b5b8f95024
dump: add -t option to suppress printing per-packet timestamp
...
Change-Id: I4e0e44c62451629428d2d065692a0cb497a9203a
2018-07-26 18:25:47 -04:00
Davide Pesavento
24c0861e33
dump: capture in promisc mode by default, with an option to disable it
...
Change-Id: I75d9580616f0af588291897b27fe376921fef11f
2018-07-26 18:25:15 -04:00
Davide Pesavento
c3d65c9a79
dump: print libpcap version in --version output
...
Change-Id: Id6a0844df218a068a2b8b7d359273c4852bcabcc
2018-07-26 13:01:21 -04:00
Davide Pesavento
fb42a3db83
dump: enable optimizations in pcap_compile
...
Change-Id: Ide7b7fb262af741cccbbaf2faf7cbd92c50eb6af
2018-07-26 12:33:14 -04:00
Davide Pesavento
ecd44803c7
dump: code cleanup
...
Change-Id: Ib0978d590dd033ee3e747f5987aa3f63af3d0faf
2018-07-25 03:05:37 -04:00
Davide Pesavento
051db00f35
dump: stop using tcpdump headers
...
Change-Id: Ied249b29a3e5bc41facc7228af618e44f2c286a8
2018-07-22 18:56:16 -04:00
Davide Pesavento
78de735ab0
dump: remove dependency on Boost.Regex
...
Use std::regex instead.
Change-Id: Icb0f88a3f01d16ca53089cdc764d529687eaca81
2018-07-22 00:35:45 -04:00
Davide Pesavento
60f8cc12e2
build: switch to C++14
...
Cleanup core/common.hpp
Change-Id: I6566b0224e24716691d5896462aa7613547ed950
Refs: #3076
2018-06-06 16:25:38 -04:00
Alexander Afanasyev
20c85cb868
build: Cleanup and update of build scripts
...
Change-Id: I7fb5b8696d3b068249ae16b117bd27646d990dc3
2018-03-11 17:16:15 -04:00
Davide Pesavento
c07027069f
Fix compilation with Boost 1.65.0
...
Also sync default-compiler-flags.py with NFD
Change-Id: Ib39118567428e8fe2ac73f2b7cbd96fe1a9598b8
Refs: #4259 , #4248
2017-08-25 23:43:02 -04:00
Junxiao Shi
022bddf47d
dump: recognize LINUX_SLL link-type
...
refs #3061
Change-Id: Idf50a70f17a1c9ffedbed5697ca11070d35e95a3
2016-11-24 23:15:20 +00:00
Junxiao Shi
1c71bcdcd7
dump: minor error message fix
...
refs #3683
Change-Id: I40b89fcfb93e469006f24764786fc70331671b21
2016-11-24 04:00:42 +00:00
Davide Pesavento
89d9175e7c
build: add waf-tool to simplify building with AddressSanitizer & friends
...
Change-Id: If36e52f5e49d94ad5846165c50504d06d7d3c4d0
Refs: #2589
2016-08-14 11:34:09 +02:00
Junxiao Shi
c75996344f
dump: improve error messages
...
refs #3683
Change-Id: I84f9fe14567d6197d959769e53217a174ad6d80a
2016-07-24 20:46:24 +00:00
Junxiao Shi
c1c2b83766
dump: code style corrections
...
refs #3683
Change-Id: I694e04f418fd084f4f1b59693a336dea1b205ad3
2016-07-24 20:45:36 +00:00
Vince Lehman
f8852b3206
dump: Update docs to include NACK capture feature
...
refs: #3463
Change-Id: I01618d03afdeecb329c74a3575b242b3d501abb1
2016-03-11 12:04:03 -08:00
Vince Lehman
277ecf085e
dump: Capture and print network NACK packets
...
refs: #3463
Change-Id: I3aed0d3668378305404f9713cc110e13eec434e5
2016-03-06 22:01:16 -08:00
Junxiao Shi
2713a3be5d
tests: introduce unit testing
...
As a sample, this commit also includes a test suite for
ndn::ping::client::StatisticsCollector class.
refs #2795
Change-Id: Ia0c7522ae26bee1cc9d172c7379ab62f84325ed7
2015-06-28 11:10:34 -07:00
Junxiao Shi
b99fb2b5b9
dump: add README and manpage
...
refs #2855
Change-Id: I59379349e3579b267956933aeb603aa8d747aa53
2015-06-20 15:57:12 -07:00
Junxiao Shi
3cd47dfa85
dump: change namespace
...
This commit also prepends ndn-tools license boilerplate,
and adds version string to ndndump.
refs #2692
Change-Id: I0b00157f79ba04109682db8e8372fe40d00b7fb2
2015-06-09 07:47:20 -07:00
Junxiao Shi
2222a61f81
dump: import code from ndndump repository
...
Code is copied from ndndump:commit:c266031924d723b9a73be29ebb66fd6db26aade5,
with minor changes for removing trailing whitespaces.
Build script is rewritten.
refs #2692
Change-Id: I07eec2f87542f1328b851cc2c4e5c9b6279db7da
2015-06-07 11:30:45 -07:00