This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
traffic generators. | |
TRex - TRex is an open source, low cost, stateful and stateless traffic generator fuelled by DPDK. It generates L4-7 traffic based on pre-processing and smart replay of real traffic templates . TRex amplifies both client and server side traffic and can scale up to 200Gb/sec with one UCS. | |
Latest commit: 16 days ago | |
https://trex-tgn.cisco.com/ | |
D-ITG - (Distributed Internet Traffic Generator) is a platform capable to produce traffic at packet level accurately replicating appropriate stochastic processes for both IDT (Inter Departure Time) and PS (Packet Size) random variables (exponential, uniform, cauchy, normal, pareto, …). D-ITG supports both IPv4 and IPv6 traffic generation and it is capable to generate traffic at network, transport, and application layer. | |
Download page last updated: 2 July, 2013 | |
http://traffic.comics.unina.it/software/ITG/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was installing pcapy, but outgoing notifications like this : | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
pcapdumper.cc:11:18: fatal error: pcap.h: No such file or directory | |
#include | |
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was runing a python code with some pcaps file, and this message came up: | |
Traceback (most recent call last): | |
File "flowRecorder.py", line 900, in <module> | |
main() | |
File "/home/alduk/Dropbox/Aleja_Internship/FlowID/venv/lib/python3.6/site-packages/click/core.py", line 722, in __call__ | |
return self.main(*args, **kwargs) | |
File "/home/alduk/Dropbox/Aleja_Internship/FlowID/venv/lib/python3.6/site-packages/click/core.py", line 697, in main | |
rv = self.invoke(ctx) | |
File "/home/alduk/Dropbox/Aleja_Internship/FlowID/venv/lib/python3.6/site-packages/click/core.py", line 895, in invoke |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXAMPLE 1: | |
To copy from nuc to jump server: | |
scp nuc@nuc3:~/flowRecorder/univ2_pt4-* ./ | |
to Copy from Jump server to PC | |
scp -P 2020 aleja@103.196.108.25:univ2* ./ | |
EXAMPLE 2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh-3.2# lsof -i4 | |
In the COMMAND column is the program that is creating the session (connection). The TYPE column shows whether it is an IPv4 or IPv6 connection. NODE column shows the used transport layer protocol (TCP/UDP), while the last column shows the SRC-IP:PORT -> DST-IP:PORT information. | |
I cleaned up the output with some useful linux utilities: | |
sh-3.2# lsof -nP -i4 | grep -v "localhost\|*\|127.0.0.1" | awk '{printf ("%10s\t%3s\t%s\n", $1, $8, $9)}’ | |
COMMAND NODE NAME | |
apsd TCP 10.140.59.187:61720->17.252.252.86:5223 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was installing some python libraries that I needed, and this message came up: | |
Traceback (most recent call last): | |
File "/usr/bin/pip3", line 11, in <module> | |
sys.exit(main()) | |
File "/usr/lib/python3/dist-packages/pip/__init__.py", line 215, in main | |
locale.setlocale(locale.LC_ALL, '') | |
File "/usr/lib/python3.5/locale.py", line 594, in setlocale | |
return _setlocale(category, locale) | |
locale.Error: unsupported locale setting |
NewerOlder