Small improvement to 'connect.mps'
[email protected] (Scott Street) Mon, 16 Jun 2025 16:53:34 +1200
| Newsgroups | alt.bbs.mystic |
|---|---|
| Organization | Agency HUB, Dunedin - New Zealand |
| Message-ID | <[email protected]> |
Some time ago, I installed connect.mps/x to help the robots from causing mayhem
to my telnet and telnets ports. I also turned on the automatic blacklisting
function in MIS to avoid repeated nonsense from the Internet. That's been
fine, but I really disliked the fact that it slowed down my SSH connections.
So I have added a bit of code to connect.mps to recognize that I'm coming in
SSH (or RLOGIN) and if my username is valid, the connection get to skip the
"Press ESC twice to continue..."
I added 4 lines:
After the first Begin statement:
If ((ServerType=1) or (ServerType=2)) and (UserLoginName<>'') and
(UserLoginPW<>'') and IsUser(UserLoginName) Then Being
Break;
End Else
... (indent the rest of the function one level
End;
End. //original function end
I hope this helps someone.
Scott