ASN definitions

To import a list of custom ASN definitions, execute the following from the scrut_util interactive shell (SCRUTINIZER> prompt):

import asns <PATH/FILE> <DELIMITER>

Direct shell/script syntax

scrut_util --import asns --file <PATH/FILE> --delimiter <DELIMITER>

File requirements

The file to be imported must be a CSV file, and the path provided must be relative to the home/plixer/scrutinizer/ directory. The file’s name should only include lower-case letters.

Definition format

Each ASN definition should be in a single line, following the format:

'AS_NUMBER',AS NAME,AS Description,IP_NETWORK(S)

Additional notes

  • The optional DELIMITER parameter can be used to replace `` `` (space) for separating individual IP networks if the contents of the import file are formatted differently.

  • , (comma) cannot be used as a custom delimiter, as it is reserved for separating elements in the definition.

Definition examples

213,My ASN,what a great autonomous system,10.0.0.0/8 192.168.0.0/16
214,Your List,this system is only meh,11.0.0.0/8