Project

General

Profile

Actions

Feature #7476

closed

missing "IP_TRANSPARENT" constant for IP sockets.

Added by elico (Eliezer Croitoru) almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:50372]

Description

There is a missing constant for IP_TRANSPARENT on linux.
to set the TPROXY on a socket I use:
s.setsockopt(Socket::SOL_IP, 19, 1)
The 19 suppose to be as a constant named: IP_TRANSPARENT or Socket::IP_TRANSPARENT.

Actions

Also available in: Atom PDF