https://github.com/janek1842/snmp-c-sim
SNMP mini simulator in C
https://github.com/janek1842/snmp-c-sim
c simulation snmp socket-programming
Last synced: about 1 month ago
JSON representation
SNMP mini simulator in C
- Host: GitHub
- URL: https://github.com/janek1842/snmp-c-sim
- Owner: janek1842
- Created: 2022-04-24T09:25:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T15:42:27.000Z (about 4 years ago)
- Last Synced: 2026-05-14T12:59:44.996Z (about 1 month ago)
- Topics: c, simulation, snmp, socket-programming
- Language: C
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SNMP-COM
Very simple client-server app for observing basic SNMP operations (GET, GET NEXT, GET BULK)
## How to run ?
- Clone the repository
- git clone https://github.com/janek1842/SNMP-COM.git
- Code was tested positively on Ubuntu
- Server
```
cd SNMP-COM
cd server
sudo gcc daytimeudpsrvv6.c
sudo ./a.out
```
- Client
```
cd SNMP-COM
cd client
sudo gcc daytimeudpcliv6.c
sudo ./a.out
```
## SNMP Client and Server
Predicted implementation of the following SNMP features in client-server architecture
- MIB Implementation on server
- Client operations for getting server MIB informations
- Server operations for returning informations
root-iso(1)-org(3)-dod(6)-internet(1)-mgmt(2)-mib(1):
**DEFAULT OID:** .1.3.6.1.2.1.1.1
| branch |variables with id / related bash commands to parse|
| ------------- | ------------- |
| system(1) | osName(1), hostName(2), kernelVersion(3), osVersion(4), hardware(5) |
## IMPLEMENTED SNMP OPERATIONS
- GET OID
- SET OID
- GET
- GET NEXT
- GET BULK
## Simple DEMO :)
### Client
- GET OID
- GET NEXT

- GET BULK

### Server
