Skip to content

Commit

Permalink
The EigenDA Node Reachability Scanner allows Operators to initiate po…
Browse files Browse the repository at this point in the history
…rt scans from the EigenDA backend to validate e2e reachability.

```
┌─────────────────────────────────────────────┐               ┌─────────────────────────────────────────────┐
│                                             │               │                                             │
│            EigenDA Operator Node            │               │            EigenDA Operator Node            │
│                                             │               │                                             │
│                                             │               │                                             │
└───────┬────────▲────────────────▲───────────┘               └───────┬─────────────────────────────────────┘
┌───────┴────────┴────────────────┴───────────┐               ┌───────┴─────────────────────────────────────┐
│       Operator Firewall Allowing 32005      │               │       Operator Firewall Blocking 32005      │
└───────┬────────┬────────────────┬───────────┘               └───────┬─────────────────────────────────────┘
        │        │                │                                   │        X                X
    PortCheck    │                │                               PortCheck    │                │
     Request     │                │                                Request     │                │
      32005      │                │                                 32005      │                │
        │        │                │                                   │        │                │
        │        │                │                                   │        │                │
        │        │                │                                   │        │                │
        │        │                │                                   │        │                │
        │  Reachability       Dispersal                               │  Reachability       Dispersal
        │      Check           Request                                │      Check           Request
        │      32005            32005                                 │      32005            32005
┌───────┴────────┴────────────────┴───────────┐               ┌───────┴────────┴────────────────┴───────────┐
│                  Nat Gateway                │               │                  Nat Gateway                │
└───────┬────────┬────────────────┬───────────┘               └───────┬────────┬────────────────┬───────────┘
┌───────┼────────┼────────────────┼───────────┐               ┌───────┼────────┼────────────────┼───────────┐
│       │        │                │           │               │       │        │                │           │
│       ▼        │                │           │               │       ▼        │                │           │
│ ┌──────────────┴────┐┌──────────┴────────┐  │               │ ┌──────────────┴────┐┌──────────┴────────┐  │
│ │                   ││                   │  │               │ │                   ││                   │  │
│ │      scanner      ││     disperser     │  │               │ │      scanner      ││     disperser     │  │
│ │                   ││                   │  │               │ │                   ││                   │  │
│ └───────────────────┘└───────────────────┘  │               │ └───────────────────┘└───────────────────┘  │
│                EigenDA VPC                  │               │                EigenDA VPC                  │
└─────────────────────────────────────────────┘               └─────────────────────────────────────────────┘
```

```
NAME:
   scanner - EigenDA Node Reachability Scanner

USAGE:
   scanner [global options] command [command options] [arguments...]

VERSION:
   1.0.0--

DESCRIPTION:
   Service for checking the reachabilty of operator nodes

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --scanner.port value          Server listening port (default: "32001") [$SCANNER_PORT]
   --scanner.metrics-port value  Metrics listening port (default: "9091") [$SCANNER_METRICS_PORT]
   --scanner.timeout value       Amount of time to wait for port scan to complete (default: "5s") [$SCANNER_TIMEOUT]
   --scanner.log.level value     The lowest log level that will be output. Accepted options are "debug", "info", "warn", "error" (default: "info") [$SCANNER_LOG_LEVEL]
   --scanner.log.path value      Path to file where logs will be written [$SCANNER_LOG_PATH]
   --scanner.log.format value    The format of the log file. Accepted options are 'json' and 'text' (default: "json") [$SCANNER_LOG_FORMAT]
   --help, -h                    show help
   --version, -v                 print the version
```
  • Loading branch information
pschork committed Apr 20, 2024
1 parent 5635f6c commit 8e62612
Show file tree
Hide file tree
Showing 14 changed files with 978 additions and 0 deletions.
321 changes: 321 additions & 0 deletions api/grpc/scanner/scanner.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8e62612

Please sign in to comment.