Skip to content

Commit

Permalink
net/sniffnet: update to 1.2.0
Browse files Browse the repository at this point in the history
[1.2.0] - 2023-05-18
 - Introduced host-based analysis: instead of just showing IP addresses, now
   host names and network providers are available for a quicker and more
   meaningful traffic interpretation
    - Added rDNS (reverse DNS) lookups to find out network host names
    - Added ASN (Autonomous System name and number) lookups to find out the
      entity managing a given IP address (fixes #62)
 - Individual connections identified by IP addresses remain available and can
   now be filtered and further inspected through a simple click
 - Support for identification of addresses in the local network
 - Support for data link layer MAC addresses
 - Full support for broadcast traffic recognition (added directed broadcast
   identification)
 - Added dropped packets number (fixes #135)
 - Changed favorites management: instead of referring to single IP addresses,
   favorites are now related to network hosts
 - Added Greek translation 🇬🇷 (#160)
 - Added Persian translation 🇮🇷 (#158)
 - Do not open terminal window when starting the application on Windows
   (fixes #85)
 - Do not open terminal window when starting the application on macOS
 - Changed macOS application icon to be consistent with standard icons
   dimension (fixes #177)
 - Made available RPM package for Linux and automated packaging process for
   Windows, macOS, and Linux (#180 - fixes #20)
 - Keep the active addresses of the selected network adapter up to date during
   analysis
 - Changed shortcut to interrupt analysis from backspace to ctrl+backspace
 - Images have been replaced with SVGs
 - Added unit tests for chart and started unit tests for gui modules (#132)
 - Fixed problem that let users switch page pressing the tab key even if no
   packets were received
  • Loading branch information
0323pin committed May 19, 2023
1 parent 8a7a006 commit 1b34107
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 149 deletions.
8 changes: 4 additions & 4 deletions net/sniffnet/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2023/04/30 19:55:37 pin Exp $
# $NetBSD: Makefile,v 1.9 2023/05/19 11:13:54 pin Exp $

DISTNAME= sniffnet-1.1.4
DISTNAME= sniffnet-1.2.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=GyulyVGC/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand All @@ -23,8 +23,8 @@ RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libX11}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.alsa-lib}/lib

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/sniffnet \
#do-install:
# ${INSTALL_PROGRAM} ${WRKSRC}/target/release/sniffnet \
${DESTDIR}${PREFIX}/bin

DEPENDS+= alsa-plugins-oss-[0-9]*:../../audio/alsa-plugins-oss
Expand Down
84 changes: 48 additions & 36 deletions net/sniffnet/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: cargo-depends.mk,v 1.7 2023/04/30 19:55:37 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.8 2023/05/19 11:13:54 pin Exp $

CARGO_CRATE_DEPENDS+= Inflector-0.11.4
CARGO_CRATE_DEPENDS+= ab_glyph-0.2.20
CARGO_CRATE_DEPENDS+= ab_glyph-0.2.21
CARGO_CRATE_DEPENDS+= ab_glyph_rasterizer-0.1.8
CARGO_CRATE_DEPENDS+= addr2line-0.19.0
CARGO_CRATE_DEPENDS+= adler-1.0.2
Expand All @@ -22,7 +22,6 @@ CARGO_CRATE_DEPENDS+= base64-0.21.0
CARGO_CRATE_DEPENDS+= bindgen-0.61.0
CARGO_CRATE_DEPENDS+= bit-set-0.5.3
CARGO_CRATE_DEPENDS+= bit-vec-0.6.3
CARGO_CRATE_DEPENDS+= bit_field-0.10.2
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= block-0.1.6
CARGO_CRATE_DEPENDS+= bumpalo-3.12.0
Expand Down Expand Up @@ -60,12 +59,11 @@ CARGO_CRATE_DEPENDS+= coreaudio-rs-0.11.2
CARGO_CRATE_DEPENDS+= coreaudio-sys-0.2.11
CARGO_CRATE_DEPENDS+= cpal-0.15.0
CARGO_CRATE_DEPENDS+= crc32fast-1.3.2
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.6
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.2
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.13
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.14
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.8
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.3
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.14
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.15
CARGO_CRATE_DEPENDS+= crossfont-0.5.1
CARGO_CRATE_DEPENDS+= crunchy-0.2.2
CARGO_CRATE_DEPENDS+= cty-0.2.2
CARGO_CRATE_DEPENDS+= cxx-1.0.91
CARGO_CRATE_DEPENDS+= cxx-build-1.0.91
Expand All @@ -76,10 +74,12 @@ CARGO_CRATE_DEPENDS+= darling-0.13.4
CARGO_CRATE_DEPENDS+= darling_core-0.13.4
CARGO_CRATE_DEPENDS+= darling_macro-0.13.4
CARGO_CRATE_DEPENDS+= dasp_sample-0.11.0
CARGO_CRATE_DEPENDS+= data-url-0.2.0
CARGO_CRATE_DEPENDS+= directories-4.0.1
CARGO_CRATE_DEPENDS+= dirs-sys-0.3.7
CARGO_CRATE_DEPENDS+= dispatch-0.2.0
CARGO_CRATE_DEPENDS+= dlib-0.5.0
CARGO_CRATE_DEPENDS+= dns-lookup-1.0.8
CARGO_CRATE_DEPENDS+= downcast-rs-1.2.0
CARGO_CRATE_DEPENDS+= dwrote-0.11.0
CARGO_CRATE_DEPENDS+= either-1.8.1
Expand All @@ -94,13 +94,14 @@ CARGO_CRATE_DEPENDS+= error-code-2.3.1
CARGO_CRATE_DEPENDS+= etherparse-0.13.0
CARGO_CRATE_DEPENDS+= euclid-0.22.7
CARGO_CRATE_DEPENDS+= expat-sys-2.1.6
CARGO_CRATE_DEPENDS+= exr-1.5.3
CARGO_CRATE_DEPENDS+= fastrand-1.9.0
CARGO_CRATE_DEPENDS+= find-crate-0.6.3
CARGO_CRATE_DEPENDS+= flate2-1.0.25
CARGO_CRATE_DEPENDS+= float-cmp-0.9.0
CARGO_CRATE_DEPENDS+= float_next_after-0.1.5
CARGO_CRATE_DEPENDS+= flume-0.10.14
CARGO_CRATE_DEPENDS+= fnv-1.0.7
CARGO_CRATE_DEPENDS+= fontconfig-parser-0.5.2
CARGO_CRATE_DEPENDS+= fontdb-0.12.0
CARGO_CRATE_DEPENDS+= foreign-types-0.3.2
CARGO_CRATE_DEPENDS+= foreign-types-0.5.0
CARGO_CRATE_DEPENDS+= foreign-types-macros-0.2.2
Expand All @@ -122,7 +123,7 @@ CARGO_CRATE_DEPENDS+= futures-util-0.3.27
CARGO_CRATE_DEPENDS+= fxhash-0.2.1
CARGO_CRATE_DEPENDS+= gethostname-0.2.3
CARGO_CRATE_DEPENDS+= getrandom-0.2.8
CARGO_CRATE_DEPENDS+= gif-0.11.4
CARGO_CRATE_DEPENDS+= gif-0.12.0
CARGO_CRATE_DEPENDS+= gimli-0.27.2
CARGO_CRATE_DEPENDS+= glam-0.21.3
CARGO_CRATE_DEPENDS+= glob-0.3.1
Expand All @@ -139,7 +140,6 @@ CARGO_CRATE_DEPENDS+= gpu-descriptor-0.2.3
CARGO_CRATE_DEPENDS+= gpu-descriptor-types-0.1.1
CARGO_CRATE_DEPENDS+= guillotiere-0.6.2
CARGO_CRATE_DEPENDS+= h2-0.3.17
CARGO_CRATE_DEPENDS+= half-2.2.1
CARGO_CRATE_DEPENDS+= hashbrown-0.12.3
CARGO_CRATE_DEPENDS+= hassle-rs-0.9.0
CARGO_CRATE_DEPENDS+= hermit-abi-0.2.6
Expand All @@ -159,13 +159,13 @@ CARGO_CRATE_DEPENDS+= iced_futures-0.6.0
CARGO_CRATE_DEPENDS+= iced_glow-0.8.0
CARGO_CRATE_DEPENDS+= iced_graphics-0.8.0
CARGO_CRATE_DEPENDS+= iced_lazy-0.6.1
CARGO_CRATE_DEPENDS+= iced_native-0.10.1
CARGO_CRATE_DEPENDS+= iced_native-0.10.3
CARGO_CRATE_DEPENDS+= iced_style-0.8.0
CARGO_CRATE_DEPENDS+= iced_wgpu-0.10.0
CARGO_CRATE_DEPENDS+= iced_winit-0.9.1
CARGO_CRATE_DEPENDS+= ident_case-1.0.1
CARGO_CRATE_DEPENDS+= idna-0.3.0
CARGO_CRATE_DEPENDS+= image-0.24.5
CARGO_CRATE_DEPENDS+= imagesize-0.11.0
CARGO_CRATE_DEPENDS+= indexmap-1.9.3
CARGO_CRATE_DEPENDS+= instant-0.1.12
CARGO_CRATE_DEPENDS+= io-lifetimes-1.0.9
Expand All @@ -178,11 +178,11 @@ CARGO_CRATE_DEPENDS+= jni-sys-0.3.0
CARGO_CRATE_DEPENDS+= jobserver-0.1.25
CARGO_CRATE_DEPENDS+= jpeg-decoder-0.3.0
CARGO_CRATE_DEPENDS+= js-sys-0.3.61
CARGO_CRATE_DEPENDS+= kamadak-exif-0.5.5
CARGO_CRATE_DEPENDS+= khronos-egl-4.1.0
CARGO_CRATE_DEPENDS+= kurbo-0.8.3
CARGO_CRATE_DEPENDS+= kurbo-0.9.3
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= lazycell-1.3.0
CARGO_CRATE_DEPENDS+= lebe-0.5.2
CARGO_CRATE_DEPENDS+= libc-0.2.139
CARGO_CRATE_DEPENDS+= libloading-0.6.7
CARGO_CRATE_DEPENDS+= libloading-0.7.4
Expand All @@ -203,15 +203,13 @@ CARGO_CRATE_DEPENDS+= maxminddb-0.23.0
CARGO_CRATE_DEPENDS+= memchr-2.5.0
CARGO_CRATE_DEPENDS+= memmap2-0.5.10
CARGO_CRATE_DEPENDS+= memoffset-0.6.5
CARGO_CRATE_DEPENDS+= memoffset-0.7.1
CARGO_CRATE_DEPENDS+= memoffset-0.8.0
CARGO_CRATE_DEPENDS+= metal-0.24.0
CARGO_CRATE_DEPENDS+= mime-0.3.17
CARGO_CRATE_DEPENDS+= minimal-lexical-0.2.1
CARGO_CRATE_DEPENDS+= miniz_oxide-0.6.2
CARGO_CRATE_DEPENDS+= mio-0.8.6
CARGO_CRATE_DEPENDS+= mutate_once-0.1.1
CARGO_CRATE_DEPENDS+= naga-0.11.0
CARGO_CRATE_DEPENDS+= nanorand-0.7.0
CARGO_CRATE_DEPENDS+= native-tls-0.2.11
CARGO_CRATE_DEPENDS+= ndk-0.7.0
CARGO_CRATE_DEPENDS+= ndk-context-0.1.1
Expand All @@ -225,7 +223,6 @@ CARGO_CRATE_DEPENDS+= nom-7.1.3
CARGO_CRATE_DEPENDS+= nom8-0.2.0
CARGO_CRATE_DEPENDS+= num-derive-0.3.3
CARGO_CRATE_DEPENDS+= num-integer-0.1.45
CARGO_CRATE_DEPENDS+= num-rational-0.4.1
CARGO_CRATE_DEPENDS+= num-traits-0.2.15
CARGO_CRATE_DEPENDS+= num_cpus-1.15.0
CARGO_CRATE_DEPENDS+= num_enum-0.5.11
Expand All @@ -242,25 +239,24 @@ CARGO_CRATE_DEPENDS+= openssl-0.10.48
CARGO_CRATE_DEPENDS+= openssl-macros-0.1.0
CARGO_CRATE_DEPENDS+= openssl-probe-0.1.5
CARGO_CRATE_DEPENDS+= openssl-sys-0.9.83
CARGO_CRATE_DEPENDS+= ordered-float-3.4.0
CARGO_CRATE_DEPENDS+= ordered-float-3.7.0
CARGO_CRATE_DEPENDS+= ouroboros-0.13.0
CARGO_CRATE_DEPENDS+= ouroboros_macro-0.13.0
CARGO_CRATE_DEPENDS+= owned_ttf_parser-0.18.1
CARGO_CRATE_DEPENDS+= owned_ttf_parser-0.19.0
CARGO_CRATE_DEPENDS+= palette-0.6.1
CARGO_CRATE_DEPENDS+= palette_derive-0.6.1
CARGO_CRATE_DEPENDS+= parking_lot-0.11.2
CARGO_CRATE_DEPENDS+= parking_lot-0.12.1
CARGO_CRATE_DEPENDS+= parking_lot_core-0.8.6
CARGO_CRATE_DEPENDS+= parking_lot_core-0.9.7
CARGO_CRATE_DEPENDS+= pcap-1.0.0
CARGO_CRATE_DEPENDS+= pcap-1.1.0
CARGO_CRATE_DEPENDS+= peeking_take_while-0.1.2
CARGO_CRATE_DEPENDS+= percent-encoding-2.2.0
CARGO_CRATE_DEPENDS+= phf-0.11.1
CARGO_CRATE_DEPENDS+= phf_generator-0.11.1
CARGO_CRATE_DEPENDS+= phf_macros-0.11.1
CARGO_CRATE_DEPENDS+= phf_shared-0.11.1
CARGO_CRATE_DEPENDS+= pin-project-1.0.12
CARGO_CRATE_DEPENDS+= pin-project-internal-1.0.12
CARGO_CRATE_DEPENDS+= pico-args-0.5.0
CARGO_CRATE_DEPENDS+= pin-project-lite-0.2.9
CARGO_CRATE_DEPENDS+= pin-utils-0.1.0
CARGO_CRATE_DEPENDS+= pkg-config-0.3.26
Expand All @@ -282,56 +278,64 @@ CARGO_CRATE_DEPENDS+= range-alloc-0.1.3
CARGO_CRATE_DEPENDS+= raw-window-handle-0.3.4
CARGO_CRATE_DEPENDS+= raw-window-handle-0.4.3
CARGO_CRATE_DEPENDS+= raw-window-handle-0.5.0
CARGO_CRATE_DEPENDS+= rayon-1.6.1
CARGO_CRATE_DEPENDS+= rayon-core-1.10.2
CARGO_CRATE_DEPENDS+= rayon-1.7.0
CARGO_CRATE_DEPENDS+= rayon-core-1.11.0
CARGO_CRATE_DEPENDS+= rctree-0.5.0
CARGO_CRATE_DEPENDS+= redox_syscall-0.2.16
CARGO_CRATE_DEPENDS+= redox_syscall-0.3.5
CARGO_CRATE_DEPENDS+= redox_users-0.4.3
CARGO_CRATE_DEPENDS+= regex-1.7.1
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.28
CARGO_CRATE_DEPENDS+= renderdoc-sys-0.7.1
CARGO_CRATE_DEPENDS+= reqwest-0.11.16
CARGO_CRATE_DEPENDS+= reqwest-0.11.18
CARGO_CRATE_DEPENDS+= resvg-0.29.0
CARGO_CRATE_DEPENDS+= rgb-0.8.36
CARGO_CRATE_DEPENDS+= rodio-0.17.1
CARGO_CRATE_DEPENDS+= rosvgtree-0.1.0
CARGO_CRATE_DEPENDS+= roxmltree-0.18.0
CARGO_CRATE_DEPENDS+= rstest-0.17.0
CARGO_CRATE_DEPENDS+= rstest_macros-0.17.0
CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.22
CARGO_CRATE_DEPENDS+= rustc-hash-1.1.0
CARGO_CRATE_DEPENDS+= rustc_version-0.4.0
CARGO_CRATE_DEPENDS+= rustix-0.37.3
CARGO_CRATE_DEPENDS+= rustybuzz-0.7.0
CARGO_CRATE_DEPENDS+= ryu-1.0.13
CARGO_CRATE_DEPENDS+= safe_arch-0.5.2
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= schannel-0.1.21
CARGO_CRATE_DEPENDS+= scoped-tls-1.0.1
CARGO_CRATE_DEPENDS+= scoped_threadpool-0.1.9
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= scratch-1.0.3
CARGO_CRATE_DEPENDS+= sctk-adwaita-0.4.3
CARGO_CRATE_DEPENDS+= security-framework-2.8.2
CARGO_CRATE_DEPENDS+= security-framework-sys-2.8.0
CARGO_CRATE_DEPENDS+= semver-1.0.16
CARGO_CRATE_DEPENDS+= serde-1.0.160
CARGO_CRATE_DEPENDS+= serde_derive-1.0.160
CARGO_CRATE_DEPENDS+= serde-1.0.163
CARGO_CRATE_DEPENDS+= serde_derive-1.0.163
CARGO_CRATE_DEPENDS+= serde_json-1.0.95
CARGO_CRATE_DEPENDS+= serde_urlencoded-0.7.1
CARGO_CRATE_DEPENDS+= servo-fontconfig-0.5.1
CARGO_CRATE_DEPENDS+= servo-fontconfig-sys-5.1.0
CARGO_CRATE_DEPENDS+= shlex-1.1.0
CARGO_CRATE_DEPENDS+= simd-adler32-0.3.4
CARGO_CRATE_DEPENDS+= simplecss-0.2.1
CARGO_CRATE_DEPENDS+= siphasher-0.3.10
CARGO_CRATE_DEPENDS+= slab-0.4.8
CARGO_CRATE_DEPENDS+= slotmap-1.0.6
CARGO_CRATE_DEPENDS+= smallvec-1.10.0
CARGO_CRATE_DEPENDS+= smithay-client-toolkit-0.16.0
CARGO_CRATE_DEPENDS+= smithay-clipboard-0.6.6
CARGO_CRATE_DEPENDS+= socket2-0.4.9
CARGO_CRATE_DEPENDS+= spin-0.9.8
CARGO_CRATE_DEPENDS+= spirv-0.2.0+1.5.4
CARGO_CRATE_DEPENDS+= stable_deref_trait-1.2.0
CARGO_CRATE_DEPENDS+= static_assertions-1.1.0
CARGO_CRATE_DEPENDS+= str-buf-1.0.6
CARGO_CRATE_DEPENDS+= strict-num-0.1.0
CARGO_CRATE_DEPENDS+= strsim-0.10.0
CARGO_CRATE_DEPENDS+= svg_fmt-0.4.1
CARGO_CRATE_DEPENDS+= svgfilters-0.4.0
CARGO_CRATE_DEPENDS+= svgtypes-0.9.0
CARGO_CRATE_DEPENDS+= svgtypes-0.10.0
CARGO_CRATE_DEPENDS+= symphonia-0.5.2
CARGO_CRATE_DEPENDS+= symphonia-bundle-mp3-0.5.2
CARGO_CRATE_DEPENDS+= symphonia-core-0.5.2
Expand All @@ -343,10 +347,10 @@ CARGO_CRATE_DEPENDS+= termcolor-1.2.0
CARGO_CRATE_DEPENDS+= thiserror-1.0.38
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.38
CARGO_CRATE_DEPENDS+= thousands-0.2.0
CARGO_CRATE_DEPENDS+= threadpool-1.8.1
CARGO_CRATE_DEPENDS+= tiff-0.8.1
CARGO_CRATE_DEPENDS+= tiny-skia-0.7.0
CARGO_CRATE_DEPENDS+= tiny-skia-0.8.4
CARGO_CRATE_DEPENDS+= tiny-skia-path-0.7.0
CARGO_CRATE_DEPENDS+= tiny-skia-path-0.8.4
CARGO_CRATE_DEPENDS+= tinyvec-1.6.0
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.1
CARGO_CRATE_DEPENDS+= tokio-1.27.0
Expand All @@ -360,14 +364,22 @@ CARGO_CRATE_DEPENDS+= tracing-0.1.37
CARGO_CRATE_DEPENDS+= tracing-core-0.1.30
CARGO_CRATE_DEPENDS+= try-lock-0.2.4
CARGO_CRATE_DEPENDS+= ttf-parser-0.18.1
CARGO_CRATE_DEPENDS+= ttf-parser-0.19.0
CARGO_CRATE_DEPENDS+= twox-hash-1.6.3
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.13
CARGO_CRATE_DEPENDS+= unicode-bidi-mirroring-0.1.0
CARGO_CRATE_DEPENDS+= unicode-ccc-0.1.2
CARGO_CRATE_DEPENDS+= unicode-general-category-0.6.0
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.6
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.22
CARGO_CRATE_DEPENDS+= unicode-script-0.5.5
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.10.1
CARGO_CRATE_DEPENDS+= unicode-vo-0.1.0
CARGO_CRATE_DEPENDS+= unicode-width-0.1.10
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.4
CARGO_CRATE_DEPENDS+= url-2.3.1
CARGO_CRATE_DEPENDS+= usvg-0.29.0
CARGO_CRATE_DEPENDS+= usvg-text-layout-0.29.0
CARGO_CRATE_DEPENDS+= vcpkg-0.2.15
CARGO_CRATE_DEPENDS+= vec_map-0.8.2
CARGO_CRATE_DEPENDS+= version_check-0.9.4
Expand Down Expand Up @@ -426,4 +438,4 @@ CARGO_CRATE_DEPENDS+= x11rb-0.9.0
CARGO_CRATE_DEPENDS+= xcursor-0.3.4
CARGO_CRATE_DEPENDS+= xi-unicode-0.3.0
CARGO_CRATE_DEPENDS+= xml-rs-0.8.4
CARGO_CRATE_DEPENDS+= zune-inflate-0.2.50
CARGO_CRATE_DEPENDS+= xmlparser-0.13.5
Loading

0 comments on commit 1b34107

Please sign in to comment.