diff -upk.orig sysklogd-1.4.2.orig/syslogd.c sysklogd-1.4.2/syslogd.c --- sysklogd-1.4.2.orig/syslogd.c 2006-10-01 23:12:15 +0000 +++ sysklogd-1.4.2/syslogd.c 2006-10-01 23:18:39 +0000 @@ -1434,6 +1434,8 @@ static int create_inet_socket() close(fd); return -1; } +/* SO_BSDCOMPAT is obsolete since linux-2.4 */ +#if 0 /* We need to enable BSD compatibility. Otherwise an attacker * could flood our log files by sending us tons of ICMP errors. */ @@ -1443,6 +1445,7 @@ static int create_inet_socket() close(fd); return -1; } +#endif /* We must not block on the network socket, in case a packet * gets lost between select and recv, otherise the process * will stall until the timeout, and other processes trying to