Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Protocol Checking -- Need Some Help

Protocol Checking -- Need Some Help

Scheduled Pinned Locked Moved Article Writing
helphardwaredebuggingperformancequestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kannan Ramanathan
    wrote on last edited by
    #1

    Currently I am working on a protocol analyzer project. I have traces of that protocol (say a point-2-point data/control protocol) stored in files. My protocol analyzer should check for the syntactic correctness as well as the semantic correctness (the correct flow/order as specified in the Spec). Since we decided against hardcoding all the rule-checkings in the main program, the rules are put in a separate file & the inference engine loads these rules and checks for the validity of the data (from the trace files). I thought of embedding a prolog interpreter and writing all the rules in the predicate format. But, this seems to take a pretty big performance hit. Also, another idea is, developing an interpreter for a small, powerful embedded language like Lua or SMALL -- the problem here is, these lack the flexibility of a logic programming language like Prolog. I am sort of confused as to which approach I should pursue. Or, is there a better way? I'd appreciate if any of you can share some ideas regarding this with me or any online references to projects which have the same nature. Thx a lot.

    W 1 Reply Last reply
    0
    • K Kannan Ramanathan

      Currently I am working on a protocol analyzer project. I have traces of that protocol (say a point-2-point data/control protocol) stored in files. My protocol analyzer should check for the syntactic correctness as well as the semantic correctness (the correct flow/order as specified in the Spec). Since we decided against hardcoding all the rule-checkings in the main program, the rules are put in a separate file & the inference engine loads these rules and checks for the validity of the data (from the trace files). I thought of embedding a prolog interpreter and writing all the rules in the predicate format. But, this seems to take a pretty big performance hit. Also, another idea is, developing an interpreter for a small, powerful embedded language like Lua or SMALL -- the problem here is, these lack the flexibility of a logic programming language like Prolog. I am sort of confused as to which approach I should pursue. Or, is there a better way? I'd appreciate if any of you can share some ideas regarding this with me or any online references to projects which have the same nature. Thx a lot.

      W Offline
      W Offline
      Werdna
      wrote on last edited by
      #2

      There is a project for checking cryptographic protocols: http://www.cryptyc.org/intro.html you might want to download it, since it's open source maybe you can modify the sources to fit your needs.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups