jetsend-contact-ip-address-security
1.3.6.1.4.1.11.2.3.9.4.2.1.3.8.3.1.2
A C structure containing the following fields:
typedef struct {
ubyte reserved[3];
ubyte command; /* command: 0 to 1 */
ubyte password[8];
ubyte IPAddress[4];
} jetsend_contact_ip_address_security_t;
where ubyte is an unsigned byte (0-255). The defined
values defined for command are:
0: Limit JetSend sessions to sessions from a device
whose IP address matchs the supplied IPAddress.
1: Limit JetSend sessions to session from devices
whose IP addresses match the mask supplied in IPAddress
field. If the result of logically anding the mask value
supplied in the IPAddress field with the sending
device's IP address matches the result of logically
anding the mask value supplied in the IPAddress field
with this device's IP address, then JetSend will allow
the session to be established.
To disable IP address security, zero out the IPAddress
field.
Additional information:
Controls the device or class of device(s) which may communicate with the JetSend
processing subsystem. The following C data structure contains the relevant fields (described in subsequent
paragraphs):
typedef struct {
unsigned char reserved[3];
unsigned char command;
unsigned char password[8];
unsigned char IPAddress[4]; }
The 'reserved' field is not used and should remain zero-filled.
The 'command' field interpretation differs based on its value: 0 = Accept session(s) only from the specific
device whose IP address matches the specified IP address; all other session request(s) from non-matching
device(s) are rejected. 1 = Accept session(s) only from the specific device(s) whose IP address(es) conform to
the mask specified in the 'IPAddress' field; all other session request(s) from device(s) with non-matching
submask(s) are rejected. (If the result of logically AND'ing the mask value supplied in the 'IPAddress' field with
the sending device's IP address matches the result of logically AND'ing the mask value supplied in the
'IPAddress' field with this device's IP address, then JetSend will allow session establishment.
Password absence/presence determines whether the device will allow the caller to alter the IP address security.
If the password is disabled, the caller may set the 'command' and 'IPAddress' fields directly. If the password is
enabled, the caller may (re-)set the 'command' and 'IPAddress' fields only after specifying the matching
'password' field. (Refer to the aforementioned 'JETSEND-CONTACT-PASSWORD' object ID.) (Specifying
either an invalid 'command' field value or a 'password' field greater than eight (8) bytes or an 'IPAddress' field
greater than four (4) bytes causes the error <badValue> to be returned.)