Unable to locally mirror duo repos


#1

I have some secured environments that are not able to reach out to the internet. I run internal mirrors of relevant repos locally so that the machines on the secured segments can install software and receive updates.

I am not able to mirror the Duo RPM or Deb repos, seemingly because Duo is making it difficult.

Couple of questions:

  1. Is this on purpose?

2a) If yes, can you stop?

2b) If no, can we make it easier, please?

Thanks!

–Matt


#2

Hi,
Sorry to hear you’re having a bad time! I’ve not attempted to do this with our repos before. Can you elaborate on what it is that’s not working? What method are you using to create the mirror?


#3

By using apt-mirror (https://apt-mirror.github.io/) and Aptly (https://github.com/aptly-dev/aptly)

These are failing, I believe, because directory indexing is turned off for the repo. I’m internally monitoring several other external repos with no issues, and all of them have directory indexes (+Indexes in apache or autoindex on; in nginx).

All of the recommendations for running apt repos specify enabling directory indexes, as well.


#4

Okay excellent, thanks for the reply!
We’ll see if we can take a look at reproducing and then seeing if we can fix the issue that’s preventing you from indexing.