maltrail icon indicating copy to clipboard operation
maltrail copied to clipboard

question: How do you update the following file?

Open poppingcode opened this issue 5 years ago • 3 comments

file: maltrail/misc/ua.txt thanks

poppingcode avatar Dec 01 '20 11:12 poppingcode

  1. Currently there is no way to manually do it from user's perspective other than raw changes into that file
  2. If you have some ideas that are interesting for your case, please share so we could discuss

stamparm avatar Dec 01 '20 15:12 stamparm

  1. Currently there is no way to manually do it from user's perspective other than raw changes into that file
  2. If you have some ideas that are interesting for your case, please share so we could discuss

thanks .Could you adopt strategies to update maltrail/misc/ua.txt as the same with "maltrail/trails/feeds/" for the static data resource from Internet?

poppingcode avatar Dec 02 '20 08:12 poppingcode

Can you please give some example for such "static data resource"? I could make some feature for custom static trails, like where you could put UA: as a prefix to the trail, but parsing some random feed from internet in search for User-Agent is impossible IMO. I would really need some use case along with some examples.

Note: all those "feeds" are using custom parsing logic which can be found here. Making generic parser for UA static list, without know that those are UA strings is impossible

stamparm avatar Dec 02 '20 20:12 stamparm