Comments (2)
Thanks @cryptix!
Unfortunately the scanner is not able to handle IPv6 addresses yet because of the various formats it can take. I haven't settled on a good way to parse it without hammering the scanner performance. I am trying a few things and hope to get something done soon.
from sequence.
go run ./sequence.go scan -m "Feb 06 13:37:00 box sshd[4388]: Accepted publickey for cryptix from dead:beef:1234:5678:223:32ff:feb1:2e50 port 58251 ssh2: RSA de:ad:be:ef:74:a6:bb:45:45:52:71:de:b2:12:34:56"
# 0: { Field="%funknown%", Type="%time%", Value="Feb 06 13:37:00", K=false, V=false }
# 1: { Field="%funknown%", Type="%literal%", Value="box", K=false, V=false }
# 2: { Field="%funknown%", Type="%literal%", Value="sshd", K=false, V=false }
# 3: { Field="%funknown%", Type="%literal%", Value="[", K=false, V=false }
# 4: { Field="%funknown%", Type="%integer%", Value="4388", K=false, V=false }
# 5: { Field="%funknown%", Type="%literal%", Value="]", K=false, V=false }
# 6: { Field="%funknown%", Type="%literal%", Value=":", K=false, V=false }
# 7: { Field="%funknown%", Type="%literal%", Value="Accepted", K=false, V=false }
# 8: { Field="%funknown%", Type="%literal%", Value="publickey", K=false, V=false }
# 9: { Field="%funknown%", Type="%literal%", Value="for", K=false, V=false }
# 10: { Field="%funknown%", Type="%literal%", Value="cryptix", K=false, V=false }
# 11: { Field="%funknown%", Type="%literal%", Value="from", K=false, V=false }
# 12: { Field="%funknown%", Type="%ipv6%", Value="dead:beef:1234:5678:223:32ff:feb1:2e50", K=false, V=false }
# 13: { Field="%funknown%", Type="%literal%", Value="port", K=false, V=false }
# 14: { Field="%funknown%", Type="%integer%", Value="58251", K=false, V=false }
# 15: { Field="%funknown%", Type="%literal%", Value="ssh2", K=false, V=false }
# 16: { Field="%funknown%", Type="%literal%", Value=":", K=false, V=false }
# 17: { Field="%funknown%", Type="%literal%", Value="RSA", K=false, V=false }
# 18: { Field="%funknown%", Type="%literal%", Value="de:ad:be:ef:74:a6:bb:45:45:52:71:de:b2:12:34:56", K=false, V=false }
from sequence.
Related Issues (20)
- Readme doesn't say how to run / build HOT 6
- Sequence can't handle Chinese HOT 2
- No output to `stdout` when output file flag is empty HOT 1
- Sequences with URI's are not matched correctly HOT 1
- URI's starting with "//" are not tokenized correctly HOT 1
- '|' (pipe character) causes error during analyze HOT 2
- Path not correctly analyse HOT 1
- syslog-ng patterndb integration HOT 1
- data folder is missing in the root directory HOT 1
- Been working on sequence for the last 2 months - would love to discuss HOT 3
- Why does the html tag identify as a tag. HOT 1
- unit test failed in analyzer_test.go HOT 1
- integer with trailing dot recognized as float HOT 1
- time not recognized at end of line HOT 2
- A greedy (whitespace-consuming) %string% type? HOT 6
- Unknown token encountered HOT 4
- relaxing types HOT 3
- show message counts HOT 3
- iostat output - split over multiple lines, and in multi-line table HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sequence.