FreeBSD Bugzilla – Attachment 12823 Details for
Bug 24610
[PATCH] make inetd log hostnames when specifying -l twice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.09 KB, created by
Andre Albsmeier
on 2001-01-24 15:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2001-01-24 15:30:01 UTC
Size:
1.09 KB
patch
obsolete
>--- usr.sbin/inetd/inetd.c.ORI Wed Jan 24 11:32:17 2001 >+++ usr.sbin/inetd/inetd.c Wed Jan 24 15:49:24 2001 >@@ -310,7 +310,7 @@ > options |= SO_DEBUG; > break; > case 'l': >- log = 1; >+ log++; > break; > case 'R': > getvalue(optarg, &toomany, >@@ -566,7 +566,7 @@ > peer.sa_len, > pname, sizeof(pname), > NULL, 0, >- NI_NUMERICHOST| >+ (log > 1 ? 0 : NI_NUMERICHOST) | > NI_WITHSCOPEID); > pnm = pname; > } >@@ -575,7 +575,7 @@ > peer.sa_len, > pname, sizeof(pname), > NULL, 0, >- NI_NUMERICHOST| >+ (log > 1 ? 0 : NI_NUMERICHOST) | > NI_WITHSCOPEID); > pnm = pname; > } >--- usr.sbin/inetd/inetd.8.ORI Wed Jan 24 15:49:53 2001 >+++ usr.sbin/inetd/inetd.8 Wed Jan 24 15:54:29 2001 >@@ -79,7 +79,9 @@ > .It Fl d > Turn on debugging. > .It Fl l >-Turn on logging of successful connections. >+Turn on logging of successful connections. If specified twice, >+the address is converted into a name which could result in a >+(possibly time consuming) DNS lookup. > .It Fl w > Turn on TCP Wrapping for external services. > See the
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24610
: 12823