Code Monkey home page Code Monkey logo

ccg-go's Introduction

ccg-go

ccg-go works as REST HTTP server, recive json message from POST http://ip:port/ccr,
and send it to Diameter Server.

How to Use

  • Just run ccg-go

  • Use REST Client plugin in Visual Studio Code
    Sample REST json message as file test/test-case.http

  • REST format for AVP
    ccg-go support two type formats:

    //format as "avp_code:vendor_id"
    {"20302:2011":"86139"}
    //format as "avp_name"
    {"calling-vlr-number":"86139"}
  • co-works with wireshark
    ccg-go write pcap as DLT_USER15 protocal,
    You can config in wireshark as Edit->Preference->Protocal->DLT_USER, add
    "USER 15(DLT=162)" as Payload 'diameter'

Configuration

    "originHost":          "1.client.ccg-go",
    "originRealm":         "client.ccg-go",
    "diameterServerAddr":  "10.253.191.56:16553",      //remote Diameter Server IP/Port
    "localRESTServerAddr": ":8080",                    //local address for REST server
    "extraDiameterXML":    "vendor1.xml,vendor2.xml",  //extra xml for diameter dictionary
    "dumpMessage":         false,                      //print detail CCR/CCA in console?
    "dumpPCAP":            false,                      //dump packet to pcap file?
    "dumpFile":            "ccg-go.pcap"               //file name for wireshark

Log

  • v20191120 Support Sy SLR/STR

Todo List

  • handle CCR/CCA diameter message
  • Dump detail CCR/CCA in console
  • Return as json format
  • Return detail CCA message as json
  • Write .pacap for wireshark
  • Generate SessionID for automaticlly
  • Support Sy SLR/STR

License

Copyright (c) Corbamico
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

ccg-go's People

Contributors

corbamico avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

magixyu

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.