Package list golang-github-farsightsec-go-nmsg / debian/0.0_git20190917.04d2174-2 nmsg_base / http.proto
debian/0.0_git20190917.04d2174-2

Tree @debian/0.0_git20190917.04d2174-2 (Download .tar.gz)

http.proto @debian/0.0_git20190917.04d2174-2raw · history · blame

syntax = "proto2";
package nmsg.base;

enum HttpType {
    // unknown = 0;
    sinkhole = 1;
}

message Http {
    required HttpType   type = 1;
    optional bytes      srcip = 2;
    optional bytes      srchost = 3;
    optional uint32     srcport = 4;
    optional bytes      dstip = 5;
    optional uint32     dstport = 6;
    optional bytes      request = 7;

    optional bytes      p0f_genre = 65;
    optional bytes      p0f_detail = 66;
    optional int32      p0f_dist = 67;
    optional bytes      p0f_link = 68;
    optional bytes      p0f_tos = 69;
    optional uint32     p0f_fw = 70;
    optional uint32     p0f_nat = 71;
    optional uint32     p0f_real = 72;
    optional int32      p0f_score = 73;
    optional uint32     p0f_mflags = 74;
    optional int32      p0f_uptime = 75;
}