epan,packaging: convert http URLs to https
authorPeter Wu <peter@lekensteyn.nl>
Sat, 20 Jul 2019 15:11:39 +0000 (16:11 +0100)
committerAnders Broman <a.broman58@gmail.com>
Sat, 20 Jul 2019 20:50:59 +0000 (20:50 +0000)
Ensure that public text in error messages and dialogs point to https.
Ensure that the generated PDML files include scripts over https.

Change-Id: I75d42704c2bbb33b05492261b3e1d45dc6e301f9
Reviewed-on: https://code.wireshark.org/review/34027
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-lapd.c
epan/dissectors/packet-stt.c
epan/dissectors/packet-tcp.c
epan/dissectors/packet-udp.c
epan/dissectors/packet-v5dl.c
epan/oids.c
packaging/wix/Wireshark.wxs
packaging/wix/WiresharkOptionsDlg.wxs
pdml2html.xsl
text2pcap.c

index a60a4f8e5c85b26e6142fba162937e17b0d9b52d..b087ba0494f81b209f9a9375b0ca9f59a3870a44 100644 (file)
@@ -662,7 +662,7 @@ proto_register_lapd(void)
 
                { &hf_lapd_checksum,
                  { "Checksum", "lapd.checksum", FT_UINT16, BASE_HEX,
-                   NULL, 0x0, "Details at: http://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL }},
+                   NULL, 0x0, "Details at: https://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL }},
 
                { &hf_lapd_checksum_status,
                  { "Checksum Status", "lapd.checksum.status", FT_UINT8, BASE_NONE,
@@ -754,7 +754,7 @@ proto_reg_handoff_lapd(void)
 }
 
 /*
- * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
+ * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
  *
  * Local variables:
  * c-basic-offset: 8
index e7262fbf106014507d6df9037a09b8867e9dd74e..a57f77319c7549098452196a1c923f6011b48303 100644 (file)
@@ -29,8 +29,7 @@ static gboolean pref_reassemble = TRUE;
 static gboolean pref_check_checksum = FALSE;
 
 /* IANA  ref:
- * http://www.iana.org/assignments/service-names-port-numbers/service-
- * names-port-numbers.xml
+ * https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
  */
 #define TCP_PORT_STT  7471
 
@@ -761,7 +760,7 @@ proto_register_stt(void)
         { &hf_stt_checksum,
           { "Checksum", "stt.checksum",
             FT_UINT16, BASE_HEX, NULL, 0x0,
-            "Details at: http://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL
+            "Details at: https://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL
           },
         },
         { &hf_stt_checksum_status,
@@ -913,7 +912,7 @@ proto_reg_handoff_stt(void)
 }
 
 /*
- * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
+ * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
  *
  * Local variables:
  * c-basic-offset: 4
index 4f3df9b0c0204b1c34ffd386eb2cc2a5b112a349..bef2f2be44a9c2d9e41b2e9eda54f2cc810a4fd8 100644 (file)
@@ -4364,7 +4364,7 @@ get_or_create_mptcpd_from_key(struct tcp_analysis* tcpd, tcp_flow_t *fwd, guint6
  * The TCP Extensions for Multipath Operation with Multiple Addresses
  * are defined in RFC 6824
  *
- * <http://http://tools.ietf.org/html/rfc6824>
+ * https://tools.ietf.org/html/rfc6824
  *
  * Author: Andrei Maruseac <andrei.maruseac@intel.com>
  *         Matthieu Coudron <matthieu.coudron@lip6.fr>
@@ -6897,7 +6897,7 @@ proto_register_tcp(void)
 
         { &hf_tcp_checksum,
         { "Checksum",           "tcp.checksum", FT_UINT16, BASE_HEX, NULL, 0x0,
-            "Details at: http://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL }},
+            "Details at: https://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL }},
 
         { &hf_tcp_checksum_status,
         { "Checksum Status",      "tcp.checksum.status", FT_UINT8, BASE_NONE, VALS(proto_checksum_vals), 0x0,
index 83010836427f447e68d2f55f1c8d83a01f8ed935..1e74cd7ac57e422d6ea0dfb8cf33d39444f1f735 100644 (file)
@@ -77,7 +77,7 @@ static header_field_info hfi_udp_length UDP_HFI_INIT =
 
 static header_field_info hfi_udp_checksum UDP_HFI_INIT =
 { "Checksum", "udp.checksum", FT_UINT16, BASE_HEX, NULL, 0x0,
-  "Details at: http://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL };
+  "Details at: https://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL };
 
 static header_field_info hfi_udp_checksum_calculated UDP_HFI_INIT =
 { "Calculated Checksum", "udp.checksum_calculated", FT_UINT16, BASE_HEX, NULL, 0x0,
@@ -1392,7 +1392,7 @@ proto_reg_handoff_udp(void)
 }
 
 /*
- * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
+ * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
  *
  * Local variables:
  * c-basic-offset: 2
index 76c77950782cdb0cb2d5fb73ecc3b582aa6591c8..2066c1a395862a8f06ccb343c460dc043732b2b1 100644 (file)
@@ -377,7 +377,7 @@ proto_register_v5dl(void)
 #if 0
        { &hf_v5dl_checksum,
          { "Checksum", "v5dl.checksum", FT_UINT16, BASE_HEX,
-               NULL, 0x0, "Details at: http://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL }},
+               NULL, 0x0, "Details at: https://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL }},
 
        { &hf_v5dl_checksum_status,
          { "Checksum Status", "v5dl.checksum.status", FT_UINT8, BASE_NONE,
@@ -414,7 +414,7 @@ proto_reg_handoff_v5dl(void)
 }
 
 /*
- * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
+ * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
  *
  * Local variables:
  * c-basic-offset: 8
index 400f7b8ac6026b14a4e3a86a85278ef37790c1c6..71c0329839295e972a4b2059da1b0759ef93711d 100644 (file)
@@ -593,7 +593,7 @@ static void register_mibs(void) {
                                report_failure("Stopped processing module %s due to "
                                        "error(s) to prevent potential crash in libsmi.\n"
                                        "Module's conformance level: %d.\n"
-                                       "See details at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560325\n",
+                                       "See details at: https://bugs.debian.org/560325\n",
                                         smiModule->name, smiModule->conformance);
                        }
                        continue;
index a74a488636bffa7b34eec241d9aed67ff6dc14b8..98e35335d270ac7903f15e0ae40b3b459d7e4c9b 100644 (file)
@@ -13,7 +13,7 @@
        .ico file instead of pointing to wireshark.exe.
   -->
   <?define ProgramsFeaturesIconPath="$(var.IconDir)\wireshark.ico"?>
-  <Product Id="*" Name="$(var.WiresharkName)" Language="1033" Version="$(var.WiresharkVersion)" Manufacturer="The Wireshark developer community, http://www.wireshark.org/" UpgradeCode="0d67aace-269a-4264-81a3-da8055c1c79c">
+  <Product Id="*" Name="$(var.WiresharkName)" Language="1033" Version="$(var.WiresharkVersion)" Manufacturer="The Wireshark developer community, https://www.wireshark.org/" UpgradeCode="0d67aace-269a-4264-81a3-da8055c1c79c">
         <Package InstallerVersion="500" Compressed="yes" InstallScope="perMachine" />
     <!-- Values for Additional Tasks -->
     <Property Id="WIRESHARK_START_MENU" Value="1" Secure="yes"/>
index 42f865f3cb04de1a3fed9ad2fdaa5a7f5c1042dc..1b55dbb61a9d3a65642ef277dec3d4e6556dfa51 100644 (file)
@@ -16,7 +16,7 @@
         <!-- BannerLine y = 44, 44 + 7 = 51 -->
         <Control Id="NetworkCapture" Type="Text" X="14" Y="51" Width="350" Height="12" Text="{\WixUI_Font_Bold}Wireshark requires Npcap or WinPcap to capture network packets"/>
         <Control Id="NetworkCaptureNpcap" Type="Hyperlink" X="20" Y="63" Width="350" Height="11">
-          <Text><![CDATA[<a href="http://npcap.org">Download Npcap</a> (recommended)]]></Text>
+          <Text><![CDATA[<a href="https://npcap.org">Download Npcap</a> (recommended)]]></Text>
         </Control>
         <!-- It looks Hyperlink controls only support one hyperlink, per control. -->
         <Control Id="NetworkCaptureWinPcap" Type="Hyperlink" X="20" Y="74" Width="350" Height="11">
@@ -26,7 +26,7 @@
         <!-- NetworkCaptureWinPcap y = 74, 74 + 8 + 10 = 92 -->
         <Control Id="UsbCapture" Type="Text" X="14" Y="92" Width="350" Height="12" Text="{\WixUI_Font_Bold}Wireshark requires USBPcap to capture USB Packets"/>
         <Control Id="UsbCaptureUsbPcap" Type="Hyperlink" X="20" Y="104" Width="350" Height="11">
-          <Text><![CDATA[<a href="http://desowin.org/usbpcap/">Download USBPcap</a> (experimental)]]></Text>
+          <Text><![CDATA[<a href="https://desowin.org/usbpcap/">Download USBPcap</a> (experimental)]]></Text>
         </Control>
 
         <!-- UsbCaptureUsbPcap y = 104, 104 + 8 + 10 = 122 -->
index 02b77e0c2262350cf5b8ad59a0fb21d9aa5d4dfc..8bac7f1aee75006baf71c2d19a2f0ab9ad80f28d 100644 (file)
   <html>
   <head>
     <title>poor man's Wireshark</title>
-    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js" type="text/javascript"></script>
+    <script src="https://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js" type="text/javascript"></script>
     <script type="text/javascript">
 function set_node(node, str)
 {
index 86e2b6fcee7d290671a9be5c2ba4d94242e26fb7..902b2b8d114e7a7806a289b5e9172cf1c96b9e70 100644 (file)
@@ -389,7 +389,7 @@ static char tempbuf[64];
  * Stuff for writing a PCap file
  */
 
-/* Link-layer type; see http://www.tcpdump.org/linktypes.html for details */
+/* Link-layer type; see https://www.tcpdump.org/linktypes.html for details */
 static guint32 pcap_link_type = 1;   /* Default is LINKTYPE_ETHERNET */
 
 /*----------------------------------------------------------------------
@@ -1387,7 +1387,7 @@ print_usage (FILE *output)
             "\n"
             "Output:\n"
             "  -l <typenum>           link-layer type number; default is 1 (Ethernet).  See\n"
-            "                         http://www.tcpdump.org/linktypes.html for a list of\n"
+            "                         https://www.tcpdump.org/linktypes.html for a list of\n"
             "                         numbers.  Use this option if your dump is a complete\n"
             "                         hex dump of an encapsulated packet and you wish to\n"
             "                         specify the exact type of encapsulation.\n"
@@ -1925,7 +1925,7 @@ clean_exit:
 }
 
 /*
- * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
+ * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
  *
  * Local variables:
  * c-basic-offset: 4