Commit Graph

  • d1739d97a8 support json key w/o value filtering Toni Uhlig 2020-07-10 22:14:23 +02:00
  • c2aa13c010 compare&fetch for global flow_id counter, set missing variable on new flow, added struct padding for alignment Toni Uhlig 2020-07-10 22:07:26 +02:00
  • cb7b9df945 support for filter for specific json key/values, useful for debugging Toni Uhlig 2020-07-10 22:01:28 +02:00
  • f490056fa7 care more about DISABLE_JSONIZER Toni Uhlig 2020-07-10 20:59:44 +02:00
  • a9aa4f1236 clang-format and set BreakBeforeBraces to Allmanz Toni Uhlig 2020-07-10 20:48:23 +02:00
  • 7867c3979d json formatting/ stringification overhaul Toni Uhlig 2020-07-10 20:40:16 +02:00
  • 640e69f4a8 renamed EchoServer to JsonCollector Toni Uhlig 2020-07-09 22:56:23 +02:00
  • d99bd825b2 send json string to sink, added basic json event serialization fn call Toni Uhlig 2020-07-09 22:40:46 +02:00
  • 9644a27b3f Revert "not using python script as collector" Toni Uhlig 2020-07-08 06:48:33 +02:00
  • c0dd561ba0 renamed: jsonize_basic_event_error -> jsonize_format_error Toni Uhlig 2020-07-08 00:01:06 +02:00
  • 1fe7832b7a jsonize_basic_event // jsonize_basic_event_error Toni Uhlig 2020-07-07 23:59:14 +02:00
  • f700457d9b not using python script as collector Toni Uhlig 2020-07-07 23:58:45 +02:00
  • 97aababa97 send JSON string on a per thread basis to a remote sink, means that no expensive locking required Toni Uhlig 2020-07-05 15:17:40 +02:00
  • e922f9459e UNIX socket connect, primitive cmdline parsing Toni Uhlig 2020-07-04 18:57:02 +02:00
  • bb8884f853 clang-format, use syslog Toni Uhlig 2020-07-03 23:41:07 +02:00
  • f8dae488b4 store / calculate / jsonize per flow metrics e.g. min/max/avg l4 data len Toni Uhlig 2020-07-03 19:40:49 +02:00
  • 50d2cd17fe print json string for FLOW_END / FLOW_IDLE as well Toni Uhlig 2020-07-01 20:13:40 +02:00
  • ab0ebc8a5b only printf() flow events #ifdef DISABLE_JSONIZER, print only json string otherwise Toni Uhlig 2020-07-01 18:19:45 +02:00
  • 92403c2098 add configuration variable VERBOSE / EXTRA VERBOSE, print build configuration in Makefile Toni Uhlig 2020-06-30 23:47:55 +02:00
  • 474e1cb666 print event for idle flows as well, simplified jsonize_flow/flow2json Toni Uhlig 2020-06-30 23:25:59 +02:00
  • 4035f4900d init/close syslog logging Toni Uhlig 2020-06-30 22:04:29 +02:00
  • 4ca38c90cf do not guess protocol if detection successful and completed Toni Uhlig 2020-06-30 21:23:10 +02:00
  • aa77fd75f9 json-serialize new flow Toni Uhlig 2020-06-30 21:12:18 +02:00
  • a47e0b0af3 generalized flow2json (IPv4 only for now) Toni Uhlig 2020-06-30 06:28:53 +02:00
  • 61d872020c serialize and print new flow Toni Uhlig 2020-06-28 23:39:54 +02:00
  • 5d7194a09b unified logging prefix Toni Uhlig 2020-06-24 21:16:56 +02:00
  • d3728ef008 -Wl == CFLAG Toni Uhlig 2020-06-23 00:19:47 +02:00
  • 25aeb01f71 adding some comments, obey coding style, etc Toni Uhlig 2020-06-22 23:29:01 +02:00
  • be5e082c75 xcompile ready Toni Uhlig 2020-06-22 06:13:08 +02:00
  • 1e53dc7ad4 checking only IPv4/IPv6 header size, as rest is done through ndpi_detection_get_l4() Toni Uhlig 2020-06-21 14:06:33 +02:00
  • 8294f2e808 fixed possible crash (extra packet dissection is done via packet processing) Toni Uhlig 2020-06-21 13:38:28 +02:00
  • 32f322b3e5 using ndpi_detection_get_l4 to do some additional checks and get L4 payload Toni Uhlig 2020-06-20 21:57:24 +02:00
  • f9a28eae97 more fine-tuning regarding TCP flow end Toni Uhlig 2020-06-20 17:43:04 +02:00
  • c89435efd8 some fine-tuning regarding flow fin/idle cleanup, still not perfect Toni Uhlig 2020-06-20 15:45:32 +02:00
  • ec62ddfe7f reduced MAX_FLOW_ROOTS_PER_THREAD to 2048 to safe some mem, print something to stderr if flow can't be classified at all (besides L3/L4) Toni Uhlig 2020-06-18 21:01:03 +02:00
  • 0e775a7409 improved console printing which is now more consistent any easier to read Toni Uhlig 2020-06-17 23:41:37 +02:00
  • 26fc26dbc3 support for TCP-FIN Toni Uhlig 2020-06-15 22:17:16 +02:00
  • 265cffdf12 new features: l7/l7-dissect/l7-guess/tcp-midstream/ssl/tls detection Toni Uhlig 2020-06-15 19:34:16 +02:00
  • b1a25b8725 process extra packets if supported by protocol detection, prepare and print some statistics Toni Uhlig 2020-06-14 15:02:11 +02:00
  • 5f7eb0d5ac do not print ThreadID during flow free'ing Toni Uhlig 2020-06-13 18:44:26 +02:00
  • dc0ecf454a use ndpi_flowv(4|6)_flow_hash api call and only as fallback src + dst Toni Uhlig 2020-06-13 18:27:33 +02:00
  • baa29b72a6 print total packets captured, reduced console spam and added VERBOSE mode to print some l3/l4 metadata, used ull instead of size_t as its size is architecture dependant Toni Uhlig 2020-06-13 17:02:01 +02:00
  • 1e19f09fa9 read captured packets from a pcap savefile, check if file is EoF or an error occurred Toni Uhlig 2020-06-13 16:38:15 +02:00
  • 27bafb029a don't print ARP stuff, use ndpi_is_protocol_detected for checked protocol detection Toni Uhlig 2020-06-13 13:20:00 +02:00
  • 3423ca169b renamed ndpi_flow_roots, max_available_flows, num_allocated_flows, cur_allocated_flows to - ndpi_flows_active, max_active_flows, num_active_flows, cur_active_flows - consistent to idle flows naming Toni Uhlig 2020-06-13 13:07:26 +02:00
  • 220a575457 flow timeout handling Toni Uhlig 2020-06-13 12:54:11 +02:00
  • 14abcbfbc4 MAX_FLOWS_PER_THREAD -> MAX_FLOW_ROOTS_PER_THREAD, ndpi_flows_root -> ndpi_flow_roots, added per flow total packets Toni Uhlig 2020-06-12 06:34:53 +02:00
  • 48891c31c1 fixed flow distirbution bug, removed invalid ntohl() and set thread index seed Toni Uhlig 2020-06-12 01:17:15 +02:00
  • 6e902ecce9 improved packet distribution over threads, missing byteswap for IPv4/IPv6, added first/last seen timevals Toni Uhlig 2020-06-10 23:18:30 +02:00
  • 4d5edaf11f free_workflow if init_workflow fails, nDPId is tied to libnDPI>=3.2 for now Toni Uhlig 2020-06-10 01:11:26 +02:00
  • 66979995fc print per thread / total packets, use l4 protocol for per thread packet distribution lns 2020-06-08 00:00:03 +02:00
  • 1be995b4ad subscriber tracking and master/app protocol detection lns 2020-06-07 23:27:19 +02:00
  • 634ec5db29 fixed flow tracking bug during tree find, added ip tuple comparing routine lns 2020-06-07 21:26:50 +02:00
  • d391401647 improved L3/L4 length checks lns 2020-06-06 13:26:43 +02:00
  • a7069d0b72 flow tracking lns 2020-06-06 12:55:31 +02:00
  • fd33b7355f dissect UDP, TCP; sighandler improvment, correct IPv6 parsing lns 2020-06-04 22:14:47 +02:00
  • 192ddbe716 Makefile use -I and -rpath if CUSTOM_LIBNDPI variable used Toni Uhlig 2020-06-04 17:40:05 +02:00
  • 38b113d8c3 initial commit lns 2020-05-30 18:11:21 +02:00
  • 053d3cd292 Merge pull request #175 from pks-t/pks/struct-type P4t 2020-04-02 15:08:12 +02:00
  • a91022a07d fix gcc/clang warning and unnecessary implicit type conversion to different size/signedness (#187) Toni Uhlig 2020-03-13 21:46:40 +01:00
  • 7b6858a585 Fixed a typo (value -> number) (#186) Alexey Radkov 2020-02-19 17:32:48 +03:00
  • 0837288b7c jsmn: declare struct names to allow forward decls Patrick Steinhardt 2019-11-08 16:52:31 +01:00
  • 85695f3d59 Merge pull request #162 from ghane/Case-Warning P4t 2019-07-14 19:01:49 +02:00
  • cdcfaafa49 Quieten a warning from the compiler Sanjeev Gupta 2019-07-13 22:01:56 +08:00
  • fdcef3ebf8 Modernize (#149) Serge Zaitsev 2019-04-20 08:05:39 +02:00
  • 18e9fe42cb Merge pull request #139 from BenBE/patch-1 Serge Zaitsev 2018-10-02 10:46:08 +02:00
  • 614a36c18c Typo in comment BenBE 2018-10-01 17:47:01 +02:00
  • 732d283ee9 Merge pull request #126 from abalkin/patch-1 Serge Zaitsev 2018-02-12 09:40:59 +02:00
  • f38f267b62 Fixed two typos in a comment. Alexander Belopolsky 2018-02-10 19:22:23 -05:00
  • 6784c826d9 Merge pull request #123 from drbitboy/btc/typos Serge Zaitsev 2018-01-25 22:49:10 +02:00
  • f276e23a74 btc/typos - JSON_ERROR_... should be JSMN_ERROR_... in README.md Brian Carcich 2018-01-25 15:38:16 -05:00
  • 35086597a7 added travis badge Serge A. Zaitsev 2017-05-01 11:44:07 +03:00
  • fe296583c0 added travis.yml Serge A. Zaitsev 2017-05-01 11:42:48 +03:00
  • c772a0e48b Merge pull request #99 from prubel/strict-unmatched-brackets-test-fix Serge Zaitsev 2017-04-30 22:43:06 +03:00
  • 6572217a0e strict checking fails a test, add {}s to fix it Paul Rubel 2016-12-13 15:23:23 -05:00
  • 1682c32e9a Merge pull request #94 from pt300/master Serge Zaitsev 2016-10-12 17:09:07 +08:00
  • 0f574ea35b Merge pull request #95 from crondaemon/doc-fix Serge Zaitsev 2016-10-06 17:38:02 +08:00
  • f40811c4de Fix issue in documentation. Dario Lombardo 2016-10-06 10:29:35 +02:00
  • c3131d05a6 Changed unmatched bracket tests pt300 2016-10-02 10:37:29 +02:00
  • adae9457cf Merge pull request #1 from zlolik/master Pat 2016-10-02 09:48:27 +02:00
  • a01d301373 some tests for unmatched brackets added zlolik 2016-10-02 07:51:52 +03:00
  • 4ce4404057 Seems to actually fix zserge/jsmn#81 pt300 2016-10-01 18:19:20 +02:00
  • ad72aac67a Partialy fixes zserge/jsmn#81 Still will report invalid amount if we fetch it with something like "{"key 1": 1234}}" pt300 2016-10-01 18:07:35 +02:00
  • 6021415cc7 Merge pull request #87 from RyDroid/make Serge Zaitsev 2016-08-10 10:40:39 +08:00
  • 452c926709 Merge pull request #88 from RyDroid/minor-c Serge Zaitsev 2016-08-10 10:40:26 +08:00
  • b80578ce08 Very minor changes to Makefile Nicola Spanti (RyDroid) 2016-08-08 16:05:12 +02:00
  • e42bcbbada Very minor changes to C source code Nicola Spanti (RyDroid) 2016-08-08 15:54:56 +02:00
  • d1c85c569d Merge pull request #79 from ferambot/master Serge Zaitsev 2016-06-13 01:12:23 -05:00
  • 37672b0289 Fix typos Feram 2016-06-13 06:10:46 +00:00
  • bbc6755fce Merge pull request #76 from simonsj/master Serge Zaitsev 2016-04-02 03:10:43 -05:00
  • e3f2629a56 tests: fix test_object JSMN_PRIMITIVE bug Jon Simons 2016-04-01 19:59:14 -07:00
  • b77d84ba48 Merge pull request #75 from condemned77/master Serge Zaitsev 2016-03-28 06:10:47 -05:00
  • 76c9448ca8 Typo fix. condemned77 2016-03-28 12:28:36 +02:00
  • 572ace5a43 Update README.md Serge Zaitsev 2016-01-20 17:28:15 +08:00
  • 09843be912 Merge pull request #66 from ivankravets/patch-1 Serge Zaitsev 2016-01-19 23:00:50 +08:00
  • 86d595729c @PlatformIO Library Registry manifest file Ivan Kravets 2016-01-19 16:34:12 +02:00
  • 78b1dca334 Merge pull request #65 from Smattr/02ab7ac3-79ee-4541-a80a-230e2ceae1dd Serge Zaitsev 2016-01-13 19:20:44 +08:00
  • b7845b4ea4 Fix trivial comment typo. Matthew Fernandez 2016-01-13 21:45:00 +11:00
  • 4a54ae6987 Merge pull request #62 from baskerville/master Serge Zaitsev 2015-12-14 23:04:37 +08:00
  • e4d526a403 Fix deheader warnings Bastien Dejean 2015-12-14 15:05:46 +01:00