当前位置: 首页 > news >正文

Linux: sysctl: network: ip_no_pmtu_disc,容易搞混的参数名称

这个参数的迷惑性在于双重否定,字面意思是关闭PMTU发现的功能。如果设置为1,代表关闭;如果是0,代表不关闭pmtu发现的功能。所以说明里,有disable/enable,就容易搞混。所以要甄别网上的某些博客的说明,不要被误导。
ip_no_pmtu_disc - INTEGER
Disable Path MTU Discovery. If enabled in mode 1 and a fragmentation-required ICMP is received, the PMTU to this destination will be set to the smallest of the old MTU to this destination and min_pmtu (see below). You will need to raise min_pmtu to the smallest interface MTU on your system manually if you want to avoid locally generated fragments.
In mode 2 incoming Path MTU Discovery messages will be discarded. Outgoing frames are handled the same as in mode 1, implicitly setting IP_PMTUDISC_DONT on every created socket.
Mode 3 is a hardened pmtu discover mode. The kernel will only accept fragmentation-needed errors if the underlying protocol can verify them besides a plain socket lookup. Current protocols for which pmtu events will be honored are TCP, SCTP and DCCP as th

http://www.lryc.cn/news/263545.html

相关文章:

  • 关于“Python”的核心知识点整理大全26
  • Axure中继器完成表格的增删改查的自定义元件(三列表格与十列表格)
  • 刚clone下来的项目如何上传到新的仓库
  • 面试题总结(十五)【ARMstm32】【华清远见西安中心】
  • 助听器概述
  • 学习k8s
  • iOS 将sdk更新到最新并为未添加版本号的三方库增加版本号
  • Appium —— 初识移动APP自动化测试框架Appium
  • 自助式可视化开发,ETLCloud的集成之路
  • diffu-Distributed inference with multiple GPUs
  • 在Python中使用Kafka帮助我们处理数据
  • 进程和线程和协程区别
  • 银行测试:第三方支付平台业务流,功能/性能/安全测试方法
  • 神经网络可以计算任何函数的可视化证明
  • SQL进阶理论篇(十三):数据库的查询优化器是什么?
  • 视觉SLAM中的相机分类及用途
  • Gin之GORM多表关联查询(多对多;自定义预加载SQL)
  • linux 调试工具 GDB 使用
  • qt程序在Linux下打包的一般流程
  • 华为鸿蒙应用--欢迎页SplashPage+倒计时跳过(自适应手机和平板)-ArkTs
  • spring MVC概述和土门案例(无配置文件开发)
  • 持续集成交付CICD:K8S 通过模板文件自动化完成前端项目应用发布
  • 【TB作品】51单片机 实物+仿真-电子拔河游戏_亚博 BST-M51
  • MyBatis ${}和#{}区别
  • 大型语言模型:RoBERTa — 一种稳健优化的 BERT 方法
  • webpack知识点总结(基础应用篇)
  • 监控k8s controller和scheduler,创建serviceMonitor以及Rules
  • 支持向量机 支持向量机概述
  • http -- 跨域问题详解(浏览器)
  • Java对接腾讯多人音视频房间回调接口示例