Git Product home page Git Product logo

iec61850_mms_scapy's Introduction

iec61850_mms_scapy

Scapy definitions (partially ASN.1) for a small subset of IEC 61850-8-1 MMS messages. Basic functionality of intermediary layers (tpkt, cotp, iso8327-1, iso8823, and iso8650-1) has been implemented.

To bind layers, run:

import iec61850_mms
iec61850_mms.bind_layers()

Supported packet types

MMS:
    -   ConfirmedRequest (read, write, getnamelist)
    -   InitiateRequest
    -   InitiateResponse

ACSE/ISO 8650-1:
    - AARQ
    - AARE

ISO 8823:
    - CP
    - CPA
    - CPC

ISO 8327-1:
    - User Data (DT)
    - Connect (CN)
    - Accept (AC)

COTP:
    - Data (DT)
    - Connection Requests (CR)
    - Connection Responses (CC)

iec61850_mms_scapy's People

Contributors

joshtyf avatar rhelmke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

iec61850_mms_scapy's Issues

string index out of range

Dear Réné

I tried to execute but I get an Exception "string index out of range" , pointing at "class MMS_Name(ASN1_Packet)" in mms/packets.py file.
Do you know where is the problem?
Another question, how can code or decode?

Thanks

How to access layers(cotp, tpkt and mms) on scapy

When ı try to get layers of mms packet ı get list of layers like this:

['Ethernet', 'IP', 'TCP', 'TPKT', 'COTP', 'COTP Connection Request (CR)']

but I tried to access layers like packet.getlayer(tpkt) and i got an error

name 'tpkt' is not defined
How can i access the tpkt, cotp and mms layers?

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.