Skip to content

Question: whitelisting / retrieve applicable mirror list in machine-readable format? #615

@jmozd

Description

@jmozd

Hi,

we were asked to provide URL whitelists for Internet access, and regarding openSUSE downloads would like to automate this by querying MirrorCache.

I'm aware of using i.e. "https://download.opensuse.org/distribution/leap/15.6/iso/openSUSE-Leap-15.6-DVD-x86_64-Build710.3-Media.iso?mirrorlist" to receive a currentlist of potential mirrors in human-readable format. Is there some query parameter I may add so that i.e. a JSON is returned?

And with regards to the list of applicable mirrors returned - comparing to "mirrors.opensuse.org" I can tell that above URL only returns a subset of mirrors. And as I see at least a few connects to mirrors not contained the the result from above URL (but contained in mirrors.opensuse.org) I must assume that the "?mirrorlist" query will return changing entries across multiple queries. True?

How are others handlng whitelisting requirements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions