2013-03-18 22:17:42 +00:00
|
|
|
# AsciiDoc configuration for Wireshark
|
|
|
|
|
|
|
|
[replacements]
|
|
|
|
|
2014-01-24 18:55:27 +00:00
|
|
|
# Yes, these are fake macros.
|
2014-01-27 03:08:01 +00:00
|
|
|
# We should probably replace some or all of them with attributes.
|
2014-12-10 19:15:16 +00:00
|
|
|
wireshark-version:\[\]=1.99.2
|
2014-06-19 22:16:52 +00:00
|
|
|
wireshark-major-minor-version:\[\]=1.99
|
2014-01-24 18:55:27 +00:00
|
|
|
|
2014-08-31 18:31:33 +00:00
|
|
|
wireshark-authors-url:\[\]=https://www.wireshark.org/about.html#authors
|
2014-01-24 18:55:27 +00:00
|
|
|
wireshark-bugs-site:\[\]=https://bugs.wireshark.org/
|
2014-01-27 04:20:44 +00:00
|
|
|
wireshark-code-browse-url:\[\]=https://code.wireshark.org/review/gitweb?p=wireshark.git
|
|
|
|
wireshark-code-review-url:\[\]=https://code.wireshark.org/review
|
|
|
|
wireshark-dev-list-email:\[\]=wireshark-dev[AT]wireshark.org
|
2014-08-31 18:31:33 +00:00
|
|
|
wireshark-developers-guide-url:\[\]=https://www.wireshark.org/docs/
|
2014-07-30 01:31:43 +00:00
|
|
|
wireshark-download-page:\[\]=https://www.wireshark.org/download.html
|
2014-11-09 18:07:46 +00:00
|
|
|
wireshark-display-filter-reference:\[\]=https://www.wireshark.org/docs/dfref/
|
2014-11-09 19:39:15 +00:00
|
|
|
wireshark-man-page-reference:\[\]=https://www.wireshark.org/docs/man-pages/
|
2014-08-31 18:31:33 +00:00
|
|
|
wireshark-faq-url:\[\]=https://www.wireshark.org/faq.html
|
2014-01-25 00:17:46 +00:00
|
|
|
wireshark-git-anonhttp-url:\[\]=https://code.wireshark.org/review/wireshark
|
|
|
|
wireshark-git-http-url:\[\]=https://your.username@code.wireshark.org/review/wireshark
|
|
|
|
wireshark-git-ssh-url:\[\]=ssh://your.username@code.wireshark.org:29418/wireshark
|
2014-02-25 20:22:50 +00:00
|
|
|
wireshark-buildbot-url:\[\]=http://buildbot.wireshark.org/trunk/waterfall
|
2014-08-31 18:31:33 +00:00
|
|
|
wireshark-mailing-lists-url:\[\]=https://www.wireshark.org/lists/
|
2014-01-27 04:20:44 +00:00
|
|
|
wireshark-qa-url:\[\]=http://ask.wireshark.org/
|
2014-08-31 18:31:33 +00:00
|
|
|
wireshark-users-guide-url:\[\]=https://www.wireshark.org/docs/
|
|
|
|
wireshark-web-site:\[\]=https://www.wireshark.org/
|
2014-01-24 18:55:27 +00:00
|
|
|
wireshark-wiki-site:\[\]=http://wiki.wireshark.org/
|
2014-01-27 03:08:01 +00:00
|
|
|
|
2014-07-30 01:31:43 +00:00
|
|
|
tcpdump-web-site:\[\]=http://www.tcpdump.org/
|
|
|
|
tcpdump-man-page-url:\[\]=http://www.tcpdump.org/manpages/tcpdump.1.html
|
2014-08-18 16:31:26 +00:00
|
|
|
pcap-filter-man-page-url:\[\]=http://www.tcpdump.org/manpages/pcap-filter.7.html
|
2014-07-30 01:31:43 +00:00
|
|
|
|
|
|
|
winpcap-web-site:\[\]=http://www.winpcap.org/
|
|
|
|
winpcap-download-page:\[\]=http://www.winpcap.org/install/
|
|
|
|
|
2014-09-01 01:40:56 +00:00
|
|
|
wikipedia-web-site:\[\]=https://en.wikipedia.org/wiki/
|
2014-08-18 16:31:26 +00:00
|
|
|
sysfs-web-site:\[\]=http://linux-diag.sourceforge.net/Sysfsutils.html
|
2014-09-01 01:40:56 +00:00
|
|
|
greenwichmeantime-web-site:\[\]=http://wwp.greenwichmeantime.com/
|
|
|
|
timeanddate-web-site:\[\]=http://www.timeanddate.com/worldclock/
|
|
|
|
ntp-web-site:\[\]=http://www.ntp.org/
|
2014-08-18 16:31:26 +00:00
|
|
|
|
2014-01-27 03:08:01 +00:00
|
|
|
# Make a document attribute after we fully convert to AsciiDoc
|
|
|
|
wsdg-author-email:\[\]=ulf.lamping[AT]web.de
|
2014-08-22 23:21:45 +00:00
|
|
|
wsdg-author-email2:\[\]=graham.bloice[AT]trihedral.com
|
2013-03-15 15:05:51 +00:00
|
|
|
|
2014-07-17 01:38:42 +00:00
|
|
|
wsug-author-email:\[\]=ulf.lamping[AT]web.de
|
|
|
|
wsug-author-email2:\[\]=rsharpe[AT]ns.aus.com
|
|
|
|
wsug-author-email3:\[\]=hagbard[AT]physics.rutgers.edu
|
|
|
|
wsug-author-email4:\[\]=luis[AT]ontanon.org
|
|
|
|
|
2014-01-27 04:20:44 +00:00
|
|
|
gpl-url:\[\]=http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
|
2013-03-15 15:05:51 +00:00
|
|
|
[macros]
|
|
|
|
|
2013-03-15 18:25:07 +00:00
|
|
|
# bugs.wireshark.org link
|
|
|
|
# ws-buglink:<dddd>[<bug text>]
|
|
|
|
# Default bug text is "Bug".
|
2013-06-05 23:43:56 +00:00
|
|
|
# Examples: ws-buglink:5000[] ws-buglink:4000[Wireshark bug number]
|
2013-03-15 18:25:07 +00:00
|
|
|
(?su)(?<!\w)[\\]?(?P<name>ws-buglink):(?P<target>\d+)\[(?P<attrlist>.*?)(?<!\\)\]=
|
2013-03-15 15:05:51 +00:00
|
|
|
|
2013-06-05 23:43:56 +00:00
|
|
|
# www.wireshark.org/security link
|
|
|
|
# ws-salink:<dddd-dd>[<advisory text>]
|
|
|
|
# Default advisory text is "".
|
|
|
|
# Examples: ws-salink:2013-32[] ws-salink:2013-12[Security advisory]
|
|
|
|
(?su)(?<!\w)[\\]?(?P<name>ws-salink):(?P<target>\d{4}-\d{2,3})\[(?P<attrlist>.*?)(?<!\\)\]=
|
|
|
|
|
2013-03-15 18:25:07 +00:00
|
|
|
# CVE ID link
|
|
|
|
# cve-idlink:<dddd-dddd>[]
|
|
|
|
# Example: cve-idlink:2013:0001
|
|
|
|
(?su)(?<!\w)[\\]?(?P<name>cve-idlink):(?P<target>\d{4}-\d+)\[\]=
|
2013-03-15 15:05:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
ifdef::backend-docbook45[]
|
|
|
|
|
|
|
|
[ws-buglink-inlinemacro]
|
2013-03-15 18:25:07 +00:00
|
|
|
<ulink url="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id={target}">{0=Bug} {target}</ulink>
|
2013-03-15 15:05:51 +00:00
|
|
|
|
2013-06-05 23:43:56 +00:00
|
|
|
[ws-salink-inlinemacro]
|
2013-10-31 01:08:36 +00:00
|
|
|
<ulink url="https://www.wireshark.org/security/wnpa-sec-{target}.html">{0=}wnpa-sec-{target}</ulink>
|
2013-06-05 23:43:56 +00:00
|
|
|
|
2013-03-15 15:05:51 +00:00
|
|
|
[cve-idlink-inlinemacro]
|
|
|
|
<ulink url="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-{target}">CVE-{target}</ulink>
|
|
|
|
|
|
|
|
endif::backend-docbook45[]
|
|
|
|
|
|
|
|
|
|
|
|
ifdef::backend-html4,backend-html5,backend-xhtml11[]
|
|
|
|
|
|
|
|
[ws-buglink-inlinemacro]
|
2013-03-15 18:25:07 +00:00
|
|
|
<a href="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id={target}">{0=Bug} {target}</a>
|
2013-03-15 15:05:51 +00:00
|
|
|
|
2013-06-05 23:43:56 +00:00
|
|
|
[ws-salink-inlinemacro]
|
2013-10-31 01:08:36 +00:00
|
|
|
<a href="https://www.wireshark.org/security/wnpa-sec-{target}.html">{0=}wnpa-sec-{target}</a>
|
2013-06-05 23:43:56 +00:00
|
|
|
|
2013-03-15 15:05:51 +00:00
|
|
|
[cve-idlink-inlinemacro]
|
|
|
|
<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-{target}">CVE-{target}</a>
|
|
|
|
|
|
|
|
endif::backend-html4,backend-html5,backend-xhtml11[]
|
2013-03-18 22:17:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Given a list of items, sort and comma-separate them. Blank lines are stripped.
|
|
|
|
# Case is ignored. For example,
|
|
|
|
#
|
|
|
|
# --sort-and-group--
|
|
|
|
# One
|
|
|
|
# two
|
|
|
|
# red
|
|
|
|
#
|
|
|
|
# blue
|
|
|
|
# Fish
|
|
|
|
#
|
|
|
|
# --sort-and-group--
|
|
|
|
#
|
|
|
|
# produces
|
|
|
|
#
|
|
|
|
# blue, Fish, One, red, two
|
|
|
|
[blockdef-sort-and-group]
|
|
|
|
delimiter=^--sort-and-group--$
|
|
|
|
style=default
|
|
|
|
filter=sort --ignore-case
|
2013-07-29 21:14:13 +00:00
|
|
|
default-style=template="paragraph",filter='sort --ignore-case | sed -e "s/,//g" | sed -e "/^$/d" -e "$ s/^/and /" -e "$ ! s/$/,/"'
|