Some really weird ways of implementing firewalls on windows

【AI智能体】Langchain 上下文记忆使用实战操作详解 阅读详情
Weird World Of Windows
Some really weird ways of implementing firewalls on windows.

--= Introduction =--

So, you just installed a fresh windows 2000 server, configured IIS server, FTP server , now its time to secure your windows machine. Securing a windows machine from outside attacks is a complex task. Just because of sheer market dominance of windows, attackers are more interested in attacking windows systems.

By taking a look at the exploits database we find that the number of exploits for windows system is greater than number of exploits developed for any other operating system. Service like IIS and SMB sharing are specially favorites of crackers. Groups like eEye spend a lot of time disassembling is server to find buffer/heap overflows. And a exploit found by this group was exploited by CodeRed worm to spread itself across the Internet.

Hardening a windows server is not an easy task. And we will mainly focus on packet filtering in this article .We cannot help you solve all your security related problems , but we sure can help you with a good tool which you can use to secure your network.

Here's some basic terminology you should be aware of:

(a) Bastion Host

This is the machine that is directly exposed to the outside world. Your whole network is behind this machine.

(b) DMZ ( Demilitarized Zone )

The outside network is generally termed as the DMZ

(c) Perimeter Network

As mentioned above, your network is completely dependent on the bastion host for security. But what if you bastion host is compromised ? Or if it has got undiscovered vulnerability. that can be exploited by an external cracker ?That's the reason we setup a perimeter network behind the bastion host for extra layer of security.

--=Blocking the packets =--

The first step for cracking into any machine is to obtain as much info as possible , about that machine. Most crackers try to discover your network topology and try to find the weakest point to attack.

A firewall employs various methods to block access to internal network:

(a) Packet Filtering

A firewall can employ the packet filtering technique to block / rejects depending upon source/destination , port and various other parameters like TCP flags etc. The firewall isn't aware of contents of packets. All it cares about is that the packet passes the predefined rules about source/destination, flags etc.

This method is definitely fast. Most firewall employ this technique to attain a very high filtering rate. But the problem with this approach is that since the firewall is not aware of contents of the packet, it don't know whether the packet contains valid data or some shell code targeted at your server. Most hardware firewall products use this technique. That's because it requires less hardware resources to process the packets.

This problem can be partially solved by deploying a NIDS ( Network Intrusion Detection System ).

On a windows 2000 system, you can run Snort, which scans the content of the packets and matches them with it's signature database.

However, the recent discovery of integer overflow in the de fragging code of snort indicates that we cannot rely 100% on any program. These programs are written by humans, and thus are error prone.

(b) Stateful inspection

This is a hybrid between packet filtering and NIDS. Some firewall employ this technique to maintain a state table and allow or reject the packets according to current state of a connection. A simple packet filtering is susceptible to packet spoofing. An attacker can simply change the IP address of a packet to fool a firewall and can pass through firewall filter rules.

But a Stateful packet filtering firewall makes it very hard for attacker to spoof the packets. So, the cracker cannot just simply change the source address to get into a network.

(c) Application Layer Filtering

This method employing various proxy servers to actively monitor the contents of packets before they finally reach the applications. Some recent products are Web proxy by atstake security.

This product, written in Java , actively monitors the contents of packets for shell code attacks, ;long strings, or dangerous URL's that tries to access potentially dangerous files.

It's very clear that no one product can solve all your problems. In your to secure your network, you will have to deploy one or more solution in tandem.

--=Implementing a firewall =--

On most *nix based operating systems, implementing a firewall is not a tough job. There are standard and open ways to develop firewall. For example, pf on OpenBSD is standard kernel module that can be used to block/ modify packets. Same goes for ipfilter / ipchains on Linux based machines.

However, in the Windows world, its a different story altogether. There is no standard way to write a firewall. Its such a shame that even the server products from Microsoft doesn't provide anything to effectively block packets. With the advent of windows 2000, Microsoft started providing developers with a standard interface to block packets. But its not very useful, since it cannot be used to block packets before it reaches the TCP stack.

Here I will discuss general methods used by various firewall vendors to develop there firewall products. Not all of them use "safe" methods. And in order to protect your windows machine, you should be aware of the protection technique used by your firewall.

(a) Layered Socket Providers ( LSP )

The most exciting feature of winsock 2.0 was LSP. LSP provided developers the ability to inject there own hooks into every processes that called winsock. This method allowed them to monitor the packets sent and received by a particular application. This method was generally preferred because it just requires a simple user mode DLL. And best of all , it can be deployed on every windows version after windows 95 ( Windows 95 need to be updated to winsock 2, which is available for download at Microsoft site ).

This method is generally used by various ad busters , spam busters and other products that block the packets at application layer. Even Microsoft IAS servers uses this technique for QoS etc. The basic theory is that we layer our own protocol service provider over existing service providers. Now we can modify or reject connections based on various rules .Another reason why programmers prefer LSP : Since the packet reassembly has already been done by the MSTCP stack, programmers have direct access to fully reassembled TCP streams. So, no more dirty job of reassembling TCP streams. This is really helpful for application that do things like regular expression search of streams.

Alas, there isn't too mc uh documentation available on LSP. There is just one good article on LSP, at Microsoft site, and there is just one sample source layered.exe available. If you are really interested in writing a LSP based app, check out this link

Unraveling the Mysteries of Writing a Winsock 2 Layered Service Provider

Download the sample source and be prepare to spend a _lot_ of time reading-, re-reading, re-re-reading the code. It can be very complex for anyone who hasn't worked with LSP before. go through the code a few times and you will eventually get it :)

However , the same method can be used by Trojans to hook themselves at a layer below the firewall. This allows the Trojan to access the packets before the firewall can. This allows the Trojan to piggyback various packets over existing packets, in a very stealth manner.

This is how most LSP Trojans work: They install a LSP _below_ the firewall LSP. This way, the firewall has no way of monitoring the packets sent and received by the Trojan LSP. The Trojan LSP can monitor the packets sent/received by various applications and then modify the packets to piggyback its own data. And, mind you , Trojans of these kinds can be quite difficult to remove.

And even if you do manage to get them removed, it's most likely that you have broken up your LSP chain. Now, no matter what you do, you just wont be able to go online. And you cant fix it simply by reinstalling windows. Nope, it is not that easy.

And for end users, this can become quite a headache. Fortunately, there are lots of helpful utilities available that can easily restore the LSP order. However, as a firewall programmer you have to be sure that you properly install the LSP and take proper action to restore the LSP to its original state when user uninstall your program.


Pros:
(a) Common interface for windows 9x and windows NT
(b) Provides access to reassembled TCP stream, so its easy to write filtering programs like spam cleaner etc

Cons:
(a) It can be really painful to install / uninstall
(b) Trojans can easily bypass the protection by installing a Lsp at lower level than firewall's LSP.




(b) TDI Hooking

The TDI layer is just one level below the winsock layer. Unlike winsock, TDI has a very generic interface. It was designed to interact with various protocol service providers like TCP, NetBios on the lower edge and various kernel level TDI clients on the upper edge. To most people , TDI interface seems to be overly complicated. But what most people don't realize is that TDI interface was designed by Microsoft, with a generic interface to support more than one kind of protocol service providers. So, TDI got to handle TCP/IP, NetBios, and some more protocols.

While writing code for TDI service provider one can avoid a of lot problems by concentrating on a particular protocol interface.

Ok, now back to TDI hooking. I think you are aware of TDI monitor by mark / sysinternal . TDI monitor provides an easy to use interface for monitoring TDI activity. Almost all TDI layer firewall employ the technique used by TDI monitor. Unfortunately, the source code for TDI monitor is not freely available. Anyways, i will provide you with some general idea to get you started with your own TDI hook driver.

Most people opt for TDI layer hooking because one can very easily get the name of the process that is trying to access the network. Most personal firewall employ this technique of TDI hooking to allow / deny access to internet based on process's name. By employing simple techniques, we can not only get the name of the process that generated the IRP, but also its full path.

Under windows 9x, TDI layer can be hooked by using the Hook_VxD_service function. Take a look at the tdihook sample provided with the VToolsD library. the example simply hooks the VTDI_GetInterface function , using Hook_VxD_service ,to modify the service table for MSTCP protocol. However, under windows ME, this technique wont work, because Microsoft started using WDM protocol drivers.

This is one of the most frequently asked question in the VxD newsgroups. And here is the solution to the problem :

since WDM drivers are generic PE image files , they cannot directly access the VxD services ( VxD are not PE images , they are LE images :) VxD writers have been using a well known technique to support WDM driver under win9 platform. Most people crated export tables that pointed to VxD services, using the PELDR__AddExportTable function. This allowed driver writers to have a common code base for NT and older win9x platform.

so, everyone i happy, except the firewall developers, since the firewall developed for win9 suddenly stopped working under ME, since microsoft employed the same technique mentioned above. However there is a simple solution to all these problems.

All we have got to do is to hook the PELDR_AddExportTable function. since we have hooked the PELDR_AddExportTable function , we can now modify the export table address for various TDI functions.

Under windows NT , hooking the TDI is very easy. The hooking technique works on all NT platforms ( from NT 4 to XP ). This technique involves creating and attaching a filter device objects over TCP devices ( //Device//UDP , //Device//TCP, //Device//RawIp) . Please note that the raw IP device is used by winsock if raw sockets feature of winsock is used. Very few applications make use of raw sockets, but nevertheless, we have to filter this device too. By attaching a filter driver we can now monitor all IRP.

This technique of attaching a filter driver has got its own share of advantages and disadvantages.

This technique of attaching a filter device on top of an existing device object is well known and is described in detail in various driver programming books. so, you can get started with writing your own filter driver quickly.

However this technique suffers from one drawback. The driver cannot be unloaded unless and until all pending IRP are processed. And if you forcefully unload the driver, please be prepared to face the BSOD :D

since most firewall are not meant to be unloaded dynamically, this shouldn't be much of a problem.

Take a look at the MSDN to determine which functions to hook. Its pretty easy . The only time you may face problem is when de terming how to hook the event handler functions. not all network I/O uses IRP. If I/O must happen in response to some event, such as a datagram arrival, the system invokes an event handler function rather than a dispatch routine.

we intercept and change any request that sets a new event handler for a file object ( requests with minor function code TDI_SET_HANDLER ) Each of these requests contains the location of the event-handling function, the type of event it handles, and a four-byte context value to pass to that function. All the driver must do, then, is allocate a structure to store this information, then modify the request so that instead of containing the location of the real event-handling function and the real four-byte context value, it contains the location of our hook function.


Pros:
(a) One can monitor the name of the process trying to access the network.
(b) One has direct access to TCP stream, so filtering can be done.

Cons:
(a) Don't have access to actual network packets. Cannot filter icmp packets etc...
(b) Cannot protect the TCP stack from external attacks ( eg Dos attacks )




(c) Ndis Hooking

Now lets get down one layer below the transport layer.NDIs was designed by Microsoft and 3com to provide a portable interface for writing network device drivers that will be source compatible with different platforms ( windows , Os/2 etc )

However, as time passed, NDIS was restricted to Microsoft platforms only. It still makes a driver writer's life easy by providing a common ( well..almost :) interface for writing network device drivers.

One can hook various NDIs layer functions to monitor the incoming and outgoing packets. Hooking the NDIs layer function has some distinct advantages. we have direct access to raw network packets. And not only that , we can block these packets before they reach the TCP/IP stack.

And that the reason why most firewall hook the TDI layer as well as the NDIs layer.

NDIs hooking is somewhat complicated process. But just like TDI hooking method , it involves hooking NDIS functions.

Under win9x we can make use of Hook_VxD_service. Under ME , hook the PELDR_AddExportTable function.

However, under windows NT , we will have to employ a different technique. since we don't have the equivalent of Hook_VxD_service under NT, we will have to find a wa to emulate that functionality.

The best way of hooking under NT is by modifying the export table of ndis.sys. For more information on how to modify the export table,click here.



Pros:
(a) Direct access to raw packets
(b) Can block packets before they reach the TCP stack

Cons:
(a) No way to find the name of the process which generated the packet.





(d) Miniport Hooking

welcome to the lowest level of all. You are in the Miniport land ! You guessed it right. we can hook into Miniport functions to monitor the incoming and outgoing packets. well, i haven't written any code like this, but i have seen some weird code that does this. I have seen some really odd miniport hook code from a chinese message forum. However the code actually worked :)

(e) IM Filter ( Intermediate Filters )

This is the legal , and the most preferred way of writing a packet filter. The API is well documented in the MSDN, and it will a waste of time to repeat all the stuff that's already been described well in the MSDN. Please refer to the documents that came with your DDK to get started with writinng an IM packet filter driver. If you are having doubts about the hooking methods of developing a firewall, you can write an IM driver.

--= Application Layer Filtering =--

As i previously mentioned, packet filtering alone cannot protect your network. There's got to be some provision for application layer filtering. The best way to do this is redirecting the packets to another port. This method involves changing the port of a packet ( and if required , destination too ) , recomputing the checksum and then sending the packet to the MSTCP stack.

By employing this technique , we can create transparent proxy, and many application layer proxy. However, for personal firewall, we can filter the TCP stream at the transport layer ( TDI layer ) or by using LSP.

That's it for now. If you have any questions, feel free to email me.

在Jetson orin NX上安装部署Yolov8 1、环境准备与依赖安装2、安装PyTorch和Torchvision:从NVIDIA官方论坛或开发者下载中心获取与你的JetPack版本兼容的PyTorch wheel文件。例如,对于JetPack 5.1.2,可以安装PyTorch v2.1.0 8。:需要编译安装与PyTorch版本匹配的Torchvision。这里自己编译没有成功,下载了一个现成的可以用torchvision-0.16.2+c6f3977-cp38-cp38-linux_aarch64.whl。 阅读详情

相关推荐

开源低场MRI系统构建:从原理到三天实现

磁共振成像(MRI)作为现代医学影像的核心技术,其高场强系统存在成本和技术门槛问题。低场MRI通过开源硬件和模块化设计实现技术民主化,采用永磁体替代超导磁体可大幅降低系统复杂度。本文以H型永磁体设计为例,结合MaRCoS开源控制库和PyPulseq脉冲序列工具,展示了如何快速构建教育级MRI系统。关键技术包括遗传算法优化的匀场方案、CNC加工的梯度线圈,以及基于Red Pitaya的SDR控制架构。这种轻量化方案特别适合医学物理教学和脉冲序列开发验证,为MRI技术在资源有限地区的普及提供了新思路。

weixin_30470643的博客 450

微软技术日报 11-09:.NET 8 与 9 明日同时停止支持,注册表编辑器出了 WinUI 3 版

今天这四条消息的共同点是收口。.NET 8 和 9 的支持期到点,注册表编辑器的新界面只放在仓库里给人看,GitHub 把一类危险触发器按住默认,微软在安全报告里把防线从地址黑名单挪到行为。收口并不等于关门。.NET 10 还在支持期里,被按住的触发器可以用策略按文件放回来,实验室里的样例随时可能变成产品。区别在于这些动作要有人签字,不再是默认开着。如果今天只做一件事,去看一眼构建机上的 .NET 版本。明天之后,8 和 9 的漏洞补丁不会再来了。

海盗Sharp的博客 390

诊断CAPL自动化(5) ——没有CANdela,无法编辑cdd数据库文件,也能轻松完成诊断测试

🍅我们知道cdd数据库文件,是CANoe测试环境的重要组件,它可以让我们更加轻松的完成诊断测试工作;但是创建和编辑cdd文件是需要CANdela 来完成的,一个 liscense 就要将近二十万,成本确实高🍅特别是在处理22/2E/31服务的时候,频繁的增加功能,可能需要频繁的用CANdela 修改CDD,我测试开发过程中,一般很少去修改cdd,有这个时间,纯手撸也开发完了,就一个CANdela,鬼知道此时此刻到了谁手里,我也懒得去找。🍅演示软硬件环境;目录📘前言。

蚂蚁小兵 5756

AI驱动数据处理的安全边界:行业现状、风险权衡与本地化实践路径

本文基于第三方数据,分析AI用于数据处理的安全议题。大模型应用加速普及,但伴随数据出境、影子AI、幻觉与成本失控等风险。行业共识指向“脚本复用”路径:将分析逻辑本地化固化,实现数据可控、结果可复现、成本可降。产品如数以轻舟提供本地处理、多模型接入与一次付费永久使用方案。建议企业从数据落点、可控性、可复现性与合规性四维度评估选型,推动AI在安全边界内释放价值。

数据矿工-数据化运营博客 327

用扩展点为 Fiori Elements 添加自定义动作:从原理到落地的完整实践

本文介绍了如何在基于OData V4的Fiori Elements应用中通过Extension Points添加自定义Action按钮。主要内容包括: 扩展点动作与标准注解动作的区别:扩展点用于非标准前端流程、组合操作等场景,需通过extensionAPI与框架交互。 扩展点动作的插入位置:可放置在List Report表格工具栏、Object Page页眉/页脚/Section工具栏等位置,并说明了相应的manifest.json配置节点。 配置模型与处理函数契约:详细说明了press、visible/e

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 250

数据结构之博弈树搜索(深度优先搜索)

数据结构之博弈树搜索(深度优先搜索)

LucianaiB的博客 1527

微软技术日报 11-08:Foundry 与 Entra 各挂一个 10.0 分漏洞,Foundry 接 fal 五款视频模型

这一周的动作可以分成两类。一类在收。Copilot 从电视上退场,搜索里的 AI 改成可选,云端漏洞只发通知不收补丁。共同点是承认铺得太开,代价比预期高。另一类在放。Foundry 一次摆上五个视频模型,容器版应用网关一个入口挂 64 个 MCP 服务器。共同点是把能力做成可组合的积木,让使用者按需挑。两个方向背后是同一个判断。把能力塞到每一个界面上,短期看覆盖率高,长期要解释为什么删不掉。新的做法是先给一个能关的开关,再谈覆盖。对每天写代码的人来说,今天有两样现成的东西可以试。

海盗Sharp的博客 419

[STC32G144K246入门第一步]点亮LED

STC32G144K246是一款高性能32位8051单片机,集成了丰富外设资源,适用于工业控制和复杂算法处理。该芯片支持双模式内核,内置硬件加速器,提供246KB Flash和144KB SRAM存储空间。文章详细介绍了开发环境搭建步骤、寄存器配置方法,并给出了LED驱动示例代码,通过推挽输出控制P42口实现闪烁效果。虽然开发环境相比ARM存在不足,但通过合理配置仍可满足项目需求。该教程为开发者快速上手STC32G144K246提供了实用参考。

sinat_58149788的博客 800

微软技术周报 11-02~11-09:VS Code 混装 Claude 与 Codex、EF Core 11 静默改行为、.NET 11 倒计时

11 月 6 日,Power Platform 通过消息中心通知管理员,Copilot Studio、Power Automate 和 Power Apps 里所有跑在 Anthropic Claude、xAI Grok 以及旧版 GPT 上的 prompt,12 月 2 日自动迁移到 GPT-6 系列,档位价格不变,模型选择收窄到一条产品线。效果是这样的:让 Claude 评审一个 Copilot chat 写出的方案,或者把同样的任务交给 Codex,两边并排跑在同一个会话里。更要紧的是下周的时间线。

海盗Sharp的博客 988

Whisper 模型在嘈杂环境中的表现:降噪与增强技术

本报告系统分析了OpenAI Whisper模型在嘈杂环境中的表现机制,重点揭示其内在降噪能力的技术边界,并结合语音增强(SE)、时频分析等前沿技术提出优化方案。内容覆盖从基础概念(如噪声类型对ASR的影响)到理论框架(模型架构与数学形式化),再到实际应用(端到端部署策略)的全链路分析,同时通过案例研究与可视化工具(如梅尔频谱对比图)降低复杂概念的认知门槛。核心结论指出:Whisper的多语言预训练虽提升了泛化性,但在低信噪比(SNR<5dB)场景下需结合前端降噪或联合训练技术以突破性能瓶颈。

AI 原生应用开发的博客 489

Windows 11 安装、使用 Git:下载、安装、概念、命令、分支模型

本文详细介绍了在 Windows 11 系统上安装与使用 Git 的完整流程,涵盖从官方或国内镜像下载安装包、关键安装选项配置,到 Git 核心概念(如工作区、暂存区、分支、远程仓库等)的通俗解释。同时梳理了常用命令与五种主流 Git 分支模型(如 Git Flow、GitHub Flow 等),帮助开发者根据项目规模选择合适的工作流,是面向初学者与进阶用户的实用指南。

寒水馨 · 轻量级技术文档 · hanshuixin.org 2394

MAI-Cyber-1 深度解析:微软首个网络安全专用模型

微软没有去做"更大的安全大模型",而是用一颗 137B 总参、仅 5B 激活的稀疏 MoE 专用模型,配上 90/10 的"小模型铺量、大模型兜底"路由,在 CyberGym 基准上拿到 95.95% 的同时把成本砍掉一半——这标志着 AI 安全从"通用模型加提示词"进入了"专用模型加系统工程"的时代。

Simple_Pure的博客 327

YOLOv8【第九章:模型部署篇·第2节】一文搞懂,模型剪枝与压缩技术!

🏆 本文收录于 《YOLOv8实战:从入门到深度优化》 专栏。该专栏系统复现并梳理全网各类 YOLOv8 改进与实战案例(当前已覆盖分类 / 检测 / 分割 / 追踪 / 关键点 / OBB 检测等方向),坚持持续更新 + 深度解析,质量分长期稳定在 97 分以上,可视为当前市面上 覆盖较全、更新较快、实战导向极强 的 YOLO 改进系列内容之一。

**My Coding Family** 1529

微软输入法标点乱跳解决方案

微软拼音输入法常因“中文输入时使用英文标点”开关被意外开启,导致标点自动切换为英文且快捷键失效。本文提供一键批处理脚本,通过修改注册表(HKCU\Software\Microsoft\InputMethod\Settings\CHS)强制锁定中文标点,覆盖多个相关键值,确保设置持久生效。相比手动操作,该方案可抵御更新、同步等导致的配置重置,提升稳定性。执行后需重启输入法或系统以使更改生效,建议提前备份注册表。

谙弆悕博士的技术博客! 370

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

微软2026年11月补丁星期二解析:1094个 CVE、Outlook 零日 CVE-2026-124194 与修复优先级

微软11月补丁星期二修复1094个 CVE,唯一在野利用的 Outlook 零日 CVE-2026-124194 只评为“中等”,修复随 Office 更新下发、不在 Windows 累积更新里。本文整理漏洞分布、严重级漏洞分类处置与三档修复优先级。

SplashtopLoki的博客 217

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

微软 BioEmu2 实测:AI 设计的抗体,能否通过动态模拟提前筛选?

微软 BioEmu2 实测:AI 设计的抗体,能否通过动态模拟提前筛选?**2026 年 10 月 26 日,展示了一个 AI 抗体候选的 10 纳秒传播动画。**但这个案例留下的最大问题,仍是实验室门前那道选择题:一批看起来合理的设计,究竟该把哪几个送去测试?Ford 正在参与 Adaptyv 与 Anthropic 的蛋白设计竞赛,也在开发抗体语言模型。**但他在原文中坦言,生成候选容易,挑出值得测试的候选依然困难。**本文解读他的公开实测,并对照微软文档核查证据边界,未独立运行模型。

weixin_71777199的博客 216

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

【第 008 讲】在终端中运行 Python 程序:交互模式与脚本模式 | 绝对路径与相对路径 | 以模块方式运行 | 常见报错的识别与排查

本文系统讲解在终端中运行 Python 程序的方式:从交互模式与脚本模式讲起,梳理绝对路径与相对路径的运行写法及 cd、dir 等命令的用法;进而讲解以模块方式运行的特点与字节码缓存的产生;最后通过路径、拼写、标点三类典型报错,帮助读者掌握读懂报错、定位并修复错误的排查思路。

大模型全栈工程师 · Thanks_ks 785

企业微信 × AI 对接第六步:模板卡片交互闭环——按钮回调、ResponseCode 状态机、卡片更新(附跑通代码)

AI 生成的审批建议,让主管在卡片上直接点"同意/驳回",比跳系统快一个数量级——这是企业微信模板卡片消息的交互闭环:发送时带 task_id 和按钮 key,用户点击后企微回调 EventKey/TaskId/ResponseCode,你拿 ResponseCode(72 小时有效、只能用一次)调 update_template_card 把卡片原地改成"已处理"。这篇把五种卡片类型、回调字段、更新接口一次讲透,附一个带完整防御(重复核销/超时/未知 key 拒绝)的状态机代码,本地实测跑通四种场景。

weixin_45264536的博客 373

情感交互机器人融资,四川具身科技的「爱湫」登场

当前人形机器人的主流战场是工业、仓储、巡检这些「干活」的场景,而「爱湫」把重心放在了「陪伴」上——通过面部投影和情绪识别,让机器人和人之间多一层情感层面的交互。情感交互机器人的市场,其实一直存在,只是过去被「能干活」的主流叙事盖住了。它主推的产品「爱湫」,是一款主打情感交互的人形机器人,搭载 3D 投影面部技术,情感交互机器人的逻辑,是面向养老陪伴、文旅服务、展厅导览这类「不要求重体力、但要求互动感」的场景。真正的考验不在发布会,而在它能不能在真实的养老和陪伴场景里,被用户用起来、留下来。

jushenAGI的博客 294

微软 365 全球掉线复盘,Purview 数据治理退役,C++ 动态调试转正

把今天这几条放在一起,会看到一个共同的题目,系统的自动判断出错时,人还能不能兜住。故障那条是自动判断误判。健康检查本来的职责是把坏机器摘出去,这次它把还能用的机器也摘了,剩下的机器承接双倍压力,再被摘掉,容量一路缩减。微软的补救方向很说明问题,一边验证一套替代的健康检查方式,一边准备自动检测并重启无响应服务器的机制,等于在原来的判断链路上加第二道保险。脚本那条是校验从宽容变严格。旧文件在宽松的校验下一直能用,规则一收紧,一批历史遗留的编码问题同时浮出水面,而表象是「签名没了」。

海盗Sharp的博客 301

微软技术日报 2026-11-07:Copilot 本机跑 27B 模型、Front Door 默认后量子 TLS、Beta 转 26H2

四条消息挤在同一天,方向各不相同:Foundry Local 把 27B 的编码模型压进了 24GB 显存并接进 GitHub Copilot;Azure Front Door 把入站 TLS 1.3 的混合后量子密钥交换设成了默认;Windows Insider 一次放出五个构建,Beta 通道正式转到 26H2;Power Platform 通知管理员,12 月 2 日提示模型换血,Claude 与 Grok 一起退出。四条放在一起看,有两条在改默认值,两条在改节奏。

海盗Sharp的博客 514

微软Copilot生态深度解析:从办公助手到超级应用的整合趋势与实战技巧

在人工智能技术飞速发展的今天,微软Copilot已成为连接用户与AI生产力的核心桥梁。虽然“copilot-analysis”这一特定仓库可能指向具体的分析脚本或文档,但从更宏观的视角来看,它代表了当前对微软Copilot生态系统的深度探索。Copilot不仅仅是一个聊天机器人,它已经深度嵌入到Excel、Word、GitHub等核心生产力工具中,甚至正在向“超级应用”演进。

wulechun的博客 166

全球化筑基,AI 赋能新体验,openKylin 3.0 SP1 正式发布

本次版本更新以国际化为底座,围绕国际化体验、AI 融合、硬件生态、系统质量四大方向完成全面升级:新增阿拉伯语、朝鲜语、傣语等多语言支持;持续强化重点平台与关键外设适配能力,完善飞腾 D3000M、进迭时空 V100 等平台图形显示、网卡驱动、高性能计算等能力,进一步拓展 openKylin 在多架构、多设备场景下的兼容边界。围绕系统稳定性、硬件兼容性与用户体验持续迭代,累计完成 200 余项缺陷修复与细节优化,覆盖桌面交互、图形显示、设备管理等核心场景,推动系统更加稳定、流畅、易用。

openKylin的博客 200

微软技术日报 2026-11-11:补丁日 1093 个漏洞、Outlook 零日在野、.NET 11 正式发布

把这几条放在一起看,会发现它们指向同一个方向,留给维护的窗口在变短。补丁日一次一千多条、Azure Linux 一次四百多条 CVE 引用、ACL 把代码完整性做成可选审计再加一层默认镜像、.NET 把两个版本的支持期放在同一天结束,做的都是同一件事,把「以后再说」往后压。要做的事不算复杂。把对公网暴露的 Exchange 与 SharePoint 排进本周的窗口,Exchange 那条要预留重启时间;

海盗Sharp的博客 708

微软技术日报 11-10:.NET 11 今晚发布,.NET 8 与 9 同日停更,Copilot 连接器开写入

今天微软技术侧的重心全压在一个日期上。11 月 10 日既是 .NET Conf 2026 开幕、.NET 11 正式发布的日子,也是 .NET 8 与 .NET 9 终止支持的日子。同一个日期上,一条线开始,两条线结束。除了这条主线,还有三件事在这一两天落地。微软安全博客公布了一轮用智能体扫 Rust 标准库的研究,Copilot 连接器的写入能力转为正式可用,Windows 11 的统一应用更新页又在预览版里冒了头。

海盗Sharp的博客 935

循环嵌套(多层 for 循环)

表:order(订单表,order_id, user_id)、user(用户表,user_id, user_name)✅ 优化:先查所有订单,拿到所有 user_id 批量 in 查询,内存 join。✅ 优化:先把优惠券转 HashMap,单层循环查找(hash 查找 O (1))SQL 只有 2 次,O (1) 数据库查询,内存遍历 O (n)。需求:查询所有订单列表,同时带出每个订单对应的用户名称。需求:订单列表、优惠券列表,把订单匹配对应的优惠券名称。复杂度:O (M+N),非常快。

weixin_43732943的博客 215
上一篇: SoftICE技巧九则
下一篇: compile collected debuggers
iiprogram
博客等级 码龄25年 1068粉丝 1515原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值