This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################### | |
# HA-DX contest for stations outside HA # | |
# HA2OS, 04.01.2014 # | |
######################################### | |
# | |
CONTEST=ha-dx | |
LOGFILE=hadx.log | |
CONTEST_MODE | |
CABRILLO=UNIVERSAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RULES=waedc | |
EDITOR=vi | |
CALL=HA2OS | |
TIME_OFFSET=0 | |
TIME_MASTER | |
ADDNODE=192.168.72.254 | |
THISNODE=A | |
LAN_DEBUG | |
NETKEYER | |
CWSPEED=30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################### | |
# Rule file for SAC contest, HA2OS # | |
# SCANDINAVIAN STATIONS # | |
# 2014.09.16 # | |
###################################### | |
# | |
CONTEST=sac | |
LOGFILE=sac.log | |
CONTEST_MODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3G3O | |
4K6FO | |
4L1UN | |
4X0T | |
4X6FR | |
5B4AIF | |
7N2UQC | |
7X2JV | |
7Z1SJ | |
8P2K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"enabled":1, | |
"version_min":300000, | |
"title":"multipart parser - contains foreign boundary, no UNMATCH rule", | |
"client":{ | |
"ip":"200.249.12.31", | |
"port":123 | |
}, | |
"server":{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import Hamlib | |
Hamlib.rig_set_debug(Hamlib.RIG_DEBUG_NONE) | |
class Rig(object): | |
def __init__(self): | |
self.rig = Hamlib.Rig(Hamlib.RIG_MODEL_NETRIGCTL) | |
self.rig.open() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <hamlib/rig.h> | |
int main() { | |
RIG * my_rig; | |
int retcode; | |
vfo_t vfo; | |
rig_set_debug(RIG_DEBUG_NONE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import glob | |
import sys | |
import os | |
import secrules_parsing.secrules_parser as secrules_parser | |
import sre_parse | |
import sre_constants | |
import re |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/secrules_parser.py b/secrules_parser.py | |
index 0c1143f..106588b 100644 | |
--- a/secrules_parser.py | |
+++ b/secrules_parser.py | |
@@ -94,7 +94,7 @@ def get_rule_id(rule): | |
def get_rule_regex(rule): | |
""" Gets the regex. Only for a given SecAction or SecRule """ | |
- if rule.__class__.__name__ == "SecRule" or rule.__class__.__name__ == "SecAction": | |
+ if rule.__class__.__name__ == "SecRule": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"enabled":1, | |
"version_min":300000, | |
"title":"multipart parser (normal)", | |
"client":{ | |
"ip":"200.249.12.31", | |
"port":123 | |
}, | |
"server":{ |
OlderNewer