Need help turning off bootpd

OSR 5.0.7 patched with MP 5
The syslog is flooded with messages:

 
May  9 13:42:12 asiwc bootpd[14963]: IP address not found: 192.168.230.215
May  9 13:42:13 asiwc bootpd[14963]: IP address not found: 192.168.230.142
May  9 13:42:50 asiwc bootpd[14963]: IP address not found: 192.168.230.202

The system should not have bootp running at all, I believe this bootp problem started as a result of someone's trying to configure the system and not having a good understanding of what he was doing.

What I did so far:

1 commented out bootps line in inetd.conf (it was last line)
so now the file has this:

 
grep -v '^#' inetd.conf
ftp     stream  tcp     nowait  root    /etc/ftpd       ftpd -a
telnet  stream  tcp     nowait  NOLUID  /etc/telnetd    telnetd
shell   stream  tcp     nowait  NOLUID  /etc/rshd       rshd
login   stream  tcp     nowait  NOLUID  /etc/rlogind    rlogind
exec    stream  tcp     nowait  NOLUID  /etc/rexecd     rexecd
finger  stream  tcp     nowait  nouser  /etc/fingerd    fingerd
comsat  dgram   udp     wait    root    /etc/comsat     comsat
ntalk   dgram   udp     wait    nouser  /etc/talkd      talkd
tcpmux  stream  tcp     nowait  root    internal
echo    stream  tcp     nowait  root    internal
discard stream  tcp     nowait  root    internal
chargen stream  tcp     nowait  root    internal
daytime stream  tcp     nowait  root    internal
time    stream  tcp     nowait  root    internal
echo    dgram   udp     wait    root    internal
discard dgram   udp     wait    root    internal
chargen dgram   udp     wait    root    internal
daytime dgram   udp     wait    root    internal
time    dgram   udp     wait    root    internal
pop3    stream  tcp     nowait  root    /etc/popper popper
imap    stream  tcp     nowait  root    /etc/imapd imapd 
swat stream tcp nowait root /usr/lib/samba/sbin/swat swat

restarted inetd:

 
kill -HUP `cat inetd.pid`

The syslog still shows bootp messages added every couple of minutes. What could be done to stop it and make sure it won't re-start later?

Thanks in advance,

Try restarting tcp.

#/etc/tcp stop
#/etc/tcp start

Thank you, jgt.

I am not at site, can I possibly do this after work hours:

# at now + 1 minute
tcp stop;
tcp start;
ctrl-d
# exit

Will I be able to telnet back a few minutes later?

Put the two lines into a script, and run the script. Surprisingly it doesn't seem to disconnect anybody (at least 99 times out of a hundred.)

1 Like

Worked, thank you. Indeed I was surprised to run stop/start and nobody dropped connection.