Go相关
jj吉吉国王
这个作者很懒,什么都没留下…
展开
-
使用gopacket解析协议层中的相关数据
使用gopacket获取数据包中的相关内容原创 2019-08-15 09:17:33 · 2725 阅读 · 0 评论 -
gopacket解析FTP数据包
直接解析TCPpackage mainimport ( "fmt" "github.com/google/gopacket/layers" "github.com/google/gopacket" "github.com/google/gopacket/pcap")func main() { handle, _ := pcap.OpenOffline("ftp.pcap"...原创 2019-08-15 11:04:06 · 670 阅读 · 0 评论 -
gopacket解析DNS协议
通过gopacket解析DNS请求协议。读取单个数据包 ,IP层ID为19777。读取19777数据包DNS协议的TransactionIDpackage mainimport ( "fmt" "time" "github.com/google/gopacket/layers" "github.com/google/gopacket" "github.com/googl...原创 2019-08-22 16:25:11 · 1949 阅读 · 0 评论 -
go 链接kafka报错解决
报错错误:producer close, err: kafka: client has run out of available brokers to talk to (Is your cluster reachable?)原因端口未对外开放;Centos 开启所有端口对外systemctl stop firewalld.service...原创 2019-09-23 14:50:26 · 9401 阅读 · 1 评论