https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2018-04-19T07:37:37Z
Ruby Issue Tracking System
Ruby master - Feature #14696: add optname SO_ORIGINAL_DST
https://bugs.ruby-lang.org/issues/14696?journal_id=71546
2018-04-19T07:37:37Z
akr (Akira Tanaka)
akr@fsij.org
<ul></ul><p>SO_ORIGINAL_DST is defined in linux kernel header, not glibc header.</p>
<p>The provided patch defines SO_ORIGINAL_DST as 80 in ext/socket/rubysocket.h.</p>
<p>There are several options:</p>
<ul>
<li>define the constant in Ruby as the patch.<br>
This add (one) more magic number in Ruby</li>
<li>include linux kernel headers.<br>
It may conflict with glibc headers</li>
<li>define the constant in application as<br>
Socket::SO_ORIGINAL_DST = 80</li>
</ul>
Ruby master - Feature #14696: add optname SO_ORIGINAL_DST
https://bugs.ruby-lang.org/issues/14696?journal_id=71548
2018-04-19T07:47:21Z
akr (Akira Tanaka)
akr@fsij.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-6 priority-4 priority-default closed" href="/issues/6394">Feature #6394</a>: Support SO_ORIGINAL_DST socket option</i> added</li></ul>
Ruby master - Feature #14696: add optname SO_ORIGINAL_DST
https://bugs.ruby-lang.org/issues/14696?journal_id=71549
2018-04-19T07:48:24Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-2 status-6 priority-4 priority-default closed" href="/issues/6394">Feature #6394</a>: Support SO_ORIGINAL_DST socket option</i> added</li></ul>
Ruby master - Feature #14696: add optname SO_ORIGINAL_DST
https://bugs.ruby-lang.org/issues/14696?journal_id=71552
2018-04-19T07:48:34Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-2 status-6 priority-4 priority-default closed" href="/issues/6394">Feature #6394</a>: Support SO_ORIGINAL_DST socket option</i>)</li></ul>
Ruby master - Feature #14696: add optname SO_ORIGINAL_DST
https://bugs.ruby-lang.org/issues/14696?journal_id=71561
2018-04-19T08:21:15Z
matz (Yukihiro Matsumoto)
matz@ruby.or.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul><p>I didn't know <code>SO_ORIGINAL_DST</code> is not defined in libc headers.<br>
In this case, I'd suggest defining the constant in your application.</p>
<p>Matz.</p>