- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Turn off SET HOST for DECnet
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 12:59 AM
01-05-2007 12:59 AM
Turn off SET HOST for DECnet
Restrict DECnet access to task-to-task communications only. No SET HOST capability.
Someone mentioned to me there may be a logical OR SYSGEN param (or maybe even an NCL setting?) that would allow this.
Has anyone heard of this?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:06 AM
01-05-2007 01:06 AM
Re: Turn off SET HOST for DECnet
Regards
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:08 AM
01-05-2007 01:08 AM
Re: Turn off SET HOST for DECnet
if you really want to totally remove the functionality from your system, you can modify the definition for the SET command to no nonger contain the HOST syntax.
Use VERB SET to get the current definition, and remove the SET HOST paragraph.
Then SET COMMAND
Be careful NOT to accidentially change any other paragraphs, because that could change the behavior of other SET commands.
hth,
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:16 AM
01-05-2007 01:16 AM
Re: Turn off SET HOST for DECnet
2) I'm not familiar with the VERB SET command. Can you expand on how to do that? It's not the same as SET COMMAND, is it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:23 AM
01-05-2007 01:23 AM
Re: Turn off SET HOST for DECnet
Modifying the SET command makes me shudder.
Not foolproof, but simple... why not just add some code in SYLOGIN.COM to check for RT terminal and log out if it's RT?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:27 AM
01-05-2007 01:27 AM
Re: Turn off SET HOST for DECnet
UAF> MOD */NOREMOTE
:-)
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:33 AM
01-05-2007 01:33 AM
Re: Turn off SET HOST for DECnet
the SYLOGIN mod actually sounds like a decent idea too. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:34 AM
01-05-2007 01:34 AM
Re: Turn off SET HOST for DECnet
from John's response and your answer I conclude that I probably misunderstood your question.
Setting accounts to /NOREMOTE disables _INCOMING_ connections, while removing SET HOST disables _OUTGOING_ connections.
And AFAIK (not tested though, can anyone confirm or dismiss this?) /NOREMOTE also disables incoming TELNET.
_IF_ however /NOREMOTE looks like what you need, do _one_ AUTHORIZE MOD */NOREMOTE, and you are done. (this also modifies the DEFAULT account, so accounts creared in the future will also have that setting).
As a bonus: it can be re-enabled at will on a per-account basis.
---
VERB [
- just remembered, VERB is not standard VMS, it's DECUS-ware, I think now available on the freeware CD.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:35 AM
01-05-2007 01:35 AM
Re: Turn off SET HOST for DECnet
Hey Jeff... long time! I'm down in Naples, Florida now!
Regarding UAF /NOREMOTE... sounds great, too bad there's not the same switch for telnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:37 AM
01-05-2007 01:37 AM
Re: Turn off SET HOST for DECnet
Actually restricting TELNET would be OK, seeing as how we're striving for SSH only, TELNET is being shut down too. I think /noremote might be our best bet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:38 AM
01-05-2007 01:38 AM
Re: Turn off SET HOST for DECnet
>And AFAIK (not tested though, can anyone >confirm or dismiss this?) /NOREMOTE also >disables incoming TELNET.
Just tested it and it disables incoming telnet too!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:39 AM
01-05-2007 01:39 AM
Re: Turn off SET HOST for DECnet
>Regarding UAF /NOREMOTE... sounds great, too bad there's not the same switch for telnet.
Naples - have you watched the swamp buggy races yet?
I'll tell Maria hello for you... I'm at 55 Water St. these days...
AFA TELNET, we've just disabled that service.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:46 AM
01-05-2007 01:46 AM
Re: Turn off SET HOST for DECnet
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 01:50 AM
01-05-2007 01:50 AM
Re: Turn off SET HOST for DECnet
Changing the VERB defnition does not help, because a user may reset the commands for his current process only at his own will.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 02:04 AM
01-05-2007 02:04 AM
Re: Turn off SET HOST for DECnet
>>>
Just tested it and it disables incoming telnet too!
<<<
and Thomas wrote:
>>>
seeing as how we're striving for SSH
<<<
Then be aware, and test first: I would expect /NOREMOTE to disallow SSH as well!
SYLOGIN testing to disallow RT and TN terminal name are probably your better option; pretty good match between "need" & "gain".
As an aside: How about FTP? The command mode of ftp also allows for many "pretty" accesses!
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 03:03 AM
01-05-2007 03:03 AM
Re: Turn off SET HOST for DECnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 03:03 AM
01-05-2007 03:03 AM
Re: Turn off SET HOST for DECnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 03:13 AM
01-05-2007 03:13 AM
Re: Turn off SET HOST for DECnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 03:19 AM
01-05-2007 03:19 AM
Re: Turn off SET HOST for DECnet
CLCC1>
CLCC1> SHOW SYS/NOPROC
OpenVMS V7.3-2 on node CLCC1 5-JAN-2007 10:15:17.09 Uptime 54 01:56:32
CLCC1> TCPIP SHO VER
HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 4
on a AlphaServer 4100 5/533 4MB running OpenVMS V7.3-2
CLCC1> AUTH :== $SYS$SYSTEM:AUTHORIZE
CLCC1>
CLCC1> AUTH MOD EZAMORA /NOREMOTE
%UAF-I-MDFYMSG, user record(s) updated
CLCC1>
CLCC1> SET HOST 0
CLCC1 - Test System
Username: EZAMORA
Password:
You are not authorized to login from this source
%REM-S-END, control returned to node CLCC1::
CLCC1> TELNET CLCC1
%TELNET-I-TRYING, Trying ... 10.10.200.5
%TELNET-I-SESSION, Session 01, host clcc1, port 23
-TELNET-I-ESCAPE, Escape character is ^]
CLCC1 - Test System
Username: EZAMORA
Password:
Last interactive login on Friday, 5-JAN-2007 10:03:10.37
Last non-interactive login on Thursday, 4-JAN-2007 12:41:46.22
///////// //
#########/ ##/
#########/ ##/
##/ ##/
##/ ##/
##/ ##/
##/ ##/
##/////// ##///////
#########/ #########/
#########/ #########/
TEST SYSTEM
TEST SYSTEM
///////// /////////
#########/ #########/
#########/ #########/
##/ ##/
##/ ##/
##/ ##/
##/ ##/
##/////// ##///////
#########/ #########/
#########/ #########/
CLCC1> LO
EZAMORA logged out at 5-JAN-2007 10:16:55.41
%TELNET-S-REMCLOSED, Remote connection closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 03:20 AM
01-05-2007 03:20 AM
Re: Turn off SET HOST for DECnet
could be - we're running ECO6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 03:22 AM
01-05-2007 03:22 AM
Re: Turn off SET HOST for DECnet
The best thing looks like modifying SET (duable but think about OpenVMS upgrades) or modify RTPAD.EXE (install another for it with a beautiful message).
Modifying the SYLOGIN.COM only gives you control over the incomming DECNet but actualy you want control over outgoing DECNet. But if you are in control over all the machines where to go to by DECNet modifying SYLOGIN is also a neat thing to do.
AvR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 03:35 AM
01-05-2007 03:35 AM
Re: Turn off SET HOST for DECnet
This is simplistic and can be circumvented by the user either deassigning of redefining the logical name; but it should give you some idea of what is possible.
$ create sethost.mar
.psect DATA ,noexe,nowrt,page
message: .ascid /%SYSTEM-I-NOSETHOST, SET HOST currently unavailable/
.psect CODE ,exe,nowrt,page
.entry SETHOST ,^m<>
pushal message
calls #1,g^lib$put_output
$exit_s r0
.end SETHOST
$ macro sethost
$ link sethost
$ define rtpad sys$disk:[]sethost
$ set host 0
%SYSTEM-I-NOSETHOST, SET HOST currently unavailable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 04:46 AM
01-05-2007 04:46 AM
Re: Turn off SET HOST for DECnet
How about this one...
$ create my_rtpad.mar
.entry start ,^m<>
movl #13861156, R0
ret
.end start
$ macro my_rtpad
$ link my_rtpad
$ def rtpad sys$login:my_rtpad.exe
$ set host ...
:^)
Hein.
(Ha die Anton! Best wensen voor her nieuwe jaar!)
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 05:05 AM
01-05-2007 05:05 AM
Re: Turn off SET HOST for DECnet
On modifying RTPAD, INSTALLing ot DEFINing another version, an users defying that:
For authorisation purposes, DEFINE/EXEC in one of the tables in the SYS$SYSTEM searchlist. For preventing users overriding the define, add /NOALIAS (see HELP DEFINE).
And I also prefer some nice, informative message to the user over a message that may be technically true, but sounds (looks) like an error while it just should inform about a policy.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2007 12:18 AM
01-06-2007 12:18 AM
Re: Turn off SET HOST for DECnet
Modifying or restricting access to RTPAD will not achieve the result. A user could easily bring over their own copy of RTPAD (although RTPAD appears to be installed with the TMPMBX privilege).
While I do not have the time to try it at the moment, relying on access control or removing the command from the default DCL tables is not much of a prevention. A user could just obtain a copy of the image elsewhere and use it instead of the standard RTPAD. This would likely remain undetected (except for the remote login at the destination).
The modifications to SYLOGIN are more useful, you can prevent the access by checking the name of the device and the originating node using the F$GETDVI lexical function.
You could also block incomming connections by removing the listener that RTPAD connects with, but that would have the effect of preventing ALL use of RTPAD, which can be operationally a problem.
On several occasions, I have limited RTPAD (and TELNET) access by creating and granting an identifier specific to that purpose, and checking it in either SYLOGIN, or in a GROUP login that is automatically (and unavoidably) invoked by SYLOGIN.
- Bob Gezelter, http://www.rlgsc.com