AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-266625

Mark's questions

Martin Hope
Mark
Asked: 2022-01-11 10:13:42 +0800 CST

DHCP 服务器中的静态绑定

  • 0

我想在DHCP服务器中启用静态绑定(我使用的是 KEA Dhcp https://www.isc.org/kea),但我认为它也适用于其他实现。

我真正想要实现的是确保在客户端重置后,由其硬件地址标识的客户端将被重新分配相同的 IP 地址。我知道这可以通过将 MAC 地址与分配的 IP 地址映射来在 dhcp 服务器的配置文件上进行配置。

但是,可以在自动模式下完成相同的操作吗?服务器可以自动构建这样的映射吗,例如在 Kea Dhcp 中是否可用?

谢谢。

dhcp
  • 0 个回答
  • 71 Views
Martin Hope
Mark
Asked: 2020-12-04 14:17:37 +0800 CST

centos 8: debuginfo-install 找不到 kernel-debuginfo 包

  • 3

我有一台CentOS-8已安装的机器,它附带的内核是 4.18.0。我需要安装 debiginfo 包:

% sudo dnf debuginfo-install kernel-4.18.0-193.19.1.el8_2.x86_64
enabling epel-modular-debuginfo repository
enabling epel-debuginfo repository
Last metadata expiration check: 0:22:04 ago on Thu 03 Dec 2020 04:51:14 PM EST.
Could not find debuginfo package for the following installed packages: kernel-4.18.0-193.19.1.el8_2.x86_64
Could not find debugsource package for the following installed packages: kernel-4.18.0-193.19.1.el8_2.x86_64
Dependencies resolved.
Nothing to do.
Complete!
%

虽然yum search找到它:

% yum search kernel-debug
...
kernel-debug.x86_64 : kernel meta-package for the debug kernel
...
%

我认为debuginfo-install是使用 debuginfo 安装软件包的正确方法。我应该怎么做才能让它为我工作?

谢谢。

linux centos yum debug
  • 1 个回答
  • 3853 Views
Martin Hope
Mark
Asked: 2016-02-10 08:43:14 +0800 CST

无法在 Debian 8 上安装 docker

  • 1

这是我第一次与Debian打交道,我需要一个docker。我正在关注https://docs.docker.com/engine/installation/linux/debian/来安装它,但是我遇到了错误:

% apt-get update
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie Release
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/contrib amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/main amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/contrib Translation-en_CA
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/main Translation-en_CA
Hit http://security.debian.org jessie/updates InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Reading package lists... Done
% apt-get install apt-transport-https ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apt-transport-https
%

更新 按照建议,我更新了/etc/apt/sources.list:

% cat /etc/apt/sources.list
#
deb http://ftp.de.debian.org/debian/ jessie main
deb-src http://ftp.de.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

deb http://ftp.de.debian.org/debian/ jessie-updates main
deb-src http://ftp.de.debian.org/debian/ jessie-updates main

但是apt-cache show apt-transport-https返回错误(无法找到包 apt-transport-https),and apt-get install apt-transport-https返回与以前相同的失败。

我应该看什么来解决这个问题?谢谢。

debian
  • 1 个回答
  • 1847 Views
Martin Hope
Mark
Asked: 2016-01-13 14:35:54 +0800 CST

如何定义流量类别

  • -2

我经常在网络相关文献中遇到“交通类”一词。看起来它是特定于平台的,有时他们谈论 8 个流量类别,有时大约 64 个。

1)这实际上是由底层ASIC决定的吗?

2)它与VLAN标签中编码的CoS值有关吗?

谢谢。

networking
  • 2 个回答
  • 89 Views
Martin Hope
Mark
Asked: 2015-02-19 11:38:39 +0800 CST

snort 抱怨 local.rules

  • 1

我刚刚在 Fedora 20 上安装了 snort-2.9.7.0,运行时出现错误:

% snort -c /etc/snort/snort.conf --dump-dynamic-rules=/tmp
Running in Rule Dump mode

        --== Initializing Snort ==--
Initializing Output Plugins!
Initializing Preprocessors!
Initializing Plug-ins!
Parsing Rules file "/etc/snort/snort.conf"
PortVar 'HTTP_PORTS' defined :  [ 80:81 311 383 591 593 901 1220 1414 1741 1830 2301 2381 2809 3037 3128 3702 4343 4848 5250 6988 7000:7001 7144:7145 7510 7777 7779 8000 8008 8014 8028 8080 8085 8088 8090 8118 8123 8180:8181 8243 8280 8300 8800 8888 8899 9000 9060 9080 9090:9091 9443 9999 11371 34443:34444 41080 50002 55555 ]
PortVar 'SHELLCODE_PORTS' defined :  [ 0:79 81:65535 ]
PortVar 'ORACLE_PORTS' defined :  [ 1024:65535 ]
PortVar 'SSH_PORTS' defined :  [ 22 ]
PortVar 'FTP_PORTS' defined :  [ 21 2100 3535 ]
PortVar 'SIP_PORTS' defined :  [ 5060:5061 5600 ]
PortVar 'FILE_DATA_PORTS' defined :  [ 80:81 110 143 311 383 591 593 901 1220 1414 1741 1830 2301 2381 2809 3037 3128 3702 4343 4848 5250 6988 7000:7001 7144:7145 7510 7777 7779 8000 8008 8014 8028 8080 8085 8088 8090 8118 8123 8180:8181 8243 8280 8300 8800 8888 8899 9000 9060 9080 9090:9091 9443 9999 11371 34443:34444 41080 50002 55555 ]
PortVar 'GTP_PORTS' defined :  [ 2123 2152 3386 ]
Detection:
   Search-Method = AC-Full-Q
    Split Any/Any group = enabled
    Search-Method-Optimizations = enabled
    Maximum pattern length = 20
ERROR: /etc/snort//etc/snort/rules/local.rules(0) Unable to open rules file "/etc/snort//etc/snort/rules/local.rules": No such file or directory.

我确实有 /etc/snort/snort.conf ,这是一个相关的片段:

var RULE_PATH /etc/snort/rules
include $RULE_PATH/local.rules

无法找到文件的原因可能是什么?谢谢。

linux
  • 1 个回答
  • 5288 Views
Martin Hope
Mark
Asked: 2015-01-24 04:04:05 +0800 CST

使用 netperf 测量网络吞吐量

  • -1

我正在使用 netperf 对 Linux 服务器进行基准测试。根据networksecuritytoolkit的信息,1514 字节数据包的理论最大吞吐率为 117.35 Mbp/s。
但是,对于 1514 个数据包的 UDP 流量,我得到了 957 Mbp/s。我使用 netperf 生成流量。

我不确定这怎么可能。netperf 是否返回 udp/tcp 或以太网吞吐量?

networking
  • 1 个回答
  • 952 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve