sfntools

SAFE NETWORKING TOOLS

Install & run the app to get help on usage

1. Clone repo

git clone https://www.github.com/PaloAltoNetworks/sfntools.git

2. Change into repo directory

cd sfntools

The following 3 steps are optional. If you have installed this on the same server as your SafeNetworking instance, you can use the SafeNetworking virtualenv as it has libaries needed. If this is the case, skip to step 6.

3. Create python 3.6 virtualenv

NOTE: If you need to install python 3.6, see these instructions

python3.6 -m venv env

4. Activate virtualenv

source env/bin/activate

5. Download required libraries

pip install -r requirements.txt

6. Run sfntools to see the usage instructions

./sfntools

Examples

Replay a log from home directory to a server with port 514

./sfntools replay --host 192.168.17.222 --port 514 --log ~/mylog.csv

Generate fake DNS data for last 60 days with 20 thousand events to localhost and default port

./sfntools dns --days_past 60 --tne 20000

Get help for replay sub-command

./sfntools replay --help

If you need assistance, contact sp-solutions@paloaltonetworks.com

Developer Sites

Social


Copyright © 2021 Palo Alto Networks, Inc. All rights reserved.