未来心不可得

2022年5月

May 11, 2022

小计如何指定依赖dll的加载路径 (windows)

书接前文 回到之前说过的manifest文件https://blog.vrqq.org/archives/779/manifest文件能用link.exe写入,还可以后天修改(推荐后天mt.exe方式)微软建议 每个manifest仅和单个文件关联(当然也可以关联多个)Please Know that before used, this is an undocumented feature....
May 5, 2022

组装一个Jail

https://blog.vgot.net/archives/freebsd-jail-ipfw-nat.htmlhttps://rderik.com/blog/running-a-web-server-on-freebsd-inside-a-jail/https://rderik.gumroad.com/l/uwOLZ大致步骤是:找个目录,安装一套freebsd,无论是编译还是网上下载在/...
May 2, 2022

FreeBSD ipfw简明教程

序 route 和 firewall 的关系例如从网卡到来的TCP包,内容为{src_MAC, dst_MAC, src_IP, dst_IP, TCP_flags, ..., user-data}"TCP/IP包": 参见 OSI七层模型有的"包"不能精确的定义“属于OSI模型的哪一层”,这不重要,模型里提及的基本概念适用就可以了ether: "虚拟网卡" 可以有IP、 mac地址等。和物...