Summary: | [patch] [nis] clients may bind to FreeBSD ypserv refusing to serve them | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Tor Egge <Tor.Egge> | ||||
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | CC: | delphij | ||||
Priority: | Normal | Keywords: | patch | ||||
Version: | 3.0-CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Tor Egge
1996-11-23 04:40:09 UTC
Bill Paul wrote:
> > - Don't let the ypserv process fork for gethostbyname()
> > lookups. Use async dns lookups instead.
>
> This has been on my mind for a while, but it's fallen victim to a
> severe lack of round tuits. One reason I've been putting it off is
> that doing this 'correctly' would probably mean bolting some of the
> BIND code directly onto ypserv. This would lead to yet another upgrade
> headache when new BIND versions are released.
Another option is to fork() once and have the parent and child communicate
over a pipe. This is a pretty common approach, especially for things like
WWW caches (eg: squid, harvest cached), MUD game drivers, etc.
FWIW, there's an async DNS resolver in the later versions of the irc
servers, but I seem to recall that it's been contaminated with GPL code.
Cheers,
-Peter
State Changed From-To: open->suspended Awaiting committer State Changed From-To: suspended->open we don't use suspeended for this state 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 Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi> portmap(8) was replaced by rpcbind(8) in 2001. |