Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

!dnsbl format is clumsy, hard to remember and not used #50

Open
jesopo opened this issue Oct 13, 2020 · 4 comments
Open

!dnsbl format is clumsy, hard to remember and not used #50

jesopo opened this issue Oct 13, 2020 · 4 comments

Comments

@jesopo
Copy link
Contributor

jesopo commented Oct 13, 2020

  • having to write out a category name is cumbersome (imagine !dnsbl DNS/MX type hostname detected on IRC)
  • dronebl listings can also take a freeform comment for additional info that should be distinct from category (currently hardcoded to "used by irc spam bot" in Sigyn, which is likely a good overridable default)
  • having a default category encourages people to list IPs without concern for category (type 3 is often not accurate!)

I'd like to propose switching to category numbers or short names, as well as making categories mandatory:
KLINE 1440 *@1.2.3.4 :[...]|!dnsbl 19 vpngate ip
KLINE 1440 *@1.2.3.4 :[...]|!dnsbl vpn vpngate ip
KLINE 1440 *@1.2.3.4 :[...]|!dnsbl 6
where the format is !dnsbl <category> [comment ...] !dnsbl [<category> [<comment ...>]]

obviously this comes at the cost of making sure everyone is informed about categories, but i don't think it's unreasonable to ask for accurate listing details.

@jesopo
Copy link
Contributor Author

jesopo commented Oct 15, 2020

I think there's a robust debate to be had about mandatory vs optional category - a question of convenience vs accuracy; whether the effort necessary to recall and use categories for each !dnsbl will outweigh the perceived benefit, and thus end up in less use of it.

aside from this, if there must be a default category, type 6 is correct more often than 3 is.

@ncoevoet
Copy link
Contributor

maybe only use this ticket to default to type 3 and leave it as it is ?

@jesopo
Copy link
Contributor Author

jesopo commented Nov 25, 2020

I'd still like a better way to request a given category and also a way to give a comment that isn't hardcoded

@ncoevoet
Copy link
Contributor

either we limit to few categories which is more human friendly to memorize, or we use the digit code or i don't know i'm a bit out of idea :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants