> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/openbsd/networking-and-daemons.md).

# 第四部分 网络与守护进程

第四部分介绍网络配置，以及提供核心网络服务的守护进程的管理。内容涵盖防火墙、串口通信和服务分类。

本部分包含：

* [PF](/openbsd/networking-and-daemons/pf.md) OpenBSD 包过滤器的概览，及其在流量过滤、NAT、重定向和日志记录方面的作用。详细章节组织在 PF 部分之内。
* [串口通信](/openbsd/networking-and-daemons/serial.md) 串口、终端及相关工具的配置与使用。
* [服务](/openbsd/networking-and-daemons/services.md) 所有服务类别及其各自守护进程指南的索引。

服务类别：

* [数据库](/openbsd/networking-and-daemons/services/database-services.md) 数据库服务器的配置与管理。
* [目录](/openbsd/networking-and-daemons/services/directory-services.md) 目录与认证服务。
* [文件](/openbsd/networking-and-daemons/services/file-services.md) 网络文件服务与共享协议。
* [文件同步](/openbsd/networking-and-daemons/services/sync-services.md) 同步与镜像工具。
* [FTP 服务](/openbsd/networking-and-daemons/services/ftp-services.md) FTP 守护进程及用于文件传输与分发的相关功能。
* [日志](/openbsd/networking-and-daemons/services/logging-services.md) 使用本地设施与远程转发的系统日志。
* [邮件](/openbsd/networking-and-daemons/services/mail-services.md) 邮件传输、投递与过滤。
* [消息](/openbsd/networking-and-daemons/services/messaging-services.md) 消息代理与跨服务通信。
* [监控](/openbsd/networking-and-daemons/services/monitoring-services.md) 主机与服务监控及指标采集。
* [名称](/openbsd/networking-and-daemons/services/name-services.md) 权威与递归 DNS 服务。
* [网络服务](/openbsd/networking-and-daemons/services/networking-services.md) DHCP、路由通告和 SLAAC 的辅助守护进程。
* [远程访问](/openbsd/networking-and-daemons/services/remote-access-services.md) 安全的远程管理。
* [时间](/openbsd/networking-and-daemons/services/time-services.md) 网络时间同步与时钟校准。
* [Web](/openbsd/networking-and-daemons/services/web-services.md) HTTP 服务器、TLS 终止与反向代理。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://book.bsdcn.org/openbsd/networking-and-daemons.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
