Git Product home page Git Product logo

Comments (7)

HoneyryderChuck avatar HoneyryderChuck commented on September 21, 2024

Thank you for the message.

It's the first I hear about TSM. I will have a look at the RFC, but this should be possible already by using the :proxy argument (where you pass your SSH or TLS IO object), provided there is no handshake.

Do you have any available script to test this?

from ruby-netsnmp.

yevgeniypopov avatar yevgeniypopov commented on September 21, 2024

this should be possible already by using the :proxy argument (where you pass your SSH or TLS IO object)

I will try it, thanks

Do you have any available script to test this?

not yet, but I will try to come up with something.

from ruby-netsnmp.

HoneyryderChuck avatar HoneyryderChuck commented on September 21, 2024

Let me know how your experiments went, the idea of the :proxy argument was to support such cases, but it might be insufficient for some (and is definitely untested for non-udp proxies).

In the case that you might consider a PR, let me know. The testing environment is as of yet dependent on docker, but I'm working on lowering the barrier of entry, if this is in an impediment for you, I might prioritize this task.

from ruby-netsnmp.

stakach avatar stakach commented on September 21, 2024

I've used the proxy to support evented IO in https://github.com/cotag/libuv
With this code: https://github.com/acaprojects/ruby-engine/blob/master/lib/protocols/snmp.rb
Specifically for use in: https://developer.acaprojects.com/#/driver-development/utilities-and-helpers?id=snmp

Works well!

from ruby-netsnmp.

HoneyryderChuck avatar HoneyryderChuck commented on September 21, 2024

@stakach great to hear! I actually designed that API to work well with Celluloid::IO, cool that it works with other evented engines. Are you also using any secure transport?

from ruby-netsnmp.

stakach avatar stakach commented on September 21, 2024

I'm not using netSNMP with a secure transport however it would be trivial with Libuv or Eventmachine using https://github.com/igrigorik/em-synchrony

I haven't cracked DTLS support in libuv yet

from ruby-netsnmp.

HoneyryderChuck avatar HoneyryderChuck commented on September 21, 2024

@yevgeniypopov will close the ticket, as I assume that this should not be an issue using the :proxy option. Feel free to reopen or open a new one whenever you get to try it.

from ruby-netsnmp.

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.