首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏山河已无恙

    Linux 网络接口混杂模式(Promiscuous mode)认知

    ---《剑来》 网络接口的混杂模式 混杂模式(Promiscuous mode),简称 Promisc mode,俗称监听模式。 br5 liruilonger@cloudshell:~$ sudo brctl addif br5 veth5 liruilonger@cloudshell:~$ sudo dmesg | grep promiscuous [ 2100.855052] device veth5 entered promiscuous mode liruilonger@cloudshell:~$ 如上所示,veth5 设备加入Linux 实际上还是没有退出混杂模 liruilonger@cloudshell:~$ sudo brctl delif br5 veth5 liruilonger@cloudshell:~$ sudo dmesg | grep promiscuous [ 2100.855052] device veth5 entered promiscuous mode [ 2868.672747] device veth5 left promiscuous mode

    2.9K10编辑于 2024-03-06
  • 来自专栏WalkingCloud

    Linux下网卡的混杂模式浅谈

    4)混杂模式(Promiscuous Model):工作在混杂模式下的网卡接收所有的流过网卡的帧,信包捕获程序就是在这种模式下运行的。 messages里看到 如下图,开启tcpdump抓包后,在新窗口克隆会话tail -f /var/log/messages可以看到系统日志 kernel: device eth0 entered promiscuous

    25.6K20发布于 2019-05-30
  • 来自专栏开源部署

    如何快速分析出现性能问题的Linux服务器

    2. dmesg | tail [root@nginx1 ~]# dmesg | tail [3128052.929139] device eth0 left promiscuous mode [3128104.794514 ] device eth0 entered promiscuous mode [3128526.750271] device eth0 left promiscuous mode [3537292.096991 ] device eth0 entered promiscuous mode [3537295.941952] device eth0 left promiscuous mode [3537306.450497 ] device eth0 entered promiscuous mode [3537307.884028] device eth0 left promiscuous mode [3668025.020351

    1.6K21编辑于 2022-07-26
  • 来自专栏睿哥杂货铺

    基于Go Packet实现网络数据包的捕获与分析

    promiscuous mode 抓包工具需要工作在promiscuous mode(混杂模式)(superuser), 指一台机器的网卡能够接收所有经过它的数据流,而不论其目的地址是否是它。 " "net" "time" ) var ( device string = "eth0" snapshot_len int32 = 1024 promiscuous gopacket.SerializeOptions ) func main() { // Open device handle, err = pcap.OpenLive(device, snapshot_len, promiscuous

    6.9K101发布于 2018-01-20
  • 来自专栏蓝天

    Tcpdump 的用法

    211.161.223.71 and dst port 80 如果在ethernet 使用混杂模式 系统的日志将会记录 May  7 20:03:46 localhost kernel: eth0: Promiscuous May  7 20:03:46 localhost kernel: device eth0 entered promiscuous mode May  7 20:03:57 localhost kernel : device eth0 left promiscuous mode tcpdump对截获的数据并没有进行彻底解码,数据包内的大部分内容是使用十六进制的形式直接打印输出的。

    54141发布于 2018-08-07
  • 来自专栏Kubernetes

    kubelet最佳配置

    experimental-kernel-memcg-notification + --feature-gates string AllAlpha=false --file-check-frequency duration 20s --hairpin-mode string promiscuous-bridge experimental-fail-swap-on --system-reserved=cpu=100m,memory=8G --kube-reserved=cpu=200m,memory=16G --hairpin-mode=promiscuous-bridge

    2.6K70发布于 2018-04-16
  • 来自专栏话梅糖のAndroid学习

    03-VLAN协议_NEW

    port-isolate enable​ ​port-isolate uplink-port​ ​port-group member​ 上行链路配置 ​switchport private-vlan promiscuous​ ​port-isolate uplink-port​ ​port-isolate uplink​ ​port-group promiscuous​ 流量监控 SPAN/RSPAN 镜像端口 镜像端口

    27010编辑于 2025-03-27
  • 来自专栏MySQL参数系列

    dmesg 怎么方便查看时间戳?

    2869535.344186] docker0: port 1(veth0127f52) entered disabled state [2869535.355223] device veth0127f52 entered promiscuous

    4K10编辑于 2023-02-15
  • 来自专栏DPDK VPP源码分析

    vpp---- log模块

    039: ***** Startup Config ***** set interface sta eth0 up set interface l2 learn eth0 set interface promiscuous interface ip addr eth0 192.168.1.1/24 set interface sta eth1 up set interface l2 learn eth1 set interface promiscuous

    2.3K31编辑于 2023-03-07
  • 来自专栏debugeeker的专栏

    CISSP考试指南笔记:5.10 访问控制监控

    necessary software installed or dedicated appliances—each with its network interface card (NIC) in promiscuous

    55210发布于 2021-03-02
  • 来自专栏DrugAI

    Chem. Sci. | AI引导的多功能与特异性塑料结合肽理性设计

    若能开发出能够对多种塑料成分广谱结合(promiscuous binding),或对特定塑料具有选择性结合(selective binding)的工具,将有助于微塑料的检测、捕获与分离。 AI-driven rational design of promiscuous and selective plastic-binding peptides. Chemical Science.

    11520编辑于 2026-01-06
  • 来自专栏CNCF

    使用 iptables 将 Kubernetes Service 流量随机发送到 Pod

    首先撤消之前所做的操作并禁用 Hairpin 模式: 网桥可以处于 promiscuous mode,它将所有连接的端口(我们是 veth)视为已启用 Hairpin 模式。 在 bridge_home 上启用 promiscuous mode: 再次运行以下心爱的命令: 再次成功! 在 bridge_home 上启用 promiscuous 模式后,不必担心将来要在每个 veth(例如 veth_leah)上启用 Hairpin 模式!

    2.2K20发布于 2021-04-21
  • Linux CentOS7.9 安装ftp (vsftp)

    YESlocal_root=/testallow_writeable_chroot=YESpasv_enable=YESpasv_min_port=40000pasv_max_port=45000pasv_promiscuous

    2.1K10编辑于 2024-06-14
  • 来自专栏linux教程

    vsftp服务器常规参数配置大全(二)

                        //port 模式下是否默认使用固定的 20 端口 ftp_data_port=port_number                        //指定 port 模式的端口号 port_promiscuous port_promiscuous 默认值为no,表示ftp-data连接之前检验一下数据连接的目标ip 的是否是真正客户端的IP,反之则不检查。 Passive模式中设置语句:      pasv_enable=yes/no      pasv_min_port=yes/no      pasv_max_port=yes/no      pasv_promiscuous pasv_promiscuous与port_promiscuous参数一样是设置在pasv下是否设置安全的传输,我们也要将其值设为no(默认值即为no)。

    3.2K10编辑于 2023-04-25
  • 来自专栏DevOps时代的专栏

    Kubernetes 网络排错指南

    57KPRZ3JQVENLNBR Pod 无法通过 Service 访问自己 这通常是 hairpin 配置错误导致的,可以通过 Kubelet 的 --hairpin-mode 选项配置,可选参数包括 "promiscuous-bridge "、"hairpin-veth" 和 "none"(默认为"promiscuous-bridge")。 可以通过以下命令来确认是否生效 $ for intf in /sys/devices/virtual/net/cbr0/brif/*; do cat $intf/hairpin_mode; done 1 1 1 1 而对于 promiscuous-bridge

    2.7K20发布于 2019-05-17
  • 来自专栏人人都是架构师

    Go每日一库之117:gopacket(网络数据抓包)

    pcap" "log" "time" ) var ( device string = "eth0" snapshot_len int32 = 1024 promiscuous *pcap.Handle ) func main() { // 打开某一网络设备 handle, err = pcap.OpenLive(device, snapshot_len, promiscuous "strings" "time" ) var ( device string = "eth0" snapshotLen int32 = 1024 promiscuous pcap.Handle ) func main() { // Open device handle, err = pcap.OpenLive(device, snapshotLen, promiscuous

    5.9K40编辑于 2023-09-30
  • 来自专栏一个会写诗的程序员的博客

    Android通过tcpdump抓包

    w /sdcard/capture.pcap 命令参数: # "-i any": listen on any network interface   # "-p": disable promiscuous

    2.3K30发布于 2018-08-20
  • 来自专栏北京马哥教育

    Linux入侵审查浅谈

    检查日志 # last(查看正常情况下登录到本机的所有用户的历史记录) 注意”entered promiscuous mode” 注意错误信息 注 意Remote Procedure Call (rpc

    2.1K90发布于 2018-05-02
  • C/C++ Npcap包实现数据嗅探

    nChoose - 1; ++x) adapters = adapters->next; char errorBuf[PCAP_ERRBUF_SIZE]; // PCAP_OPENFLAG_PROMISCUOUS / 1000 => 1000毫秒如果读不到数据直接返回超时 pcap_t * handle = pcap_open(adapters->name, 65534, 1, PCAP_OPENFLAG_PROMISCUOUS (alldevs->name, // 设备名 65536, // 每个包长度 PCAP_OPENFLAG_PROMISCUOUS

    1.6K20编辑于 2022-12-28
  • 来自专栏CoffeeLand

    系统问题解决之tcpdump

    Note that captures on the ``any'' device will not be done in promiscuous mode.

    3.5K10发布于 2020-04-05
领券