{"id":13650523,"url":"https://github.com/rusticata/snmp-parser","last_synced_at":"2025-04-22T18:05:30.841Z","repository":{"id":11744977,"uuid":"70426038","full_name":"rusticata/snmp-parser","owner":"rusticata","description":"SNMP parser written in rust with nom","archived":false,"fork":false,"pushed_at":"2024-02-29T08:53:35.000Z","size":139,"stargazers_count":41,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T07:37:43.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rusticata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-10-09T19:38:31.000Z","updated_at":"2024-03-14T09:43:58.000Z","dependencies_parsed_at":"2024-01-03T05:07:45.460Z","dependency_job_id":"08c5ccb5-1b46-4418-bd15-59ea862f8666","html_url":"https://github.com/rusticata/snmp-parser","commit_stats":{"total_commits":111,"total_committers":4,"mean_commits":27.75,"dds":"0.027027027027026973","last_synced_commit":"05ef0965fa4c1b3ac55674946688e7959af5150f"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusticata%2Fsnmp-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusticata%2Fsnmp-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusticata%2Fsnmp-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusticata%2Fsnmp-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rusticata","download_url":"https://codeload.github.com/rusticata/snmp-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250296134,"owners_count":21407037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T02:00:37.530Z","updated_at":"2025-04-22T18:05:30.796Z","avatar_url":"https://github.com/rusticata.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":["Rust"],"readme":"\u003c!-- cargo-sync-readme start --\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE-MIT)\n[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE-APACHE)\n[![Build Status](https://travis-ci.org/rusticata/snmp-parser.svg?branch=master)](https://travis-ci.org/rusticata/snmp-parser)\n[![Crates.io Version](https://img.shields.io/crates/v/snmp-parser.svg)](https://crates.io/crates/snmp-parser)\n\n# SNMP Parser\n\nA SNMP parser, implemented with the [nom](https://github.com/Geal/nom)\nparser combinator framework.\n\nThe goal of this parser is to implement SNMP messages analysis, for example\nto use rules from a network IDS.\n\nTo read a message, different functions must be used depending on the expected message\nversion. The main functions for parsing are [`parse_snmp_v1`](https://docs.rs/snmp-parser/latest/snmp_parser/snmp/fn.parse_snmp_v1.html),\n[`parse_snmp_v2c`](https://docs.rs/snmp-parser/latest/snmp_parser/snmp/fn.parse_snmp_v2c.html) and\n[`parse_snmp_v3`](https://docs.rs/snmp-parser/latest/snmp_parser/snmpv3/fn.parse_snmp_v3.html).\nIf you don't know the version of the message and want to parse a generic SNMP message,\nuse the [`parse_snmp_generic_message`](https://docs.rs/snmp-parser/latest/snmp_parser/fn.parse_snmp_generic_message.html) function.\n\nThe code is available on [Github](https://github.com/rusticata/snmp-parser)\nand is part of the [Rusticata](https://github.com/rusticata) project.\n\u003c!-- cargo-sync-readme end --\u003e\n\n## Changes\n\n### 0.11.0\n\n- Update asn1-rs to 0.7\n- Update thiserror to 2.0\n- Fix clippy warnings: elided lifetime has a name\n- Use `#[from]` instead of From impl for asn1 error\n- Re-export `Oid` and `OidParseError`\n- Fix renamed lint\n- Implement `FromBer` for all top-level messages\n\nThanks: @MattesWhite\n\n### 0.10.0\n\n- Update asn1-rs to 0.6\n\n### 0.9.0\n\n- Convert to asn1-rs\n- Set MSRV to 1.57\n\n### 0.8.0\n\n- Upgrade to nom 7 / der-parser 6\n\n### 0.7.0\n\n- Upgrade to nom 6 / der-parser 5\n\n### 0.6.0\n\n- Upgrade to der-parser 4\n\n### 0.5.2\n\n- Use `parse_ber_u32` from der-parser crate\n\n### 0.5.1\n\n- Fix parsing: use BER parsing so DER constraints are not applied\n\n### 0.5.0\n\n- Upgrade to nom 5 and der-parser 3\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusticata%2Fsnmp-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusticata%2Fsnmp-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusticata%2Fsnmp-parser/lists"}