Field Requirements & Limits
All special characters are allowed in passwords in both the CLI and GUI.
In the CLI only, you must quote or escape some characters to use them in a password.
In CLI, use | To represent the any word in CLI except the username |
---|---|
"ab\"c" | ab\"c |
ab\"c | ab"c |
ab\\ | ab\ |
"ab?c" | ab?c |
ab\\\\c | ab\c |
Most symbols can be entered without any special quoting. If you want to include spaces or double quotes as part of a name, however, care must be taken. To use double quotes, enclose the entire string in double quotes and put a backslash in front of each double quote you wish to be part of the name:
-
admin@cc> collector new "before\"after" Zone1 cc:eth0
-
admin@cc> collector list
-
before"after
To use spaces, you have two choices. Either use a backslash before each space, or enclose the entire name in double quotes:
-
admin@cc> collector new with\ space Zone1 cc:eth0
-
admin@cc> collector new "two words" Zone1 cc:eth0
-
admin@cc> collector list
-
two words
-
with space
Note: The above is true for passwords, zone names, and organization names and, with the exception of user names, anywhere you enter a free-form string.
User names cannot have special characters. User names are subject to additional restrictions from applications outside of Asset Manager and no special characters are allowed. There are discrepancies across in sources about whether upper or lower case is allowed and whether periods and hyphens are allowed, so the safer route is to limit user names to the characters A-Z, numbers 0-9, and string length 1-31.
What's Allowed in CLI
Field Type | Minimum Characters | Maximum Characters | Letters Allowed | Numbers Allowed | Special Characters Allowed |
---|---|---|---|---|---|
Organization name | 1 | 32 | y | y | y |
Zone name | 1 | 32 | y | y | y |
Collector name | 1 | 32 | y | y | y |
Password | 1 | 32 | y | y | y |
Username | 1 |
32 |
y | y | n |
Report name | 1 | 32 | y | y | y |
Comment | 0 | 256 | y | y | y |
Dashboard name | 1 | 32 | y | y | y |
Widget name | 1 | 64 | y | y | y |
Attribute label | 1 | 32 | y | y | y |
Attribute value | 0 | 64 | y | y | y |
Special Characters Allowed
The following selection of punctuation characters are present on standard US keyboard and allowed in the fields identified above.
Character | Name | Unicode |
---|---|---|
|
Space | U+0020 |
! | Exclamation | U+0021 |
" | Double quote | U+0022 |
# | Number sign (hash) | U+0023 |
$ | Dollar sign | U+0024 |
% | Percent | U+0025 |
& | Ampersand | U+0026 |
' | Single quote | U+0027 |
( | Left parenthesis | U+0028 |
) | Right parenthesis | U+0029 |
* | Asterisk | U+002A |
+ | Plus | U+002B |
, | Comma | U+002C |
- | Minus | U+002D |
. | Full stop | U+002E |
/ | Slash | U+002F |
: | Colon | U+003A |
; | Semicolon | U+003B |
< | Less than | U+003C |
= | Equal sign | U+003D |
> | Greater than | U+003E |
? | Question mark | U+003F |
@ | At sign | U+0040 |
[ | Left bracket | U+005B |
\ | Backslash | U+005C |
] | Right bracket | U+005D |
^ | Caret | U+005E |
_ | Underscore | U+005F |
` | Grave accent (backtick) | U+0060 |
{ | Left brace | U+007B |
| | Vertical bar | U+007C |
} | Right brace | U+007D |
~ | Tilde | U+007E |
The same list as string (between double quotes): " !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"
The IP/CIDR address lists and port lists you import to Asset Manager must conform to the basic syntax provided on this page. Examples are provided.
Target List
- Flat ASCII format, one CIDR block per line followed by a text label, separated by a space
- A text label, with a maximum of 50 characters. Labels may contain letters, numbers and underscores.
- Single IP addresses are permitted; list these as a /32 CIDR block (e.g. 10.4.65.7/32)
- Overlapping CIDR blocks are permitted (e.g. including 10.10.0.0/16 and 10.10.24.0/24)
Examples:
10.210.0.0/16 North America
10.230.0.0/16 EMEA
10.250.0.0/24 Australia
Avoid List
- A text label, with a maximum of 50 characters. Labels may contain letters, numbers and underscores.
- Single IP addresses are permitted; list these as a /32 CIDR block (e.g. 10.4.65.7/32)
- CIDR blocks in this list may overlap fully or partially with the Target list.
Examples:
10.10.0.0/24 Servers
10.30.0.0/28 Partner Network
10.50.0.0/30 Customer Network
Stop List
- A text label, with a maximum of 50 characters. Labels may contain letters, numbers and underscores.
- Single IP addresses are required; list these as IP addresses, NOT in CIDR notation
(e.g. 10.4.65.7) - IP addresses in this list may be contained within the Target list.
- The maximum number of Stop List entries is 5000.
Examples:
10.10.10.10 Gateway to Servers
10.30.40.50 Partner Gateway
10.50.60.70 Customer Gateway
SNMP Community Strings
Flat ASCII format, one community string per line.
Examples:
-
LANRead
-
WANRead
-
MySNMPRead
The following characters are not supported in the SNMP Community String:
-
Control characters (ASCII 0-31)
-
Space (ASCII 32)
-
Comma (ASCII 44)
-
Backslash (ASCII 92)
-
Del (ASCII 127)
The default community credentials are as follows:
public, private, 2read, 2write, 4changes, access, admin, agent, ANYCOM, all, CISCO, community, ctron, default, dilbert, enable, field, foo, foobar, guest, hello, IBM, ILMI, manager, mngt, monitor, network, openview, OrigEquipMfr, password, proxy, read, root, router, scotty, secret, security, seri, snmp, SNMP, snmpd, solaris, SUN, switch, system, tech, test, tiv0li, tivoli, world, write, and MiniAP.
Note: For SNMP queries to be effective, Asset Manager must be placed on a subnet (or given an IP address) that is authorized to poll the routers for SNMP. This may require modification of access control lists (ACL) to permit SNMP access from Asset Manager. Without this capability, the value of Path Discovery is reduced.
Port List
Flat ASCII format, one entry per line. Each entry is a port number and text description, separated by a space
The following is the default list of TCP ports used for Port Discovery in Asset Manager:
-
Vulnerable Ports
0, 21-23, 25, 79, 80, 110, 113, 119, 135, 137, 139, 143, 389, 443, 445, 1002, 1024-1050, 1720, 5000, and 8080 -
Infection Ports
21, 23, 25, 80, 113, 137, 139, 555, 666, 1001, 1025,1026, 1028, 1243, 2000, 5000, 6667, 6670, 6711, 6776, 6969, 7000, 8080, 12345, 12346, 21554, 22222, 27374, 29559, 31337, and 31338
Common Ports
Port | Use |
---|---|
21 | FTP |
22 | SSH |
23 | Telnet |
25 | SMTP |
80 | HTTP |
88 | Kerberos |
110 | POP3 |
135 | CIFS |
139 | CIFS |
445 | CIFS |
548 | AFP over TCP |
3306 | MySQL |
3389, 3689, 5432, 5631, 5900, 5901, 17500, 62078 |