Very simple client-server app for observing basic SNMP operations (GET, GET NEXT, GET BULK)
-
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 <server ipv6 address>
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) |
- GET OID
- SET OID
- GET
- GET NEXT
- GET BULK
- GET OID
- GET NEXT
- GET BULK