Git Product home page Git Product logo

trackmedown's Introduction

trackmedown

  • for project details, check out General.md
  • for funtionality and guidelines, checkout User_Guide.md
  • for debugged version, check out Final Version
  • for dev history, check out : preliminary , Version 1, Version 2

to do

  • try immigrate from sqlite3 db into postgres
  • generate alert system on a regular base - December
  • whitelist and watchlist rule
  • more data to test

resources :

dev log

dev log 10-31:

initialize_db.py - create corresponding list at beginning, run once ONLY
whitelist.py - update whitelist with ips that are from internal or been authenticated already, no need to keep alert on
watchlist.py - update watchlist with ips that are suspicious and need to be alerted immediately / in a timely manner
v2.py - slightly modification with arrangement of codes and functions

dev log 11-07:

classes.py - classes definition, accessed by other functions in py
operations.py - functions used to interact with database (query and insert)
operations.py replaced whitelist.py and watchlist.py
v2.py - directly interaction with databases

dev log 11-14:

v2.py : plcae appropriate filters for whitelist rule
filters.py : using regex for selecting ips

dev log 11-28:

validated output
fixed bugs

dev log 11-29:

add functionalities that

  • you can manually whitelisted ip
  • you can remove entry from watchlist once you get the confimation and choose if reset the count

add output the watchlist result into excel file named 'files.xlsx'

dev log 11-30:

tested on new data and fixed bugs

dev log 12-05:

added very first spotted login based on ip and hostname, thus for later reference
update interaction with the databases , organizes them in a more concise way

  • manually add whitelist entry
  • remove entry from watchlist and reset the count
  • observe an entry from it's very first appearance and most recent appearance

dev log 12-07:

tried depopulating whitelist database memory by directly comparing with filter for running time efficieny, which is version 4
sub maxmind database download with geoip module

bug log :

11-07 : calling functions / classes defined in a different file in python 3 :

(https://stackoverflow.com/questions/31540009/importerror-cannot-import-name-in-python/31540162 )

11-30: keyword specification

'Failed' 'Invalid' 'Accepted' are currently keyword to find information when parsing through log file, however, there may be other cases where also contain those keywords.

  • could solve by testing more data
  • or by identifying all possible cases that could contain those keywords but irrelevant to our purposes

12-05: python use copying variable when calling functions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.