0.3.0 • Published 4 years ago

@dgac/asterix-tool v0.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

@dgac/asterix-tool

DGAC ASTERIX toolkit

oclif Version CircleCI Codecov Downloads/week License

Usage

$ npm install -g @dgac/asterix-tool
$ asterix-tool COMMAND
running command...
$ asterix-tool (-v|--version|version)
@dgac/asterix-tool/0.3.0 linux-x64 node-v14.3.0
$ asterix-tool --help [COMMAND]
USAGE
  $ asterix-tool COMMAND
...

Commands

asterix-tool help [COMMAND]

display help for asterix-tool

USAGE
  $ asterix-tool help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

asterix-tool info SOURCE_FILE

Prints statistics about a PCAP package containing ASTERIX messages

USAGE
  $ asterix-tool info SOURCE_FILE

ARGUMENTS
  SOURCE_FILE  Source PCAP file.
               (note: the file can only contain ASTERIX traffic)

OPTIONS
  -v, --verbose                Verbose output
  --source-format=udp4|macllc  [default: udp4] Source format (udp4 or MAC/LLC)

See code: src/commands/info.ts

asterix-tool proxy MULTICAST-GROUP

Proxies UDP multicast ASTERIX to a UNIX socket

USAGE
  $ asterix-tool proxy MULTICAST-GROUP

ARGUMENTS
  MULTICAST-GROUP  Multicast group address.
                   e.g: 232.1.1.1 or ff02::fb

OPTIONS
  -d, --destination=destination  [default: udp4://localhost:8600] The destination to forward the ASTERIX messages to.
                                 e.g: unix:/tmp/asterix.socket or udp4://localhost:8600

  -i, --interface=interface      [default: all] Network interface.
                                 Default value is 'all'

  -p, --port=port                [default: 8600] Port number to listen to.

  -v, --verbose                  Verbose output

See code: src/commands/proxy.ts

asterix-tool replay SOURCE_FILE

Forwards ASTERIX packets from a pcap file to a unix or udp socket

USAGE
  $ asterix-tool replay SOURCE_FILE

ARGUMENTS
  SOURCE_FILE  Source PCAP file.
               (note: the file can only contain ASTERIX traffic)

OPTIONS
  -d, --destination=destination        [default: udp4://localhost:8600] The destination to forward the ASTERIX messages
                                       to.
                                       e.g: unix:/tmp/asterix.socket or udp4://localhost:8600

  -n, --max-count=max-count            [default: Infinity] Number of messages forwarded before exiting

  -v, --verbose                        Verbose output

  --source-format=udp4|macllc          [default: udp4] Source format (udp4 or MAC/LLC)

  --time-compression=time-compression  [default: 1] Time compression factor.
                                       For instance, a value of 2 will process the file twice at fast as it was record.

See code: src/commands/replay.ts