The message inetd[4468]: /usr/libexec/telnetd[56033]: exited, status 1 appear in the router log file. Based on the logging level, you may be seeing this message along with: telnetd[96499]: ttloop: peer died: Resource temporarily unavailable
The message inetd[4468]: /usr/libexec/telnetd[56033]: exited, status 1 appear in the router log file. Based on the logging level, you may be seeing this message along with "telnetd[96499]: ttloop: peer died: Resource temporarily unavailable"
This message will be seen if someone is trying to scan the machine for open ports. This is not because of any software defect. The solution is to identify the external source trying to telnet to one of the IP addresses configured in the router and block it. This can be achieved by configuring the firewall filters. Below is one of the many ways to identify and block the unwanted incoming telnet sessions. The filter has to be configured and applied in the Loopback interface to identify the control packets destined to the routing engine. Steps:
filter protect-re { term tcp-syn { from { protocol tcp; tcp-initial; } then { syslog; accept; } } term default { then { log; accept; } } }
Lab# show system syslog file messages { any any; } file fw-log { firewall any; }
fw-log
[edit] Lab# set interfaces lo0 unit 0 family inet filter input protect-re
telnetd[96499]: ttloop: peer died: Resource temporarily unavailable inetd[4468]: /usr/libexec/telnetd[96499]: exited, status 1
show log fw-log
telnetd