Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33596

Disable DNSMultiCast & UDPBroadcastThread by default

    • Jenkins 2.220

      In 2.0 we try to turn off listeners by default, but UDPBroadcastThread and DNSMultiCast are still started.

      We should

      • create global settings (/configureSecurity) allowing these to be enabled or disabled
      • disable them by default
      • move the start and stop calls to within the associated classes using @Initializer/@Terminator

      The third is to make it easier to split these off into a distinct plugin in the future. (Or fold them into the swarm plugin, which seems to be the major user of one of them, I cannot remember which.)

          [JENKINS-33596] Disable DNSMultiCast & UDPBroadcastThread by default

          Jesse Glick added a comment -

          system properties IIRC

          Jesse Glick added a comment - system properties IIRC

          Oleg Nenashev added a comment -

          It does not seem to be in progress. kzantow, any updates?

          Oleg Nenashev added a comment - It does not seem to be in progress. kzantow , any updates?

          Oleg Nenashev added a comment -

          There is a stalled PR from Keith: https://github.com/jenkinsci/jenkins/pull/2301

          Oleg Nenashev added a comment - There is a stalled PR from Keith: https://github.com/jenkinsci/jenkins/pull/2301

          R. Tyler Croy added a comment -

          I will be disabling this for Jenkins Evergreen and then closing this ticket since it's clearly stalled/dead.

          R. Tyler Croy added a comment - I will be disabling this for Jenkins Evergreen and then closing this ticket since it's clearly stalled/dead.

          Jesse Glick added a comment -

          Please either leave it open or file a separate issue with split-plugins-from-core.

          Jesse Glick added a comment - Please either leave it open or file a separate issue with split-plugins-from-core .

          R. Tyler Croy added a comment -

          Whatever then, this can be stalled somewhere else other than my backlog

          R. Tyler Croy added a comment - Whatever then, this can be stalled somewhere else other than my backlog

          Jesse Glick added a comment -

          Please just add a link here to whatever you wind up doing in Evergreen, so that if we revisit in Jenkins itself we remember what to clean up.

          Jesse Glick added a comment - Please just add a link here to whatever you wind up doing in Evergreen, so that if we revisit in Jenkins itself we remember what to clean up.

          Jesse Glick added a comment -

          For example, this could be discarded once the baseline version of core supported by the POM has this stuff detached.

          Jesse Glick added a comment - For example, this could be discarded once the baseline version of core supported by the POM has this stuff detached.

          Matt Sicker added a comment -

          I'd love to see this done purely because the tests for it are flaky on my machine. Also, this feature should be disabled by default for security hardening.

          Matt Sicker added a comment - I'd love to see this done purely because the tests for it are flaky on my machine. Also, this feature should be disabled by default for security hardening.

          Oleg Nenashev added a comment -

          It was released in Jenkins 2.220

          Oleg Nenashev added a comment - It was released in Jenkins 2.220

            jthompson Jeff Thompson
            jglick Jesse Glick
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: