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

[developmemt][dpdk] dpdk优化(转)

摘要: 转发:https://software.intel.com/en-us/articles/dpdk-performance-optimization-guidelines-white-paper 转发:http://zhaozhanxu.com/2016/08/09/DPDK/2016-08-09- 阅读全文
posted @ 2017-07-05 15:43 toong 阅读(6507) 评论(0) 推荐(0)

[development][dpdk][pktgen] 网卡收发包性能测试

摘要: 一: 多队列及中断信息收集 [root@T185 ~]# cat /proc/interrupts |less -S [root@T185 ~]# cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 CPU8 CPU9 CPU10 阅读全文
posted @ 2017-07-04 20:11 toong 阅读(1958) 评论(0) 推荐(0)

[daily][device][archlinux][trackpoint] 修改指点杆速度/敏捷度

摘要: 修改指点杆速度,敏捷度: 改不改的,好像没什么变化捏。 update @ 2017-07-05 有变化有变化,而且效果和明显。 我最后选了,sensitivity 245, speed 220 取值范围在0-255 之间。 手指头终于没那么累了。 目前方法是使用一个脚本手动设置,过两天改成自动配置。 阅读全文
posted @ 2017-07-04 11:02 toong 阅读(538) 评论(0) 推荐(0)

[development][security][suricata] suricata 使用与调研

摘要: 0: OISF:https://oisf.net/ 1: suricata是什么 https://suricata-ids.org/ 2:安装 https://redmine.openinfosecfoundation.org/projects/suricata/wiki/CentOS_Instal 阅读全文
posted @ 2017-06-29 19:54 toong 阅读(517) 评论(0) 推荐(0)

[daily][mirror][daemonlogger][tc] 我想把一个网卡(port A)的流量,镜像到虚拟机的一个网卡(port VA)上去

摘要: iptables tee 模块 https://blog.gnuers.org/?p=740 http://blog.csdn.net/wesleyflagon/article/details/38588507 tcpcopy: 没试过,不知道这玩意行不行。 https://github.com/s 阅读全文
posted @ 2017-06-29 17:02 toong 阅读(816) 评论(0) 推荐(0)

[development][security][modsecurity][nginx] nginx / modsecurity development things

摘要: 接续前节:[security][modsecurity][nginx] nginx 与 modsecurity nginx开发手册:https://nginx.org/en/docs/dev/development_guide.html#introduction modsecurity开发手册:ht 阅读全文
posted @ 2017-06-23 10:17 toong 阅读(457) 评论(0) 推荐(0)

[UI] UI things

摘要: 反正我不懂。 但是很酷。 https://facebook.github.io/react/ https://cn.vuejs.org/ https://angular.cn/ 阅读全文
posted @ 2017-06-22 18:06 toong 阅读(139) 评论(0) 推荐(0)

[algorithm][security] 模糊哈希(转)

摘要: modsecurity中用到: http://ssdeep.sourceforge.net/ 原文:http://www.xuebuyuan.com/1536438.html 最近看一篇paper,无意中看见了一种模糊哈希算法——fuzzy hash算法。于是立刻去翻阅相关资料,整理出如下文章。 首 阅读全文
posted @ 2017-06-19 21:00 toong 阅读(763) 评论(0) 推荐(0)

=[Mathematics] 数学主题

摘要: https://www.douban.com/group/maths/ 圆锥体体积公式的证明 阅读全文
posted @ 2017-06-19 13:25 toong 阅读(177) 评论(0) 推荐(0)

[troubleshoot][archliunx][chromium][flash] chrome提示flash不是最新

摘要: 最近chrome总是在提示flash不是最新要求更新。 原来以前用的flash包 chromium-pepper-flash 不见了,改名变成了pepper-flash. 参考: https://wiki.archlinux.org/index.php/Chromium#Flash_Player_p 阅读全文
posted @ 2017-06-19 11:21 toong 阅读(181) 评论(0) 推荐(0)

[security][modsecurity] modsecurity 规则说明/中文/转发

摘要: 原文转发以防丢失。 地址: http://www.catssec.com:8090/exploit/?p=691 转来细读之后,并没有太多的参考价值 :( modsecurity规则手册 通用格式 SecRule VARIABLES OPERATOR [TRANSFORMATION_FUNCTION 阅读全文
posted @ 2017-06-15 10:09 toong 阅读(1340) 评论(0) 推荐(0)

[security][modsecurity][nginx] nginx 与 modsecurity

摘要: 参考文档: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#installation-for-nginx nginx不支持动态加载模块,所以需要重新编译,将modsecurity和nginx整合。 一: 软件准备: Mo 阅读全文
posted @ 2017-06-14 20:48 toong 阅读(692) 评论(0) 推荐(0)

[archlinux][crypto] 从T450迁移archlinux操作系统至T460s笔记本

摘要: 从T450笔记本迁移archlinux操作系统之T460s笔记本,同时: 1。 使用cryptsetup做底层块加密。 2. 全新使用btrfs文件系统。 一,硬盘分区。 1T的SSD,使用UEFI启动。 二, 块加密 [cipher][archlinux][disk encryption][btr 阅读全文
posted @ 2017-06-11 21:20 toong 阅读(837) 评论(0) 推荐(0)

[adminitrative][archlinux][setfont] 设置console的字体大小

摘要: 电脑的分辨率高了之后,用命令行进入的时候,完全看不清楚,是否容易导致眼瞎。 第一步便把字体调大就成了很必要的操作。 使用一个命令能马上生效: setfont 使用配置文件 /etc/vconsole.conf 能固化配置。 我一般先装一个字体。 然后在文件夹 /usr/share/kbd/conso 阅读全文
posted @ 2017-06-11 18:51 toong 阅读(1641) 评论(0) 推荐(0)

[daily][archlinux][rsync] rsync

摘要: 科普文档:https://wiki.archlinux.org/index.php/Rsync 之前改文件系统时,用过。 然而用的不太对,导致一部分文件的权限出了问题。 [troubleshoot][archlinux][bcache] 修改linux文件系统 / 分区方案 / 做混合硬盘 / 系统 阅读全文
posted @ 2017-06-11 11:24 toong 阅读(448) 评论(0) 推荐(0)

[skill][msgpack] 初试msgpack库以及基本使用

摘要: It's like JSON. but fast and small. http://msgpack.org/index.html 源码: https://github.com/msgpack/msgpack-c 扩展阅读: 用到了Cmake ,大概是一个用来生成makefile的系统 :https 阅读全文
posted @ 2017-06-08 18:54 toong 阅读(920) 评论(0) 推荐(0)

[skill][c][ld][gcc] 明确指定gcc在链接时明确使用静态库

摘要: 通常,我们这样链接: gcc -o a.out -L/usr/lib/ -ltest a.o 这样它会链接动态库 libtest.so, 可是有时候我们想在静态库与动态库同时存在时,优先使用静态库。 当然,我们可以这样: gcc -o a.out a.o /usr/lib/libtest.a 可是总 阅读全文
posted @ 2017-06-08 16:13 toong 阅读(243) 评论(0) 推荐(0)

[administrative][lvm] lvm 分区修改与磁盘扩充

摘要: O,背景 默认安装的CentOS6.3操作系统,使用lvm分区。root挂载了50G,home挂载了1.5T。 由于需求要求,现在需要把home的1.5T全部移动到root下。 一,删除一个逻辑分区 使用archiso启动,查看lvm信息如下: root@archiso ~ # pvdisplay 阅读全文
posted @ 2017-06-07 20:23 toong 阅读(339) 评论(0) 推荐(0)

[administrative] windows 下制作USB启动盘的工具

摘要: arch魔教的文档: https://wiki.archlinux.org/index.php/USB_flash_installation_media windows 下的 dd: https://sourceforge.net/p/usbwriter/wiki/Documentation/ 但是 阅读全文
posted @ 2017-06-07 15:43 toong 阅读(193) 评论(0) 推荐(0)

[administrative][archlinux][netctl][wpa_supplicant] 查看WIFI链接信息

摘要: 当使用 netctl + wpa_supplicant的时候,环境里同时存在好多个WIFI,而我同时有配置了他们的密钥信息在配置文件中。 那么我该如何查看,我当前链接到了哪个WIFI上? 阅读全文
posted @ 2017-06-06 16:43 toong 阅读(364) 评论(0) 推荐(0)

[skill][makefile] makefile 常用内容记录

摘要: 其实,makefile有点复杂。 文档看了又看,还是要经常翻,做个记录备忘 :) 1. 隐含命令 implicit rules 与 implicit rule 相对应的有 pattern rules 和 suffix rules Canceling Implicit Rules 定义一个空的 rec 阅读全文
posted @ 2017-06-06 16:17 toong 阅读(212) 评论(0) 推荐(0)

[security] security engine things

摘要: 1. luarock luarock 之于 lua,就好比 pip 之于 python https://luarocks.org/ 2. lua的库 3. 其他 PCRE库 https://github.com/google/re2/ BoyerMoore base64 decode Aho-Cor 阅读全文
posted @ 2017-06-06 14:25 toong 阅读(189) 评论(0) 推荐(0)

[administrative][CentOS] 新装系统时如何正确精准的选择基础环境和软件包

摘要: 出于不同的目的,在进行全新CentOS安装的时候,我们到底应该如何作出选择。 是mininal,base server, base web server, 还是啥? 答案在这里: https://access.redhat.com/documentation/en-US/Red_Hat_Enterp 阅读全文
posted @ 2017-06-05 13:51 toong 阅读(663) 评论(0) 推荐(0)

[filesystem][archlinux][disk encryption][btrfs] btrfs

摘要: fork from here http://www.cnblogs.com/hugetong/p/6914248.html boot分区,MBR加密:https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Securing_the_unen 阅读全文
posted @ 2017-06-02 20:52 toong 阅读(411) 评论(0) 推荐(0)

[cipher][archlinux][disk encryption][btrfs] 磁盘分区加密 + btrfs

摘要: 科普链接:https://wiki.archlinux.org/index.php/Disk_encryption 前面的链接关于硬盘加密,讲了几种,基本上就是选dm-crypt with LUKS 在grub中,解密根分区以及/boot分区。 dm-crypt文档:https://wiki.arc 阅读全文
posted @ 2017-06-02 19:15 toong 阅读(2367) 评论(0) 推荐(0)

[administrative][archlinux][clonezilla][disk cloning] 一块 windows 10 硬盘的备份

摘要: https://wiki.archlinux.org/index.php/disk_cloning https://wiki.archlinux.org/index.php/full_system_backup_with_rsync https://en.wikipedia.org/wiki/Com 阅读全文
posted @ 2017-06-01 17:48 toong 阅读(342) 评论(0) 推荐(0)

[administrative][CentOS][NetworkManager] 万恶的NetworkManager到底怎么用

摘要: 这好像是第三次不得不去学会NetworkManager的用法,可是它真的很难用。社区里无人不吐槽。 然而,还是要用! 这次从redhat的文档入手,也许可以成功 --! https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_ 阅读全文
posted @ 2017-06-01 16:35 toong 阅读(229) 评论(0) 推荐(0)

[administrative][qemu][kvm] qemu使用--bridge-helper

摘要: 公司服务器,源码安装的 qemu-2.9.0。 不是yum装的。 问题1:非超级用户的kvm权限问题: 略,直接超级用户使用。 也许有用? https://access.redhat.com/documentation/zh-CN/Red_Hat_Enterprise_Virtualization/ 阅读全文
posted @ 2017-06-01 16:33 toong 阅读(2912) 评论(0) 推荐(0)

[adminstrative][CentOS] CentOS 7 常用操作笔记

摘要: CentOS从6换到7, 还没有系统的学习。虽然主要用的是systemd,但还是有一下特有的区别,会逐步整理如下: 官网文档索引:https://access.redhat.com/documentation/en/red-hat-enterprise-linux/ 管理员手册:https://ac 阅读全文
posted @ 2017-06-01 14:42 toong 阅读(173) 评论(0) 推荐(0)

knowledge learning things TODO

摘要: 加密分区 suricata调研 tor配置 tilda配置 automake / autoconf / libtool 使用 大页内存的深入原理 Memory channels Network Manager到底怎么用 DNS / Search domain iptables参数的详细含义 scap 阅读全文
posted @ 2017-05-27 10:02 toong 阅读(139) 评论(0) 推荐(0)

[CentOS7][ssh][publickey][troubleshoot] 通过密钥登录ssh故障排查

摘要: 通常情况下,我会使用非对称加密的方式来进行ssh的登录。 做法: 将公钥添加到 $HOME/.ssh/authorized_keys 文件中。 但是通常,会遇见各种各样的问题,导致失败。汇总如下: 0. 常用的排除手段,一般就是,双端开debug,clinet开启的方式如下,server还从来没与与 阅读全文
posted @ 2017-05-26 11:41 toong 阅读(568) 评论(0) 推荐(0)

[hardware][intel] intel全系列网卡调研

摘要: 除了公司用,我自己还要买一块家用。 但是在这一切开始之前,还需要搞清楚PCIE到底咋回事。 一, 总线 https://zh.wikipedia.org/wiki/%E6%80%BB%E7%BA%BF 二,PCI https://zh.wikipedia.org/wiki/%E5%A4%96%E8% 阅读全文
posted @ 2017-05-25 18:58 toong 阅读(1105) 评论(0) 推荐(0)

[skill][debug][gdb] 使用core dump 进行GDB

摘要: core dump 扫盲:https://wiki.archlinux.org/index.php/Core_dump 1. 人为制作 core dump 1.1 实时在线生成core dump。进程不会停止。 1.2 对进程发生会造成core dump的信号 2. 调试 设置启用 core dum 阅读全文
posted @ 2017-05-24 13:55 toong 阅读(522) 评论(0) 推荐(0)

[maven] 初试maven

摘要: 环境 CentOS 6 一, 安装: [root@okk ~]# wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz [root@okk ~]# tar z 阅读全文
posted @ 2017-05-23 13:49 toong 阅读(185) 评论(0) 推荐(0)

[elastic search][redis] 初试 ElasticSearch / redis

摘要: 现有项目组,工作需要。 http://www.cnblogs.com/xing901022/p/4704319.html Elastic Search权威指南(中文版) https://es.xiaoleilu.com/010_Intro/00_README.html https://www.ela 阅读全文
posted @ 2017-05-19 20:04 toong 阅读(373) 评论(0) 推荐(0)

[X][xrandr][archlinux] 手动调整显示器分辨率

摘要: 有一些时候,电脑并不能正确的识别出显示器的最大分辨率,这有可能是软件的原因,硬件的原因,显示器的原因,VGA线的原因等其他原因。 我遇到的情况,是开机时候连着VGA的话,就可以正确识别。如果使用中间进行了插拔,便不能获得最佳分辨率了。 我当前这台显示器最佳分辨率是1920x1080, 断过VGA之后 阅读全文
posted @ 2017-05-18 12:05 toong 阅读(4282) 评论(0) 推荐(0)

[skill][git] git 常用操作记录

摘要: 傻瓜入门: step by step : https://try.github.io/levels/1/challenges/1 一本书: https://git-scm.com/book/en/v2 竟然有中文版 O.O: https://git-scm.com/book/zh/v2/ git实在 阅读全文
posted @ 2017-05-16 13:57 toong 阅读(344) 评论(0) 推荐(0)

[skill][funny] 一个很厉害的for循环

摘要: from libdssl。 阅读全文
posted @ 2017-05-15 13:47 toong 阅读(452) 评论(0) 推荐(0)

[https][openssl] OpenSSL 公钥、私钥以及自签名证书

摘要: 转自:https://www.zybuluo.com/muyanfeixiang/note/392079 简介 公钥私钥用来互相加解密的一对密钥,一般是采用RSA非对称算法。公钥加密的私钥能解密,私钥加密的公钥能解密。关于公私钥更多内容,网上都有就不详细介绍。 关于CA证书,是由第三方机构下发的,可 阅读全文
posted @ 2017-05-12 14:28 toong 阅读(7968) 评论(0) 推荐(1)

[web][nginx] 初识nginx -- 使用nginx搭建https DPI解码测试环境

摘要: 环境 CentOS 7 X86 文档: https://nginx.org/en/docs/ 安装: 配置文件: 默认不需要更改 启动: 浏览器直接访问即可。 自定义页:拷贝至配置文件指定的目录后,就可以在浏览器中访问了。 如: http://192.168.7.4/index_a.html 可以设 阅读全文
posted @ 2017-05-12 11:48 toong 阅读(603) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页