上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页

2018年3月12日

摘要: 阿里云上的服务器,运行的是ubuntu 16, 登录时报错 manpath: can't set the locale; make sure $LC_* and $LANG are correct安装zabbix时也看到大量因为这个not set导致的warning于是尝试fix解决办法是:sudo 阅读全文
posted @ 2018-03-12 16:45 js.yeyong 阅读(2455) 评论(0) 推荐(0) 编辑

2017年9月7日

摘要: http://blog.csdn.net/qq849635649/article/details/56017559 大概是因为无法访问到这个地址的原因 解决办法 到github上 https://github.com/golang/crypto 下载 zip文件, 移动到 $GOROOT/src/g 阅读全文
posted @ 2017-09-07 11:21 js.yeyong 阅读(1440) 评论(0) 推荐(0) 编辑

2017年3月22日

摘要: python模块介绍- binascii:二进制和ASCII互转 以及其他进制转换 2012-08-01 0 个评论 收藏 我要投稿 广告位:2cto_左一 python模块介绍- binascii:二进制和ASCII互转以及其他进制转换 2012-08-01磁针石 #承接软件自动化实施与培训等gt 阅读全文
posted @ 2017-03-22 14:01 js.yeyong 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: tcp头 其中 tcp_header_len是这样的: 在t_f中给出的是header长度占32bit的数目,也就是: 8 ==> 8x32 = 8*4*8 = 32 bytes 其中 这一位可以取值范围是 4 bit 也就是 最大 1111 = 15 * 4* 8 = 60 bytes 一般这个值 阅读全文
posted @ 2017-03-22 12:57 js.yeyong 阅读(382) 评论(1) 推荐(0) 编辑
摘要: 1 def get_protocol_info_from_pcap(pcapfile): 2 pcap = PcapFile(pcapfile) 3 start = time.time() 4 pkts = {} 5 for p in pcap.tcp_udp_packets(): 6 l3 = p.L3_protocol 7 ... 阅读全文
posted @ 2017-03-22 09:52 js.yeyong 阅读(245) 评论(0) 推荐(0) 编辑

2016年11月17日

摘要: http://www.jb51.net/article/86040.htm 浅析Python中的多条件排序实现 作者:mattkang 字体:[增加 减小] 类型:转载 时间:2016-06-07 我要评论 http://www.jb51.net/article/86040.htm 浅析Python 阅读全文
posted @ 2016-11-17 17:59 js.yeyong 阅读(435) 评论(0) 推荐(0) 编辑

2016年1月27日

摘要: http://linux.it.net.cn/e/data/MongoDB/2015/0127/12689.html 阅读全文
posted @ 2016-01-27 17:45 js.yeyong 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 首先是nginx上的一些配置#参数都有所调整.目的是解决代理过程中出现的一些502 499错误 tcp_nopush on;tcp_nodelay on;proxy_ignore_client_abort on;其次python代码中在建立连接与发送request时要有一定的timewait,比如t... 阅读全文
posted @ 2016-01-27 11:14 js.yeyong 阅读(770) 评论(0) 推荐(0) 编辑
摘要: centos下要跑个https的 request,需要安装证书,否则代码上要多写许多Linux (CentOs 6)AddInstall the ca-certificates package:yum install ca-certificatesEnable the dynamic CA conf... 阅读全文
posted @ 2016-01-27 10:08 js.yeyong 阅读(4534) 评论(0) 推荐(0) 编辑

2016年1月15日

摘要: 按照一下命令就可以配置成功,我是在vm8.0虚拟机上配置的 1.创建bond网卡文件 在/etc/sysconfig/network-scripts/ 目录下创建ifcfg-bond0 命令:vi /etc/sysconfig/network-scripts/ifcfg-bond0 或者复制物理网卡... 阅读全文
posted @ 2016-01-15 11:17 js.yeyong 阅读(337) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页

导航