forked from osmocom/wireshark
Update our issue tracker URL in some places.
Replace bugs.wireshark.org links with their equivalent gitlab.com/wireshark/wireshark/issues links in the AsciiDoctor buglink macro and the please_report_bug function. Update the bug URLs in comments in the tools and test directories.
This commit is contained in:
parent
ece76abdd3
commit
194b3b406a
|
@ -18,9 +18,9 @@ class WSBugLinkInlineMacro < Extensions::InlineMacroProcessor
|
||||||
parse_content_as :text
|
parse_content_as :text
|
||||||
name_positional_attributes 'bugtext'
|
name_positional_attributes 'bugtext'
|
||||||
|
|
||||||
def process(parent, bugnum, attrs)
|
def process(parent, issueid, attrs)
|
||||||
bugtext = attrs['bugtext'] || %(Bug #{bugnum})
|
bugtext = attrs['bugtext'] || %(Bug #{issueid})
|
||||||
target = %(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=#{bugnum})
|
target = %(https://gitlab.com/wireshark/wireshark/-/issues/#{issueid})
|
||||||
create_doc_links(parent, target, bugtext)
|
create_doc_links(parent, target, bugtext)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
// Wireshark top level URLs (sites)
|
// Wireshark top level URLs (sites)
|
||||||
:wireshark-main-url: https://www.wireshark.org/
|
:wireshark-main-url: https://www.wireshark.org/
|
||||||
:wireshark-bugs-url: https://bugs.wireshark.org/
|
:wireshark-bugs-url: https://gitlab.com/wireshark/wireshark/issues
|
||||||
:wireshark-code-review-url: https://code.wireshark.org/review
|
:wireshark-code-review-url: https://code.wireshark.org/review
|
||||||
:wireshark-qa-url: https://ask.wireshark.org/
|
:wireshark-qa-url: https://ask.wireshark.org/
|
||||||
:wireshark-wiki-url: https://wiki.wireshark.org/
|
:wireshark-wiki-url: https://wiki.wireshark.org/
|
||||||
|
|
|
@ -1763,7 +1763,7 @@ merge the result into <<Gog,Gog>>'s AVPL. They may also be used in
|
||||||
[NOTE]
|
[NOTE]
|
||||||
====
|
====
|
||||||
As of current (2.0.1), Loose Match does not work as described here, see
|
As of current (2.0.1), Loose Match does not work as described here, see
|
||||||
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12184[Bug 12184]. Only use
|
https://gitlab.com/wireshark/wireshark/issues/12184[issue 12184]. Only use
|
||||||
in Transforms and Criteria is effectively affected by the bug.
|
in Transforms and Criteria is effectively affected by the bug.
|
||||||
====
|
====
|
||||||
|
|
||||||
|
@ -1787,7 +1787,7 @@ These may only be used in <<Criteria,Criteria>> and <<Transform,Transform>>s.
|
||||||
[NOTE]
|
[NOTE]
|
||||||
====
|
====
|
||||||
As of current (2.0.1), Loose Match does not work as described here, see
|
As of current (2.0.1), Loose Match does not work as described here, see
|
||||||
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12184[Bug 12184].
|
https://gitlab.com/wireshark/wireshark/-/issues/12184[issue 12184].
|
||||||
====
|
====
|
||||||
|
|
||||||
"Every" Match Examples
|
"Every" Match Examples
|
||||||
|
|
|
@ -545,7 +545,7 @@ class case_decrypt_tls(subprocesstest.SubprocessTestCase):
|
||||||
class case_decrypt_zigbee(subprocesstest.SubprocessTestCase):
|
class case_decrypt_zigbee(subprocesstest.SubprocessTestCase):
|
||||||
def test_zigbee(self, cmd_tshark, capture_file):
|
def test_zigbee(self, cmd_tshark, capture_file):
|
||||||
'''ZigBee'''
|
'''ZigBee'''
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7022
|
# https://gitlab.com/wireshark/wireshark/-/issues/7022
|
||||||
self.assertRun((cmd_tshark,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('sample_control4_2012-03-24.pcap'),
|
'-r', capture_file('sample_control4_2012-03-24.pcap'),
|
||||||
'-Tfields',
|
'-Tfields',
|
||||||
|
@ -560,7 +560,7 @@ class case_decrypt_zigbee(subprocesstest.SubprocessTestCase):
|
||||||
class case_decrypt_ansi_c1222(subprocesstest.SubprocessTestCase):
|
class case_decrypt_ansi_c1222(subprocesstest.SubprocessTestCase):
|
||||||
def test_ansi_c1222(self, cmd_tshark, capture_file):
|
def test_ansi_c1222(self, cmd_tshark, capture_file):
|
||||||
'''ANSI C12.22'''
|
'''ANSI C12.22'''
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9196
|
# https://gitlab.com/wireshark/wireshark/-/issues/9196
|
||||||
self.assertRun((cmd_tshark,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('c1222_std_example8.pcap'),
|
'-r', capture_file('c1222_std_example8.pcap'),
|
||||||
'-o', 'c1222.decrypt: TRUE',
|
'-o', 'c1222.decrypt: TRUE',
|
||||||
|
@ -577,7 +577,7 @@ class case_decrypt_dvb_ci(subprocesstest.SubprocessTestCase):
|
||||||
def test_dvb_ci(self, cmd_tshark, capture_file):
|
def test_dvb_ci(self, cmd_tshark, capture_file):
|
||||||
'''DVB-CI'''
|
'''DVB-CI'''
|
||||||
# simplified version of the sample capture in
|
# simplified version of the sample capture in
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6700
|
# https://gitlab.com/wireshark/wireshark/-/issues/6700
|
||||||
self.assertRun((cmd_tshark,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('dvb-ci_UV1_0000.pcap'),
|
'-r', capture_file('dvb-ci_UV1_0000.pcap'),
|
||||||
'-o', 'dvb-ci.sek: 00000000000000000000000000000000',
|
'-o', 'dvb-ci.sek: 00000000000000000000000000000000',
|
||||||
|
@ -593,7 +593,7 @@ class case_decrypt_dvb_ci(subprocesstest.SubprocessTestCase):
|
||||||
class case_decrypt_ipsec(subprocesstest.SubprocessTestCase):
|
class case_decrypt_ipsec(subprocesstest.SubprocessTestCase):
|
||||||
def test_ipsec_esp(self, cmd_tshark, capture_file):
|
def test_ipsec_esp(self, cmd_tshark, capture_file):
|
||||||
'''IPsec ESP'''
|
'''IPsec ESP'''
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12671
|
# https://gitlab.com/wireshark/wireshark/-/issues/12671
|
||||||
self.assertRun((cmd_tshark,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('esp-bug-12671.pcapng.gz'),
|
'-r', capture_file('esp-bug-12671.pcapng.gz'),
|
||||||
'-o', 'esp.enable_encryption_decode: TRUE',
|
'-o', 'esp.enable_encryption_decode: TRUE',
|
||||||
|
@ -608,7 +608,7 @@ class case_decrypt_ipsec(subprocesstest.SubprocessTestCase):
|
||||||
class case_decrypt_ike_isakmp(subprocesstest.SubprocessTestCase):
|
class case_decrypt_ike_isakmp(subprocesstest.SubprocessTestCase):
|
||||||
def test_ikev1_certs(self, cmd_tshark, capture_file):
|
def test_ikev1_certs(self, cmd_tshark, capture_file):
|
||||||
'''IKEv1 (ISAKMP) with certificates'''
|
'''IKEv1 (ISAKMP) with certificates'''
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7951
|
# https://gitlab.com/wireshark/wireshark/-/issues/7951
|
||||||
self.assertRun((cmd_tshark,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('ikev1-certs.pcap'),
|
'-r', capture_file('ikev1-certs.pcap'),
|
||||||
'-Tfields',
|
'-Tfields',
|
||||||
|
@ -618,7 +618,7 @@ class case_decrypt_ike_isakmp(subprocesstest.SubprocessTestCase):
|
||||||
|
|
||||||
def test_ikev1_simultaneous(self, cmd_tshark, capture_file):
|
def test_ikev1_simultaneous(self, cmd_tshark, capture_file):
|
||||||
'''IKEv1 (ISAKMP) simultaneous exchanges'''
|
'''IKEv1 (ISAKMP) simultaneous exchanges'''
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12610
|
# https://gitlab.com/wireshark/wireshark/-/issues/12610
|
||||||
self.assertRun((cmd_tshark,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('ikev1-bug-12610.pcapng.gz'),
|
'-r', capture_file('ikev1-bug-12610.pcapng.gz'),
|
||||||
'-Tfields',
|
'-Tfields',
|
||||||
|
@ -628,7 +628,7 @@ class case_decrypt_ike_isakmp(subprocesstest.SubprocessTestCase):
|
||||||
|
|
||||||
def test_ikev1_unencrypted(self, cmd_tshark, capture_file):
|
def test_ikev1_unencrypted(self, cmd_tshark, capture_file):
|
||||||
'''IKEv1 (ISAKMP) unencrypted phase 1'''
|
'''IKEv1 (ISAKMP) unencrypted phase 1'''
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12620
|
# https://gitlab.com/wireshark/wireshark/-/issues/12620
|
||||||
self.assertRun((cmd_tshark,
|
self.assertRun((cmd_tshark,
|
||||||
'-r', capture_file('ikev1-bug-12620.pcapng.gz'),
|
'-r', capture_file('ikev1-bug-12620.pcapng.gz'),
|
||||||
'-Tfields',
|
'-Tfields',
|
||||||
|
@ -1009,7 +1009,7 @@ class case_decrypt_wireguard(subprocesstest.SubprocessTestCase):
|
||||||
class case_decrypt_knxip(subprocesstest.SubprocessTestCase):
|
class case_decrypt_knxip(subprocesstest.SubprocessTestCase):
|
||||||
# Capture files for these tests contain single telegrams.
|
# Capture files for these tests contain single telegrams.
|
||||||
# For realistic (live captured) KNX/IP telegram sequences, see:
|
# For realistic (live captured) KNX/IP telegram sequences, see:
|
||||||
# https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14825
|
# https://gitlab.com/wireshark/wireshark/-/issues/14825
|
||||||
|
|
||||||
def test_knxip_data_security_decryption_ok(self, cmd_tshark, capture_file):
|
def test_knxip_data_security_decryption_ok(self, cmd_tshark, capture_file):
|
||||||
'''KNX/IP: Data Security decryption OK'''
|
'''KNX/IP: Data Security decryption OK'''
|
||||||
|
|
|
@ -99,7 +99,7 @@ def check_text2pcap(cmd_tshark, cmd_text2pcap, capture_file):
|
||||||
pre_cap_info = check_capinfos_info(self, cap_file)
|
pre_cap_info = check_capinfos_info(self, cap_file)
|
||||||
# Due to limitations of "tshark -x", the output might contain more than one
|
# Due to limitations of "tshark -x", the output might contain more than one
|
||||||
# data source which is subsequently interpreted as additional frame data.
|
# data source which is subsequently interpreted as additional frame data.
|
||||||
# See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14639
|
# See https://gitlab.com/wireshark/wireshark/-/issues/14639
|
||||||
if expected_packets is not None:
|
if expected_packets is not None:
|
||||||
self.assertNotEqual(pre_cap_info['packets'], expected_packets)
|
self.assertNotEqual(pre_cap_info['packets'], expected_packets)
|
||||||
pre_cap_info['packets'] = expected_packets
|
pre_cap_info['packets'] = expected_packets
|
||||||
|
|
|
@ -73,7 +73,7 @@ my %APIs = (
|
||||||
# Windows doesn't have this; use g_ascii_strtoull() instead
|
# Windows doesn't have this; use g_ascii_strtoull() instead
|
||||||
'strtoull',
|
'strtoull',
|
||||||
### non-portable: fails on Windows Wireshark built with VC newer than VC6
|
### non-portable: fails on Windows Wireshark built with VC newer than VC6
|
||||||
# See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6695#c2
|
# See https://gitlab.com/wireshark/wireshark/-/issues/6695#note_400659130
|
||||||
'g_fprintf',
|
'g_fprintf',
|
||||||
'g_vfprintf',
|
'g_vfprintf',
|
||||||
### non-ANSI C
|
### non-ANSI C
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Ref: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5924
|
# Ref: https://gitlab.com/wireshark/wireshark/-/issues/5924
|
||||||
#
|
#
|
||||||
# FF: uncrustify config file for Wireshark (based on cheese-indent.cfg and
|
# FF: uncrustify config file for Wireshark (based on cheese-indent.cfg and
|
||||||
# linux.cfg... taken somewhere from the Net)
|
# linux.cfg... taken somewhere from the Net)
|
||||||
|
@ -6,7 +6,7 @@
|
||||||
# typical usage:
|
# typical usage:
|
||||||
#
|
#
|
||||||
# uncrustify -c ../../tools/ws-coding-style.cfg --replace packet-dccp.c
|
# uncrustify -c ../../tools/ws-coding-style.cfg --replace packet-dccp.c
|
||||||
#
|
#
|
||||||
|
|
||||||
# The number of columns to indent per level.
|
# The number of columns to indent per level.
|
||||||
# Usually 2, 3, 4, or 8.
|
# Usually 2, 3, 4, or 8.
|
||||||
|
@ -16,7 +16,7 @@ indent_columns = 4 # number, FF: 8 on linux
|
||||||
# 0=spaces only
|
# 0=spaces only
|
||||||
# 1=indent with tabs, align with spaces
|
# 1=indent with tabs, align with spaces
|
||||||
# 2=indent and align with tabs
|
# 2=indent and align with tabs
|
||||||
indent_with_tabs = 0 # number, FF: spaces only, questionable... as
|
indent_with_tabs = 0 # number, FF: spaces only, questionable... as
|
||||||
# everything about this topic :-)
|
# everything about this topic :-)
|
||||||
|
|
||||||
# Spaces to indent '{' from level
|
# Spaces to indent '{' from level
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
const char *
|
const char *
|
||||||
please_report_bug(void)
|
please_report_bug(void)
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
"Please report this to the Wireshark developers as a bug.\n"
|
"Please report this to the Wireshark developers as a bug.\n"
|
||||||
"https://bugs.wireshark.org/\n"
|
"https://gitlab.com/wireshark/wireshark/issues\n"
|
||||||
"(This is not a crash; please do not say, in your report, that it is a crash.)";
|
"(This is not a crash; please do not say, in your report, that it is a crash.)";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -29,5 +29,5 @@ please_report_bug(void)
|
||||||
const char *
|
const char *
|
||||||
please_report_bug_short(void)
|
please_report_bug_short(void)
|
||||||
{
|
{
|
||||||
return "Please report this to the Wireshark developers.";
|
return "Please report this to the Wireshark developers.";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue