DOKK / manpages / debian 11 / jool-tools / jool_siit.8.en
jool_siit(8) SIIT Jool's Userspace Client jool_siit(8)

jool_siit - Interact with SIIT Jool (the kernel module).

Sends commands and requests to SIIT Jool.
SIIT Jool is a kernel module you load into a Linux kernel. It implements RFC 7915.

Linux is the only OS in which this program makes sense.
Kernels 3.13.0 and up.

jool_siit [<argp1>] instance (
display
[--csv]
[--no-headers]
| add
[<Instance-Name>]
(--netfilter | --iptables)
[--pool6 <IPv6-prefix>]
| remove
[<Instance-Name>]
| flush
| <help>
)

jool_siit [<argp1>] stats (
display
[--csv]
[--no-headers]
[--all]
[--explain]
| <help>
)

jool_siit [<argp1>] global (
display
[--csv]
[--no-headers]
| update
<Key> <Value>
| <help>
)

jool_siit [<argp1>] eamt (
display
[--csv]
[--no-headers]
| add
<IPv4-prefix> <IPv6-prefix>
[--force]
| remove
<IPv4-prefix> <IPv6-prefix>
| flush
| <help>
)

jool_siit [<argp1>] address (
query [--verbose] <IP-Address>
)

jool_siit [<argp1>] denylist4 (
display
[--csv]
[--no-headers]
| add
<IPv4-prefix>
[--force]
| remove
<IPv4-prefix>
| flush
| <help>
)

jool_siit [<argp1>] file (
handle <JSON-File>
| <help>
)

<argp1> := (<help> | --instance <Name> | --file <File>)

<help> := (--help | --usage | --version)

Show all instances from all namespaces.
Create a new instance.
Drop an existing instance.
Drop all instances from the current namespace.
Show internal counters.
Show the current values of the instance's tweakable internal variables.
Tweak one of the instance's internal variables.
Show the EAM table.
Upload an entry to the EAM table.
Drop an entry from the EAM table.
Empty the EAM table.
Print the translated version of the given address using the current configuration.
Show the denylist.
Upload an entry to the denylist.
Drop an entry from the denylist.
Empty the denylist.
Parse all the configuration from a JSON file.
Create instance if it doesn't exist, update if it does.

Name of the instance you want to interact with.
It's an ASCII string, 15 characters max. Defaults to 'default'.
JSON file which contains the name of the instance you want to interact with.
Same JSON structure as the one from atomic configuration.
Output in CSV table format.
Do not print table headers. (Nor footer, if applies.)
Sit the instance on top of the Netfilter framework.
Sit the instance on top of the iptables framework.
Contents of the new instance's IPv6 pool.
The format is 'PREFIX_ADDRESS[/PREFIX_LENGTH]'.
Show all the counters.
(Otherwise, only the nonzero ones are printed.)
Show a description of each counter.
Print some details regarding the translation operation.
Apply operation even if certain validations fail.

<Key> <Value>
Name of the variable you want to edit (see 'Globals' section), and its new value.
<IPv6-prefix>
The format is IPV6_ADDRESS[/PREFIX_LENGTH]. PREFIX_LENGTH defaults to 128.
<IPv4-prefix>
The format is IPV4_ADDRESS[/PREFIX_LENGTH]. PREFIX_LENGTH defaults to 32.
<Instance-Name>
Name of the instance you want to add or remove.
If --instance or --file were included in <argp1>, then the instance names must match.
<JSON-file>
Path to a JSON file.

Enable or disable the instance.
The IPv6 pool's prefix.
The format is 'PREFIX_ADDRESS[/PREFIX_LENGTH]'.
Use null to clear.
Smallest reachable IPv6 MTU.
Enable logging of debug messages?
Always set the IPv6 header's 'Traffic Class' field as zero?
Otherwise copy from IPv4 header's 'TOS'.
Override the IPv4 header's 'TOS' field as --tos?
Otherwise copy from IPv6 header's 'Traffic Class'.
Value to override TOS as (only when override-tos is ON)
Set the list of plateaus for ICMPv4 Fragmentation Neededs with MTU unset.
Compute the UDP checksum of IPv4-UDP packets whose value is zero?
Otherwise drop the packet.
Defines how EAM+hairpinning is handled.
Randomize selection of address from the RFC6791 pool?
Otherwise choose the 'Hop Limit'th address.
IPv6 prefix to generate RFC6791v6 addresses from.
Use null to clear.
IPv4 prefix to generate RFC6791v4 addresses from.
Use null to clear.
Log basic packet fields as they are received?

Create a new instance named "Example":
jool_siit instance add Example --iptables

Print the globals:
jool_siit -i Example global display

Change the IPv6 pool prefix:
jool_siit -i Example global update pool6 2001:db8::/96

Print the Explicit Address Mappings Table (EAMT):
jool_siit -i Example eamt display

Add an entry to the EAMT:
jool_siit -i Example eamt add 2001:db8::/120 192.0.2.0/24

Remove an entry from the EAMT:
jool_siit -i Example eamt remove 2001:db8::/120

Add denylist prefix 192.0.2.0/24:
jool_siit -i Example denylist4 add 192.0.2.0/24

Allow translation of 192.0.2.0/24:
jool_siit -i Example denylist4 remove 192.0.2.0/24

TRUE, FALSE, 1, 0, YES, NO, ON and OFF are all valid booleans. You can mix case too.

Zero on success, non-zero on failure.

NIC Mexico & ITESM

Our issue tracker is https://github.com/NICMx/Jool/issues. If you want to mail us instead, use jool@nic.mx.

Copyright 2021 NIC Mexico.
License: GPLv2 (GNU GPL version 2)
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

https://www.jool.mx
https://www.jool.mx/en/documentation.html

2021-02-19 v4.1.5