|
NAMEnetgdb —
protocol for debugging the kernel with GDB over the
network
SYNOPSISNetGDB support is compiled by default, if DDB, GDB, and INET are enabled. To build a kernel without it, add the following line to your kernel configuration file:nooptions NETGDB DESCRIPTIONnetgdb is a UDP-based protocol for communicating with a
remote GDB client via an intermediary proxy.
A target remote
⟨proxyip:proxyport⟩At this point, the server proxies traffic back and forth between
IMPLEMENTATION NOTESThe UDP protocol is based on the same packet structure and a subset of the exact same message types as netdump(4). It uses theHERALD , DATA
(née VMCORE ), and
FINISHED message types. Like
netdump(4),
the client's initial HERALD message is acknowledged
from a random source port, and the client sends subsequent communication to
that port.
Unlike
netdump(4),
the initial The first version of the The list of supported network drivers and protocol families is identical to that of netdump(4). DIAGNOSTICSThe following variable is available via both sysctl(8) and loader(8) (as a tunable):
SEE ALSOddb(4), gdb(4), netdump(4)HISTORYnetgdb first appeared in FreeBSD
13.0.
BUGSnetgdb may only be used after the kernel has panicked,
due to limitations in the treatment of locking primitives under
ddb(4).
SECURITY CONSIDERATIONSVersion 1 of thenetgdb protocol has no security
properties whatsoever. All messages are sent and acknowledged in cleartext,
and no message authentication codes are used to prevent attackers from forging
messages. It is absolutely inappropriate for use across the public internet.
Visit the GSP FreeBSD Man Page Interface. |