Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • N Nomad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 小 白蛋
  • Nomad
  • Repository
Switch branch/tag
  • nomad
  • website
  • content
  • docs
  • upgrade
  • upgrade-specific.mdx
Find file BlameHistoryPermalink
  • Seth Hoenig's avatar
    drivers/docker+exec+java: disable net_raw capability by default · 003d68fe
    Seth Hoenig authored May 12, 2021
    The default Linux Capabilities set enabled by the docker, exec, and
    java task drivers includes CAP_NET_RAW (for making ping just work),
    which has the side affect of opening an ARP DoS/MiTM attack between
    tasks using bridge networking on the same host network.
    
    https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities
    
    This PR disables CAP_NET_RAW for the docker, exec, and java task
    drivers. The previous behavior can be restored for docker using the
    allow_caps docker plugin configuration option.
    
    A future version of nomad will enable similar configurability for the
    exec and java task drivers.
    003d68fe

免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全