docs/system/iptables: add iptables man page#3533
Closed
Zepp-Hanzj wants to merge 2 commits into
Closed
Conversation
Introduce a new CONFIG_UORB_FORMAT Kconfig option to control whether uORB format strings are compiled in. UORB_LISTENER, UORB_GENERATOR, and DEBUG_UORB all select UORB_FORMAT automatically, so format strings are included when any of these features are enabled. This replaces the previous approach of guarding format strings with CONFIG_DEBUG_UORB, which prevented uorb_listener from displaying sensor data when debug output was disabled. Signed-off-by: hanzj <hanzjian@zepp.com>
Add comprehensive documentation for the iptables command including: - Name, synopsis, and description - Targets (ACCEPT, DROP, RETURN) - Tables (filter) - Commands (-A, -D, -I, -L, -F, -P) - Options (-t, -p, -s, -d, -j, -i, -o, --sport, --dport, --icmp-type) - Practical examples - Configuration requirements The documentation is based on the actual implementation in apps/system/iptables/iptables.c and iptables_utils.c. Signed-off-by: hanzhijian <hanzhijian@zepp.com>
acassis
approved these changes
Jun 9, 2026
| @@ -0,0 +1,242 @@ | |||
| ============== | |||
Contributor
There was a problem hiding this comment.
why not move to nuttx/Documentation?
linguini1
requested changes
Jun 9, 2026
linguini1
left a comment
Contributor
There was a problem hiding this comment.
Please contribute this to the Documentation/ dir in the nuttx repo. Also, this PR includes unrelated commits.
cederom
requested changes
Jun 9, 2026
cederom
left a comment
Contributor
There was a problem hiding this comment.
Thank you @Zepp-Hanzj :-)
- as in #3534.. we do not document this way, please update our main documentation at nuttx/Documentation as @xiaoxiang781216 noted :-)
- PR should only contain related changes, when providing documentation do not touch any other areas (i.e. uorb defines) as @linguini1 noted :-)
There are two possible locations for the iptables as with ip6tables:
- https://nuttx.apache.org/docs/latest/applications/netutils/index.html
1.1. https://nuttx.apache.org/docs/latest/applications/netutils/ip6tables/index.html <- this one needs to be created with the content you provided here.
1.2. https://nuttx.apache.org/docs/latest/applications/netutils/iptables/index.html <- this one needs an update too if you have a moment please. - https://nuttx.apache.org/docs/latest/components/net/ipfilter.html <- there is a mention of iptables here but you can reference description to the applications/netutils location when ready.
Contributor
Author
|
Moved to apache/nuttx#19073 (Documentation/applications/system/iptables). Closing this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add comprehensive documentation for the iptables command.
Changes
system/iptables/iptables_doc.rstwith complete man pageDocumentation Structure
Testing
iptables.candiptables_utils.ciptables_showusage()Impact
Related
Signed-off-by: hanzhijian hanzhijian@zepp.com