When writing blacklist automation for my network, is there a way to automatically determine the prefix size of the other party?

closed as too broad by Ron Maupin Jul 8 '18 at 0:24

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Actually, this question is not too broad. There is plenty of advice to give about standard prefix sizes, and in the RIPE region ISPs document the size of their delegations to customers in the RIPE database. – Sander Steffann Sep 24 '17 at 17:29
  • 1
    Everyone assumes /64, but that's a poor(at best) guess You'd have to find a listing of the netblock within some registry (ARIN, RIPE, etc.) to know the actual delegated network size. Even BGP tables won't necessarily show the entire block as people are free to announce less than the full block. – Ricky Beam Sep 26 '17 at 5:10

No there isn't. For SMTP block lists people tend to use a /64.

Not the answer you're looking for? Browse other questions tagged or ask your own question.