Bug 131143 - [patch] amd(8) causes annoying "embedded slash in map name" message
Summary: [patch] amd(8) causes annoying "embedded slash in map name" message
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 7.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2009-01-30 02:10 UTC by george
Modified: 2018-05-20 23:52 UTC (History)
1 user (show)

See Also:

file.diff (757 bytes, patch)
2009-01-30 02:10 UTC, george
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description george 2009-01-30 02:10:02 UTC
An out-of-the-box FreeBSD installation with amd enabled will generate two
system log messages of the form "embedded slash in map name "/etc/amd.map"
-- possible spoof attempt from nn.nn.nn.nn:773".

Fix: The default flags specify a map of /etc/amd.map for /host and /net.  With
no further configuration options, amd will try to interpret /etc/amd.map
as an NIS map name before trying to interpret it as a plain file name.  To
fix the problem, patch /usr/src/contrib/amd/amd/mapc.c to move the "file"
map type entry in maptypes before the NIS+ and NIS map type entries:

How-To-Repeat: Install FreeBSD 6.x or 7.x.  Add the line "amd_enable="YES"" to /etc/rc.conf.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:52:55 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

- Set Status to "Open"