Package list golang-github-farsightsec-go-nmsg / upstream/0.2.0 nmsg_base / http.proto
upstream/0.2.0

Tree @upstream/0.2.0 (Download .tar.gz)

http.proto @upstream/0.2.0raw · history · blame

syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base";

message Http {
    enum HttpType {
        unknown = 0;
        sinkhole = 1;
    }

    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;
}