Skip to content

Conversation

@moreati
Copy link
Member

@moreati moreati commented Jul 28, 2023

fixes #1011

@moreati moreati changed the title Fix and test ansible_mitogen responder Fix and test ansible_mitogen module responder Jul 28, 2023
@moreati moreati force-pushed the issue1011-import-handler branch 7 times, most recently from 4620ccb to fb4ae24 Compare July 28, 2023 22:07
@moreati moreati changed the title Fix and test ansible_mitogen module responder ansible_mitogen: Remove restrictive whitelist of modules served from controller Jul 28, 2023
@moreati moreati force-pushed the issue1011-import-handler branch from fb4ae24 to eb6bdaf Compare July 29, 2023 00:25
Current module whitelist/blacklist behaviour is to reject any module not on
the whitelist if the whitelist is populated. Adding `ansible` and
`ansible_mitogen` to the whitelist effectively blocklisted every other Python
module/package, negating much of the benefit of Mitogen.

Fixes mitogen-hq#1011
@moreati moreati force-pushed the issue1011-import-handler branch from eb6bdaf to 823ee90 Compare July 30, 2023 10:21
@moreati
Copy link
Member Author

moreati commented Dec 2, 2025

The allow list (whitelist) entries were added in 2018 replcijng several deny list (blacklist) entries; with the intent of reducing roundtrips for modules that Mitogen was unlikely to be able to serve

ansible: blacklist everything except our own namespaces
Farewell, pointless roundtrips, we hardly knew ye.
-- 54a3777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ansible_mitogen blacklists third-party modules

1 participant