Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #20475

Closed (moved)
(moved)
Open
Created Oct 27, 2016 by teor@teor

Setting bwscanner min_exits to 1 causes no exits to be selected

It looks like there's an off-by-one error in the code that handles this minimun:

diff --git a/NetworkScanners/BwAuthority/bwauthority_child.py b/NetworkScanners/BwAuthority/bwauthority_child.py
index a36728f..248c6d0 100755
--- a/NetworkScanners/BwAuthority/bwauthority_child.py
+++ b/NetworkScanners/BwAuthority/bwauthority_child.py
@@ -67,7 +68,7 @@ __selmgr = PathSupport.SelectionManager(
      use_guards=False,
      exit_ports=[443],
      order_by_ratio=True, # XXX: may be a poor idea for PID control?
-      min_exits=10)
+      min_exits=1)

# exit code to indicate scan completion
# make sure to update this in bwauthority.py as well
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking