Before compiling Yaf, you need to compile and install the IPFIX library called libfixbuf is required (https://tools.netsa.cert.org/fixbuf/download.html). You will need libglib2.0-dev to compile libfixbuf.
./configure
make
| import socket | |
| import threading | |
| import select | |
| SOCKS_VERSION = 5 | |
| class Proxy: |
Before compiling Yaf, you need to compile and install the IPFIX library called libfixbuf is required (https://tools.netsa.cert.org/fixbuf/download.html). You will need libglib2.0-dev to compile libfixbuf.
./configure
make
| #!/usr/bin/perl | |
| # | |
| # Takes as input IP address (one per line) | |
| # and output the guessed IP location along with ASN origin and its description | |
| # and the BGP Ranking of each ASN | |
| # | |
| #perl ip2asn.pl | |
| # www.microsoft.com | |
| # US;AS8075;MICROSOFT-CORP---MSN-AS-BLOCK - Microsoft Corp;65.55.12.249;8075,1.00036643769349,3/9 | |
| # 8.8.8.8 |