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:
parent
22e7ddb637
commit
e013c5ec7f
2
INSTALL
2
INSTALL
|
@ -1,4 +1,4 @@
|
||||||
See also https://wiki.wireshark.org/Development.
|
See also https://gitlab.com/wireshark/wireshark/-/wikis/Development.
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
|
@ -85,10 +85,10 @@ II. Installing SNMP MIBs
|
||||||
from RFC authors [5].
|
from RFC authors [5].
|
||||||
|
|
||||||
|
|
||||||
[1] https://wiki.wireshark.org/Development/PrivilegeSeparation
|
[1] https://gitlab.com/wireshark/wireshark/-/wikis/Development/PrivilegeSeparation
|
||||||
[2] https://wiki.wireshark.org/CaptureSetup/CapturePrivileges
|
[2] https://gitlab.com/wireshark/wireshark/-/wikis/CaptureSetup/CapturePrivileges
|
||||||
[3] https://blog.wireshark.org/2010/02/running-wireshark-as-you
|
[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
|
[5] https://wiki.debian.org/NonFreeIETFDocuments
|
||||||
[6] https://www.debian.org/doc/debian-policy/ch-archive.html#s-non-free
|
[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
|
[7] https://www.debian.org/doc/debian-policy/ch-archive.html#s-main
|
||||||
|
|
|
@ -3282,7 +3282,7 @@ capture_loop_dispatch(loop_data *ld,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* WinPcap's remote capturing feature doesn't work with pcap_dispatch(),
|
* 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.
|
* This should be fixed in the WinPcap 4.0 alpha release.
|
||||||
*
|
*
|
||||||
* For reference, an example remote interface:
|
* For reference, an example remote interface:
|
||||||
|
|
|
@ -275,7 +275,7 @@ Application-context-name ::= OBJECT IDENTIFIER
|
||||||
-- Application-entity title productions follow (not in alphabetical order)
|
-- Application-entity title productions follow (not in alphabetical order)
|
||||||
-- ***************************************************************************
|
-- ***************************************************************************
|
||||||
-- MG: asn2wrs cannot handle untagged CHOICEs within either a SET or a SEQUENCE.
|
-- 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
|
AP-title ::= CHOICE { -- ATN: See encoding guidance in 2.5.11
|
||||||
-- "form2" is encoded as 0 and "form1" as 1
|
-- "form2" is encoded as 0 and "form1" as 1
|
||||||
ap-title-form2 [0] IMPLICIT AP-title-form2, -- Object Identifier form
|
ap-title-form2 [0] IMPLICIT AP-title-form2, -- Object Identifier form
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_ATSVC_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-winreg.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_NETDFS_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_DNSSERVER_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-misc.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_EFS_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_EVENTLOG_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-misc.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_FRSTRANS_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_FSRVP_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-lsa.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_LSARPC_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_MAPI_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-misc.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_MISC_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_NSPI_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_RFR_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_SAMR_H
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-misc.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-misc.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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"
|
#include "packet-dcerpc-misc.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
#ifndef __PACKET_DCERPC_WZCSVC_H
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/* This dissector supports DVB-CI as defined in EN50221 and
|
/* This dissector supports DVB-CI as defined in EN50221 and
|
||||||
* CI+ (www.ci-plus.com).
|
* 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
|
* The pcap input format for this dissector is documented at
|
||||||
* http://www.kaiser.cx/pcap-dvbci.html.
|
* http://www.kaiser.cx/pcap-dvbci.html.
|
||||||
|
|
|
@ -216,19 +216,19 @@ typedef struct mac_lte_tap_info {
|
||||||
/* Accessor function to check if a frame was considered to be ReTx */
|
/* Accessor function to check if a frame was considered to be ReTx */
|
||||||
int is_mac_lte_frame_retx(packet_info *pinfo, guint8 direction);
|
int is_mac_lte_frame_retx(packet_info *pinfo, guint8 direction);
|
||||||
|
|
||||||
/*****************************************************************/
|
/**********************************************************************/
|
||||||
/* UDP framing format */
|
/* UDP framing format */
|
||||||
/* ----------------------- */
|
/* ----------------------- */
|
||||||
/* Several people have asked about dissecting MAC by framing */
|
/* Several people have asked about dissecting MAC by framing */
|
||||||
/* PDUs over IP. A suggested format over UDP has been created */
|
/* PDUs over IP. A suggested format over UDP has been created */
|
||||||
/* and implemented by this dissector, using the definitions */
|
/* and implemented by this dissector, using the definitions */
|
||||||
/* below. A link to an example program showing you how to encode */
|
/* below. A link to an example program showing you how to encode */
|
||||||
/* these headers and send LTE MAC PDUs on a UDP socket is */
|
/* these headers and send LTE MAC PDUs on a UDP socket is */
|
||||||
/* provided at https://wiki.wireshark.org/MAC-LTE */
|
/* provided at https://gitlab.com/wireshark/wireshark/-/wikis/MAC-LTE */
|
||||||
/* */
|
/* */
|
||||||
/* A heuristic dissector (enabled by a preference) will */
|
/* A heuristic dissector (enabled by a preference) will */
|
||||||
/* recognise a signature at the beginning of these frames. */
|
/* recognise a signature at the beginning of these frames. */
|
||||||
/*****************************************************************/
|
/**********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/* Signature. Rather than try to define a port for this, or make the
|
/* Signature. Rather than try to define a port for this, or make the
|
||||||
|
|
|
@ -88,21 +88,21 @@ typedef struct pdcp_lte_info
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************/
|
/***********************************************************************/
|
||||||
/* UDP framing format */
|
/* UDP framing format */
|
||||||
/* ----------------------- */
|
/* ----------------------- */
|
||||||
/* Several people have asked about dissecting PDCP by framing */
|
/* Several people have asked about dissecting PDCP by framing */
|
||||||
/* PDUs over IP. A suggested format over UDP has been defined */
|
/* PDUs over IP. A suggested format over UDP has been defined */
|
||||||
/* and implemented by this dissector, using the definitions */
|
/* and implemented by this dissector, using the definitions */
|
||||||
/* below. A link to an example program showing you how to encode */
|
/* below. A link to an example program showing you how to encode */
|
||||||
/* these headers and send LTE PDCP PDUs on a UDP socket is */
|
/* these headers and send LTE PDCP PDUs on a UDP socket is */
|
||||||
/* provided at https://wiki.wireshark.org/PDCP-LTE */
|
/* provided at https://gitlab.com/wireshark/wireshark/-/wikis/PDCP-LTE */
|
||||||
/* */
|
/* */
|
||||||
/* A heuristic dissecter (enabled by a preference) will */
|
/* A heuristic dissecter (enabled by a preference) will */
|
||||||
/* recognise a signature at the beginning of these frames. */
|
/* recognise a signature at the beginning of these frames. */
|
||||||
/* Until someone is using this format, suggestions for changes */
|
/* Until someone is using this format, suggestions for changes */
|
||||||
/* are welcome. */
|
/* are welcome. */
|
||||||
/*****************************************************************/
|
/***********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/* Signature. Rather than try to define a port for this, or make the
|
/* Signature. Rather than try to define a port for this, or make the
|
||||||
|
|
|
@ -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
|
* 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
|
* it directly for USB captures, some captures like the following will not be
|
||||||
* dissected correctly:
|
* dissected correctly:
|
||||||
* https://wiki.wireshark.org/SampleCaptures#head-886e340c31ca977f321c921f81cbec4c21bb7738
|
* https://gitlab.com/wireshark/wireshark/-/wikis/SampleCaptures#head-886e340c31ca977f321c921f81cbec4c21bb7738
|
||||||
*/
|
*/
|
||||||
static gboolean
|
static gboolean
|
||||||
dissect_ppp_usb( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ )
|
dissect_ppp_usb( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ )
|
||||||
|
|
|
@ -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. */
|
/* 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);
|
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 */
|
/* UDP framing format */
|
||||||
/* ----------------------- */
|
/* ----------------------- */
|
||||||
/* Several people have asked about dissecting RLC by framing */
|
/* Several people have asked about dissecting RLC by framing */
|
||||||
/* PDUs over IP. A suggested format over UDP has been defined */
|
/* PDUs over IP. A suggested format over UDP has been defined */
|
||||||
/* and implemented by this dissector, using the definitions */
|
/* and implemented by this dissector, using the definitions */
|
||||||
/* below. A link to an example program showing you how to encode */
|
/* below. A link to an example program showing you how to encode */
|
||||||
/* these headers and send LTE RLC PDUs on a UDP socket is */
|
/* these headers and send LTE RLC PDUs on a UDP socket is */
|
||||||
/* provided at https://wiki.wireshark.org/RLC-LTE */
|
/* provided at https://gitlab.com/wireshark/wireshark/-/wikis/RLC-LTE */
|
||||||
/* */
|
/* */
|
||||||
/* A heuristic dissector (enabled by a preference) will */
|
/* A heuristic dissector (enabled by a preference) will */
|
||||||
/* recognise a signature at the beginning of these frames. */
|
/* recognise a signature at the beginning of these frames. */
|
||||||
/* Until someone is using this format, suggestions for changes */
|
/* Until someone is using this format, suggestions for changes */
|
||||||
/* are welcome. */
|
/* are welcome. */
|
||||||
/*****************************************************************/
|
/**********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/* Signature. Rather than try to define a port for this, or make the
|
/* Signature. Rather than try to define a port for this, or make the
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
/*
|
/*
|
||||||
* Documentation that formed the basis of the packet decoding:
|
* Documentation that formed the basis of the packet decoding:
|
||||||
* https://github.com/matthiasbock/OpenSkype/wiki/Skype's-UDP-Format
|
* 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:
|
* TODO:
|
||||||
* - Authentication
|
* - Authentication
|
||||||
|
@ -22,7 +23,8 @@
|
||||||
* - Decryption (with given keys)
|
* - Decryption (with given keys)
|
||||||
* - Test CRC check (requires working decryption)
|
* - Test CRC check (requires working decryption)
|
||||||
* - Heuristics to reliably detect Skype traffic - most likely impossible
|
* - 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
|
* - Improve tests
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -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-smb2/
|
||||||
* https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/
|
* 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.
|
* If you edit this file, keep the wiki updated as well.
|
||||||
*
|
*
|
||||||
|
|
|
@ -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
|
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"
|
#include "config.h"
|
||||||
|
|
|
@ -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 */
|
/* and implemented by this dissector, using the definitions */
|
||||||
/* below. A link to an example program showing you how to encode */
|
/* below. A link to an example program showing you how to encode */
|
||||||
/* these headers and send RLC PDUs on a UDP socket is provided */
|
/* 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 */
|
/* A heuristic dissecter (enabled by a preference) will */
|
||||||
/* recognise a signature at the beginning of these frames. */
|
/* recognise a signature at the beginning of these frames. */
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
/* expert.h
|
/* expert.h
|
||||||
* Collecting of Expert information.
|
* 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
|
* Wireshark - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@wireshark.org>
|
* By Gerald Combs <gerald@wireshark.org>
|
||||||
|
|
|
@ -904,7 +904,10 @@ typedef proto_node proto_item;
|
||||||
/** The protocol field has been deprecated, usually PI_NOTE severity */
|
/** The protocol field has been deprecated, usually PI_NOTE severity */
|
||||||
#define PI_DEPRECATED 0x0e000000
|
#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 */
|
/** Retrieve the field_info from a proto_node */
|
||||||
#define PNODE_FINFO(proto_node) ((proto_node)->finfo)
|
#define PNODE_FINFO(proto_node) ((proto_node)->finfo)
|
||||||
|
|
|
@ -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. */
|
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_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* fname = luaL_checkstring(L,WSLUA_ARG_open_capture_file_FILENAME);
|
||||||
const char* filter = luaL_optstring(L,WSLUA_ARG_open_capture_file_FILTER,NULL);
|
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) { /*
|
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.
|
current session. Wireshark reserves 10 slots for these coloring rules. Requires a GUI.
|
||||||
*/
|
*/
|
||||||
#define WSLUA_ARG_get_color_filter_slot_ROW 1 /*
|
#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) { /*
|
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.
|
Wireshark reserves 10 slots for these coloring rules.
|
||||||
Requires a GUI.
|
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
|
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);
|
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);
|
const gchar* filter_str = luaL_checkstring(L,WSLUA_ARG_set_color_filter_slot_TEXT);
|
||||||
|
|
5
file.c
5
file.c
|
@ -52,6 +52,7 @@
|
||||||
#include "ui/simple_dialog.h"
|
#include "ui/simple_dialog.h"
|
||||||
#include "ui/main_statusbar.h"
|
#include "ui/main_statusbar.h"
|
||||||
#include "ui/progress_dlg.h"
|
#include "ui/progress_dlg.h"
|
||||||
|
#include "ui/urls.h"
|
||||||
#include "ui/ws_ui_util.h"
|
#include "ui/ws_ui_util.h"
|
||||||
|
|
||||||
/* Needed for addrinfo */
|
/* Needed for addrinfo */
|
||||||
|
@ -634,7 +635,7 @@ cf_read(capture_file *cf, gboolean reloading)
|
||||||
CATCH(OutOfMemoryError) {
|
CATCH(OutOfMemoryError) {
|
||||||
simple_message_box(ESD_TYPE_ERROR, NULL,
|
simple_message_box(ESD_TYPE_ERROR, NULL,
|
||||||
"More information and workarounds can be found at\n"
|
"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.");
|
"Sorry, but Wireshark has run out of memory and has to terminate now.");
|
||||||
#if 0
|
#if 0
|
||||||
/* Could we close the current capture and free up memory from that? */
|
/* 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) {
|
CATCH(OutOfMemoryError) {
|
||||||
simple_message_box(ESD_TYPE_ERROR, NULL,
|
simple_message_box(ESD_TYPE_ERROR, NULL,
|
||||||
"More information and workarounds can be found at\n"
|
"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.");
|
"Sorry, but Wireshark has run out of memory and has to terminate now.");
|
||||||
#if 0
|
#if 0
|
||||||
/* Could we close the current capture and free up memory from that? */
|
/* Could we close the current capture and free up memory from that? */
|
||||||
|
|
|
@ -58,4 +58,4 @@ Right=290
|
||||||
Top=127
|
Top=127
|
||||||
Bottom=135
|
Bottom=135
|
||||||
Text=Learn more about Npcap and WinPcap
|
Text=Learn more about Npcap and WinPcap
|
||||||
State=https://wiki.wireshark.org/WinPcap
|
State=https://gitlab.com/wireshark/wireshark/-/wikis/WinPcap
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
<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
|
<!-- This XSLT will convert a PDML file, saved by Wireshark, into
|
||||||
HTML. The HTML page should look similar to Wireshark. See
|
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).
|
For questions contact Dirk Jagdmann (doj@cubic.org).
|
||||||
|
|
||||||
Version: 2010-06-09
|
Version: 2010-06-09
|
||||||
|
|
|
@ -31,10 +31,9 @@
|
||||||
|
|
||||||
To-do:
|
To-do:
|
||||||
- make it use Struct.tohex/fromhex now that we have the Struct library in Wireshark
|
- 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 :)
|
- 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,
|
- rewrite some of the pattern searches to use real regex/PCRE instead?
|
||||||
but it's coming (see https://code.wireshark.org/review/#/c/332/)
|
|
||||||
|
|
||||||
Example SIP over UDP message:
|
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
|
Aug 26 19:25:10.685 On [5:0]2.1.1.1:5060 received from 2.1.2.115:5060
|
||||||
|
|
|
@ -25,7 +25,7 @@ import fixtures
|
||||||
class case_decrypt_80211(subprocesstest.SubprocessTestCase):
|
class case_decrypt_80211(subprocesstest.SubprocessTestCase):
|
||||||
def test_80211_wpa_psk(self, cmd_tshark, capture_file):
|
def test_80211_wpa_psk(self, cmd_tshark, capture_file):
|
||||||
'''IEEE 802.11 WPA PSK'''
|
'''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,
|
self.assertRun((cmd_tshark,
|
||||||
'-o', 'wlan.enable_decryption: TRUE',
|
'-o', 'wlan.enable_decryption: TRUE',
|
||||||
'-Tfields',
|
'-Tfields',
|
||||||
|
@ -289,7 +289,7 @@ class case_decrypt_dtls(subprocesstest.SubprocessTestCase):
|
||||||
'''DTLS'''
|
'''DTLS'''
|
||||||
if not features.have_gnutls:
|
if not features.have_gnutls:
|
||||||
self.skipTest('Requires 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,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('snakeoil-dtls.pcap'),
|
'-r', capture_file('snakeoil-dtls.pcap'),
|
||||||
'-Tfields',
|
'-Tfields',
|
||||||
|
@ -339,7 +339,7 @@ class case_decrypt_tls(subprocesstest.SubprocessTestCase):
|
||||||
'''TLS using the server's private RSA key.'''
|
'''TLS using the server's private RSA key.'''
|
||||||
if not features.have_gnutls:
|
if not features.have_gnutls:
|
||||||
self.skipTest('Requires 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,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('rsasnakeoil2.pcap'),
|
'-r', capture_file('rsasnakeoil2.pcap'),
|
||||||
'-Tfields',
|
'-Tfields',
|
||||||
|
|
|
@ -953,7 +953,7 @@ main(int argc, char *argv[])
|
||||||
"Sorry, but TFShark has to terminate now.\n"
|
"Sorry, but TFShark has to terminate now.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Some infos / workarounds can be found at:\n"
|
"Some infos / workarounds can be found at:\n"
|
||||||
"https://wiki.wireshark.org/KnownBugs/OutOfMemory\n");
|
WS_WIKI_URL("KnownBugs/OutOfMemory") "\n");
|
||||||
success = FALSE;
|
success = FALSE;
|
||||||
}
|
}
|
||||||
ENDTRY;
|
ENDTRY;
|
||||||
|
|
|
@ -2933,7 +2933,7 @@ else
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
echo "Make sure you are allowed capture access to the network devices"
|
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
|
echo
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1155,7 +1155,7 @@ sub Parse($$$$$)
|
||||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||||
It is maintained by the Samba team, not the Wireshark team.
|
It is maintained by the Samba team, not the Wireshark team.
|
||||||
Instructions on how to download and install Pidl can be
|
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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
";
|
";
|
||||||
|
|
|
@ -382,7 +382,7 @@ usesgetlasterror, vararg, vi_progid, wire_marshal.
|
||||||
=head1 SEE ALSO
|
=head1 SEE ALSO
|
||||||
|
|
||||||
L<https://msdn.microsoft.com/en-us/library/windows/desktop/aa373864%28v=vs.85%29.aspx>
|
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<https://www.samba.org/>,
|
||||||
L<yapp(1)>
|
L<yapp(1)>
|
||||||
|
|
||||||
|
|
5
tshark.c
5
tshark.c
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
#include <ui/clopts_common.h>
|
#include <ui/clopts_common.h>
|
||||||
#include <ui/cmdarg_err.h>
|
#include <ui/cmdarg_err.h>
|
||||||
|
#include <ui/urls.h>
|
||||||
#include <wsutil/filesystem.h>
|
#include <wsutil/filesystem.h>
|
||||||
#include <wsutil/file_util.h>
|
#include <wsutil/file_util.h>
|
||||||
#include <wsutil/socket.h>
|
#include <wsutil/socket.h>
|
||||||
|
@ -2064,7 +2065,7 @@ main(int argc, char *argv[])
|
||||||
"Sorry, but TShark has to terminate now.\n"
|
"Sorry, but TShark has to terminate now.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"More information and workarounds can be found at\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;
|
status = PROCESS_FILE_ERROR;
|
||||||
}
|
}
|
||||||
ENDTRY;
|
ENDTRY;
|
||||||
|
@ -2573,7 +2574,7 @@ capture(void)
|
||||||
"Sorry, but TShark has to terminate now.\n"
|
"Sorry, but TShark has to terminate now.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"More information and workarounds can be found at\n"
|
"More information and workarounds can be found at\n"
|
||||||
"https://wiki.wireshark.org/KnownBugs/OutOfMemory\n");
|
WS_WIKI_URL("KnownBugs/OutOfMemory") "\n");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
ENDTRY;
|
ENDTRY;
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include "ui/capture_info.h"
|
#include "ui/capture_info.h"
|
||||||
#include "ui/capture_ui_utils.h"
|
#include "ui/capture_ui_utils.h"
|
||||||
#include "ui/util.h"
|
#include "ui/util.h"
|
||||||
|
#include "ui/urls.h"
|
||||||
#include "caputils/capture-pcap-util.h"
|
#include "caputils/capture-pcap-util.h"
|
||||||
#include <epan/prefs.h>
|
#include <epan/prefs.h>
|
||||||
|
|
||||||
|
@ -258,6 +259,8 @@ capture_input_read_all(capture_session *cap_session, gboolean is_tempfile,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define BITEME "https://gitlab.com/wireshark/wireshark/-/wikis"
|
||||||
|
|
||||||
/* if we didn't capture even a single packet, close the file again */
|
/* if we didn't capture even a single packet, close the file again */
|
||||||
if(cap_session->count == 0 && !capture_opts->restart) {
|
if(cap_session->count == 0 && !capture_opts->restart) {
|
||||||
simple_dialog(ESD_TYPE_INFO, ESD_BTN_OK,
|
simple_dialog(ESD_TYPE_INFO, ESD_BTN_OK,
|
||||||
|
@ -268,7 +271,7 @@ capture_input_read_all(capture_session *cap_session, gboolean is_tempfile,
|
||||||
"\n"
|
"\n"
|
||||||
"Help about capturing can be found at\n"
|
"Help about capturing can be found at\n"
|
||||||
"\n"
|
"\n"
|
||||||
" https://wiki.wireshark.org/CaptureSetup"
|
" " WS_WIKI_URL("CaptureSetup")
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
"\n\n"
|
"\n\n"
|
||||||
"Wireless (Wi-Fi/WLAN):\n"
|
"Wireless (Wi-Fi/WLAN):\n"
|
||||||
|
@ -731,7 +734,7 @@ capture_input_closed(capture_session *cap_session, gchar *msg)
|
||||||
"\n"
|
"\n"
|
||||||
"Help about capturing can be found at\n"
|
"Help about capturing can be found at\n"
|
||||||
"\n"
|
"\n"
|
||||||
" https://wiki.wireshark.org/CaptureSetup"
|
" " WS_WIKI_URL("CaptureSetup")
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
"\n\n"
|
"\n\n"
|
||||||
"Wireless (Wi-Fi/WLAN):\n"
|
"Wireless (Wi-Fi/WLAN):\n"
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include "help_url.h"
|
#include "help_url.h"
|
||||||
|
#include "urls.h"
|
||||||
#include "wsutil/filesystem.h"
|
#include "wsutil/filesystem.h"
|
||||||
|
|
||||||
#ifdef HHC_DIR
|
#ifdef HHC_DIR
|
||||||
|
@ -28,54 +29,6 @@
|
||||||
// - Automatically generate part or all of this, e.g. by parsing
|
// - Automatically generate part or all of this, e.g. by parsing
|
||||||
// the DocBook XML or the chunked HTML.
|
// 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.
|
* Open the help dialog and show a specific HTML help page.
|
||||||
*/
|
*/
|
||||||
|
@ -111,7 +64,7 @@ user_guide_url(const gchar *page) {
|
||||||
} else {
|
} else {
|
||||||
#endif /* ifdef DOC_DIR */
|
#endif /* ifdef DOC_DIR */
|
||||||
/* try to open the HTML page from wireshark.org instead */
|
/* 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
|
#ifdef DOC_DIR
|
||||||
}
|
}
|
||||||
#endif /* ifdef DOC_DIR */
|
#endif /* ifdef DOC_DIR */
|
||||||
|
@ -125,13 +78,48 @@ topic_action_url(topic_action_e action)
|
||||||
{
|
{
|
||||||
gchar *url;
|
gchar *url;
|
||||||
|
|
||||||
/* pages online at www.wireshark.org */
|
|
||||||
url = g_strdup(topic_online_url(action));
|
|
||||||
if(url != NULL) {
|
|
||||||
return url;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch(action) {
|
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 */
|
/* local manual pages */
|
||||||
case(LOCALPAGE_MAN_WIRESHARK):
|
case(LOCALPAGE_MAN_WIRESHARK):
|
||||||
url = data_file_url("wireshark.html");
|
url = data_file_url("wireshark.html");
|
||||||
|
|
|
@ -109,13 +109,6 @@ typedef enum {
|
||||||
HELP_TELEPHONY_RTP_PLAYER_DIALOG
|
HELP_TELEPHONY_RTP_PLAYER_DIALOG
|
||||||
} topic_action_e;
|
} 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
|
/** 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
|
* an attempt will be made to open User Guide URLs with HTML Help. If
|
||||||
* the attempt succeeds NULL will be returned.
|
* the attempt succeeds NULL will be returned.
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
#include <ui/clopts_common.h>
|
#include <ui/clopts_common.h>
|
||||||
#include <ui/cmdarg_err.h>
|
#include <ui/cmdarg_err.h>
|
||||||
|
#include <ui/urls.h>
|
||||||
#include <wsutil/filesystem.h>
|
#include <wsutil/filesystem.h>
|
||||||
#include <wsutil/privileges.h>
|
#include <wsutil/privileges.h>
|
||||||
#include <wsutil/socket.h>
|
#include <wsutil/socket.h>
|
||||||
|
@ -336,7 +337,7 @@ check_and_warn_user_startup()
|
||||||
"This could be dangerous.\n\n"
|
"This could be dangerous.\n\n"
|
||||||
"If you're running Wireshark this way in order to perform live capture, "
|
"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"
|
"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_user);
|
||||||
g_free(cur_group);
|
g_free(cur_group);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,8 @@ DIAG_ON(frame-larger-than=)
|
||||||
|
|
||||||
#include "ui/commandline.h"
|
#include "ui/commandline.h"
|
||||||
|
|
||||||
|
#include "ui/urls.h"
|
||||||
|
|
||||||
#include "epan/color_filters.h"
|
#include "epan/color_filters.h"
|
||||||
#include "epan/export_object.h"
|
#include "epan/export_object.h"
|
||||||
|
|
||||||
|
@ -3917,7 +3919,7 @@ void MainWindow::on_actionContextWikiProtocolPage_triggered()
|
||||||
|
|
||||||
if (ret != QMessageBox::Yes) return;
|
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);
|
QDesktopServices::openUrl(wiki_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3932,7 +3934,7 @@ void MainWindow::on_actionContextFilterFieldReference_triggered()
|
||||||
|
|
||||||
const QString proto_abbrev = proto_registrar_get_abbrev(field_id);
|
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[0])
|
||||||
.arg(proto_abbrev);
|
.arg(proto_abbrev);
|
||||||
QDesktopServices::openUrl(dfref_url);
|
QDesktopServices::openUrl(dfref_url);
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <ui/qt/filter_action.h>
|
#include <ui/qt/filter_action.h>
|
||||||
#include <ui/all_files_wildcard.h>
|
#include <ui/all_files_wildcard.h>
|
||||||
#include <ui/alert_box.h>
|
#include <ui/alert_box.h>
|
||||||
|
#include <ui/urls.h>
|
||||||
#include "wireshark_application.h"
|
#include "wireshark_application.h"
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
@ -216,11 +217,11 @@ void ProtoTree::ctxOpenUrlWiki()
|
||||||
|
|
||||||
if (ret != QMessageBox::Yes) return;
|
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
|
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[0])
|
||||||
.arg(proto_abbrev);
|
.arg(proto_abbrev);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <epan/prefs.h>
|
#include <epan/prefs.h>
|
||||||
|
|
||||||
#include "ui/capture_globals.h"
|
#include "ui/capture_globals.h"
|
||||||
#include "ui/help_url.h"
|
#include "ui/urls.h"
|
||||||
|
|
||||||
#include "version_info.h"
|
#include "version_info.h"
|
||||||
|
|
||||||
|
@ -416,7 +416,7 @@ void WelcomePage::on_captureLabel_clicked()
|
||||||
|
|
||||||
void WelcomePage::on_helpLabel_clicked()
|
void WelcomePage::on_helpLabel_clicked()
|
||||||
{
|
{
|
||||||
QDesktopServices::openUrl(QUrl(topic_online_url(ONLINEPAGE_DOCS)));
|
QDesktopServices::openUrl(QUrl(WS_DOCS_URL));
|
||||||
}
|
}
|
||||||
|
|
||||||
void WelcomePage::updateStyleSheets()
|
void WelcomePage::updateStyleSheets()
|
||||||
|
|
|
@ -270,7 +270,7 @@ a:hover {
|
||||||
|
|
||||||
<td style="padding-left: 8px; padding-right: 8px;">·</td>
|
<td style="padding-left: 8px; padding-right: 8px;">·</td>
|
||||||
|
|
||||||
<th><a href="https://wiki.wireshark.org/">Wiki</a></th>
|
<th><a href="https://gitlab.com/wireshark/wireshark/-/wikis/">Wiki</a></th>
|
||||||
|
|
||||||
<td style="padding-left: 8px; padding-right: 8px;">·</td>
|
<td style="padding-left: 8px; padding-right: 8px;">·</td>
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
@ -12,7 +12,7 @@
|
||||||
/* File format specification:
|
/* File format specification:
|
||||||
* https://github.com/pcapng/pcapng
|
* https://github.com/pcapng/pcapng
|
||||||
* Related Wiki page:
|
* Related Wiki page:
|
||||||
* https://wiki.wireshark.org/Development/PcapNg
|
* https://gitlab.com/wireshark/wireshark/-/wikis/Development/PcapNg
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
Loading…
Reference in New Issue