NSCTL(8)
π NSCTL(8) π
okay bestie, buckle up β this is nsctl from section 8 of the manual (you know, the system administration section, main character energy only) β¨
π NAME π
nsctl β manage a running l2tpns instance π«Ά
πΈ SYNOPSIS πΈ
nsctl [-d] [-h host[:port]] [-t timeout] command [arg ...]
β¨ DESCRIPTION β¨
so basically nsctl slides into a running l2tpns process's DMs and sends it commands. π that's the whole vibe.
and it's giving two things, actually:
- loading or unloading plugins π§©
- managing sessions, via functions that those plugins provide π
π OPTIONS π
-dβ turns on debugging output. not me turning this on immediately, fr fr πβ¨-h host[:port]β the host runningl2tpnsthat should receive the message. by default the message is sent to UDP port1702onlocalhostπ (iykyk)-t timeoutβ timeout in seconds to wait for a response from the server. patience is a virtue but so is a timeout β°
π COMMANDS π
the first argument is literally the command you're sending to l2tpns. here's the lineup, as defined:
load_pluginplugin β load the named plugin π§©πunload_pluginplugin β unload the named plugin π§©πhelpβ every loaded plugin gets queried for what commands it supports, and then the synopsis for each one is output πβ¨
and for literally any other value of command (plus any args if there are any) β those get sent to l2tpns as-is, to be passed to each plugin that registers a plugin_control function, in turn, where it may be acted upon. so it's a lil relay race, no cap πβοΈπ₯
π¦ SEE ALSO π¦
l2tpns(8)π
π AUTHORS π
this manual page was written by Jonathan McDowell noodles@the.earth.li, for the Debian GNU/Linux system (but may be used by others). iconic of them honestly π
and that's the whole page, bestie π this is the NSCTL(8) page, version/date stamped January 31, 2021, filed under "Manage running l2tpns instance" β slay, go forth and control your plugins π«Άβ¨
π¦ where this page comes from
- ubuntu resolute: l2tpns 2.5.0-1 Β· GPL+
- ubuntu stonking: l2tpns 2.5.0-1 Β· GPL+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms