https://redmine.named-data.net/https://redmine.named-data.net/favicon.ico?14759811232015-08-25T08:57:52ZNDN project issue tracking systemNFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=122402015-08-25T08:57:52ZDavide Pesavento
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-2 priority-default closed" href="/issues/1511">Bug #1511</a>: EthernetFace cannot receive on Ubuntu 14.04</i> added</li></ul> NFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=122422015-08-25T09:07:51ZDavide Pesavento
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/12242/diff?detail_id=10858">diff</a>)</li></ul> NFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=130062015-10-02T10:24:08ZJunxiao Shi
<ul><li><strong>Subject</strong> changed from <i>EthernetFace: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enough</i> to <i>EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enough</i></li><li><strong>Target version</strong> set to <i>v0.5</i></li></ul><p>Ubuntu would have recent enough libpcap since 15.10.</p>
NFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=160222016-07-10T13:47:56ZDavide Pesavento
<ul><li><strong>Tracker</strong> changed from <i>Task</i> to <i>Feature</i></li></ul> NFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=181442017-01-13T22:37:19ZDavide Pesavento
<ul><li><strong>Target version</strong> deleted (<del><i>v0.5</i></del>)</li></ul> NFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=191122017-05-23T14:30:30ZDavide Pesavento
<ul></ul><p>Junxiao Shi wrote:</p>
<blockquote>
<p>Ubuntu would have recent enough libpcap since 15.10.</p>
</blockquote>
<p>libpcap version 1.5.3 should be sufficient. And that version is available in Ubuntu 14.04.</p>
NFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=237532018-08-02T13:36:38ZDavide Pesavento
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/23753/diff?detail_id=20820">diff</a>)</li></ul> NFD - Feature #3131: EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enoughhttps://redmine.named-data.net/issues/3131?journal_id=238202018-08-09T14:04:51ZDavide Pesavento
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Rejected</i></li><li><strong>Assignee</strong> deleted (<del><i>Davide Pesavento</i></del>)</li></ul><p>Actually, libpcap recommends enabling immediate mode (thereby limiting the highest TPACKET version to V2) if the application wishes to be notified of new packets as soon as they are received, see <a href="https://github.com/the-tcpdump-group/libpcap/issues/472#issuecomment-169791537">https://github.com/the-tcpdump-group/libpcap/issues/472#issuecomment-169791537</a></p>
<p>The alternative (i.e. allowing TPACKET_V3 by not enabling immediate mode) means setting the "packet buffer timeout" to 1ms (the lowest possible value), which means that each incoming packet may be delayed by up to 1ms, which is probably unacceptable for a packet forwarder. So I'm rejecting this issue.</p>