From: akr@... Date: 2014-05-05T15:17:09+00:00 Subject: [ruby-core:62388] [ruby-trunk - Feature #7476] missing "IP_TRANSPARENT" constant for IP sockets. Issue #7476 has been updated by Akira Tanaka. It seems glibc-2.12 provides IP_TRANSPARENT. So there is no problem to use it now. ---------------------------------------- Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets. https://bugs.ruby-lang.org/issues/7476#change-46545 * Author: Eliezer Croitoru * Status: Closed * Priority: Normal * Assignee: Akira Tanaka * Category: ext * Target version: current: 2.2.0 ---------------------------------------- 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. -- https://bugs.ruby-lang.org/