- Filter out some overly zealous server claims.

This commit is contained in:
ccremers 2005-03-11 15:52:20 +00:00
parent b6808c4c7f
commit b831c755f3
2 changed files with 14 additions and 21 deletions

View File

@ -146,20 +146,6 @@
>>>G spliceAShcCJ CV Secret [1] tmn >>>G spliceAShcCJ CV Secret [1] tmn
>>>G spliceAShcCJ CV Secret [2] nssymmetric >>>G spliceAShcCJ CV Secret [2] nssymmetric
>>>G spliceAShcCJ CV Secret [2] nssymmetricamended >>>G spliceAShcCJ CV Secret [2] nssymmetricamended
>>>G spliceAShcCJ SV Secret [0] soph
>>>G spliceAShcCJ SV Secret [0] spliceAS
>>>G spliceAShcCJ SV Secret [0] spliceAShc
>>>G spliceAShcCJ SV Secret [1] tmn
>>>G spliceAShcCJ SV Secret [2] andrewBan soph
>>>G spliceAShcCJ SV Secret [2] gongnonceb soph
>>>G spliceAShcCJ SV Secret [2] gongnonce soph
>>>G spliceAShcCJ SV Secret [2] isoiec11770213 soph
>>>G spliceAShcCJ SV Secret [2] kaochow2 soph
>>>G spliceAShcCJ SV Secret [2] kaochow3 soph
>>>G spliceAShcCJ SV Secret [2] kaochowPalm soph
>>>G spliceAShcCJ SV Secret [2] kaochow soph
>>>G spliceAShcCJ SV Secret [2] nssymmetric
>>>G spliceAShcCJ SV Secret [2] nssymmetricamended
>>>G wmfbrutus BV Secret [0] yahalomBan >>>G wmfbrutus BV Secret [0] yahalomBan
>>>G wmfbrutus BV Secret [1] yahalompaulson >>>G wmfbrutus BV Secret [1] yahalompaulson
>>>G wmfbrutus BV Secret [2] boyd >>>G wmfbrutus BV Secret [2] boyd
@ -184,8 +170,6 @@
>>>G woolamcmv BV Secret [1] denningsaccosh >>>G woolamcmv BV Secret [1] denningsaccosh
>>>G woolamcmv BV Secret [2] yahalomBan >>>G woolamcmv BV Secret [2] yahalomBan
>>>G woolamcmv BV Secret [2] yahalompaulson >>>G woolamcmv BV Secret [2] yahalompaulson
>>>G woolamcmv SV Secret [1] denningsaccosh
>>>G woolamcmv SV Secret [1] yahalomlowe
>>>G yahalom AV Secret [1] denningsaccosh woolamcmv >>>G yahalom AV Secret [1] denningsaccosh woolamcmv
>>>G yahalom AV Secret [2] yahalomBan >>>G yahalom AV Secret [2] yahalomBan
>>>G yahalom AV Secret [2] yahalompaulson >>>G yahalom AV Secret [2] yahalompaulson

View File

@ -68,6 +68,14 @@ class buffer:
self.reset() self.reset()
def ignore_this(data):
if (data[3].rfind(" SV") != -1):
# Server role!
return True
else:
# Not including the server role
return False
def main(): def main():
buf_big = buffer("[Global]",">>>G") buf_big = buffer("[Global]",">>>G")
@ -92,11 +100,12 @@ def main():
match = int(line[loc + len(matchprefix)]) match = int(line[loc + len(matchprefix)])
print "Detected match type", match print "Detected match type", match
else: else:
# Yes! if not ignore_this(data):
claim = data[3] # Yes!
helpers = "\t".join(data[4:]) claim = data[3]
buf_big.add((claim,helpers), match) helpers = "\t".join(data[4:])
buf_small.add((claim,helpers), match) buf_big.add((claim,helpers), match)
buf_small.add((claim,helpers), match)
# Proceed to next line # Proceed to next line
line = sys.stdin.readline() line = sys.stdin.readline()