Bug 102719 - [patch] ng_bpf(4) example leads to unneeded promiscuos mode activation
Summary: [patch] ng_bpf(4) example leads to unneeded promiscuos mode activation
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Eugene Grosbein
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2006-08-31 07:10 UTC by Eugene Grosbein
Modified: 2018-12-17 07:05 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (391 bytes, patch)
2006-08-31 07:10 UTC, Eugene Grosbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein 2006-08-31 07:10:12 UTC
	ng_bpf(4) teaches to use tcpdump(1) to generate raw BPF
        instructions. However, the exact command line does not
	include	'-p' option. This may activate promiscous mode on
	first ethernet interface, if any. This is not needed and
	should not happen.

How-To-Repeat: 	Use example from bg_bpf(4) manual page and see pair of
	'promiscuous mode enabled/promiscuous mode disabled' messages
	in the kernel log.
Comment 1 Gleb Smirnoff freebsd_committer freebsd_triage 2006-10-21 10:29:51 UTC
  I'd say this is a bug in tcpdump(1), not a problem in the
manual page. tcpdump(1) doesn't need an interface to process
-d option.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:48 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Eugene Grosbein freebsd_committer freebsd_triage 2018-09-09 17:44:09 UTC
My PR.
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-12-14 09:24:45 UTC
A commit references this bug:

Author: eugen
Date: Fri Dec 14 09:24:14 UTC 2018
New revision: 342071
URL: https://svnweb.freebsd.org/changeset/base/342071

Log:
  ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode

  PR:		102719
  MFC after:	3 days

Changes:
  head/share/man/man4/ng_bpf.4
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-12-17 06:59:06 UTC
A commit references this bug:

Author: eugen
Date: Mon Dec 17 06:58:12 UTC 2018
New revision: 342157
URL: https://svnweb.freebsd.org/changeset/base/342157

Log:
  MFC r342071: ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode

  PR:	102719

Changes:
_U  stable/12/
  stable/12/share/man/man4/ng_bpf.4
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-12-17 07:03:11 UTC
A commit references this bug:

Author: eugen
Date: Mon Dec 17 07:02:50 UTC 2018
New revision: 342158
URL: https://svnweb.freebsd.org/changeset/base/342158

Log:
  MFC r342071: ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode

  PR:	102719

Changes:
_U  stable/11/
  stable/11/share/man/man4/ng_bpf.4
Comment 7 commit-hook freebsd_committer freebsd_triage 2018-12-17 07:04:14 UTC
A commit references this bug:

Author: eugen
Date: Mon Dec 17 07:03:37 UTC 2018
New revision: 342159
URL: https://svnweb.freebsd.org/changeset/base/342159

Log:
  MFC r342071: ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode

  PR:	102719

Changes:
_U  stable/10/
  stable/10/share/man/man4/ng_bpf.4