Displaying 1 result from an estimated 1 matches for "1427a1429".
Did you mean:
14.71429
1997 Jan 12
9
dos-attack on inetd.
...oken pipe) ---
I am no C-guru but I think this patch to inetd would fix it without adding
any other problems:
1426c1426,1427
< sprintf(buffer, "%.24s\r\n", ctime(&clocc));
---
> (void) sprintf(buffer, "%.24s\r\n", ctime(&clocc));
> signal(SIGPIPE, SIG_IGN);
1427a1429
> signal(SIGPIPE, 13);
Correct me if I am wrong... :)
Regards //Tri
[mod: This looks like a quick hack to me. How can a USER process like
inetd get a socket to play with when the 3-way handshake hasn''t been
completed? -- REW]