Git Product home page Git Product logo

Comments (9)

glaslos avatar glaslos commented on September 26, 2024

Get some sleep...

from conpot.

creolis avatar creolis commented on September 26, 2024

Ain't nobody got time for that :) ..

well ... 30 minutes of investigation - then I'll resign for today :)

from conpot.

johnnykv avatar johnnykv commented on September 26, 2024

snmpset work when using version 3, yes? (the unit test for SET with v3 passes)

from conpot.

creolis avatar creolis commented on September 26, 2024

Finally I figured it out -
you were right - it "worked" with v3 - but not at first try.

In fact, v3 returns correct reasons, in my case:

Reason: notWritable (That object does not support modification)

or

Reason: noAccess

while v1 responds with my previously mentioned message that indicates
a problem with finding the asset within the MIB.

After iterating through a bunch of objects I found one that accepted modification
with v3 - and therefore also succeeded modifying the same object via v1.

So actually theres no problem with writing but with dealing with problems when
writing over snmp v1 :)

from conpot.

glaslos avatar glaslos commented on September 26, 2024

@johnnykv I assume this just another pysnmp weirdness?

from conpot.

johnnykv avatar johnnykv commented on September 26, 2024

not sure

from conpot.

creolis avatar creolis commented on September 26, 2024

I'd assume that too since I could not find any of these error messages in conpot, .. so handling is obviously done in pysnmp.

from conpot.

creolis avatar creolis commented on September 26, 2024

My primary goal reporting this issue was to ensure that the snmp implementation in conpot actually behaves the same way other implementations do in order to avoid being discovered as honeypot too easily.

Right now I checked against two other snmp-enabled devices using snmp V1 and both behave the same way, returning reasons that are far away from being helpful. According to that, the behaviour of pysnmp in that special case seems to be perfectly natural ... facepalm ..

I'm sorry that I bothered you guys with this .. sigh

from conpot.

glaslos avatar glaslos commented on September 26, 2024

No worries, we all learned something.

from conpot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.