Allow type variable to pass into graphs of graph row
default 4 graph display so caller doesn't have to specify timeframes if they just what the default
* Device Ports settings
* Save port settings per user
* style
* Delete user pref if it matches the defaults
* Because we are saving settings now, we must explicitly set to make the links work
* Change port pagination default to 32
that way this includes all ports for most switches.
Most port counts are base 2, so change pagination options to match
* ignore upstream missing closure type
* Fix style again
* more
* WIP Device Ports porting to Laravel
* WIP port links
* Port Links WIP
* Port Links
* in_array -> isset
* Add request to DeviceTab data
* Add initial Pagination
* Missing select component
* Collapsed and expandable port neighbors
New expandable component
* Port sorting
* Fix port transfer
* Use menu entries to filter ports
* Add translatable strings
* style fixes and cleanup
* update css
* graph views and tidy controller
basic port link view
* cleanup
* port row blade to reuse in legacy port view
* Legacy tab url handling
work properly in subdirectory
remove includes from sub tab directory to prevent oddity
* fallback to detail list when the view doesn't exist
* Use named variable to simplify
* Fix issue from file that was a symlink
* Submenu handle sub items and query string urls
* extract pageLinks to improve readability
* fix typo
* Apply fixes from StyleCI
* phpstan was not happy using the relationship HasMany query
* Don't allow *bps etc to be on a second line
* Improve table on small screens
* Fix sort
---------
Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
* fix
* Fix the issue
The left join with the device was pulling in a "port" field which then caused Eloquent to think the port relationship was already loaded.
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* breakout handling of suricata extend v. 1 returns
* initial work for suricata 7.0.0
* add shared file for various Suricata related variables
* update handling for new Suricata stuff
* fix suricata rrd name bits
* update suricata app page a bit
* misc
* add a new v2 suricata graph
* more suricata v2 graphs
* fix app data for suricata
* more graph work
* fix initial graphs
* the page selector for suricata v2
* more cleanup for suricata stuff
* add more graphs
* add suricata_v2_pkt_drop.inc.php
* add suricata_v2_error_delta.inc.php
* add suricata app layer flows graph
* add app layer tx
* start work on bypassed
* add flow bypass stuff
* add suricata error stuff
* add more graphs
* more suricata v2 work
* ...
* add packets overview
* cleanup suricata_packets_overview.inc.php
* more work on the overview graphs
* error delta is now per second
* cleanup suricata_v2_app_layer_error_alloc.inc.php
* add new flow proto stuff
* add suricata_v2_flow_proto
* add new overview graph
* update v2 app layer flows graph
* more v2 graph cleanup
* suricata graph cleanup
* suricata_dec_proto_overview now works
* more graph work for suricata
* more graph work
* add another overview graph
* snmp fix
* add a new overview graph
* add a new over view
* more graph stuff
* more memory graphs
* tidy pages bit
* more work on decoder stuff
* more decoder work
* decoder stuff done
* cleanup suricata_packets_overview.inc.php
* appl layer tx work
* add app flow stuff
* fix suricata_v2_decoder__event__ethernet.inc.php
* fix suricata_v2_decoder__event__ipv4.inc.php
* fix suricata_v2_decoder__event__ipv6.inc.php
* add alloc error stuff
* more error related work
* more error stuff
* start work on internal errors
* add internal error graphs
* parser error stuff done
* more decoder work
* decoder icmpv4
* more decoder work
* ltnull done
* mpls decoder stuff
* nsh decoder work
* decoder ppp done
* more decoder work
* more decoder work
* more vlan work
* vntag decoder stuff done
* descr_len auto set for generic stats
* ipv6 decoder stuff done
* style fix
* style fix
* more style cleanup
* more suricata graph work
* fix require usage
* tweak drop info a bit
* add some checks for for with suricata 7.0.4
* more suricata tweaks
* fix sagan instance handling
* another minor fix
* fix improper munging
* rever something accidentally added to this repo
* add linux_suricata-v2.snmprex
* rename the metrics for instances from instance_ to instances_
* add linux_suricata-v2.json test data
* style fix
* minor munging tweak
* style cleanup
* some app data fixes
* remove a typo from test data
* add deleted_at and make sure discovered is numeric and not a string 1
* derp... json fix
* remove something accidentally added
* fix a small erorr in the test data
* add a missing variable to the test data
* try another tweak for suricata json test stuff
* derp... fix a type in the suricata poller
* revert a test data change
* re-order some the metrics in the test
* some more metric re-ordering
* add a missing status
* remove something that was accidentally added to this branch instead of another
* strcmp cleanup
* style fix
* Remove flasher
Just use a bit of custom code to interface with toastr js
This is able to retain our custom theme and work properly
* Fix style issues
* Missed reference rename
* Remove test code :)
* Fix a missed rename
* Fix one more missed reference
* Fix typo
* Fix Fping bulk
When an ICMP unreachable message was returned (stderr), the output processing would save it as if it were a partial line, breaking parsing.
Only save a line if it is the last line of the output (not ending in a new line)
* Add test case
* safer logic