Bug 197137

Summary: benchmarks/netperf: Enable OMNI by default
Product: Ports & Packages Reporter: Marcel Moolenaar <marcel>
Component: Individual Port(s)Assignee: Marius Strobl <marius>
Status: Closed FIXED    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (marius)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Marcel Moolenaar freebsd_committer freebsd_triage 2015-01-27 20:49:31 UTC
The netperf package is incompatible with non-FreeBSD netperf installations. The error on NetBSD or Ubuntu is:

marcel@ubuntu:~$ netperf -H 192.168.160.172
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.160.172 () port 0 AF_INET : demo
Unknown error 998
netperf: remote error 998

The problem is caused by FreeBSD's netperf port having OMNI disabled by default. Apparently this introduces a compatibility problem. The FreeBSD netperf can communicate with a non-FreeBSD netperf, so it appears to be a one-way incompatibility.

The fix is to build the netperf port by hand with OMNI enabled. Given that OMNI is enabled by default since netperf 2.5, it's not clear why FreeBSD keeps it disabled. Especially since it breaks interoperability OOTB. A better default is to have OMNI enabled...
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-27 20:49:31 UTC
Auto-assigned to maintainer marius@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-01-27 22:56:25 UTC
A commit references this bug:

Author: marius
Date: Tue Jan 27 22:56:15 UTC 2015
New revision: 378027
URL: https://svnweb.freebsd.org/changeset/ports/378027

Log:
  Enable OMNI by default; this matches what vanilla netperf does since
  version 2.5 and restores bidirectional compatibility with other OS
  distributions following suit.

  PR:		197137

Changes:
  head/benchmarks/netperf/Makefile