An open API service indexing awesome lists of open source software.

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

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