Patch-ID# 100178-07 Keywords: broken server detection Synopsis: SunOS4.0.3;4.1;4.1.1;4.1.2;4.1.3: inetd "broken server detection" breaks on fast machines Date: 28/Aug/91 SunOS release: 4.0.3, 4.1, 4.1_PSR_A, 4.1.1, 4.1.2 4.1.3 Unbundled Product: Unbundled Release: Topic: Patch revision adds 4.1.3 compatibility BugId's fixed with this patch: 1030599 Architectures for which this patch is available: sun3 sun3x sun4 sun4c sun4m Patches which may conflict with this patch: Obsoleted by: SunOS 5.0 Update -07 [10-Mar-92 and 22-Sep-92] Added 4.1.2 {and 4.1.3}/sun4,sun4c, and sun4m object module. The source code did not change. Update -06 [28-Aug-91] updated the sun4PSR_A object module. The source code did not change. _________________________________________________________________________ Problem Description: inetd refuses to accept more than 40 connects per minute on a particular socket (loop detection) The SS1 is fast enough, that you can end up legitimately calling rsh more than 40 times per minute. This patch adds a new argument, "-r", to inetd that allows you to specify number of connections allowed in the given time in seconds. The default is to allow 40 connections in a 60 second period, E.G: /usr/etc/inetd -r 40 60 Typically for a faster machine you might up this to 60 connections per minute, E.G: /usr/etc/inetd -r 60 60 You will need to edit /etc/rc to make the change permanent each time the machine is rebooted, E.G: ... ... if [ -f /usr/etc/inetd ]; then inetd -r 60 60; echo -n ' inetd' fi ... ... INSTALL: As root: # cp /usr/etc/inetd /usr/etc/inetd.FCS # cp `arch -k`/{4.0.3,4.1,4.1.1,4.1.2,4.1.3,4.1_PSR_A}/inetd /usr/etc/inetd # chmod 755 /usr/etc/inetd At this point you will need to reboot your system by either doing a halt; reboot; or shutdown and reboot.