Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 16616 Details for
Bug 27326
process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch just comments out the code.
xxx (text/plain), 587 bytes, created by
Alex Riesen
on 2003-08-25 16:42:21 UTC
(
hide
)
Description:
The patch just comments out the code.
Filename:
MIME Type:
Creator:
Alex Riesen
Created:
2003-08-25 16:42:21 UTC
Size:
587 bytes
patch
obsolete
>--- sysklogd-1.4.1/syslogd.c 2001-03-11 20:40:10.000000000 +0100 >+++ sysklogd-1.4.1/syslogd.c 2003-08-19 22:03:36.000000000 +0200 >@@ -1234,13 +1234,13 @@ > } > /* We need to enable BSD compatibility. Otherwise an attacker > * could flood our log files by sending us tons of ICMP errors. >- */ > if (setsockopt(fd, SOL_SOCKET, SO_BSDCOMPAT, \ > (char *) &on, sizeof(on)) < 0) { > logerror("setsockopt(BSDCOMPAT), suspending inet"); > close(fd); > return -1; > } >+ */ > if (bind(fd, (struct sockaddr *) &sin, sizeof(sin)) < 0) { > logerror("bind, suspending inet"); > close(fd); >
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 27326
: 16616