SunScreen 3.1 Reference Manual

Appendix D Error Messages

This appendix describes the error messages generated by various components of the SunScreen software and a suggested solution for each error condition.

Error Messages From the ssadm edit Component

Error messages can arise while editing the address, rule, and service configurations (and from the corresponding GUIs).

The expression, [ARGUMENTS], used in the following error messages means that the same set of arguments passed into ssadm* is echoed back.

For example, if you type: "add address a b junk x y z" the error message is: "add address a b junk x y z: error_message".

The ssadm edit component's error messages follow.

Return code: 1

The user invoked the edit program incorrectly.

Return code: 1

The user specified an illegal policy name while invoking the editor.

Return code:

The user chose to QUIT even though there are unsaved changes.

Return code:

The user asked for their lock_status, and they currently hold the write lock.

Return code:

The user asked for their lock_status, and they currently hold the read lock.

Return code: 0

The user asked for the version currently being edited.

Return code: 251

The user tried to delete a NAT Rule using the old ssadm nat or ssadm access command.

Return code: 231

The user attempted to quit without saving unsaved changes.

Return code: 232

The user attempted to save the policy as lock, which is a reserved word.

Return code: 233

The user attempted to save the policy as version, which is a reserved word.

Return code: 234

The user attempted to save the policy as registry, which is a reserved word.

Return code: 235

The user attempted to save a versioned policy with a new name.

Return code:

An entry in the registry (on disk) has more than one definition. All definitions after the first are lost upon the next save.

Return code: 240

The policy given to be read did not exist.

Return code: 241

The policy or registry file on disk is corrupt and cannot be read. Make sure you have a backup or a recent version saved.

Return code: 242

The configuration editor could not acquire a read lock. Likely the lock file is corrupt or some process is hanging. ss_lock -c policy is likely to be needed.

Return code: 243

A request to gain the write lock failed. Likely some other process currently holds the write lock.

Return code: 244

An attempt was made to save changes, but something has happened so that this process no longer holds the write lock. Perhaps someone else has issued an ss_lock -c policy and invalidated the lock.

Return code: 247

An attempt was made to modify the Address or Screen object *. This is a reserved name and cannot be modified.

Return code: 248

An attempt was made to modify the Address localhost. This is a reserved name and cannot be modified.

Return code: 249

Indicates that something happened to the lock files. ss_lock -c policy is likely needed to fix the situation.

Return code: 250

A reference is made to a named object in the global registry that does not exist in the registry.

Return code: 251

A request was not well-formed.

Return code: 252

A request was issued for an invalid data type.

Return code: 253

A request used an invalid operation.

Return code: 255

No longer used.

Return code : nonzero : nonzero

Indicates you added an ADMIN interface to a routing machine. You probably want this to be a routing type interface.

Appears as a result of an "add Interface" request

Appears as a result of an "add Interface" request

Appears as a result of an "add Interface" request

Error Messages From the ssadm activate Component

The ssadm activate component's error messages follow.

Return code : nonzero

The user invoked ssadm activate incorrectly.

Return code: 236

The policy being compiled and activated refers to more than 31 distinct time objects.

Return code:

An entry in the registry (on disk) has more than one definition. All definitions after the first are lost upon the next "save.

Return code: 239

The -S passed to ssadm activate is a nonexistent Screen object.

Return code: 240

The policy given to be read did not exist.

Return code: 241

The policy or registry file on disk is corrupt and cannot be read. Be sure you have a backup or a recent version saved.

Return code: 245

No longer used.

Return code: 250

A reference is made to a named object in the global registry that does not exist in the registry.

Return code : nonzero

Return code : nonzero

Return code : nonzero

Return code : nonzero

Return code : nonzero

The Screen object must define the SMTP Address if the SMTP proxy is to be used.

Return code : nonzero

The indicated service is needed by the system, but the definition has either been deleted or renamed in the global registry.

Return code : nonzero

The Screen object is not fully defined. Remote administration is indicated but the Screen is lacking a Certificate.

Return code: nonzero

An Ethernet-based Rule is specified (that is, a service that includes the "ether" state engine) and it also indicates SKIP is to be used.

Return code: nonzero

Indicates that only 16 of a given type of interface are supported.

Return code: nonzero

HA is indicated but the services "HA administration" and "HA heartbeat" have been either removed or renamed.

Return code: nonzero

The Screen objects participating in the current HA cluster lack HA_IP addresses.

Return code: nonzero

The HA IP address specified is not part of the HA interface.

Return code: nonzero

A service has contradictory information, such as the same port but different state engines, or different parameters.

Return code: nonzero

Two (or more) interfaces' addresses intersect.

Return code: nonzero

The reverse rule swaps the certificates, and groups are not supported in the encrypting case.

Return code: nonzero

The reverse rule swaps the certificates, and groups are not supported in the encrypting case.

Return code: nonzero

The service is needed internally but has been either renamed or deleted.

Return code: nonzero

The service is needed internally but has been either renamed or deleted.

Return code: nonzero

The service is needed internally but has been either renamed or deleted.

Return code: nonzero

The service is needed internally but has been either renamed or deleted.

Return code: nonzero

The service is needed internally but has been either renamed or deleted.

Return code: nonzero

The service is needed internally but has been either renamed or deleted.

Return code: nonzero

The service is needed internally but has been either renamed or deleted.

Return code: nonzero

Return code: nonzero

Return code: nonzero

Return code: nonzero

Return code: nonzero

Return code: nonzero

HA is indicated, but no primary Screen is specified.

Return code: nonzero

One of the following is missing given that HA_Secondary is indicated: certificate, key, data, mac, or compression algorithm.

Return code: nonzero

Return code: nonzero

Return code: nonzero

The data compiler could not write the output file owing to a failed fseek.

A certificate name1 that is not local to this Screen is used in at least two SKIP_VERSION_1 rules, but the local certificate is not the same. SunScreen supports only using a one local certificate for any given remote certificate in SKIP_VERSION_1 compatibility mode. The user must either use skip_version_2 or change one of name2 and name3 to the other.

There are more than 65535 pairs of certificates for either manual keying or support SKIP_V1 nodes. There is a limit of 65535.

There are more than 65535 pairs of certificates for either Manual Keying or support SKIP_V1 nodes. There is a limit of 65535.

Return code: 1

Return code: 0

A problem determining how to implement the rule occurred and is being discarded.

TYPE is address, action, service, state engine. This means that the name is defined multiple times. One of the definitions must be removed. Using the ssadm* command removes the first such definition. To remove the second, and keep the first intact, you must use a text editor on the file on the Screen.

Indicates an unresolved reference, where name2 refers to name1 but name1 is not defined. The user needs to define name1 or remove the reference by modifying name2.

A circular reference in an address list definition, such that list A includes list B as a member and list B includes list A as a member. The user must break the cycle for the compilation to be successful.

A circular reference in a service list definition, such that list A includes list B as a member and list B includes list A as a member. The user must break the cycle for the compilation to be successful.

The service is internally inconsistent. Either the service defines two state engines in the same class and subclass for the same port; or the same port and the same state engine are used twice but with different parameters. The user must redefine this service for the compilation to be successful.

The user is referring to an object (address, service) that has not yet been defined. Be sure it is defined.

The user has entered a domain name that has illegal characters, such as /. Use the default domain name "default."

The user has entered a nonexistent domain name. Use the default domain name "default.

The user has requested an operation that is not recognized.

The user has entered an unsupported character.

Too many concurrent processes are running.

Too many concurrent processes are running.

The user entered something incorrectly. Refer to the relevant man page to verify you have the correct command syntax.

The user requested an operation on an unknown data type.

The first certificate specified is supposed to be the Administration Station's certificate. If the certificate is local to the Screen, then it cannot be the Administration Station's.

The first certificate could not be found in the Certificate registry, as maintained by ssadm certificate. Be sure the entry is entered correctly.

The second certificate must belong to the Screen. Try again and verify that the second certificate is the Screen's certificate.

The second certificate could not be found in the Certificate registry, as maintained by ssadm certificate. Be sure the entry is entered correctly.

The user attempted to modify *, which is not user-editable.

You attempted to modify localhost, which is not user-editable.

The user-indicated service is missing.

A SKIP-based rule must include one local and one nonlocal certificate. If both are local, or both are nonlocal, then the rule is invalid and will be ignored. If you believe the rule is necessary for this Screen, verify that one of the certificates is local and one is nonlocal, and reactivate.

The user specified proxy definition cannot be found and a proxy rule was specified. The Rule necessary to support the proxy cannot be generated. Be sure the appropriate proxy server is defined.

The configuration does not exist. Try again with a configuration that does exist.

The NAT entry is invalid if its public and private addresses intersect with each other or any other address in the NAT table. Be sure that no two NAT entries intersect.

The service "HA Service" could not be found. Be sure it is defined.

The specified service is not well defined. For example, it may specify the same port for multiple state engines that conflict, like UDP and UDP-datagram. Redefine the service correctly.

le0 is the name of the nonexistent interface. This happens if the global common registry being activated contains an interface that the machine that is doing the compile and activate does not have.

The user added an interface and it could not be verified on the Screen.

The syntax entered was incorrect. See the man page for correct syntax.

The syntax entered was incorrect. See the man page for correct syntax.

The syntax entered was incorrect. See the man page for correct syntax.

The user entered a range where the end value was less than the start value.

The user specified service is not well-defined. For example, it may specify the same port for conflicting state engines, such as UDP and UDP-datagram. Redefine the service correctly.

Error Messages From the ssadm lock Component

The ssadm lock component's error messages follow:

Return code: 1

The user invoked ssadm lock command incorrectly.

The lock is held by this UNIX process with process ID pid.

Logged Packet Reasons - why codes

TABLE D-1 lists common reasons for logging packets in the SunScreen log and in the SNMP syslog files. Reasons with numbers below 256 indicates that the packet passed. Reasons with number of 256 or greater indicates that the packet was dropped. The reason numbers listed here are sometimes referred to as why codes.

Table D-1 Logged Packet Reasons

Number 

Log Error Message 

SNMP Error Message 

Explanation 

Passed packet logged

passed(1) 

Packet passed. The packet was passed by a rule that specified the packet should also be logged. 

256 

Denied or no pass rule found

noRuleOrDenyRule(256) 

Packet dropped because it did not match any rule. Can also indicate that the packet's source address was invalid for the network interface. 

257 

No connection

noState(257) 

Packet dropped due to missing state information. The packet was part of an existing, possibly legal session, but no session information could be found. This could be due to the Screen timing out the connection, the Screen being rebooted and losing session state, or a protocol violation where the initial packets were not sent. 

258 

Out of memory

noMemory(258) 

Packet dropped due to the lack of Screen memory. The Screen could not create the session state due to a lack of real memory. The Screen will accept new sessions when current sessions are closed. 

259 

Too many connections

tooManySessions(259) 

Packet dropped because the maximum number of sessions are already open. The Screen will accept a new session when a current session of this type is closed. 

260 

Invalid port

invalidPort(260) 

Packet dropped due to invalid port number specification. An example is an FTP data session not on port 20. 

261 

Bad format

invalidFormat(261) 

Packet dropped due to invalid format. The Screen determined that the packet did not match the service specified in the rules. 

262 

Bad direction

invalidDirection(262) 

Packet dropped due to invalid "direction." For example, a DNS request was received when a DNS response was expected. 

263 

Too many responses

tooManyResponses(263) 

Packet dropped due to too many responses. The applicable rule specified a simple UDP exchange, but the Screen received multiple responses. 

264 

Too short

tooShort(264) 

Packet dropped because it was too short for the service specified. 

265 

Bad protocol

invalidProtocol(265) 

Packet dropped because of an invalid protocol identifier. For example, an RPC packet was not of protocol UDP or TCP. 

266 

No port map

noPortmapEntry(266) 

RPC packet dropped due to lack of port mapping entry. An RPC packet was received on an invalid port. This can occur when the Screen times out RPC portmap entries faster than the end nodes.

267 

Bad port map

invalidPortMapEntry(267) 

RPC packet dropped due to invalid port mapping entry. The portmapper specified that a different RPC program resides on the port.

268 

NIS protocol error

nisProtocolError(268) 

NIS+ packet dropped due to protocol error (not implemented). 

269 

Bad interface

invalidInterface(269) 

Indicates a "bad policy." This error message is typically caused by an invalid identity. The packet was dropped because the encryption characteristics of the packet did not match those specified in an otherwise matching rule. That is, the source address, destination address, and service of the packet matched at least one rule, but the encryption setting conflicted with what was received. Possible encryption characteristic differences include the following: 

  • The packet was received encrypted, but the rule specified that it must be unencyrpted.

  • The packet was received unencrypted, but the rule specified that it must encrypted.

  • One of the encryption parameters of the packet did not match a parameter specified for the rule. For example, a mismatching key algorithm was used or the wrong certificate was specified.

The encryption settings for the sender and the Screen should be compared to verify that they are identical and that the correct keys are being used.

270 

Bad policy

invalidPolicy(270) 

A SKIP packet matched an existing encryption rule but had one or more parameters set incorrectly. 

272 

Bad source address

invalidSourceAddres(272) 

Indicates a packet was dropped because it was received on an interface where it was not expected; that is, the packet was dropped owing to spoof-detection checks. If the source of the rejected packet is supposed to be allowed on the interface, it should be added to the address group assigned to the interface. 

274 

Fragment too big

fragmentTooBig(274) 

Indicates a possible network attack. 

275 

Fragment overlap

fragmentOverlap(275) 

A packet was fragmented while it was in transit and that the fragments contain redundant data. May indicate a network attack.