Coder Social home page Coder Social logo

sepo79 / tachyonnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yoda66/tachyonnet

0.0 0.0 0.0 27 KB

A project which will listen on all TCP/UDP ports, and log the first X number of bytes sent to the socket. X is defined as 8192 bytes by default.

License: Other

Python 100.00%

tachyonnet's Introduction

TachyonNet

A project which will listen on all TCP/UDP ports, and log the first X number of bytes sent to the socket. X is defined as 8192 bytes by default.

IMPORTANT: A default linux installation will not have
enough file descriptors allocated to open up
65535 * 2 (TCP and UDP) sockets.  Within Ubuntu/Debian,
see /etc/security/limits.conf file.

A structured log format will be created. The default logging directory is the home directory of the user who runs the program, following by ".tachyon_net" and then a date stamp based directory.

Example: If it is July 19, 2016 today, then TachyonNet will create a logging directory as follows:

~/.tachyon_net/20160719/

Within this directory, you will find files representing TCP/IP connections made to this system. The first 8192 bytes (default) of data received is written to this file.

ls ~/.tachyon_net/20160719/
tcp_127.0.0.1_54561__0.0.0.0_8080.log
tcp_127.0.0.1_54562__0.0.0.0_8090.log

The file name itself consists of:

proto_srcip_sport__dstip_dport.log

Usage

[*] ======================================
[*]  TachyonNet Version 20160808_1.1
[*]  Author: Joff Thyer (c) 2016
[*]  Black Hills Information Security
[*] ======================================

usage: tn [-h] [-b BINDADDR] [--mintcp MINTCP] [--maxtcp MAXTCP]
      [--minudp MINUDP] [--maxudp MAXUDP] [--bufsize BUFSIZE] [-t THREADS]
      [--notcp] [--noudp] [--noicmp] [-f] [--pidfile PIDFILE] [-D]
      [--syslog-facility {user,syslog,daemon,local0,local1,local2,local3,local4,local5,local6,local7}]

optional arguments:
  -h, --help            show this help message and exit
  -b BINDADDR, --bindaddr BINDADDR
                        IP address to bind/listen on (defaults to all)
  --mintcp MINTCP       lowest TCP port in range to listen on (default: 1024)
  --maxtcp MAXTCP       highest TCP port in range to listen on (default:
                        32768)
  --minudp MINUDP       lowest UDP port in range to listen on (default: 1024)
  --maxudp MAXUDP       highest UDP port in range to listen on (default:
                        32768)
  --bufsize BUFSIZE     buffer size to capture traffic (default: 8192 bytes)
  -t THREADS, --threads THREADS
                        number of TCP/UDP threads (default: 32)
  --notcp               do not open TCP sockets
  --noudp               do not open UDP sockets
  --noicmp              do not open ICMP socket
  -f, --fin             Use 3-way/4-way FIN/ACK to teardown connections
                        (defaults to TCP RESET)
  --pidfile PIDFILE     filename to write process id file to (default: tn.pid)
  -D, --daemon          run in daemon mode
  --syslog-facility     {user,syslog,daemon,local0,local1,local2,local3,local4,local5,local6,local7}

tachyonnet's People

Contributors

yoda66 avatar krayon avatar

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.