在 Windows 11 中为 SMB 3.x 文件共享协议提供 RDMA 支持
注:机翻,未校。
Enable SMB Direct in Windows 11
在 Windows 11 中启用 SMB Direct
Provides RDMA support for the SMB 3.x file sharing protocol
为 SMB 3.x 文件共享协议提供 RDMA 支持
Vigneshwaran Vijayakumar
November 3, 2024 Last Updated: November 2, 2024
Enable SMB Direct in Windows 11: Microsoft introduced an enterprise-level feature with SMB 3.0 in Windows Server 2012 and Windows 8. Regarding SMB Direct, the key qualities are High Performance and Low Latency Data Transfers making it a blessing for Windows 11 Professional, Server, and Enterprise Editions. Many data centers are running on Windows Servers, and these data centers will be hosting many virtual machines for different clients amounting to a large number of data transfers regularly and that is one of the scenarios where SMB Direct becomes a crucial feature. It uses Remote Directory Memory Access (RDMA) network adapters, allowing data to transfer directly between memory on different computers with the CPU’s involvement. In this article, we will check out the steps on How to Enable SMB Direct in Windows 11 Professional, Enterprise, and Server Editions.
在 Windows 11 中启用 SMB Direct:Microsoft 在 Windows Server 2012 和 Windows 8 中引入了 SMB 3.0 的企业级功能。关于 SMB Direct,关键品质是高性能和低延迟数据传输,使其成为 Windows 11 专业版、服务器版和企业版的福音。许多数据中心都在 Windows Server 上运行,这些数据中心将为不同的客户端托管许多虚拟机,定期进行大量数据传输,这是 SMB Direct 成为关键功能的情况之一。它使用远程目录内存访问 (RDMA) 网络适配器,允许数据在 CPU 参与下在不同计算机上的内存之间直接传输。在本文中,将说明如何在 Windows 11 专业版、企业版和服务器版中启用 SMB Direct 的步骤。
Key Steps 关键步骤
- Run the following command
appwiz.cpl
运行以下命令appwiz.cpl
- Click on Turn Windows Features on or off from the left pane of the Programs and Features window.
单击“程序和功能”窗口左侧窗格中的“打开 Windows 功能”或“关闭 Windows 功能”。 - On the Windows Features dialog, search and locate SMB Direct, click on the checkbox next to it to enable it, and click OK.
在“Windows 功能”对话框中,搜索并找到 SMB Direct,单击旁边的复选框以启用它,然后单击“确定”。 - That is it. SMB Direct feature is enabled on your Windows 11 Professional and Enterprise Editions.
就是这样。SMB Direct 功能已在 Windows 11 专业版和企业版上启用。
RDMA Network Communication System Mechanism RDMA 网络通信系统机制
Schematics Explaining the comparison between the standard network communication systems and the RDMA Network Communication Systems
SMB Direct uses RDMA Network Adaptors which makes the data transfers extremely fast and low latent at enterprise levels. The RDMA mechanism plays a crucial role here, making SMB Direct highly effective. Here is how it works.
SMB Direct 使用 RDMA 网络适配器,这使得企业级的数据传输速度极快且延迟较低。RDMA 机制在这里起着至关重要的作用,使 SMB Direct 非常有效。以下是它的工作原理。
In standard network communication, the CPU typically processes each packet, managing the transfer of data between memory and network interfaces. With RDMA, the network adapter handles this process independently, bypassing the CPU and directly accessing the device’s memory, resulting in faster data transfer. RDMA also bypasses the OS Kernel eliminating the OS level latencies and accelerating the overall transfer speed.
在标准网络通信中,CPU 通常处理每个数据包,管理内存和网络接口之间的数据传输。使用 RDMA,网络适配器独立处理此过程,绕过 CPU 并直接访问设备的内存,从而加快数据传输速度。RDMA 还绕过了操作系统内核,消除了操作系统级别的延迟并加快了整体传输速度。
Key Features of RDMA Network Communication Systems
How can I Enable SMB Direct in Windows 11? – Simple Steps 如何在 Windows 11 中启用 SMB Direct?– 简单的步骤
Enabling this feature in Windows 11 PC is a straightforward process. However, as mentioned in the introduction paragraph, this feature is not available for Windows 11 Home users. SMB Direct is more intended for enterprise and, server-level transactions, and hence it is available only on Windows 11 Professional Editions, Server Editions, and Enterprise Editions. Let’s get started.
在 Windows 11 PC 中启用此功能是一个简单的过程。但是,如介绍段落中所述,此功能不适用于 Windows 11 家庭版用户。SMB Direct 更适合企业和服务器级交易,因此它仅适用于 Windows 11 专业版、服务器版和企业版。
- To enable this feature on Windows 11, we have to go to the Windows Features dialog as SMB Direct is an optional feature. To do so, open Run Command. You can either use the Start menu or just use the shortcut
要在 Windows 11 上启用此功能,我们必须转到“Windows 功能”对话框,因为 SMB Direct 是一项可选功能。为此,请打开 Run Command。您可以使用“开始”菜单,也可以只使用快捷键 WIN KEY + R。
- Enter the following command in the Run Command box and click OK.
**appwiz.cpl**
在“运行命令”框中输入以下命令,然后单击“确定”。
Open Programs and Features using appwiz.cpl
- The Programs and Features Window will open now. In the left pane, you can find the option “Turn Windows Features on or off“. Click on that.
程序和功能窗口现在将打开。在左侧窗格中,您可以找到“打开或关闭 Windows 功能”选项。点击那个。
Turn Windows Features on or off
- Now, the Windows Features dialog will pop up. Here you can find a lot of optional features, the features may vary depending upon whether the PC is Windows 11 Home, Pro, or other Enterprise Editions.
现在,将弹出 Windows 功能对话框。在这里您可以找到很多可选功能,这些功能可能会有所不同,具体取决于 PC 是 Windows 11 家庭版、专业版还是其他企业版。 - Locate SMB Direct from the list of features available, and then click on the checkbox next to it and finally click OK.
从可用功能列表中找到 SMB Direct,然后单击它旁边的复选框,最后单击“确定”。
Enable SMB Direct in Windows 11
- The system will now search for the required files.
系统现在将搜索所需的文件。
Searching for the required files
- Then, Windows will apply the necessary changes.
然后,Windows 将应用必要的更改。
Applying Changes
- Finally, you will be prompted to do a Restart. Click on Restart now. It is highly recommended to do a restart right now so that the changes made will reflect.
最后,系统将提示您执行 Restart (重新启动)。单击 Restart now(立即重新启动)。强烈建议立即重新启动,以便所做的更改将反映出来。 - That is it. SMB Direct is now enabled in your Windows 11 Pro, and Enterprise Editions.
就是这样。SMB Direct 现已在 Windows 11 专业版和企业版中启用。
RDMA allows data to be transferred from the memory of one device directly to the memory of another device without creating extra copies in between. This means data doesn’t have to be copied multiple times saving time and reducing CPU overhead.
How to check whether SMB Direct is enabled in Windows 11? 如何检查 Windows 11 中是否启用了 SMB Direct?
We can use PowerShell to check whether SMB Direct is enabled in Windows 11 or not. The following are the steps.
我们可以使用 PowerShell 检查 Windows 11 中是否启用了 SMB Direct。以下是步骤。
- Open PowerShell via the Start menu.
通过开始菜单打开 PowerShell。 - Execute the following command in the PowerShell.
Get-SmbClientConfiguration | Select-Object -Property EnableSMBDirect
在 PowerShell 中执行以下命令Get-SmbClientConfiguration | Select-Object -Property EnableSMBDirect
Check whether SMB Direct is enabled or not
FAQ related to the SMB Direct in Windows 11
与 Windows 11 中的 SMB Direct 相关的常见问题解答
SMB Direct is missing in Windows 11?
Windows 11 中缺少 SMB Direct?
Due to its advanced requirements and specialized use cases, it is designed for high-performance networking in enterprise environments, SMB Direct will not be available for Windows 11 Home Edition.
由于其高级要求和专用用例,SMB Direct 专为企业环境中的高性能网络而设计,因此 Windows 11 家庭版将不可用。
Do I need Special Hardware for SMB Direct?
是否需要 SMB Direct 的特殊硬件?
Yes, SMB Direct requires RDMA-capable network adapters, such as iWARP or RoCE (RDMA over Converged Ethernet). Ensure your network infrastructure supports these technologies.
是的,SMB Direct 需要支持 RDMA 的网络适配器,例如 iWARP 或 RoCE(基于融合以太网的 RDMA)。确保您的网络基础设施支持这些技术。
Can I use SMB Direct over a wireless network?
我可以通过无线网络使用 SMB Direct 吗?
No, SMB Direct is designed to work over high-performance wired networks. It is not suitable for wireless connections due to latency and stability issues.
不需要,SMB Direct 旨在通过高性能有线网络工作。由于延迟和稳定性问题,它不适合无线连接。
Does Enabling SMB Direct affect security?
启用 SMB Direct 是否会影响安全性?
Enabling SMB Direct does not inherently affect security, but you should ensure that your network is properly secured as with any file-sharing protocols.
启用 SMB Direct 本身不会影响安全性,但您应该确保您的网络与任何文件共享协议一样受到适当保护。
Take away
SMB Direct in Windows 11 offers a powerful solution for enhancing file sharing and access performance. Using RDMA technology, SMB Direct minimizes latency and reduces CPU overhead, making it ideal for environments that require high throughput and efficiency.
Windows 11 中的 SMB Direct 为增强文件共享和访问性能提供了强大的解决方案。SMB Direct 使用 RDMA 技术,最大限度地减少延迟并减少 CPU 开销,使其成为需要高吞吐量和效率的环境的理想选择。
如何检测 SMB 协议状态以及启用和禁用 SMB 协议
SMBv1
- 检测:
PowerShell
Get-SmbServerConfiguration | Select EnableSMB1Protocol
- 禁用:
PowerShell
Set-SmbServerConfiguration -EnableSMB1Protocol $false
- 启用:
PowerShell
Set-SmbServerConfiguration -EnableSMB1Protocol $true
SMB v2/v3
- 检测:
PowerShell
Get-SmbServerConfiguration | Select EnableSMB2Protocol
- 禁用:
PowerShell
Set-SmbServerConfiguration -EnableSMB2Protocol $false
- 启用:
PowerShell
Set-SmbServerConfiguration -EnableSMB2Protocol $true
各种 Windows 版本中使用的 SMB :
SMB Dialect | Year | Operating System | Key Points |
---|---|---|---|
SMB 1.0 | 1984 | Windows XP, 2003 and earlier | Extremely chatty, No encryption, Insecure |
CIFS | 1996 | Windows 95, Windows NT 4.0 | Supports larger files, direct transport over TCP/IP Supports symlinks and hardlinks |
SMB 2.0 | 2006 | Windows Vista, Server 2008 | Reduced protocol chattiness, Supports the pipelining mechanism |
SMB 2.1 | 2010 | Windows 7, Server 2008 R2 | Minor performance improvements, Opportunistic locking, Significant MTU support |
SMB 3.0 | 2012 | Windows 8, Server 2012 | End-to-end encryption, SMB transparent failover, SMB direct, SMB multichannel, SMB scale out |
SMB 3.02 | 2014 | Windows 8.1, Server 2012 R2 | Performance improvements, ability to disable CIFS/SMB 1.0 for increased security |
SMB 3.1.1 | 2015 | Windows 10, Server 2016, Server 2019 | Supports AES-128-GCM and AES-128-CCM encryption, supports directory caching, supports pre-authentication integrity checks to mitigate MITM attacks |
SMB 3.1.1* | 2021 | Windows 11, Server 2022 | Supports AES-256-GCM and AES-256-CCM encryption, SMB direct with encryption, Supports SMB over QUIC |
从表中可以看出,Windows 11 和 Windows Server 2022 仍然使用 SMB 3.1.1,几乎没有新功能和安全增强功能。
via:
- Enable SMB Direct in Windows 11 (Easy way)
https://winsides.com/enable-smb-direct-in-windows-11-quick-steps/
相关文章:
在 Windows 11 中为 SMB 3.x 文件共享协议提供 RDMA 支持
注:机翻,未校。 Enable SMB Direct in Windows 11 在 Windows 11 中启用 SMB Direct Provides RDMA support for the SMB 3.x file sharing protocol 为 SMB 3.x 文件共享协议提供 RDMA 支持 Vigneshwaran Vijayakumar November 3, 2024 Last Updat…...
250123-对象的比较(equals()和==)
1. Object类中的equals()方法 见20250103-Object类,使用构造函数创建的两个对象,见下例,即使输入参数是相同的,比较结果仍是不同,因为对象的堆内存地址不同,在任何情况下使用关键字new都会开辟出一个新的内…...
UE求职Demo开发日志#6 测试用强化页面UI搭建
1 反向实现思路设计 先看最终效果: 先做了一个大致的分区,右侧的上半部分用来显示数据,下半部分用来强化和显示需要的材料,至于这个背景设定上强化应该叫什么,。。。。,还没定,反正应该不叫强…...
华为支付接入规范
为了确保用户获得良好的支付体验,Payment Kit制定了相关接入设计规范,请开发者遵照执行,具体要求(非强制性)如下: 一、支付方式呈现 涉及支付公司名称,请统一使用:花瓣支付ÿ…...
论文速读|Matrix-SSL:Matrix Information Theory for Self-Supervised Learning.ICML24
论文地址:Matrix Information Theory for Self-Supervised Learning 代码地址:https://github.com/yifanzhang-pro/matrix-ssl bib引用: article{zhang2023matrix,title{Matrix Information Theory for Self-Supervised Learning},author{Zh…...
左叶子之和(力扣404)
这道题需要将左右子树的左叶子结点之和不断返回给该左右子树的父节点,这是典型的后序遍历。如果大家对于二叉树的遍历不熟悉的话,可以先去看一下我的关于二叉树遍历的博客。否则直接看这道题是很容易懵逼的。熟悉了二叉树的遍历之后,大家可以…...
微信小程序使用picker根据接口给的省市区的数据实现省市区三级联动或者省市区街道等多级联动
接口数据如上图 省市区多级联动,都是使用的一个接口通过传参父类的code。返回我们想要的数据 比如获取省就直接不要参数。市就把省得code传给接口,区就把市的code作为参数。 <picker mode"multiSelector" :range"mulSelect1" …...
iconfont等图标托管网站上传svg显示未轮廓化解决办法
打开即时设计 即时设计 - 可实时协作的专业 UI 设计工具 导入图标后拖入画板里面,右键选择轮廓化 将图标导出...
Mysql索引(学习自用)
目录 一、索引概述 优缺点 二、索引结构 1、索引数据结构 2、索引支持结构 3、B树 4、B树 5、hash索引 6、为啥采用B树索引 三、索引分类 四、索引语法 五、索引性能分析 5.1查看执行频率 5.2慢查询日志 5.3profiling 5.4explain 六、索引使用规则 6.1验证索…...
封装svg图片展示及操作组件——svgComponent——js技能提升
template部分 <template><div class"canvas-wrapper" ref"canvasWrapper"><svg:viewBox"computedViewBox"ref"svgCanvas"xmlns"http://www.w3.org/2000/svg"xmlns:xlink"http://www.w3.org/1999/xlink…...
数据从前端传到后端入库过程分析
数据从前端传到后端入库过程分析 概述 积累了一些项目经验,成长为一个老程序员了,自认为对各种业务和技术都能得心应手的应对了,殊不知很多时候我们借助了搜索引擎的能力,当然现在大家都是通过AI来武装自己。 今天要分析的话题是…...
【Pytest】结构介绍
1.目录结构介绍 project_root/ │ ├── tests/ # 测试用例存放目录 │ ├── __init__.py │ ├── test_module1.py │ ├── module1.py # 被测试的模块 ├── conftest.py # pytest配置文件,可定义fixture和钩子函数 ├── py…...
每日十题八股-2025年1月23日
1.快排为什么时间复杂度最差是O(n^2) 2.快排这么强,那冒泡排序还有必要吗? 3.如果要对一个很大的数据集,进行排序,而没办法一次性在内存排序,这时候怎么办? 4.面试官:你的…...
mysql相关知识(详细)
一、什么是数据库? 概念:数据库(Database,简称DB),长期存放在计算机内,有组织,可共享的大量数据的集合,是一个数据"仓库"。作用:存放管理数据分类:关系型数据库、NoSQL数…...
C++ 静态变量static的使用方法
static概述: static关键字有三种使用方式,其中前两种只指在C语言中使用,第三种在C中使用。 静态局部变量(C) 静态全局变量/函数(C) 静态数据成员/成员函数(C) 静态局部变量 静态局部变量&…...
对grid布局有哪些了解【css】
CSS Grid 布局是现代网页设计中非常强大的布局方式之一,它能够使你以更加灵活且直观的方式来设计网页的布局,特别适用于复杂的多行多列的布局。它允许你在网页上创建非常精确的网格,帮助你把内容放置在多个行和列中。 1. Grid 布局的基本概念…...
IOS 安全机制拦截 window.open
摘要 在ios环境,在某些情况下执行window.open不生效 一、window.open window.open(url, target, windowFeatures) 1. url:「可选参数」,表示你要加载的资源URL或路径,如果不传,则打开一个url地址为about:blank的空…...
低空经济(9)低空飞行器零部件供应商国内外厂家
低空飞行器零部件供应商国内外厂家 1.概述2.国内供应商2.1 动力系统2.2 航电系统2.3 机身结构部件2.4 传动系统2.5 液压系统与气动系统 3.国外供应商3.1 动力系统3.2 航电系统3.3 机身结构部件3.4 传动系统3.5 液压与气动系统 tips:资料来自网络,仅供参考…...
3b1b线性代数基础
零、写在前面 3b1b之前没认真看,闲了整理整理。 一、向量 学习物理的时候,向量是空间中的箭头。由其方向和长度决定。 学习数据结构的时候,向量是有序的数字列表。向量的每一维度有着不同含义。 线性代数中,我们通常认为**向量…...
困境如雾路难寻,心若清明步自轻---2024年创作回顾
文章目录 前言博客创作回顾第一次被催更第一次获得证书周榜几篇博客互动最多的最满意的引发思考的 写博契机 碎碎念时也运也部分经验 尾 前言 今年三月份,我已写下一篇《近一年多个人总结》,当时还没开始写博客。四月份写博后,就顺手将那篇总…...
SAP 中的三种内表
文章目录 1 : Introduction2 : Summary3: Reerence document4 : Example 1 : Introduction In the abap development we deal with data and the carrier is internal table . it is transfered in the whole programe. In the interview we offten meet it . What is the dif…...
从0到1学习机器学习实践--1 安装Anaconda
机器学习首先安装conda环境,这个是比较靠谱手把手执行的安装教程 最新最全(亲测)的conda安装教程和虚拟环境安装环境配置...
整合管理输入、工具与技术 、输出
过程输入工具与技术输出制定项目章程1.项目立项文件2.协议3.事业环境因素4.组织过程资产1.专家判断2.数据收集头脑风暴、焦点小组、访谈3.人际关系与团队技能冲突管理、引导、会议管理4.会议1.项目章程2.假设日志制订项目管理计划1.项目章程2.其他过程输出3.事业环境因素4.组织…...
sed — 流编辑器:从入门到精通
内容速览 简介 sed(Stream Editor)是一个功能强大的文本处理工具,广泛应用于文本文件的自动化编辑和批量处理。它通过逐行读取文件内容并在内存中的临时缓冲区(即“模式空间”)中处理文本,实现高效的文本…...
【玩转全栈】----Django基本配置和介绍
目录 Django基本介绍: Django基本配置: 安装Django 创建项目 创建app 注册app Django配置路由URL Django创建视图 启动项目 Django基本介绍: Django是一个开源的、基于Python的高级Web框架,旨在以快速、简洁的方式构建高质量的Web…...
【Linux】文件操作、系统IO相关操作、inode和输入输出重定向
⭐️个人主页:小羊 ⭐️所属专栏:Linux 很荣幸您能阅读我的文章,诚请评论指点,欢迎欢迎 ~ 目录 1、理解文件1.1 狭义理解1.2 广义理解1.3 文件操作1.4 系统角度 2、系统文件IO2.1 文件相关操作2.2 文件描述符2.3 重定向 3、动静…...
Prometheus+grafana实践:Doris数据库的监控
文章来源:乐维社区 Doris数据库背景 Doris(Apache Doris)是一个现代化的MPP(Massive Parallel Processing,大规模并行处理)数据库,主要用于在线分析处理(OLAP)场景。 D…...
c语言(转义字符)
前言: 内容: 然后记一下转义字符 \? 在书写连续多个问号时使用,防止他们被解析成三字母词 \ 用于表示字符常量 \\ 用于表示一个反斜杠,防止他被解析为一个转义序列符 \n 换行 \r …...
TOGAF之架构标准规范-信息系统架构 | 数据架构
TOGAF是工业级的企业架构标准规范,信息系统架构阶段是由数据架构阶段以及应用架构阶段构成,本文主要描述信息系统架构阶段中的数据架构阶段。 如上所示,信息系统架构(Information Systems Architectures)在TOGAF标准规…...
快速排序:一种高效的排序算法
前言 排序是最基本和最常用的操作之一。无论是数据处理、搜索优化,还是各种应用程序的内部逻辑,排序算法的选择都直接影响到程序的性能。快速排序(Quick Sort)作为一种典型的分治算法,以其平均时间复杂度 O(n log n) 和优越的实际表现,成为了现代编程中最常用的排序算法…...
PHP:从入门到进阶的编程之旅
在Web开发的广阔天地中,PHP(Hypertext Preprocessor,超文本预处理器)无疑是一颗璀璨的明星。自1995年问世以来,PHP凭借其开源、跨平台、易于学习和使用的特性,迅速成为Web开发领域中最受欢迎的语言之一。本…...
Windows的docker中安装gitlab
一.Windows的docker中安装gitlab 1.通过阿里云拉取镜像 docker pull registry.cn-hangzhou.aliyuncs.com/lab99/gitlab-ce-zh 2.在本地创建备份数据的目录 mkdir -p D:home/software/gitlab/etc mkdir -p D:home/software/gitlab/logs mkdir -p D:home/software/gitlab/dat…...
计算机网络 (58)无线局域网WLAN
前言 无线局域网WLAN(Wireless Local Area Network)是一种利用无线通信技术将计算机设备互联起来,构成可以互相通信和实现资源共享的网络体系。 一、定义与特点 定义: WLAN通过无线信道代替有线传输介质连接两个或多个设备形成一个…...
LeetCode: 45.跳跃游戏II
跟着carl学算法,本系列博客仅做个人记录,建议大家都去看carl本人的博客,写的真的很好的! 代码随想录 LeetCode: 45.跳跃游戏II 给定一个长度为 n 的 0 索引整数数组 nums。初始位置为 nums[0]。 每个元素 nums[i] 表示…...
Blazo-Blazor Web App项目结构
让我们还是从创建项目开始,来一起了解下Blazor Web App的项目情况 创建项目 呈现方式 这里我们可以看到需要选择项目的呈现方式,有以上四种呈现方式 ● WebAssembly ● Server ● Auto(Server and WebAssembly) ● None 纯静态界面静态SSR呈现方式 WebAs…...
汇编语法及相关指令
1.汇编指令的基本格式: <opcode>{<cond>}{s} <Rd>, <Rn>, <shifter_operand> opcode:指令的功能码,用来表示当前指令的作用 cond:条件码,需要在指令执行之前先判断条件受否满足&…...
数据结构——堆(介绍,堆的基本操作、堆排序)
我是一个计算机专业研0的学生卡蒙Camel🐫🐫🐫(刚保研) 记录每天学习过程(主要学习Java、python、人工智能),总结知识点(内容来自:自我总结网上借鉴࿰…...
linux+docker+nacos+mysql部署
一、下载 docker pull mysql:5.7 docker pull nacos/nacos-server:v2.2.2 docker images 二、mysql部署 1、创建目录存储数据信息 mkdir ~/mysql cd ~/mysql 2、运行 MySQL 容器 docker run -id \ -p 3306:3306 \ --name mysql \ -v $PWD/conf:/etc/mysql/conf.d \ -v $PWD/…...
10个非常基础的 Javascript 问题
Javascript是一种用于Web开发的编程语言。JavaScript在网络的客户端上运行。 根据MDN,JavaScript(通常缩写为JS)是一种轻量级的,解释性的,面向对象的语言,具有一流的功能,并且最著名的是Web页面…...
SCP收容物221~225
注 :此文接SCP收容物211~215,本文只供开玩笑 ,与steve_gqq_MC合作 --------------------------------------------------------------------------------------------------------------------------------- 目录 scp-221 scp-222 scp-223 scp-224 scp-225 s…...
基于迁移学习的ResNet50模型实现石榴病害数据集多分类图片预测
完整源码项目包获取→点击文章末尾名片! 番石榴病害数据集 背景描述 番石榴 (Psidium guajava) 是南亚的主要作物,尤其是在孟加拉国。它富含维生素 C 和纤维,支持区域经济和营养。不幸的是,番石榴生产受到降…...
网络(三) 协议
目录 1. IP协议; 2. 以太网协议; 3. DNS协议, ICMP协议, NAT技术. 1. IP协议: 1.1 介绍: 网际互连协议, 网络层是进行数据真正传输的一层, 进行数据从一个主机传输到另一个主机. 网络层可以将数据主机进行传送, 那么传输层保证数据可靠性, 一起就是TCP/IP协议. 路径选择: 确…...
【mptcp】ubuntu18.04和MT7981搭建mptcp测试环境操作说明
目录 安装ubuntu18.04,可以使用虚拟机安装... 2 点击安装VMware Tool 2 更新ubuntu18.04源... 4 安装ifconfig指令工具包... 5 安装vim工具包... 5...
递归的本质
字节面试题叠罗汉,很遗憾没想出来,看了答案挺巧妙的,但是居然是个案例题。。。 复习一下递归的本质 正面解决问题 利用子问题来解决 可以通过规约推导的,基本可以用递归解决! 在写这道算法题时,我想规…...
如何使用tmux !
在tmux的界面按住shift,就可以和普通linux界面一样!!!!!!!! 单击右键可以复制粘贴,滚动鼠标可以上下翻页!!!!…...
【Vim Masterclass 笔记25】S10L45:Vim 多窗口的常用操作方法及相关注意事项
文章目录 S10L45 Working with Multiple Windows1 水平分割窗口2 在水平分割的新窗口中显示其它文件内容3 垂直分割窗口4 窗口的关闭5 在同一窗口水平拆分出多个窗口6 关闭其余窗口7 让四个文件呈田字形排列8 光标在多窗口中的定位9 调节子窗口的尺寸大小10 变换子窗口的位置11…...
C语言练习(16)
猴子吃桃问题。猴子第一天摘下若干个桃子,当即吃了一半,还不过瘾,又多吃了一个。第二天早上又将剩下的桃子吃掉一半,又多吃了一个。以后每天早上都吃了前一天剩下的一半加一个。到第10天早上想再吃时,见只剩一个桃子了…...
【0x0012】HCI_Delete_Stored_Link_Key命令详解
目录 一、命令参数 二、命令格式及参数 2.1. HCI_Delete_Stored_Link_Key 命令格式 2.2. BD_ADDR 2.3. Delete_All 三、生成事件及参数 3.1. HCI_Command_Complete事件 3.2. Status 3.3. Num_Keys_Deleted 四、命令执行流程 4.1. 命令发送阶段 4.2. 控制器处理阶段…...
学习ASP.NET Core的身份认证(基于JwtBearer的身份认证10)
基于Cookie传递token的主要思路是通过用户身份验证后,将生成的token保存到Response.Cookies返回客户端,后续客户端访问服务接口时会自动携带Cookie到服务端以便验证身份。之前一直搞不清楚的是服务端程序如何从Cookie读取token进行认证(一般都…...
应用层协议 HTTP 讲解实战:从0实现HTTP 服务器
🌈 个人主页:Zfox_ 🔥 系列专栏:Linux 目录 一:🔥 HTTP 协议 🦋 认识 URL🦋 urlencode 和 urldecode 二:🔥 HTTP 协议请求与响应格式 🦋 HTTP 请求…...