3.13.1 Registering host names
Use a text editor to specify host names in the definition file (jp1ftphost.access_list) according to the definition method described below.
Begin by specifying a definition name, and then specify values on the following lines. If you specify multiple values, make sure that you specify only one value on each line. Any characters following a hash mark (#) through a linefeed are treated as a comment.
The following table lists and describes the definition names and values that can be specified.
Definition name |
Description |
Value |
---|---|---|
[allow_list] |
Specifies hosts whose connection is to be permitted. In the case of an IP address, you can specify an IPv4 or IPv6 address. |
IP address or host name |
[deny_list] |
Specifies hosts whose connection is to be rejected. In the case of an IP address, you can specify an IPv4 or IPv6 address. |
IP address or host name |
The attributes of this definition file are shown below.
Item name |
Setting |
---|---|
File name |
jp1ftphost.access_list |
Directory name |
/var/opt/jp1_fts/sys |
Owner |
Superuser |
Access permission |
Owner: r |
The following table shows the formats that can be used for specifying an IPv6 address.
No. |
Address to be specified |
Description |
Definition |
---|---|---|---|
1 |
2001:0db8:0020:0003:1000:0100:0020:0003 |
All 128 bits specified |
Valid |
2 |
2001:db8::9abc |
Partial omission |
Valid |
3 |
::1 |
Loopback address specification |
Valid |
4 |
2001:F123:2221:2312:3333:4444::/96 |
Mask specification |
Valid |
5 |
2001:128:222:333 |
Last value omission specification |
Invalid |
6 |
2001:F123:2221:2312:3333:*:5555:6666 |
Multiple specifications |
Invalid |
7 |
2001:F123:2221:2312:3333:4444:5555:1111-FFFF |
Multiple-range specification |
Invalid |
Example