mirror of
https://github.com/adulau/dotfiles.git
synced 2024-12-22 08:46:01 +00:00
parent
1b8e933437
commit
0131b0ff76
2 changed files with 0 additions and 763 deletions
|
@ -1,362 +0,0 @@
|
|||
|
||||
|
||||
|
||||
Internet Engineering Task Force A.D. Dulaunoy
|
||||
Internet-Draft CIRCL
|
||||
Intended status: Informational L.A. Kaplan
|
||||
Expires: April 13, 2012 CERT.at
|
||||
October 2011
|
||||
|
||||
Passive DNS - qos
|
||||
draft-ietf-xml2rfc-template-05
|
||||
|
||||
Abstract
|
||||
|
||||
This document describes the output format used between Passive DNS
|
||||
query interface. The output format description includes also a
|
||||
common meaning per Passive DNS system.
|
||||
|
||||
Status of this Memo
|
||||
|
||||
This Internet-Draft will expire on April 13, 2012.
|
||||
|
||||
Copyright Notice
|
||||
|
||||
Copyright (c) 2011 IETF Trust and the persons identified as the
|
||||
document authors. All rights reserved.
|
||||
|
||||
This document is subject to BCP 78 and the IETF Trust's Legal
|
||||
Provisions Relating to IETF Documents (http://trustee.ietf.org/
|
||||
license-info) in effect on the date of publication of this document.
|
||||
Please review these documents carefully, as they describe your rights
|
||||
and restrictions with respect to this document. Code Components
|
||||
extracted from this document must include Simplified BSD License text
|
||||
as described in Section 4.e of the Trust Legal Provisions and are
|
||||
provided without warranty as described in the Simplified BSD License.
|
||||
|
||||
Table of Contents
|
||||
|
||||
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2
|
||||
1.1. Requirements Language . . . . . . . . . . . . . . . . . . 2
|
||||
2. Simple List . . . . . . . . . . . . . . . . . . . . . . . . . 2
|
||||
3. Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
|
||||
4. Subsections and Tables . . . . . . . . . . . . . . . . . . . . 2
|
||||
4.1. A Subsection . . . . . . . . . . . . . . . . . . . . . . . 2
|
||||
4.2. Tables . . . . . . . . . . . . . . . . . . . . . . . . . . 2
|
||||
5. More about Lists . . . . . . . . . . . . . . . . . . . . . . . 3
|
||||
5.1. Numbering Lists across Lists and Sections . . . . . . . . 3
|
||||
5.2. Where the List Numbering Continues . . . . . . . . . . . . 4
|
||||
6. Example of Code or MIB Module To Be Extracted . . . . . . . . 4
|
||||
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 5
|
||||
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5
|
||||
9. Security Considerations . . . . . . . . . . . . . . . . . . . 5
|
||||
10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 5
|
||||
10.1. Normative References . . . . . . . . . . . . . . . . . . 5
|
||||
10.2. Informative References . . . . . . . . . . . . . . . . . 5
|
||||
|
||||
Dulaunoy & Kaplan info [Page 1]
|
||||
|
||||
Internet-Draft Abbreviated Title October 2011
|
||||
|
||||
Appendix A. Additional Stuff . . . . . . . . . . . . . . . . . . . 6
|
||||
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 6
|
||||
|
||||
1. Introduction
|
||||
|
||||
Passive DNS is a technique described by Florian Weimer in 2005 in
|
||||
Passive DNS replication, F Weimer - 17th Annual FIRST Conference on
|
||||
Computer Security.
|
||||
|
||||
1.1. Requirements Language
|
||||
|
||||
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
|
||||
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
|
||||
document are to be interpreted as described in RFC 2119 [RFC2119].
|
||||
|
||||
2. Simple List
|
||||
|
||||
List styles: 'empty', 'symbols', 'letters', 'numbers', 'hanging',
|
||||
'format'.
|
||||
|
||||
o First bullet
|
||||
|
||||
o Second bullet
|
||||
|
||||
You can write text here as well.
|
||||
|
||||
3. Figures
|
||||
|
||||
Figures should not exceed 69 characters wide to allow for the indent
|
||||
of sections.
|
||||
|
||||
Preamble text - can be omitted or empty.
|
||||
|
||||
+-----------------------+
|
||||
| Use XML, be Happy :-) |
|
||||
|_______________________|
|
||||
|
||||
Cross-references allowed in pre- and postamble. [min_ref].
|
||||
|
||||
The CDATA means you don't need to escape meta-characters (especially
|
||||
< (<) and & (&)) but is not essential. Figures may also have
|
||||
a title attribute but it won't be displayed unless there is also an
|
||||
anchor. White space, both horizontal and vertical, is significant in
|
||||
figures even if you don't use CDATA.
|
||||
|
||||
4. Subsections and Tables
|
||||
|
||||
4.1. A Subsection
|
||||
|
||||
By default 3 levels of nesting show in table of contents but that can
|
||||
be adjusted with the value of the "tocdepth" processing instruction.
|
||||
|
||||
4.2. Tables
|
||||
|
||||
.. are very similar to figures:
|
||||
|
||||
|
||||
Dulaunoy & Kaplan info [Page 2]
|
||||
|
||||
Internet-Draft Abbreviated Title October 2011
|
||||
|
||||
|
||||
Tables use ttcol to define column headers and widths. Every cell
|
||||
then has a "c" element for its content.
|
||||
|
||||
+----------+----------+
|
||||
| ttcol #1 | ttcol #2 |
|
||||
+----------+----------+
|
||||
| c #1 | c #2 |
|
||||
| c #3 | c #4 |
|
||||
| c #5 | c #6 |
|
||||
+----------+----------+
|
||||
|
||||
which is a very simple example.
|
||||
|
||||
5. More about Lists
|
||||
|
||||
Lists with 'hanging labels': the list item is indented the amount of
|
||||
the hangIndent:
|
||||
|
||||
short With a label shorter than the hangIndent.
|
||||
|
||||
fantastically long label With a label longer than the hangIndent.
|
||||
|
||||
vspace_trick
|
||||
Forces the new item to start on a new line.
|
||||
|
||||
Simulating more than one paragraph in a list item using <vspace>:
|
||||
|
||||
a. First, a short item.
|
||||
|
||||
b. Second, a longer list item.
|
||||
|
||||
And something that looks like a separate pararaph..
|
||||
|
||||
Simple indented paragraph using the "empty" style:
|
||||
|
||||
The quick, brown fox jumped over the lazy dog and lived to fool
|
||||
many another hunter in the great wood in the west.
|
||||
|
||||
5.1. Numbering Lists across Lists and Sections
|
||||
|
||||
Numbering items continuously although they are in separate <list>
|
||||
elements, maybe in separate sections using the "format" style and a
|
||||
"counter" variable.
|
||||
|
||||
First list:
|
||||
|
||||
R11 #1
|
||||
|
||||
R12 #2
|
||||
|
||||
R13 #3
|
||||
|
||||
Specify the indent explicitly so that all the items line up nicely.
|
||||
|
||||
Second list:
|
||||
|
||||
Dulaunoy & Kaplan info [Page 3]
|
||||
|
||||
Internet-Draft Abbreviated Title October 2011
|
||||
|
||||
|
||||
R14 #4
|
||||
|
||||
R15 #5
|
||||
|
||||
R16 #6
|
||||
|
||||
5.2. Where the List Numbering Continues
|
||||
|
||||
List continues here.
|
||||
|
||||
Third list:
|
||||
|
||||
R17 #7
|
||||
|
||||
R18 #8
|
||||
|
||||
R19 #9
|
||||
|
||||
R20 #10
|
||||
|
||||
The end of the list.
|
||||
|
||||
6. Example of Code or MIB Module To Be Extracted
|
||||
|
||||
The <artwork> element has a number of extra attributes that can be
|
||||
used to substitute a more aesthetically pleasing rendition into HTML
|
||||
output while continuing to use the ASCII art version in the text and
|
||||
nroff outputs (see the xml2rfc README for details). It also has a
|
||||
"type" attribute. This is currently ignored except in the case
|
||||
'type="abnf"'. In this case the "artwork" is expected to contain a
|
||||
piece of valid Augmented Backus-Naur Format (ABNF) grammar. This
|
||||
will be syntax checked by xml2rfc and any errors will cause a fatal
|
||||
error if the "strict" processing instruction is set to "yes". The
|
||||
ABNF will also be colorized in HTML output to highlight the syntactic
|
||||
components. Checking of additional "types" may be provided in future
|
||||
versions of xml2rfc.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Dulaunoy & Kaplan info [Page 4]
|
||||
|
||||
Internet-Draft Abbreviated Title October 2011
|
||||
|
||||
|
||||
|
||||
/**** an example C program */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
|
||||
printf("program arguments are:\n");
|
||||
for (i = 0; i < argc; i++) {
|
||||
printf("%d: \"%s\"\n", i, argv[i]);
|
||||
}
|
||||
|
||||
exit(0);
|
||||
} /* main */
|
||||
|
||||
/* end of file */
|
||||
|
||||
|
||||
7. Acknowledgements
|
||||
|
||||
This template was derived from an initial version written by Pekka
|
||||
Savola and contributed by him to the xml2rfc project.
|
||||
|
||||
This document is part of a plan to make xml2rfc indispensable
|
||||
[DOMINATION].
|
||||
|
||||
8. IANA Considerations
|
||||
|
||||
This memo includes no request to IANA.
|
||||
|
||||
All drafts are required to have an IANA considerations section (see
|
||||
the update of RFC 2434 [I-D.narten-iana-considerations-rfc2434bis]
|
||||
for a guide). If the draft does not require IANA to do anything, the
|
||||
section contains an explicit statement that this is the case (as
|
||||
above). If there are no requirements for IANA, the section will be
|
||||
removed during conversion into an RFC by the RFC Editor.
|
||||
|
||||
9. Security Considerations
|
||||
|
||||
All drafts are required to have a security considerations section.
|
||||
See RFC 3552 [RFC3552] for a guide.
|
||||
|
||||
10. References
|
||||
|
||||
10.1. Normative References
|
||||
|
||||
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
|
||||
Requirement Levels", BCP 14, RFC 2119, March 1997.
|
||||
|
||||
[min_ref] authSurName, authInitials, "Minimal Reference", 2006.
|
||||
|
||||
10.2. Informative References
|
||||
|
||||
Dulaunoy & Kaplan info [Page 5]
|
||||
|
||||
Internet-Draft Abbreviated Title October 2011
|
||||
|
||||
|
||||
[DOMINATION]
|
||||
Mad Dominators, Inc., "Ultimate Plan for Taking Over the
|
||||
World", 1984, <http://www.example.com/dominator.html>.
|
||||
|
||||
[I-D.narten-iana-considerations-rfc2434bis]
|
||||
Narten, T and H Alvestrand, "Guidelines for Writing an
|
||||
IANA Considerations Section in RFCs", Internet-Draft
|
||||
draft-narten-iana-considerations-rfc2434bis-09, March
|
||||
2008.
|
||||
|
||||
[RFC2629] Rose, M.T., "Writing I-Ds and RFCs using XML", RFC 2629,
|
||||
June 1999.
|
||||
|
||||
[RFC3552] Rescorla, E. and B. Korver, "Guidelines for Writing RFC
|
||||
Text on Security Considerations", BCP 72, RFC 3552, July
|
||||
2003.
|
||||
|
||||
Appendix A. Additional Stuff
|
||||
|
||||
This becomes an Appendix.
|
||||
|
||||
Authors' Addresses
|
||||
|
||||
Alexandre Dulaunoy
|
||||
CIRCL
|
||||
6, rue de l'Etang
|
||||
Contern, L-5326
|
||||
LU
|
||||
|
||||
Phone: (+352) 247 88444
|
||||
Email: alexandre.dulaunoy@circl.lu
|
||||
URI: http://www.circl.lu/
|
||||
|
||||
|
||||
Leon Aaron Kaplan
|
||||
CERT.at
|
||||
Karlsplatz 1/2/9
|
||||
Wien, A-1010
|
||||
AT
|
||||
|
||||
Phone: +43 1 5056416 78
|
||||
Email: kaplan@cert.at
|
||||
URI: http://www.cert.at/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Dulaunoy & Kaplan info [Page 6]
|
|
@ -1,401 +0,0 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<!-- This template is for creating an Internet Draft using xml2rfc,
|
||||
which is available here: http://xml.resource.org. -->
|
||||
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
|
||||
<!-- One method to get references from the online citation libraries.
|
||||
There has to be one entity for each item to be referenced.
|
||||
An alternate method (rfc include) is described in the references. -->
|
||||
|
||||
<!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
|
||||
<!ENTITY RFC2629 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2629.xml">
|
||||
<!ENTITY RFC3552 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3552.xml">
|
||||
<!ENTITY I-D.narten-iana-considerations-rfc2434bis SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.narten-iana-considerations-rfc2434bis.xml">
|
||||
]>
|
||||
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
|
||||
<!-- used by XSLT processors -->
|
||||
<!-- For a complete list and description of processing instructions (PIs),
|
||||
please see http://xml.resource.org/authoring/README.html. -->
|
||||
<!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use.
|
||||
(Here they are set differently than their defaults in xml2rfc v1.32) -->
|
||||
<?rfc strict="yes" ?>
|
||||
<!-- give errors regarding ID-nits and DTD validation -->
|
||||
<!-- control the table of contents (ToC) -->
|
||||
<?rfc toc="yes"?>
|
||||
<!-- generate a ToC -->
|
||||
<?rfc tocdepth="4"?>
|
||||
<!-- the number of levels of subsections in ToC. default: 3 -->
|
||||
<!-- control references -->
|
||||
<?rfc symrefs="yes"?>
|
||||
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
|
||||
<?rfc sortrefs="yes" ?>
|
||||
<!-- sort the reference entries alphabetically -->
|
||||
<!-- control vertical white space
|
||||
(using these PIs as follows is recommended by the RFC Editor) -->
|
||||
<?rfc compact="yes" ?>
|
||||
<!-- do not start each main section on a new page -->
|
||||
<?rfc subcompact="no" ?>
|
||||
<!-- keep one blank line between list items -->
|
||||
<!-- end of list of popular I-D processing instructions -->
|
||||
<rfc category="info" docName="draft-ietf-xml2rfc-template-05" ipr="full3978">
|
||||
<!-- category values: std, bcp, info, exp, and historic
|
||||
ipr values: full3667, noModification3667, noDerivatives3667
|
||||
you can add the attributes updates="NNNN" and obsoletes="NNNN"
|
||||
they will automatically be output with "(if approved)" -->
|
||||
|
||||
<!-- ***** FRONT MATTER ***** -->
|
||||
|
||||
<front>
|
||||
<title abbrev="Abbreviated Title">Passive DNS - qos</title>
|
||||
<author fullname="Alexandre Dulaunoy" initials="A.D."
|
||||
surname="Dulaunoy">
|
||||
<organization>CIRCL</organization>
|
||||
<address>
|
||||
<postal>
|
||||
<street>6, rue de l'Etang</street>
|
||||
<city>Contern</city>
|
||||
<region></region>
|
||||
<code>L-5326</code>
|
||||
<country>LU</country>
|
||||
</postal>
|
||||
<phone>(+352) 247 88444</phone>
|
||||
<email>alexandre.dulaunoy@circl.lu</email>
|
||||
<uri>http://www.circl.lu/</uri>
|
||||
<!-- uri and facsimile elements may also be added -->
|
||||
</address>
|
||||
</author>
|
||||
|
||||
|
||||
<author fullname="Leon Aaron Kaplan" initials="L.A."
|
||||
surname="Kaplan">
|
||||
<organization>CERT.at</organization>
|
||||
<address>
|
||||
<postal>
|
||||
<street>Karlsplatz 1/2/9</street>
|
||||
<city>Wien</city>
|
||||
<region></region>
|
||||
<code>A-1010</code>
|
||||
<country>AT</country>
|
||||
</postal>
|
||||
<phone>+43 1 5056416 78</phone>
|
||||
<email>kaplan@cert.at</email>
|
||||
<uri>http://www.cert.at/</uri>
|
||||
</address>
|
||||
</author>
|
||||
<date month="October" year="2011" />
|
||||
|
||||
<area>General</area>
|
||||
|
||||
<workgroup>Internet Engineering Task Force</workgroup>
|
||||
|
||||
<keyword>template</keyword>
|
||||
|
||||
|
||||
<abstract>
|
||||
<t>This document describes the output format used between Passive DNS query interface. The output format description includes also a common meaning per Passive DNS system.</t>
|
||||
</abstract>
|
||||
</front>
|
||||
|
||||
<middle>
|
||||
<section title="Introduction">
|
||||
<t>Passive DNS is a technique described by Florian Weimer in 2005 in Passive DNS replication, F Weimer - 17th Annual FIRST Conference on Computer Security. </t>
|
||||
|
||||
<section title="Requirements Language">
|
||||
<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
|
||||
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
|
||||
document are to be interpreted as described in <xref
|
||||
target="RFC2119">RFC 2119</xref>.</t>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section anchor="simple_list" title="Simple List">
|
||||
<t>List styles: 'empty', 'symbols', 'letters', 'numbers', 'hanging',
|
||||
'format'.</t>
|
||||
|
||||
<t><list style="symbols">
|
||||
<t>First bullet</t>
|
||||
|
||||
<t>Second bullet</t>
|
||||
</list> You can write text here as well.</t>
|
||||
</section>
|
||||
|
||||
<section title="Figures">
|
||||
<t>Figures should not exceed 69 characters wide to allow for the indent
|
||||
of sections.</t>
|
||||
|
||||
<figure align="center" anchor="xml_happy">
|
||||
<preamble>Preamble text - can be omitted or empty.</preamble>
|
||||
|
||||
<artwork align="left"><![CDATA[
|
||||
+-----------------------+
|
||||
| Use XML, be Happy :-) |
|
||||
|_______________________|
|
||||
]]></artwork>
|
||||
|
||||
<postamble>Cross-references allowed in pre- and postamble. <xref
|
||||
target="min_ref" />.</postamble>
|
||||
</figure>
|
||||
|
||||
<t>The CDATA means you don't need to escape meta-characters (especially
|
||||
< (&lt;) and & (&amp;)) but is not essential.
|
||||
Figures may also have a title attribute but it won't be displayed unless
|
||||
there is also an anchor. White space, both horizontal and vertical, is
|
||||
significant in figures even if you don't use CDATA.</t>
|
||||
</section>
|
||||
|
||||
<!-- This PI places the pagebreak correctly (before the section title) in the text output. -->
|
||||
|
||||
<?rfc needLines="8" ?>
|
||||
|
||||
<section title="Subsections and Tables">
|
||||
<section title="A Subsection">
|
||||
<t>By default 3 levels of nesting show in table of contents but that
|
||||
can be adjusted with the value of the "tocdepth" processing
|
||||
instruction.</t>
|
||||
</section>
|
||||
|
||||
<section title="Tables">
|
||||
<t>.. are very similar to figures:</t>
|
||||
|
||||
<texttable anchor="table_example" title="A Very Simple Table">
|
||||
<preamble>Tables use ttcol to define column headers and widths.
|
||||
Every cell then has a "c" element for its content.</preamble>
|
||||
|
||||
<ttcol align="center">ttcol #1</ttcol>
|
||||
|
||||
<ttcol align="center">ttcol #2</ttcol>
|
||||
|
||||
<c>c #1</c>
|
||||
|
||||
<c>c #2</c>
|
||||
|
||||
<c>c #3</c>
|
||||
|
||||
<c>c #4</c>
|
||||
|
||||
<c>c #5</c>
|
||||
|
||||
<c>c #6</c>
|
||||
|
||||
<postamble>which is a very simple example.</postamble>
|
||||
</texttable>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section anchor="nested_lists" title="More about Lists">
|
||||
<t>Lists with 'hanging labels': the list item is indented the amount of
|
||||
the hangIndent: <list hangIndent="8" style="hanging">
|
||||
<t hangText="short">With a label shorter than the hangIndent.</t>
|
||||
|
||||
<t hangText="fantastically long label">With a label longer than the
|
||||
hangIndent.</t>
|
||||
|
||||
<t hangText="vspace_trick"><vspace blankLines="0" />Forces the new
|
||||
item to start on a new line.</t>
|
||||
</list></t>
|
||||
|
||||
<!-- It would be nice to see the next piece (12 lines) all on one page. -->
|
||||
|
||||
<?rfc needLines="12" ?>
|
||||
|
||||
<t>Simulating more than one paragraph in a list item using
|
||||
<vspace>: <list style="letters">
|
||||
<t>First, a short item.</t>
|
||||
|
||||
<t>Second, a longer list item.<vspace blankLines="1" /> And
|
||||
something that looks like a separate pararaph..</t>
|
||||
</list></t>
|
||||
|
||||
<t>Simple indented paragraph using the "empty" style: <list
|
||||
hangIndent="10" style="empty">
|
||||
<t>The quick, brown fox jumped over the lazy dog and lived to fool
|
||||
many another hunter in the great wood in the west.</t>
|
||||
</list></t>
|
||||
|
||||
<section title="Numbering Lists across Lists and Sections">
|
||||
<t>Numbering items continuously although they are in separate
|
||||
<list> elements, maybe in separate sections using the "format"
|
||||
style and a "counter" variable.</t>
|
||||
|
||||
<t>First list: <list counter="reqs" hangIndent="4" style="format R%d">
|
||||
<t>#1</t>
|
||||
|
||||
<t>#2</t>
|
||||
|
||||
<t>#3</t>
|
||||
</list> Specify the indent explicitly so that all the items line up
|
||||
nicely.</t>
|
||||
|
||||
<t>Second list: <list counter="reqs" hangIndent="4" style="format R%d">
|
||||
<t>#4</t>
|
||||
|
||||
<t>#5</t>
|
||||
|
||||
<t>#6</t>
|
||||
</list></t>
|
||||
</section>
|
||||
|
||||
<section title="Where the List Numbering Continues">
|
||||
<t>List continues here.</t>
|
||||
|
||||
<t>Third list: <list counter="reqs" hangIndent="4" style="format R%d">
|
||||
<t>#7</t>
|
||||
|
||||
<t>#8</t>
|
||||
|
||||
<t>#9</t>
|
||||
|
||||
<t>#10</t>
|
||||
</list> The end of the list.</t>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section anchor="codeExample"
|
||||
title="Example of Code or MIB Module To Be Extracted">
|
||||
<figure>
|
||||
<preamble>The <artwork> element has a number of extra attributes
|
||||
that can be used to substitute a more aesthetically pleasing rendition
|
||||
into HTML output while continuing to use the ASCII art version in the
|
||||
text and nroff outputs (see the xml2rfc README for details). It also
|
||||
has a "type" attribute. This is currently ignored except in the case
|
||||
'type="abnf"'. In this case the "artwork" is expected to contain a
|
||||
piece of valid Augmented Backus-Naur Format (ABNF) grammar. This will
|
||||
be syntax checked by xml2rfc and any errors will cause a fatal error
|
||||
if the "strict" processing instruction is set to "yes". The ABNF will
|
||||
also be colorized in HTML output to highlight the syntactic
|
||||
components. Checking of additional "types" may be provided in future
|
||||
versions of xml2rfc.</preamble>
|
||||
|
||||
<artwork><![CDATA[
|
||||
|
||||
/**** an example C program */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
|
||||
printf("program arguments are:\n");
|
||||
for (i = 0; i < argc; i++) {
|
||||
printf("%d: \"%s\"\n", i, argv[i]);
|
||||
}
|
||||
|
||||
exit(0);
|
||||
} /* main */
|
||||
|
||||
/* end of file */
|
||||
|
||||
]]></artwork>
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<section anchor="Acknowledgements" title="Acknowledgements">
|
||||
<t>This template was derived from an initial version written by Pekka
|
||||
Savola and contributed by him to the xml2rfc project.</t>
|
||||
|
||||
<t>This document is part of a plan to make xml2rfc indispensable <xref
|
||||
target="DOMINATION"></xref>.</t>
|
||||
</section>
|
||||
|
||||
<!-- Possibly a 'Contributors' section ... -->
|
||||
|
||||
<section anchor="IANA" title="IANA Considerations">
|
||||
<t>This memo includes no request to IANA.</t>
|
||||
|
||||
<t>All drafts are required to have an IANA considerations section (see
|
||||
<xref target="I-D.narten-iana-considerations-rfc2434bis">the update of
|
||||
RFC 2434</xref> for a guide). If the draft does not require IANA to do
|
||||
anything, the section contains an explicit statement that this is the
|
||||
case (as above). If there are no requirements for IANA, the section will
|
||||
be removed during conversion into an RFC by the RFC Editor.</t>
|
||||
</section>
|
||||
|
||||
<section anchor="Security" title="Security Considerations">
|
||||
<t>All drafts are required to have a security considerations section.
|
||||
See <xref target="RFC3552">RFC 3552</xref> for a guide.</t>
|
||||
</section>
|
||||
</middle>
|
||||
|
||||
<!-- *****BACK MATTER ***** -->
|
||||
|
||||
<back>
|
||||
<!-- References split into informative and normative -->
|
||||
|
||||
<!-- There are 2 ways to insert reference entries from the citation libraries:
|
||||
1. define an ENTITY at the top, and use "ampersand character"RFC2629; here (as shown)
|
||||
2. simply use a PI "less than character"?rfc include="reference.RFC.2119.xml"?> here
|
||||
(for I-Ds: include="reference.I-D.narten-iana-considerations-rfc2434bis.xml")
|
||||
|
||||
Both are cited textually in the same manner: by using xref elements.
|
||||
If you use the PI option, xml2rfc will, by default, try to find included files in the same
|
||||
directory as the including file. You can also define the XML_LIBRARY environment variable
|
||||
with a value containing a set of directories to search. These can be either in the local
|
||||
filing system or remote ones accessed by http (http://domain/dir/... ).-->
|
||||
|
||||
<references title="Normative References">
|
||||
<!--?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml"?-->
|
||||
&RFC2119;
|
||||
|
||||
<reference anchor="min_ref">
|
||||
<!-- the following is the minimum to make xml2rfc happy -->
|
||||
|
||||
<front>
|
||||
<title>Minimal Reference</title>
|
||||
|
||||
<author initials="authInitials" surname="authSurName">
|
||||
<organization></organization>
|
||||
</author>
|
||||
|
||||
<date year="2006" />
|
||||
</front>
|
||||
</reference>
|
||||
</references>
|
||||
|
||||
<references title="Informative References">
|
||||
<!-- Here we use entities that we defined at the beginning. -->
|
||||
|
||||
&RFC2629;
|
||||
|
||||
&RFC3552;
|
||||
|
||||
&I-D.narten-iana-considerations-rfc2434bis;
|
||||
|
||||
<!-- A reference written by by an organization not a person. -->
|
||||
|
||||
<reference anchor="DOMINATION"
|
||||
target="http://www.example.com/dominator.html">
|
||||
<front>
|
||||
<title>Ultimate Plan for Taking Over the World</title>
|
||||
|
||||
<author>
|
||||
<organization>Mad Dominators, Inc.</organization>
|
||||
</author>
|
||||
|
||||
<date year="1984" />
|
||||
</front>
|
||||
</reference>
|
||||
</references>
|
||||
|
||||
<section anchor="app-additional" title="Additional Stuff">
|
||||
<t>This becomes an Appendix.</t>
|
||||
</section>
|
||||
|
||||
<!-- Change Log
|
||||
|
||||
v00 2006-03-15 EBD Initial version
|
||||
|
||||
v01 2006-04-03 EBD Moved PI location back to position 1 -
|
||||
v3.1 of XMLmind is better with them at this location.
|
||||
v02 2007-03-07 AH removed extraneous nested_list attribute,
|
||||
other minor corrections
|
||||
v03 2007-03-09 EBD Added comments on null IANA sections and fixed heading capitalization.
|
||||
Modified comments around figure to reflect non-implementation of
|
||||
figure indent control. Put in reference using anchor="DOMINATION".
|
||||
Fixed up the date specification comments to reflect current truth.
|
||||
v04 2007-03-09 AH Major changes: shortened discussion of PIs,
|
||||
added discussion of rfc include.
|
||||
v05 2007-03-10 EBD Added preamble to C program example to tell about ABNF and alternative
|
||||
images. Removed meta-characters from comments (causes problems). -->
|
||||
</back>
|
||||
</rfc>
|
Loading…
Reference in a new issue