OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
exabgp
/
configuration
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
__init__.py
0 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📁
__pycache__
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📁
announce
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
capability.py
3.08 KB
03/13/2021 04:30:48 PM
rw-r--r--
📄
check.py
10.11 KB
03/13/2021 04:30:48 PM
rw-r--r--
📄
configuration.py
21.04 KB
03/13/2021 04:30:48 PM
rw-r--r--
📁
core
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
environment.py
11.85 KB
03/13/2021 04:30:48 PM
rw-r--r--
📁
flow
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📁
l2vpn
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📁
neighbor
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📁
operational
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
parser.py
2.92 KB
03/13/2021 04:30:48 PM
rw-r--r--
📁
process
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
setup.py
10.63 KB
03/13/2021 04:30:48 PM
rw-r--r--
📁
static
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📁
template
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
usage.py
4.12 KB
03/13/2021 04:30:48 PM
rw-r--r--
Editing: usage.py
Close
# encoding: utf-8 """ usage.py Created by Thomas Mangin on 2014-12-19. Copyright (c) 2009-2017 Exa Networks. All rights reserved. License: 3-clause BSD. (See the COPYRIGHT file) """ usage = """\ The BGP swiss army knife of networking usage: exabgp [--help] [--version] [--root ROOT] [--env ENV] [[--full-ini | --diff-ini | --full-env | --diff-env] | [--fi | --di | --fe | --de]] [--debug] [--pdb] [--test] [--once] [--signal TIME] [--memory] [--profile PROFILE] [--validate] [--run HELPER] [--decode HEX_MESSAGE]... [<configuration>...] positional arguments: configuration peer and route configuration file optional arguments: --help, -h ExaBGP manual page --version, -v shows ExaBGP version --root ROOT, -f ROOT root folder where etc,bin,sbin are located --env ENV, -e ENV environment configuration file --full-ini display the configuration using the ini format --fi (shorthand for above) --diff-ini display non-default configurations values using the ini format --di (shorthand for above) --full-env display the configuration using the env format --fe (shorthand for above) --diff-env display non-default configurations values using the env format --de (shorthand for above) --run HELPER Do not run ExaBGP but one of its helper program (options are: healthcheck and cli) debugging: --debug, -d start the python debugger on serious logging and on SIGTERM (shortcut for exabgp.log.all=true exabgp.log.level=DEBUG) --validate validate the configuration file format only --signal TIME issue a SIGUSR1 to reload the configuration after <time> seconds, only useful for code debugging --once, -1 only perform one attempt to connect to peers (used for debugging) --pdb, -p fire the debugger on critical logging, SIGTERM, and exceptions (shortcut for exabgp.pdb.enable=true) --memory, -s display memory usage information on exit --profile PROFILE enable profiling (shortcut for exabgp.profile.enable=true exabgp.profile.file=PROFILE) --test, -t perform a configuration validity check only --decode HEX_MESSAGE, -x HEX_MESSAGE decode a raw route packet in hexadecimal string ExaBGP will automatically look for its configuration file (in windows ini format): * in the etc/exabgp folder located within the extracted tar.gz * in /etc/exabgp/exabgp.env Individual configuration options can be set using environment variables, such as: > env exabgp.daemon.daemonize=true ./sbin/exabgp or: > env exabgp.daemon.daemonize=true ./sbin/exabgp or: > export exabgp.daemon.daemonize=true; ./sbin/exabgp Multiple environment values can be set, the order of preference being: 1) command line environment value using dot separated notation 2) exported value from the shell using dot separated notation 3) command line environment value using underscore separated notation 4) exported value from the shell using underscore separated notation 5) the value in the ini configuration file 6) the built-in defaults For example : > env exabgp.profile.enable=true \\ exabgp.profile.file=~/profile.log \\ exabgp.log.packets=true \\ exabgp.log.destination=host:127.0.0.1 \\ exabgp.daemon.user=wheel \\ exabgp.daemon.daemonize=true \\ exabgp.daemon.pid=/var/run/exabgp.pid \\ > ./bin/exabgp ./etc/bgp/configuration.txt The program configuration can be controlled using signals: * SIGLARM : restart ExaBGP * SIGUSR1 : reload the configuration * SIGUSR2 : reload the configuration and the forked processes * SIGTERM : terminate ExaBGP * SIGHUP : terminate ExaBGP (does NOT reload the configuration anymore) """