nfsen-ng icon indicating copy to clipboard operation
nfsen-ng copied to clipboard

v0.3: PHP 8.1+, PSR4, bits/bytes switch, reverse dns, human-readable byte numbers, etc.

Open mbolli opened this issue 2 years ago • 0 comments

If anyone wants to test this, check out the prep-php-82 branch.

v0.3

Enhancements:

  • General
    • PHP 8.1 is now the minimum version
    • Code style is checked by PHP CS fixer
    • Code is statically analyzed by PHPStan + Psalm
    • Now using composer PSR4 autoloader
  • Dependencies
    • JS/CSS: Update bootstrap from v3.3.7 to v5.3.2
    • JS/CSS: Update dygraph from v2.1.0 to v.2.2.1
    • JS/CSS: Update footable a bit to play nicer with bootstrap 5
  • New features
    • Graphs: Can switch between bits and bytes in traffic mode
    • Graphs: Graph will use KMG units in traffic mode and KMB units in other modes
    • Flows/Statistics: Execution time is shown below nfdump command
    • Flows/Statistics: Big numbers are formatted using a thousand-seperator
    • Flows/Statistics: Bytes are formatted to be human-readable
    • Flows/Statistics: IP addresses can be clicked on to try to resolve the host and show WHOIS information
      • DNS lookup performed via host -W 5 {ip}
      • WHOIS lookup performed via query to https://ipwhois.app/json

Migration:

Migrating should be easy. Note that you now need composer on the system and need to execute composer install --no-dev as last installation step.

mbolli avatar Apr 13 '23 23:04 mbolli