承接 imedge/snmp-packet 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

imedge/snmp-packet

Composer 安装命令:

composer require imedge/snmp-packet

包简介

SNMP packet parser and renderer

README 文档

README

SNMP packet parser and renderer (encoder/decoder).

Coding Standards Unit Tests Static Analysis PHPStan Level 9 Minimum PHP Version: 8.1 License: MIT Version

Implemented Standards and vendor-specific extensions

There are quite some RFCs and Drafts involved, I'm trying to give some overview.

SNMPv1

While being very old, SNMPv1 is still relevant, and therefore supported.

A Simple Network Management Protocol (SNMP)

SNMPv1, the initial implementation of the SNMP protocol, has been defined in the 1980s. However, it is still relevant, and therefore supported:

SNMPv2c

TODO

SNMPv3

We implemented and tested all official and (well-known) vendor-specific authentication and privacy (encryption) methods.

Authentication Methods

The User-based Security Model (USM) hast been implemented according to RFC 3414 (User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)). All authentication mechanisms from that RFC and from RFC7860 (HMAC-SHA-2 Authentication Protocols in User-Based Security Model (USM) for SNMPv3) have been implemented.

  • MD5: required in RFC 3414
  • SHA (SHA1): optional in RFC 3414
  • SHA-224: optional in RFC 7860 with 128bit HMAC
  • SHA-256: required in RFC 7860 with 192bit HMAC
  • SHA-384: optional in RFC 7860 with 256bit HMAC
  • SHA-512: suggested in RFC 7860 with 384bit HMAC

Privacy / Encryption Methods

Crypto implementation

We're using system-provided MD5/SHA hashing methods, and encryption as provided by OpenSSL. Everything related to (pre-IV), Key generation and Salt exchange have been implemented from scratch.

SNMPv3 standardization history

January 1998 two sets of related RFCs have been published in parallel:

  • RFC 2261–2270 (SNMPv3 "Standard")
  • RFC 2271–2275 (SNMPv3 "Experimental")

The reason for this have been two irreconcilable factions in the IETF by the end of 1997:

  • SNMPv3 Working Group (RFC 2261–2270): official approach, based on SNMPv2u (User-based Security). Main goal: faster standardization with minimal changes to SNMPv2
  • Secure SNMPv3 Ad-Hoc Group (RFC 2271–2275): alternative approach, USM (User-based Security Model), focussed on higher security. This "rebel" draft has been pushed by Cisco, IBM and others, who considered the official draft too weak.

The "experimental" party eventually won, the official "Standard" suffered a silent death, has never been widely adopted, and has only historic relevance es of today. In 1999 the experimental RFCs have been updated (RFC 2571–2575), became a Draft Standard, and replaced all the former RFCs from both parties. Finally, in Dezember 2002, RFC 3410-3418 became an Internet Standard.

Other related RFCs

TODO

imedge/snmp-packet 适用场景与选型建议

imedge/snmp-packet 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 642 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 06 月 10 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 imedge/snmp-packet 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 imedge/snmp-packet 我们能提供哪些服务?
定制开发 / 二次开发

基于 imedge/snmp-packet 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 642
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 29
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-10