First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Is it possible to change where Wireshark obtains its updates from?

I have an offline system and I would like to upload one copy of the new software and let the machines gather it from a central point.

Is it possible to change the update location on the software?

damor's avatar
1
damor
asked 2018-10-18 13:02:17 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

If you're referring to the automatic update feature available with Wireshark on the Windows platform, then yes, it's possible. It will require that you:

  • Modify and recompile Wireshark yourself, including creating a new installer (or installers if you want to provide updates for both 32-bit and 64-bit platforms). The code you must modify is the update_url_str in the software_update.c source code.
  • You will need to have a web server running on the hosting machine.
  • You will have to provide a replacement stable.xml file on your server.

You can see examples of Wireshark's stable.xml files at:

Example page source (for 64-bit stable.xml):

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
<channel>
    <title>Wireshark Stable Release</title>
    <link>https://www.wireshark.org/download.html</link>
    <description>The latest stable release of Wireshark.</description>
    <language>en</language>
    <item>
      <title>Version 2.6.4</title>
      <sparkle:releaseNotesLink>https://www.wireshark.org/update/relnotes/wireshark-2.6.4.html</sparkle:releaseNotesLink>
      <pubDate>Thu, 11 Oct 2018 22:40:34 GMT</pubDate>
      <enclosure url="https://1.na.dl.wireshark.org/win64/Wireshark-win64-2.6.4.exe"
                 sparkle:version="2.6.4"
                 type="application/octet-stream">
      </enclosure>
    </item>
  </channel>
</rss>

Refer to the WinSparkle web site for more information, in particular the section on Appcast Feeds.

cmaynard's avatar
11.1k
cmaynard
answered 2018-10-18 14:25:01 +0000
edit flag offensive 0 remove flag delete link

Comments

Thanks for the swift reply

damor's avatar damor (2018-10-18 15:17:48 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer