Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blacklist ¶
type Blacklist struct { ID bson.ObjectId `bson:"_id,omitempty"` BLHash string `bson:"bl_hash"` Host string `bson:"host"` Score int `bson:"count"` DateChecked int64 `bson:"date_checked"` BlType string `bson:"blacklist_type"` IsUrl bool `bson:"is_url"` IsIp bool `bson:"is_ip"` }
** Collection/Reporting Structure **
type IpConnObj ¶
type IpConnObj struct { Dst string `bson:"host" json:"host"` Src string `bson:"local_host" json:"local_host"` TSS []int64 `bson:"tss" json:"tss"` Score int `bson:"score" json:"score"` Hits int `bson:"total_connection_count" json:"total_connection_count"` }
** Graphing Structures **
type IpDstObj ¶
type IpDstObj struct { Dst string `bson:"host" json:"host"` Score int `bson:"score" json:"score"` Srcs []IpConnObj `bson:"local_hosts" json:"local_hosts"` Victims int `bson:"victim_count" json:"victim_count"` Hits int `bson:"total_connection_count" json:"total_connection_count"` SrcCt int `bson:"unique_source_count" json:"unique_source_count"` }
type IpHostTable ¶
type IpHostTable struct { ID bson.ObjectId `bson:"_id,omitempty"` Host string `bson:"host"` Score int `bson:"score"` Sources []struct { TimestampList []int64 `bson:"tss"` Src string `bson:"src"` } `bson:"srcs"` Destinations []struct { TimestampList []int64 `bson:"tss"` Dst string `bson:"dst"` } `bson:"dsts"` VictimCount int `bson:"victim_count"` TotalConnectionCount int `bson:"total_connection_count"` }
** Graphing Structures **
type IpSumObj ¶
type IpSumObj struct { SrcCt int `bson:"unique_src_count" json:"unique_src_count"` DstCt int `bson:"unique_dst_count" json:"unique_dst_count"` Victims int `bson:"highest_victim_count" json:"highest_victim_count"` Hits int `bson:"connection_count" json:"connection_count"` }
** Blacklisted IP Summary Object **
type UrlConnObj ¶
type UrlConnObj struct { Dst string `bson:"host" json:"host"` Src string `bson:"local_host" json:"local_host"` TSS []int64 `bson:"tss" json:"tss"` Score int `bson:"score" json:"score"` Hits int `bson:"total_connection_count" json:"total_connection_count"` }
** Graphing Structures **
type UrlDstObj ¶
type UrlDstObj struct { Dst string `bson:"_id" json:"_id"` Score int `bson:"score" json:"score"` Srcs []UrlConnObj `bson:"local_hosts" json:"local_hosts"` Victims int `bson:"victim_count" json:"victim_count"` Hits int `bson:"total_connections_count" json:"total_connections_count"` SrcCt int `bson:"unique_source_count" json:"unique_source_count"` }
type UrlHostTable ¶
type UrlHostTable struct { ID bson.ObjectId `bson:"_id,omitempty"` Host string `bson:"host"` Score int `bson:"score"` Sources []struct { TimestampList []int64 `bson:"tss"` Src string `bson:"src"` } `bson:"srcs"` VictimCount int `bson:"victim_count"` TotalConnectionCount int `bson:"total_connection_count"` }
type UrlPartObj ¶
type UrlSrcObj ¶
type UrlSrcObj struct { Src string `bson:"_id" json:"_id"` Dsts []UrlConnObj `bson:"blacklist_url" json:"blacklist_url"` DstCt int `bson:"blacklist_url_count" json:"blacklist_url_count"` Hits int `bson:"total_connections_count" json:"total_connections_count"` }
type UrlSumObj ¶
type UrlSumObj struct { SrcCt int `bson:"unique_src_count" json:"unique_src_count"` DstCt int `bson:"unique_dst_count" json:"unique_dst_count"` Victims int `bson:"highest_victim_count" json:"highest_victim_count"` Hits int `bson:"connection_count" json:"connection_count"` }
** Blacklisted URL Summary Object **
Click to show internal directories.
Click to hide internal directories.