Skip to main content

network_tools 6.0.11 copy "network_tools: ^6.0.11" to clipboard
network_tools: ^6.0.11 copied to clipboard

Networking Tools library which can help you discover open ports, devices on subnet and many other things.

Change Log #

6.0.11 #

  1. Much faster host discovery on Linux, macOS and Windows: the scanner primes the neighbour cache with UDP and reads the numeric ARP table once (arp -an, /proc/net/arp, numeric arp -a) instead of spawning a ping process per address. Hosts that ignore ICMP are still found, the device the scan runs on is included when it falls in the range, broadcast and multicast MAC rows are filtered out, and mobile platforms or non-local subnets fall back to the ICMP sweep.
  2. Host names now resolve concurrently for the discovered hosts (250 ms budget during the scan, plus a lazy retry on first access) instead of relying on the serial reverse lookups arp -a performs. Networks without reverse DNS return no name, and deviceName falls back to mDNS, the ARP entry, then Generic Device.
  3. getAllPingableDevicesAsync no longer builds the vendor table inside its isolate, removing a multi-second first-use vendor CSV download from the start of a scan. configureNetworkTools gained a buildVendorTable option for worker isolates.
  4. Scan progress now reports 100 when discovery completes, including on the async API.
  5. MAC vendor and ARP table failures are non-fatal: vendor CSV download/parse errors are logged and skipped, ARP command errors no longer abort host discovery, and MAC prefixes are normalized before lookup.
  6. Faster scans: host details (hostname, MAC vendor, mDNS) resolve lazily, port scans use bounded concurrency (maxConcurrency, default 128), and subnet scans run in a single isolate.
  7. Added database indexes for vendor and ARP lookups.
  8. README updated with the current API, a working example (example/main.dart), the discovery and hostname behavior, mobile permission notes, and corrected Vernet repository and support/donate links.
  9. Improved hostname and MAC vendor resolution for vernet issues #119 and #121.
  10. Added regression tests, raising line coverage to 92%.

6.0.10 #

Bug fixes and improvements.

6.0.9 #

Bug fixes and improvements.

6.0.8 #

Fix for missing example tab.

6.0.7 #

Csv upgrade and downgrade fix.

6.0.6 #

Dependency update, bug fixes, example tab fix.

6.0.5 #

Bug fixes and improvements

6.0.4 #

Performance improvements

6.0.3 #

Bug fixes and performance improvements

6.0.2 #

Database error fix

6.0.1 #

Bug fix for windows

6.0.0 #

Performance improvement using drift database

5.0.6 #

mDNS search improvements

5.0.5 #

Fixed compatibility for web

5.0.4 #

Updated dependencies, added tests, and updated GHA.

5.0.3 #

Updated dependencies

5.0.2 #

  1. Bug for other languages on Windows fixed by codepage.
  2. Added mac address option to ActiveHost constractor.

5.0.1 #

  1. Bug fixes and improvements

5.0.0 #

  1. Added hostIds list parameter to restrict scan to only these ids.
  2. Breaking changes on calling static methods. You have to use instance of service now.

Breaking change Replace these occurences in your project

* HostScanner to HostScannerService.instance
* PortScanner to PortScannerService.instance

4.0.4 #

  1. Bug fix for sync runs when async flag is true

4.0.3 #

  1. scanPortsForSingleDevice and customDiscover supports async mode now.

4.0.2 #

  1. Separated logs for example and library

4.0.1 #

  1. Fixed path problem for dart and flutter sdk

4.0.0 #

Breaking changes #

  1. Call configureNetworkTools in your main function

3.2.7 #

  1. Removed example folder and added pubignore.
  2. Added vendor details but database looks old.
  3. More results are added using ARP on Lin/Mac/Win.

3.2.6 #

  1. Added mac address support on Desktop (Linux, macOS, and Windows)

3.2.5 #

  1. Bug fix for iOS listing all results in HostScanner

3.2.4 #

  1. Bug fixes and improvements. Better code coverage reports.

3.2.3 #

  1. Upgraded dependencies and improved pub score, moved network_tools_flutter to new repo

3.2.2 #

  1. Supporting changes for network_tools_flutter

3.2.1 #

  1. Now GHA runs tests against 3 platforms windows, ubuntu, macos
  2. Code coverage is fixed so that it's visible in codecov portal.

3.2.0 #

  1. getAllPingableDevicesAsync runs inside isolate to find all devices in a network.
  2. Bug fixes and improvements

3.1.0 #

Web Support and bug fixes for mDns devices giving error in getting IP

3.0.0+3 #

Refactoring for field names

3.0.0+2 #

This release is only meant to test Github Actions for Dart Package publishing. It's same as v3.0.0. Nothing changed.

3.0.0+1 #

This release is only meant to test Github Actions for Dart Package publishing. It's same as v3.0.0. Nothing changed.

3.0.0 #

Breaking change Change most of the methods names

* HostScanner.discover to HostScanner.getAllPingableDevices
* HostScanner.discoverPort to HostScanner.scanDevicesForSinglePort
* PortScanner.discover to PortScanner.scanPortsForSingleDevice

Ip field in ActiveHost is now InternetAddress type instead of string which improve handling of IPv6.

ActiveHost now contains host name of the address if exist.

Better naming of methods

Bug fixes and improvements

2.1.0 #

Added partly support for searching mdns devices.

2.0.0 #

Breaking change Bump minimum dart version to 2.17.0.

Updated dart_ping package version to 7.0.1.

Updated test package version to 1.21.4.

1.0.8 #

Fixes

Add logs using logging package #13.

Even more points in pub.dev page #20.

1.0.7 #

Fixed

Saving the response time from each device #9.

Example crash on Windows #14.

Bump package version #15.

0.0.6 #

Resolved issue #9 and #10.

0.0.5 #

Resolved issue #1.

0.0.4 #

Single and Custom Port Scan added.

0.0.3 #

Subnet and Port range added.

0.0.2 #

Added example and followed pub conventions.

0.0.1 #

PortScanner and HostScanner.

57
likes
160
points
9.7k
downloads

Documentation

API reference

Publisher

verified publisherop3nsoc13ty.blogspot.com

Weekly Downloads

Networking Tools library which can help you discover open ports, devices on subnet and many other things.

Repository (GitHub)
View/report issues

Topics

#network #ping #arp #port #scanner

Funding

Consider supporting this project:

liberapay.com
ko-fi.com

License

BSD-3-Clause (license)

Dependencies

csv, dart_ping, drift, get_it, http, injectable, json_annotation, logging, multicast_dns, path, process_run, sqlite3, sqlite3_flutter_libs, universal_io

More

Packages that depend on network_tools