Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/816370/?format=api
{ "id": 816370, "url": "http://patchwork.ozlabs.org/api/patches/816370/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20170920165409.11456-3-phil@nwl.cc/", "project": { "id": 26, "url": "http://patchwork.ozlabs.org/api/projects/26/?format=api", "name": "Netfilter Development", "link_name": "netfilter-devel", "list_id": "netfilter-devel.vger.kernel.org", "list_email": "netfilter-devel@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170920165409.11456-3-phil@nwl.cc>", "list_archive_url": null, "date": "2017-09-20T16:54:09", "name": "[iptables,2/2] utils: Add a man page for nfnl_osf", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "7ca9cddcb1aff35bc8252c4fd951d57a02928896", "submitter": { "id": 4285, "url": "http://patchwork.ozlabs.org/api/people/4285/?format=api", "name": "Phil Sutter", "email": "phil@nwl.cc" }, "delegate": { "id": 6139, "url": "http://patchwork.ozlabs.org/api/users/6139/?format=api", "username": "pablo", "first_name": "Pablo", "last_name": "Neira", "email": "pablo@netfilter.org" }, "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20170920165409.11456-3-phil@nwl.cc/mbox/", "series": [ { "id": 4178, "url": "http://patchwork.ozlabs.org/api/series/4178/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=4178", "date": "2017-09-20T16:54:07", "name": "Document nfnl_osf utility", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4178/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/816370/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/816370/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netfilter-devel-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netfilter-devel-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xy5SS0qKvz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 02:54:32 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751436AbdITQyb (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 20 Sep 2017 12:54:31 -0400", "from orbyte.nwl.cc ([151.80.46.58]:41440 \"EHLO orbyte.nwl.cc\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1750973AbdITQyb (ORCPT <rfc822; netfilter-devel@vger.kernel.org>);\n\tWed, 20 Sep 2017 12:54:31 -0400", "from localhost ([::1]:35982 helo=xsao)\n\tby orbyte.nwl.cc with esmtp (Exim 4.89)\n\t(envelope-from <phil@nwl.cc>)\n\tid 1duiGc-0005qX-5u; Wed, 20 Sep 2017 18:54:30 +0200" ], "From": "Phil Sutter <phil@nwl.cc>", "To": "Pablo Neira Ayuso <pablo@netfilter.org>", "Cc": "netfilter-devel@vger.kernel.org", "Subject": "[iptables PATCH 2/2] utils: Add a man page for nfnl_osf", "Date": "Wed, 20 Sep 2017 18:54:09 +0200", "Message-Id": "<20170920165409.11456-3-phil@nwl.cc>", "X-Mailer": "git-send-email 2.13.1", "In-Reply-To": "<20170920165409.11456-1-phil@nwl.cc>", "References": "<20170920165409.11456-1-phil@nwl.cc>", "Sender": "netfilter-devel-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netfilter-devel.vger.kernel.org>", "X-Mailing-List": "netfilter-devel@vger.kernel.org" }, "content": "Signed-off-by: Phil Sutter <phil@nwl.cc>\n---\n configure.ac | 3 ++-\n utils/.gitignore | 1 +\n utils/Makefile.am | 4 ++++\n utils/nfnl_osf.8.in | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++\n 4 files changed, 74 insertions(+), 1 deletion(-)\n create mode 100644 utils/nfnl_osf.8.in", "diff": "diff --git a/configure.ac b/configure.ac\nindex 221812a8f3f1f..9ca74743108ee 100644\n--- a/configure.ac\n+++ b/configure.ac\n@@ -248,7 +248,8 @@ AC_CONFIG_FILES([Makefile extensions/GNUmakefile include/Makefile\n \tlibiptc/Makefile libiptc/libiptc.pc\n \tlibiptc/libip4tc.pc libiptc/libip6tc.pc\n \tlibxtables/Makefile utils/Makefile\n-\tinclude/xtables-version.h include/iptables/internal.h])\n+\tinclude/xtables-version.h include/iptables/internal.h\n+\tutils/nfnl_osf.8])\n AC_OUTPUT\n \n \ndiff --git a/utils/.gitignore b/utils/.gitignore\nindex 216d1e4a621ed..7c6afbf4e6a52 100644\n--- a/utils/.gitignore\n+++ b/utils/.gitignore\n@@ -1,2 +1,3 @@\n /nfnl_osf\n+/nfnl_osf.8\n /nfbpf_compile\ndiff --git a/utils/Makefile.am b/utils/Makefile.am\nindex c4192a9e73688..80029e303ff3b 100644\n--- a/utils/Makefile.am\n+++ b/utils/Makefile.am\n@@ -6,8 +6,10 @@ AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include \\\n \n sbin_PROGRAMS =\n pkgdata_DATA =\n+man_MANS =\n \n if HAVE_LIBNFNETLINK\n+man_MANS += nfnl_osf.8\n sbin_PROGRAMS += nfnl_osf\n pkgdata_DATA += pf.os\n \n@@ -23,3 +25,5 @@ if ENABLE_SYNCONF\n sbin_PROGRAMS += nfsynproxy\n nfsynproxy_LDADD = -lpcap\n endif\n+\n+CLEANFILES = nfnl_osf.8\ndiff --git a/utils/nfnl_osf.8.in b/utils/nfnl_osf.8.in\nnew file mode 100644\nindex 0000000000000..dfff608928032\n--- /dev/null\n+++ b/utils/nfnl_osf.8.in\n@@ -0,0 +1,67 @@\n+.TH NFNL_OSF 8 \"\" \"@PACKAGE_STRING@\" \"@PACKAGE_STRING@\"\n+\n+.SH NAME\n+nfnl_osf \\- OS fingerprint loader utility\n+.SH SYNOPSIS\n+\n+.ad l\n+.in +8\n+.ti -8\n+.B nfnl_osf\n+.BI -f \" fingerprints\"\n+[\n+.B -d\n+]\n+\n+.SH DESCRIPTION\n+The\n+.B nfnl_osf\n+utility allows to load a set of operating system signatures into the kernel for\n+later matching against using iptables'\n+.B osf\n+match.\n+\n+.SH OPTIONS\n+\n+.TP\n+.BI -f \" fingerprints\"\n+Read signatures from file\n+.IR fingerprints .\n+\n+.TP\n+.B -d\n+Instead of adding the signatures from\n+.I fingerprints\n+into the kernel, remove them.\n+\n+.SH EXIT STATUS\n+Exit status is 0 if command succeeded, otherwise a negative return code\n+indicates the type of error which happened:\n+\n+.TP\n+.B -1\n+Illegal arguments passed, fingerprints file not readable or failure in netlink\n+communication.\n+\n+.TP\n+.B -ENOENT\n+Fingerprints file not specified.\n+\n+.TP\n+.B -EINVAL\n+Netlink handle initialization failed or fingerprints file format invalid.\n+\n+.SH FILES\n+\n+An up to date set of operating system signatures can be downloaded from\n+http://www.openbsd.org/cgi-bin/cvsweb/src/etc/pf.os .\n+\n+.SH SEE ALSO\n+\n+The description of\n+.B osf\n+match in \n+.BR iptables-extensions (8)\n+contains further information about the topic as well as example\n+.B nfnl_osf\n+invocations.\n", "prefixes": [ "iptables", "2/2" ] }