<commit_before>function notice_exec_ipblocker(n: notice_info, a: NoticeAction): NoticeAction
{
    execute_with_notice("/usr/local/bin/bro_ipblocker_block", n);
    return NOTICE_ALARM_ALWAYS;
}
<commit_msg>don't block the same address more than once at the same time<commit_after>function notice_exec_ipblocker(n: notice_info, a: NoticeAction): NoticeAction
{
    local cmd = fmt("lckdo /tmp/bro_ipblocker_%s /usr/local/bin/bro_ipblocker_block", n$id$orig_h);
    execute_with_notice(cmd, n);
    return NOTICE_ALARM_ALWAYS;
}

{'fraction_non_alphanumeric': 0.10416666666666667, 'fraction_numerical': 0.0, 'mean_word_length': 6.2465753424657535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5644974', 'n_tokens_mistral': 188, 'n_tokens_neox': 184, 'n_words': 37}