Clean up URLs.

Add ui/urls.h to define some URLs on various of our websites.  Use the
GitLab URL for the wiki.  Add a macro to generate wiki URLs.

Update wiki URLs in comments etc.

Use the #defined URL for the docs page in
WelcomePage::on_helpLabel_clicked; that removes the last user of
topic_online_url(), so get rid of it and swallow it up into
topic_action_url().
This commit is contained in:
Guy Harris 2020-10-02 19:17:00 -07:00
parent 22e7ddb637
commit e013c5ec7f
84 changed files with 219 additions and 199 deletions

View File

@ -1,4 +1,4 @@
See also https://wiki.wireshark.org/Development.
See also https://gitlab.com/wireshark/wireshark/-/wikis/Development.
Installation
============

View File

@ -85,10 +85,10 @@ II. Installing SNMP MIBs
from RFC authors [5].
[1] https://wiki.wireshark.org/Development/PrivilegeSeparation
[2] https://wiki.wireshark.org/CaptureSetup/CapturePrivileges
[1] https://gitlab.com/wireshark/wireshark/-/wikis/Development/PrivilegeSeparation
[2] https://gitlab.com/wireshark/wireshark/-/wikis/CaptureSetup/CapturePrivileges
[3] https://blog.wireshark.org/2010/02/running-wireshark-as-you
[4] https://wiki.wireshark.org/SNMP
[4] https://gitlab.com/wireshark/wireshark/-/wikis/SNMP
[5] https://wiki.debian.org/NonFreeIETFDocuments
[6] https://www.debian.org/doc/debian-policy/ch-archive.html#s-non-free
[7] https://www.debian.org/doc/debian-policy/ch-archive.html#s-main

View File

@ -3282,7 +3282,7 @@ capture_loop_dispatch(loop_data *ld,
/*
* WinPcap's remote capturing feature doesn't work with pcap_dispatch(),
* see https://wiki.wireshark.org/CaptureSetup/WinPcapRemote
* see https://gitlab.com/wireshark/wireshark/-/wikis/CaptureSetup/WinPcapRemote
* This should be fixed in the WinPcap 4.0 alpha release.
*
* For reference, an example remote interface:

View File

@ -275,7 +275,7 @@ Application-context-name ::= OBJECT IDENTIFIER
-- Application-entity title productions follow (not in alphabetical order)
-- ***************************************************************************
-- MG: asn2wrs cannot handle untagged CHOICEs within either a SET or a SEQUENCE.
-- https://wiki.wireshark.org/Asn2wrs_Handmassaging_the_ASN_file
-- https://gitlab.com/wireshark/wireshark/-/wikis/Asn2wrs_Handmassaging_the_ASN_file
AP-title ::= CHOICE { -- ATN: See encoding guidance in 2.5.11
-- "form2" is encoded as 0 and "form1" as 1
ap-title-form2 [0] IMPLICIT AP-title-form2, -- Object Identifier form

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_ATSVC_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-winreg.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_NETDFS_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_DNSSERVER_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-misc.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_EFS_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_EVENTLOG_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-misc.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_FRSTRANS_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_FSRVP_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-lsa.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_LSARPC_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_MAPI_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-misc.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_MISC_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_NSPI_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_RFR_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_SAMR_H

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -7,7 +7,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-misc.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-misc.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#include "packet-dcerpc-misc.h"

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -7,7 +7,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/

View File

@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
#ifndef __PACKET_DCERPC_WZCSVC_H

View File

@ -11,7 +11,7 @@
/* This dissector supports DVB-CI as defined in EN50221 and
* CI+ (www.ci-plus.com).
* For more details, see https://wiki.wireshark.org/DVB-CI.
* For more details, see https://gitlab.com/wireshark/wireshark/-/wikis/DVB-CI.
*
* The pcap input format for this dissector is documented at
* http://www.kaiser.cx/pcap-dvbci.html.

View File

@ -216,19 +216,19 @@ typedef struct mac_lte_tap_info {
/* Accessor function to check if a frame was considered to be ReTx */
int is_mac_lte_frame_retx(packet_info *pinfo, guint8 direction);
/*****************************************************************/
/* UDP framing format */
/* ----------------------- */
/* Several people have asked about dissecting MAC by framing */
/* PDUs over IP. A suggested format over UDP has been created */
/* and implemented by this dissector, using the definitions */
/* below. A link to an example program showing you how to encode */
/* these headers and send LTE MAC PDUs on a UDP socket is */
/* provided at https://wiki.wireshark.org/MAC-LTE */
/* */
/* A heuristic dissector (enabled by a preference) will */
/* recognise a signature at the beginning of these frames. */
/*****************************************************************/
/**********************************************************************/
/* UDP framing format */
/* ----------------------- */
/* Several people have asked about dissecting MAC by framing */
/* PDUs over IP. A suggested format over UDP has been created */
/* and implemented by this dissector, using the definitions */
/* below. A link to an example program showing you how to encode */
/* these headers and send LTE MAC PDUs on a UDP socket is */
/* provided at https://gitlab.com/wireshark/wireshark/-/wikis/MAC-LTE */
/* */
/* A heuristic dissector (enabled by a preference) will */
/* recognise a signature at the beginning of these frames. */
/**********************************************************************/
/* Signature. Rather than try to define a port for this, or make the

View File

@ -88,21 +88,21 @@ typedef struct pdcp_lte_info
/*****************************************************************/
/* UDP framing format */
/* ----------------------- */
/* Several people have asked about dissecting PDCP by framing */
/* PDUs over IP. A suggested format over UDP has been defined */
/* and implemented by this dissector, using the definitions */
/* below. A link to an example program showing you how to encode */
/* these headers and send LTE PDCP PDUs on a UDP socket is */
/* provided at https://wiki.wireshark.org/PDCP-LTE */
/* */
/* A heuristic dissecter (enabled by a preference) will */
/* recognise a signature at the beginning of these frames. */
/* Until someone is using this format, suggestions for changes */
/* are welcome. */
/*****************************************************************/
/***********************************************************************/
/* UDP framing format */
/* ----------------------- */
/* Several people have asked about dissecting PDCP by framing */
/* PDUs over IP. A suggested format over UDP has been defined */
/* and implemented by this dissector, using the definitions */
/* below. A link to an example program showing you how to encode */
/* these headers and send LTE PDCP PDUs on a UDP socket is */
/* provided at https://gitlab.com/wireshark/wireshark/-/wikis/PDCP-LTE */
/* */
/* A heuristic dissecter (enabled by a preference) will */
/* recognise a signature at the beginning of these frames. */
/* Until someone is using this format, suggestions for changes */
/* are welcome. */
/***********************************************************************/
/* Signature. Rather than try to define a port for this, or make the

View File

@ -6014,7 +6014,7 @@ dissect_ppp_raw_hdlc( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
* matching first before calling dissect_ppp_raw_hdlc(). Otherwise, if we call
* it directly for USB captures, some captures like the following will not be
* dissected correctly:
* https://wiki.wireshark.org/SampleCaptures#head-886e340c31ca977f321c921f81cbec4c21bb7738
* https://gitlab.com/wireshark/wireshark/-/wikis/SampleCaptures#head-886e340c31ca977f321c921f81cbec4c21bb7738
*/
static gboolean
dissect_ppp_usb( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ )

View File

@ -93,21 +93,21 @@ void set_rlc_lte_drb_pdcp_seqnum_length(packet_info *pinfo, guint16 ueid, guint8
/* Configure LI field for AM DRB channels. */
void set_rlc_lte_drb_li_field(packet_info *pinfo, guint16 ueid, guint8 drbid, gboolean ul_ext_li_field, gboolean dl_ext_li_field);
/*****************************************************************/
/* UDP framing format */
/* ----------------------- */
/* Several people have asked about dissecting RLC by framing */
/* PDUs over IP. A suggested format over UDP has been defined */
/* and implemented by this dissector, using the definitions */
/* below. A link to an example program showing you how to encode */
/* these headers and send LTE RLC PDUs on a UDP socket is */
/* provided at https://wiki.wireshark.org/RLC-LTE */
/* */
/* A heuristic dissector (enabled by a preference) will */
/* recognise a signature at the beginning of these frames. */
/* Until someone is using this format, suggestions for changes */
/* are welcome. */
/*****************************************************************/
/**********************************************************************/
/* UDP framing format */
/* ----------------------- */
/* Several people have asked about dissecting RLC by framing */
/* PDUs over IP. A suggested format over UDP has been defined */
/* and implemented by this dissector, using the definitions */
/* below. A link to an example program showing you how to encode */
/* these headers and send LTE RLC PDUs on a UDP socket is */
/* provided at https://gitlab.com/wireshark/wireshark/-/wikis/RLC-LTE */
/* */
/* A heuristic dissector (enabled by a preference) will */
/* recognise a signature at the beginning of these frames. */
/* Until someone is using this format, suggestions for changes */
/* are welcome. */
/**********************************************************************/
/* Signature. Rather than try to define a port for this, or make the

View File

@ -13,7 +13,8 @@
/*
* Documentation that formed the basis of the packet decoding:
* https://github.com/matthiasbock/OpenSkype/wiki/Skype's-UDP-Format
* For additional information see: https://wiki.wireshark.org/Skype
* For additional information see:
* https://gitlab.com/wireshark/wireshark/-/wikis/Skype
*
* TODO:
* - Authentication
@ -22,7 +23,8 @@
* - Decryption (with given keys)
* - Test CRC check (requires working decryption)
* - Heuristics to reliably detect Skype traffic - most likely impossible
* to implement in Wireshark (see http://en.wikipedia.org/wiki/Skype)
* to implement in Wireshark (see
* https://gitlab.com/wireshark/wireshark/-/wikis/Skype)
* - Improve tests
*/

View File

@ -6,7 +6,7 @@
*
* https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/
* https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/
* https://wiki.wireshark.org/SMB2
* https://gitlab.com/wireshark/wireshark/-/wikis/SMB2
*
* If you edit this file, keep the wiki updated as well.
*

View File

@ -14,7 +14,8 @@ SML dissector is based on v1.03 (12.11.2008) specifications of "smart message la
Link to specifications: http://www.vde.com/de/fnn/arbeitsgebiete/messwesen/Sym2/infomaterial/seiten/sml-spezifikation.aspx
Short description of the SML protocol on the SML Wireshark Wiki page: https://wiki.wireshark.org/SML
Short description of the SML protocol on the SML Wireshark Wiki page:
https://gitlab.com/wireshark/wireshark/-/wikis/SML
*/
#include "config.h"

View File

@ -56,7 +56,7 @@ void rlc_reset_channel(enum rlc_mode mode, guint8 rbid, guint8 dir, guint32 ueid
/* and implemented by this dissector, using the definitions */
/* below. A link to an example program showing you how to encode */
/* these headers and send RLC PDUs on a UDP socket is provided */
/* at https://wiki.wireshark.org/RLC */
/* at https://gitlab.com/wireshark/wireshark/-/wikis/RLC */
/* */
/* A heuristic dissecter (enabled by a preference) will */
/* recognise a signature at the beginning of these frames. */

View File

@ -1,7 +1,8 @@
/* expert.h
* Collecting of Expert information.
*
* For further info, see: https://wiki.wireshark.org/Development/ExpertInfo
* For further info, see:
* https://gitlab.com/wireshark/wireshark/-/wikis/Development/ExpertInfo
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>

View File

@ -904,7 +904,10 @@ typedef proto_node proto_item;
/** The protocol field has been deprecated, usually PI_NOTE severity */
#define PI_DEPRECATED 0x0e000000
/* add more, see https://wiki.wireshark.org/Development/ExpertInfo */
/*
* add more, see
* https://gitlab.com/wireshark/wireshark/-/wikis/Development/ExpertInfo
*/
/** Retrieve the field_info from a proto_node */
#define PNODE_FINFO(proto_node) ((proto_node)->finfo)

View File

@ -874,7 +874,7 @@ WSLUA_FUNCTION wslua_copy_to_clipboard(lua_State* L) { /* Copy a string into the
WSLUA_FUNCTION wslua_open_capture_file(lua_State* L) { /* Open and display a capture file. Requires a GUI. */
#define WSLUA_ARG_open_capture_file_FILENAME 1 /* The name of the file to be opened. */
#define WSLUA_ARG_open_capture_file_FILTER 2 /* The https://wiki.wireshark.org/DisplayFilters[display filter] to be applied once the file is opened. */
#define WSLUA_ARG_open_capture_file_FILTER 2 /* The https://gitlab.com/wireshark/wireshark/-/wikis/DisplayFilters[display filter] to be applied once the file is opened. */
const char* fname = luaL_checkstring(L,WSLUA_ARG_open_capture_file_FILENAME);
const char* filter = luaL_optstring(L,WSLUA_ARG_open_capture_file_FILTER,NULL);
@ -930,7 +930,7 @@ WSLUA_FUNCTION wslua_set_filter(lua_State* L) { /* Set the main filter text. */
}
WSLUA_FUNCTION wslua_get_color_filter_slot(lua_State* L) { /*
Gets the current https://wiki.wireshark.org/ColoringRules[packet coloring rule] (by index) for the
Gets the current https://gitlab.com/wireshark/wireshark/-/wikis/ColoringRules[packet coloring rule] (by index) for the
current session. Wireshark reserves 10 slots for these coloring rules. Requires a GUI.
*/
#define WSLUA_ARG_get_color_filter_slot_ROW 1 /*
@ -972,7 +972,7 @@ WSLUA_FUNCTION wslua_get_color_filter_slot(lua_State* L) { /*
}
WSLUA_FUNCTION wslua_set_color_filter_slot(lua_State* L) { /*
Sets a https://wiki.wireshark.org/ColoringRules[packet coloring rule] (by index) for the current session.
Sets a https://gitlab.com/wireshark/wireshark/-/wikis/ColoringRules[packet coloring rule] (by index) for the current session.
Wireshark reserves 10 slots for these coloring rules.
Requires a GUI.
*/
@ -1007,7 +1007,7 @@ WSLUA_FUNCTION wslua_set_color_filter_slot(lua_State* L) { /*
wireshark -o gui.colorized_frame.bg:ffc0c0,ffc0ff,e0c0e0,c0c0ff,c0e0e0,c0ffff,c0ffc0,ffffc0,e0e0c0,e0e0e0 -o gui.colorized_frame.fg:000000,000000,000000,000000,000000,000000,000000,000000
----
*/
#define WSLUA_ARG_set_color_filter_slot_TEXT 2 /* The https://wiki.wireshark.org/DisplayFilters[display filter] for selecting packets to be colorized
#define WSLUA_ARG_set_color_filter_slot_TEXT 2 /* The https://gitlab.com/wireshark/wireshark/-/wikis/DisplayFilters[display filter] for selecting packets to be colorized
. */
guint8 row = (guint8)luaL_checkinteger(L,WSLUA_ARG_set_color_filter_slot_ROW);
const gchar* filter_str = luaL_checkstring(L,WSLUA_ARG_set_color_filter_slot_TEXT);

5
file.c
View File

@ -52,6 +52,7 @@
#include "ui/simple_dialog.h"
#include "ui/main_statusbar.h"
#include "ui/progress_dlg.h"
#include "ui/urls.h"
#include "ui/ws_ui_util.h"
/* Needed for addrinfo */
@ -634,7 +635,7 @@ cf_read(capture_file *cf, gboolean reloading)
CATCH(OutOfMemoryError) {
simple_message_box(ESD_TYPE_ERROR, NULL,
"More information and workarounds can be found at\n"
"https://wiki.wireshark.org/KnownBugs/OutOfMemory",
WS_WIKI_URL("KnownBugs/OutOfMemory"),
"Sorry, but Wireshark has run out of memory and has to terminate now.");
#if 0
/* Could we close the current capture and free up memory from that? */
@ -812,7 +813,7 @@ cf_continue_tail(capture_file *cf, volatile int to_read, wtap_rec *rec,
CATCH(OutOfMemoryError) {
simple_message_box(ESD_TYPE_ERROR, NULL,
"More information and workarounds can be found at\n"
"https://wiki.wireshark.org/KnownBugs/OutOfMemory",
WS_WIKI_URL("KnownBugs/OutOfMemory"),
"Sorry, but Wireshark has run out of memory and has to terminate now.");
#if 0
/* Could we close the current capture and free up memory from that? */

View File

@ -58,4 +58,4 @@ Right=290
Top=127
Bottom=135
Text=Learn more about Npcap and WinPcap
State=https://wiki.wireshark.org/WinPcap
State=https://gitlab.com/wireshark/wireshark/-/wikis/WinPcap

View File

@ -2,7 +2,8 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- This XSLT will convert a PDML file, saved by Wireshark, into
HTML. The HTML page should look similar to Wireshark. See
https://wiki.wireshark.org/PDML how to generate such a HTML file from PDML.
https://gitlab.com/wireshark/wireshark/-/wikis/PDML for information
on how to generate such a HTML file from PDML.
For questions contact Dirk Jagdmann (doj@cubic.org).
Version: 2010-06-09

View File

@ -31,10 +31,9 @@
To-do:
- make it use Struct.tohex/fromhex now that we have the Struct library in Wireshark
- make it use a linux cooked-mode pseudo-header (see https://wiki.wireshark.org/SLL)
- make it use a linux cooked-mode pseudo-header (see https://gitlab.com/wireshark/wireshark/-/wikis/SLL)
- make it use preferences, once I write C-code for Wireshark to do that :)
- rewrite some of the pattern searches to use real regex/PCRE instead? It's not in Wireshark yet,
but it's coming (see https://code.wireshark.org/review/#/c/332/)
- rewrite some of the pattern searches to use real regex/PCRE instead?
Example SIP over UDP message:
Aug 26 19:25:10.685 On [5:0]2.1.1.1:5060 received from 2.1.2.115:5060

View File

@ -25,7 +25,7 @@ import fixtures
class case_decrypt_80211(subprocesstest.SubprocessTestCase):
def test_80211_wpa_psk(self, cmd_tshark, capture_file):
'''IEEE 802.11 WPA PSK'''
# https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=view&target=wpa-Induction.pcap
# https://gitlab.com/wireshark/wireshark/-/wikis/SampleCaptures?action=AttachFile&do=view&target=wpa-Induction.pcap
self.assertRun((cmd_tshark,
'-o', 'wlan.enable_decryption: TRUE',
'-Tfields',
@ -289,7 +289,7 @@ class case_decrypt_dtls(subprocesstest.SubprocessTestCase):
'''DTLS'''
if not features.have_gnutls:
self.skipTest('Requires GnuTLS.')
# https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=view&target=snakeoil.tgz
# https://gitlab.com/wireshark/wireshark/-/wikis/SampleCaptures?action=AttachFile&do=view&target=snakeoil.tgz
self.assertRun((cmd_tshark,
'-r', capture_file('snakeoil-dtls.pcap'),
'-Tfields',
@ -339,7 +339,7 @@ class case_decrypt_tls(subprocesstest.SubprocessTestCase):
'''TLS using the server's private RSA key.'''
if not features.have_gnutls:
self.skipTest('Requires GnuTLS.')
# https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=view&target=snakeoil2_070531.tgz
# https://gitlab.com/wireshark/wireshark/-/wikis/SampleCaptures?action=AttachFile&do=view&target=snakeoil2_070531.tgz
self.assertRun((cmd_tshark,
'-r', capture_file('rsasnakeoil2.pcap'),
'-Tfields',

View File

@ -953,7 +953,7 @@ main(int argc, char *argv[])
"Sorry, but TFShark has to terminate now.\n"
"\n"
"Some infos / workarounds can be found at:\n"
"https://wiki.wireshark.org/KnownBugs/OutOfMemory\n");
WS_WIKI_URL("KnownBugs/OutOfMemory") "\n");
success = FALSE;
}
ENDTRY;

View File

@ -2933,7 +2933,7 @@ else
fi
echo
echo "Make sure you are allowed capture access to the network devices"
echo "See: https://wiki.wireshark.org/CaptureSetup/CapturePrivileges"
echo "See: https://gitlab.com/wireshark/wireshark/-/wikis/CaptureSetup/CapturePrivileges"
echo
exit 0

View File

@ -1155,7 +1155,7 @@ sub Parse($$$$$)
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
";

View File

@ -382,7 +382,7 @@ usesgetlasterror, vararg, vi_progid, wire_marshal.
=head1 SEE ALSO
L<https://msdn.microsoft.com/en-us/library/windows/desktop/aa373864%28v=vs.85%29.aspx>
L<https://wiki.wireshark.org/DCE/RPC>,
L<https://gitlab.com/wireshark/wireshark/-/wikis/DCE/RPC>,
L<https://www.samba.org/>,
L<yapp(1)>

View File

@ -43,6 +43,7 @@
#include <ui/clopts_common.h>
#include <ui/cmdarg_err.h>
#include <ui/urls.h>
#include <wsutil/filesystem.h>
#include <wsutil/file_util.h>
#include <wsutil/socket.h>
@ -2064,7 +2065,7 @@ main(int argc, char *argv[])
"Sorry, but TShark has to terminate now.\n"
"\n"
"More information and workarounds can be found at\n"
"https://wiki.wireshark.org/KnownBugs/OutOfMemory\n");
WS_WIKI_URL("KnownBugs/OutOfMemory") "\n");
status = PROCESS_FILE_ERROR;
}
ENDTRY;
@ -2573,7 +2574,7 @@ capture(void)
"Sorry, but TShark has to terminate now.\n"
"\n"
"More information and workarounds can be found at\n"
"https://wiki.wireshark.org/KnownBugs/OutOfMemory\n");
WS_WIKI_URL("KnownBugs/OutOfMemory") "\n");
abort();
}
ENDTRY;

View File

@ -27,6 +27,7 @@
#include "ui/capture_info.h"
#include "ui/capture_ui_utils.h"
#include "ui/util.h"
#include "ui/urls.h"
#include "caputils/capture-pcap-util.h"
#include <epan/prefs.h>
@ -258,6 +259,8 @@ capture_input_read_all(capture_session *cap_session, gboolean is_tempfile,
return FALSE;
}
#define BITEME "https://gitlab.com/wireshark/wireshark/-/wikis"
/* if we didn't capture even a single packet, close the file again */
if(cap_session->count == 0 && !capture_opts->restart) {
simple_dialog(ESD_TYPE_INFO, ESD_BTN_OK,
@ -268,7 +271,7 @@ capture_input_read_all(capture_session *cap_session, gboolean is_tempfile,
"\n"
"Help about capturing can be found at\n"
"\n"
" https://wiki.wireshark.org/CaptureSetup"
" " WS_WIKI_URL("CaptureSetup")
#ifdef _WIN32
"\n\n"
"Wireless (Wi-Fi/WLAN):\n"
@ -731,7 +734,7 @@ capture_input_closed(capture_session *cap_session, gchar *msg)
"\n"
"Help about capturing can be found at\n"
"\n"
" https://wiki.wireshark.org/CaptureSetup"
" " WS_WIKI_URL("CaptureSetup")
#ifdef _WIN32
"\n\n"
"Wireless (Wi-Fi/WLAN):\n"

View File

@ -16,6 +16,7 @@
#include <glib.h>
#include "help_url.h"
#include "urls.h"
#include "wsutil/filesystem.h"
#ifdef HHC_DIR
@ -28,54 +29,6 @@
// - Automatically generate part or all of this, e.g. by parsing
// the DocBook XML or the chunked HTML.
const char *
topic_online_url(topic_action_e action)
{
switch(action) {
case(ONLINEPAGE_HOME):
return "https://www.wireshark.org";
break;
case(ONLINEPAGE_WIKI):
return "https://wiki.wireshark.org";
break;
case(ONLINEPAGE_DOWNLOAD):
return "https://www.wireshark.org/download.html";
break;
case(ONLINEPAGE_DOCS):
return "https://www.wireshark.org/docs/";
break;
case(ONLINEPAGE_USERGUIDE):
return "https://www.wireshark.org/docs/wsug_html_chunked/";
break;
case(ONLINEPAGE_FAQ):
return "https://www.wireshark.org/faq.html";
break;
case(ONLINEPAGE_ASK):
return "https://ask.wireshark.org";
break;
case(ONLINEPAGE_SAMPLE_FILES):
return "https://wiki.wireshark.org/SampleCaptures";
break;
case(ONLINEPAGE_CAPTURE_SETUP):
return "https://wiki.wireshark.org/CaptureSetup";
break;
case(ONLINEPAGE_NETWORK_MEDIA):
return "https://wiki.wireshark.org/CaptureSetup/NetworkMedia";
break;
case(ONLINEPAGE_SAMPLE_CAPTURES):
return "https://wiki.wireshark.org/SampleCaptures";
break;
case(ONLINEPAGE_SECURITY):
return "https://wiki.wireshark.org/Security";
break;
case(ONLINEPAGE_CHIMNEY):
return "https://wiki.wireshark.org/CaptureSetup/Offloading#chimney";
break;
default:
return NULL;
}
}
/*
* Open the help dialog and show a specific HTML help page.
*/
@ -111,7 +64,7 @@ user_guide_url(const gchar *page) {
} else {
#endif /* ifdef DOC_DIR */
/* try to open the HTML page from wireshark.org instead */
g_string_printf(url, "https://www.wireshark.org/docs/wsug_html_chunked/%s", page);
g_string_printf(url, WS_DOCS_URL "/wsug_html_chunked/%s", page);
#ifdef DOC_DIR
}
#endif /* ifdef DOC_DIR */
@ -125,13 +78,48 @@ topic_action_url(topic_action_e action)
{
gchar *url;
/* pages online at www.wireshark.org */
url = g_strdup(topic_online_url(action));
if(url != NULL) {
return url;
}
switch(action) {
/* pages online at www.wireshark.org */
case(ONLINEPAGE_HOME):
return WS_HOME_PAGE_URL;
break;
case(ONLINEPAGE_WIKI):
return WS_WIKI_HOME_URL;
break;
case(ONLINEPAGE_DOWNLOAD):
return WS_DOWNLOAD_URL;
break;
case(ONLINEPAGE_DOCS):
return WS_DOCS_URL;
break;
case(ONLINEPAGE_USERGUIDE):
return WS_DOCS_URL "/wsug_html_chunked/";
break;
case(ONLINEPAGE_FAQ):
return WS_FAQ_URL;
break;
case(ONLINEPAGE_ASK):
return WS_Q_AND_A_URL;
break;
case(ONLINEPAGE_SAMPLE_FILES):
return WS_WIKI_URL("SampleCaptures");
break;
case(ONLINEPAGE_CAPTURE_SETUP):
return WS_WIKI_URL("CaptureSetup");
break;
case(ONLINEPAGE_NETWORK_MEDIA):
return WS_WIKI_URL("CaptureSetup/NetworkMedia");
break;
case(ONLINEPAGE_SAMPLE_CAPTURES):
return WS_WIKI_URL("SampleCaptures");
break;
case(ONLINEPAGE_SECURITY):
return WS_WIKI_URL("Security");
break;
case(ONLINEPAGE_CHIMNEY):
return WS_WIKI_URL("CaptureSetup/Offloading#chimney");
break;
/* local manual pages */
case(LOCALPAGE_MAN_WIRESHARK):
url = data_file_url("wireshark.html");

View File

@ -109,13 +109,6 @@ typedef enum {
HELP_TELEPHONY_RTP_PLAYER_DIALOG
} topic_action_e;
/** Given a topic action return its online (www.wireshark.org) URL or NULL.
*
* @param action Topic action, e.g. ONLINEPAGE_HOME or ONLINEPAGE_ASK.
* @return A static URL or NULL. MUST NOT be freed.
*/
const char *topic_online_url(topic_action_e action);
/** Given a page in the Wireshark User's Guide return its URL. On Windows
* an attempt will be made to open User Guide URLs with HTML Help. If
* the attempt succeeds NULL will be returned.

View File

@ -30,6 +30,7 @@
#include <ui/clopts_common.h>
#include <ui/cmdarg_err.h>
#include <ui/urls.h>
#include <wsutil/filesystem.h>
#include <wsutil/privileges.h>
#include <wsutil/socket.h>
@ -336,7 +337,7 @@ check_and_warn_user_startup()
"This could be dangerous.\n\n"
"If you're running Wireshark this way in order to perform live capture, "
"you may want to be aware that there is a better way documented at\n"
"https://wiki.wireshark.org/CaptureSetup/CapturePrivileges", cur_user, cur_group);
WS_WIKI_URL("CaptureSetup/CapturePrivileges"), cur_user, cur_group);
g_free(cur_user);
g_free(cur_group);
}

View File

@ -37,6 +37,8 @@ DIAG_ON(frame-larger-than=)
#include "ui/commandline.h"
#include "ui/urls.h"
#include "epan/color_filters.h"
#include "epan/export_object.h"
@ -3917,7 +3919,7 @@ void MainWindow::on_actionContextWikiProtocolPage_triggered()
if (ret != QMessageBox::Yes) return;
QUrl wiki_url = QString("https://wiki.wireshark.org/Protocols/%1").arg(proto_abbrev);
QUrl wiki_url = QString(WS_WIKI_HOME_URL "/" "/Protocols/%1").arg(proto_abbrev);
QDesktopServices::openUrl(wiki_url);
}
@ -3932,7 +3934,7 @@ void MainWindow::on_actionContextFilterFieldReference_triggered()
const QString proto_abbrev = proto_registrar_get_abbrev(field_id);
QUrl dfref_url = QString("https://www.wireshark.org/docs/dfref/%1/%2")
QUrl dfref_url = QString(WS_DOCS_URL "/dfref/%1/%2")
.arg(proto_abbrev[0])
.arg(proto_abbrev);
QDesktopServices::openUrl(dfref_url);

View File

@ -27,6 +27,7 @@
#include <ui/qt/filter_action.h>
#include <ui/all_files_wildcard.h>
#include <ui/alert_box.h>
#include <ui/urls.h>
#include "wireshark_application.h"
#include <QApplication>
@ -216,11 +217,11 @@ void ProtoTree::ctxOpenUrlWiki()
if (ret != QMessageBox::Yes) return;
url = QString("https://wiki.wireshark.org/Protocols/%1").arg(proto_abbrev);
url = QString(WS_WIKI_HOME_URL "/Protocols/%1").arg(proto_abbrev);
}
else
{
url = QString("https://www.wireshark.org/docs/dfref/%1/%2")
url = QString(WS_DOCS_URL "/dfref/%1/%2")
.arg(proto_abbrev[0])
.arg(proto_abbrev);
}

View File

@ -14,7 +14,7 @@
#include <epan/prefs.h>
#include "ui/capture_globals.h"
#include "ui/help_url.h"
#include "ui/urls.h"
#include "version_info.h"
@ -416,7 +416,7 @@ void WelcomePage::on_captureLabel_clicked()
void WelcomePage::on_helpLabel_clicked()
{
QDesktopServices::openUrl(QUrl(topic_online_url(ONLINEPAGE_DOCS)));
QDesktopServices::openUrl(QUrl(WS_DOCS_URL));
}
void WelcomePage::updateStyleSheets()

View File

@ -270,7 +270,7 @@ a:hover {
&lt;td style=&quot;padding-left: 8px; padding-right: 8px;&quot;&gt;·&lt;/td&gt;
&lt;th&gt;&lt;a href=&quot;https://wiki.wireshark.org/&quot;&gt;Wiki&lt;/a&gt;&lt;/th&gt;
&lt;th&gt;&lt;a href=&quot;https://gitlab.com/wireshark/wireshark/-/wikis/&quot;&gt;Wiki&lt;/a&gt;&lt;/th&gt;
&lt;td style=&quot;padding-left: 8px; padding-right: 8px;&quot;&gt;·&lt;/td&gt;

23
ui/urls.h Normal file
View File

@ -0,0 +1,23 @@
/* urls.h
*
* Define URLs for various Wireshark sites, so that if they move, we only
* have to change the URLs here.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 2000 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#define WS_HOME_PAGE_URL "https://www.wireshark.org";
#define WS_DOWNLOAD_URL "https://www.wireshark.org/download.html"
#define WS_DOCS_URL "https://www.wireshark.org/docs/"
#define WS_FAQ_URL "https://www.wireshark.org/faq.html"
#define WS_Q_AND_A_URL "https://ask.wireshark.org"
#define WS_WIKI_HOME_URL "https://gitlab.com/wireshark/wireshark/-/wikis"
/*
* Construct a wiki URL given the path to the wiki page.
*/
#define WS_WIKI_URL(path) WS_WIKI_HOME_URL "/" path

View File

@ -12,7 +12,7 @@
/* File format specification:
* https://github.com/pcapng/pcapng
* Related Wiki page:
* https://wiki.wireshark.org/Development/PcapNg
* https://gitlab.com/wireshark/wireshark/-/wikis/Development/PcapNg
*/
#include "config.h"