Name

LSTN-251 — Socket option failed to be set on the socket

Severity

C (critical)

Message text

Cannot set %s on socket %d

Description

Depending on the type of the socket, some socket options are set via setsockopt(2). The list of possible reasons follows. Note that there can be other reasons that are not listed here. If IP_TRANSPARENT failed to be set, check that sysctl net.inet.ip.transparency=1. If IP_LISTEN_PORT_RANGE failed to be set, check that sysctl net.inet.ip.port_range_listen=1, and that the port range does not collide with the reserved port ranges defined in sysctl net.inet.ip.portrange (lowfirst-lowlast, first-last, hifirst-hilast).

See also

logging(7)

Authors

This man page is a part of Kernun Firewall.
Copyright © 2000–2023 Trusted Network Solutions, a. s.
All rights reserved.