subgraph / roflcoptor

Tor Control Port Filter and State Tracker Daemon
BSD 3-Clause "New" or "Revised" License
25 stars 8 forks source link

New regex and regex scrub filters, proposed oz-daemon filter for TB #36

Closed dma closed 8 years ago

dma commented 8 years ago

Covers roflcoptor issues #33 , #34 , #35.

go test failed due to a panic (!) in unrelated code, please investigate if you can. I made some quick test cases for the new filters but please double check before merging this in.

david415 commented 8 years ago

looks like one of my tests was broken so i fixed it just now: https://github.com/subgraph/roflcoptor/commit/6c899bc96a7b43d07a98970b299cf0c50a004ccf

after running "go test" again i noticed this new test case fails:

--- FAIL: TestFilter (0.00s)
    sieve_test.go:89: input '12345 BUILD this is a test'
        produced output ''
        but wanted '12345 BUILD this s a test'