EnglezăFrancezăSpaniolă

Ad


Favicon OnWorks

nstreams - Online in the Cloud

Run nstreams in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command nstreams that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NUME


nstreams - a tcpdump output analyzer

REZUMAT


nstreams [ -v ] [ -c nstreams-services ] [ -n nstreams-networks_file ] [ -N [ -i ] [ -I ]]
[ -r ] [ -O output [ -D iface ] [ -Y ]] [ -u ] [ -U ] [ -B ] [ -f tcpdump_file ] [ -l
] [ tcpdump producție ]

DESCRIERE


nstreams is a utility designed to identify the IP streams that are occuring on a network
from a non-user friendly tcpdump output of several megabytes.

This is especially useful when you plan to install a firewall but if you do not know the
nstreams that the network users are generating (http, real audio, and more...). nstreams
can read the tcpdump output directly from stdin, or from a file. It can even generate the
configuration file of your firewall, using the -O option.

OPŢIUNI


-c <nstreams-services-file>
The path to an alternate nstreams service file. This file is used to identify each
protocol. Vezi Servicii fişier section later in this manual page.

-n <nstreams-networks-file>
The path to an alternate nstreams network file. This file is used to identify which
hosts belong to which network. See the rețele fişier section later in this manual
.

-f <tcpdump output file>
The path to the file to read data from. This file must have been generated using
'tcpdump -w filename'.

-l <iface>
Listen directly on interface <iface>. This avoids the use of tcpdump.

-N print the networks names instead of the hosts IP addresses. The intra-network
traffic will not be shown. Use this option twice to show the networks IP address
instead of their names.

-i Also show the intra-network traffic (must be used with -N)

-I Only show the intra-network traffic (must be used with -N)

-r be redundant. That is, the same streams will be printed each time they appear in
the dump.

-v print version number and exit.

-O <type>
output type. You can use this option to generate your firewall startup script. Do
nstreams -h to see the supported output types.

-D <iface>
interface to apply to output onto. Must be used with -O.

-Y The firewall rules that will be generated will deny all packets coming from the
outside trying to establish connections to the inside. If you system is not serving
anything, then it's safe to turn on this option.

-u Do not print the unknown streams

-U Only print the unknown streams

-B Show broadcasts and networks

UTILIZARE


Lăsa tcpdump(1) run some time on your network (like one week), and save its output in a
file, by doing :
tcpdump -l -n > output
or
tcpdump -w filename

Then, feed nstreams with this output file, and it will turn it into a easily-readable file
which will help you to write efficient firewall filters. You may also do :
tcpdump -l -n | nstreams
or
nstreams -f filename (if you used tcpdump -w)

THE SERVICII FILE


The service file contains the description of each protocol, as well as their name. Its
syntax is :
protocol_name:server_port(s)/{udp,tcp}:client_ports(s)
aur:
protocol_name:type(s)/icmp:code(s)

Whereas :

nume_protocol
is the name of the protocol described. This name may contain any character,
including space, except ':'.

server_port(s)
is the range of ports used by the server. Usually, you will want to define one
server port only, but you may enter any range you want.

ip_protocol
is the IP protocol that this protocol is lying onto. Acceptable values are tcp și
udp

client_port(s)

is the range of ports that the client may use. You can set this to Orice or, for more
accurate results, to ports ranges, like '1-1024,2048-4096'.
The rules are : 'first match, first taken'.

SERVICIU FILE EXEMPLU


Using this syntax, you would declare the ssh protocol by :
ssh-unix:22/tcp:1000-1023
Because the Unix version of the ssh client uses a privileged port to connect onto the ssh
server which listens on port 22.

THE REȚELE FILE


The networks file is used to define sets and subsets of hosts (also known as networks).
This avoids redundancy in the output file. The syntax format for this file is :
network name:ip/mask
Whereas the network name is whatever you want, the IP is the ip of the network, and the
mask is the CIDR netmask of the network. The rule is 'first match, first taken'.

REȚELE FILE EXEMPLU


admin:192.168.19.0/29
whole_subnet:192.168.0.0/16
internet:0.0.0.0/0

LIMITE ALE


· nstreams can only parse the output of 'tcpdump -n'

· Even though the output of nstreams is easier to read than the one of tcpdump, it is
still not easily readable. Use fel(1) on the nstream output to get a more readable file.

· This program could have been written in perl

Use nstreams online using onworks.net services


Servere și stații de lucru gratuite

Descărcați aplicații Windows și Linux

  • 1
    itop - ITSM CMDB OpenSource
    itop - ITSM CMDB OpenSource
    Portal de operațiuni IT: o deschidere completă
    sursă, ITIL, serviciu web
    instrument de management, inclusiv un complet
    CMDB personalizabil, un sistem de asistență și
    un om cu documente...
    Descărcați itop - ITSM CMDB OpenSource
  • 2
    Clementine
    Clementine
    Clementine este o muzică multi-platformă
    jucător și organizator de bibliotecă inspirat de
    Amarok 1.4. Are un rapid și
    interfață ușor de utilizat și vă permite
    cauta si...
    Descărcați Clementine
  • 3
    XISMuS
    XISMuS
    ATENȚIE: Actualizarea cumulativă 2.4.3 are
    fost eliberat!! Actualizarea funcționează pentru orice
    versiunea anterioară 2.xx. Dacă faceți upgrade
    din versiunea v1.xx, vă rugăm să descărcați și
    i ...
    Descărcați XISMuS
  • 4
    facetracknoir
    facetracknoir
    Program modular de urmărire a capului care
    acceptă mai multe face-tracker, filtre
    și protocoale de joc. Printre urmăritori
    sunt SM FaceAPI, AIC Inertial Head
    Urmăritor ...
    Descărcați facetracknoir
  • 5
    Cod QR PHP
    Cod QR PHP
    Codul QR PHP este open source (LGPL)
    bibliotecă pentru generarea codului QR,
    Cod de bare bidimensional. Bazat pe
    libqrencode C biblioteca, oferă API pentru
    se creează codul QR barc...
    Descărcați codul QR PHP
  • 6
    freeciv
    freeciv
    Freeciv este un program gratuit pe rând
    joc de strategie multiplayer, în care fiecare
    jucătorul devine liderul unui
    civilizație, luptă pentru a obține
    Scopul final: a fi...
    Descărcați Freeciv
  • Mai mult »

Comenzi Linux

Ad