blind-oracle / dnstap-bgp

Announce domains captured from DNSTap over BGP
Mozilla Public License 2.0
19 stars 8 forks source link

Domain names get partially matched #6

Closed adipierro closed 1 year ago

adipierro commented 1 year ago

Hi.

There is probably a bug that causes domains to be partially matched if they begin with the string used in domains file. For example: if domains.txt has cloud.com, some cloud*.com (ex. www.cloudaaa.com) DNS replies are intercepted and announced via BGP.

mikeS7 commented 1 year ago

@adipierro could you please test the fix for any side effects

mikeS7 commented 1 year ago

Additional fix is required for loadList function: domain www.cloudA.com will not be added if domain cloud.com exists