Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

message_filter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

message_filter

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

message_filter

trema event handler filter utilities.

Gem Version Build Status Code Climate Dependency Status Gitter chat

How this works?

Architechture

  • Rule based message filtering.
  • filter passes values to rule, same as the "type".
  filter type: :packet_in, handler: :handle_lldp, rule: :lldp?
  • filter calls message_handler when it receives a openflow message from the switch and filter rule returns true

Current Status

  • This is not completely implemented.
  • implement default handler rule.
  • Testbed for topology manager.
  • Testbed for slice manager.

Features

  • Declarative Handler filter rule format DSL so that easy to read and debug by human beings.

Examples

  • TODO
require 'message_filter'

class Sample < Controller
  include MessageFilter

  # message filter rules
  filter type: :packet_in, handler: :handle_lldp, rule: :lldp?
  filter type: :packet_in, handler: :handle_ipv4, rule: :ipv4?
  filter type: :packet_in, handler: :handle_arp, rule: :should_flood?
  filter type: :packet_in, handler: :handle_packet_in, rule: :default
end

Documents

  • TODO

License

message filter is released under the GNU General Public License version 3.0:

FAQs

Package last updated on 11 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc