Ask Your Question
0

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

asked 2018-10-18 13:02:17 +0000

damor gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-18 14:25:01 +0000

cmaynard gravatar image

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.

edit flag offensive delete link more

Comments

Thanks for the swift reply

damor gravatar imagedamor ( 2018-10-18 15:17:48 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-10-18 13:02:17 +0000

Seen: 296 times

Last updated: Oct 18 '18