MS RPC 中的 SRV 是什么,我应该了解什么? [英] What is SRV in MS RPC and what should I know about it?

查看:68
本文介绍了MS RPC 中的 SRV 是什么,我应该了解什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这篇 MSDN 文章关于界面描述 RPC_IF_ALLOW_LOCAL_ONLY 标志时的注册标志谈到了一些名为 SRV 的实体:

This MSDN article about interface registration flags when describing the RPC_IF_ALLOW_LOCAL_ONLY flag talks about some entity called SRV:

...注册此接口标志后,RPC 运行时将拒绝远程客户端发出的调用.... RPC 仅当调用不是来自 SRV...

...When this interface flag is registered, the RPC runtime rejects calls made by remote clients. ... RPC allows ncacn_NP calls only if the call does not come from SRV...

我已经浏览了 RFC 2782,但仍然不明白.首先什么是SRV,我如何判断调用是来自它还是其他方式?

I've looked through the RFC 2782 and still don't get it. What is SRV in the first place and how can I judge if calls come from it or some other way?

推荐答案

SRV.SYS 是 SMB 服务器驱动程序.这篇文章的意思是允许命名管道请求,除非它们来自该驱动程序(即,除非它们来自本地机器以外的其他地方).

SRV.SYS is the SMB server driver. What the article is saying is that named pipe requests are allowed unless they come from that driver (i.e., unless they originate from somewhere other than the local machine).

这是有道理的,因为您将服务器注册为仅接受本地连接.您不希望命名管道连接通过网络潜入.

That makes sense since you're registering your server to accept local connections only. You don't want named pipe connections sneaking in over the network.

此页面详细介绍了使用SMB 上的命名管道.

This page details the use of named pipes over SMB.

这篇关于MS RPC 中的 SRV 是什么,我应该了解什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆