XINETD.LOG(5)
π XINETD.LOG(5) β the xinetd.log glow-up π
okay bestie, this is the File Formats Manual entry for xinetd.log, aka the receipts your xinetd drops when people come knocking. pull up a chair, we're decoding the whole thing π
β¨ NAME β¨
xinetd.log β the log format that xinetd uses for its services, periodt.
πΈ DESCRIPTION πΈ
so here's the vibe: a service config can ask for various degrees of logging whenever somebody tries to access that service. and when logging for a service is turned on, xinetd writes out one-line log entries, every single one of them prefixed with a timestamp. the shape is:
entry: service-id data
what shows up in data? depends on the entry, babes. the possible entry types are:
STARTβ fires when a server is started πEXITβ fires when a server exits πFAILβ fires when it's literally not possible to start a server πUSERIDβ fires if theUSERIDlog option is usedNOIDβ fires if theUSERIDlog option is used, and theIDONLYservice flag is used, and the remote end does not identify who is trying to access the service π΅οΈβοΈ
and now, the important bit: in everything below, the stuff wrapped in brackets only shows up if the appropriate log option is used. no option, no bracket content, no cap.
A START entry has this format:
START: service-id [pid=%d] [from=%d.%d.%d.%d]
An EXIT entry has this format:
EXIT: service-id [type=%d] [pid=%d] [duration=%d(sec)]
quick lore drop:typecan be eitherstatusorsignal. that number is either the exit status or the signal that caused process termination. both valid, both telling a story π
A FAIL entry has this format:
FAIL: service-id reason [from=%d.%d.%d.%d]
and the possible reasons are:
forkβ a certain number of consecutive fork attempts failed (this number is a configurable parameter)timeβ the time check failed β°addressβ the address check failed πservice_limitβ the allowed number of server instances for this service would be exceededprocess_limitβ a limit on the number of forked processes was specified and it would be exceeded
A DATA entry has this format:
DATA: service-id data
the data that gets logged depends on the service:
loginβremote_user=%s local_user=%s tty=%sexecβremote_user=%s verify=status command=%s- and the possible
statusvalues are:okβ the password was correct βfailedβ the password was incorrect βbaduserβ no such user π«₯
- and the possible
shellβremote_user=%s local_user=%s command=%sfingerβreceived stringorEMPTY-LINE
A USERID entry has this format:
USERID: service-id text
and the text is the response of the identification daemon at the remote end, excluding the port numbers (which are included in the response). yeah, they're in there, we're just not showing them here. iykyk.
A NOID entry has this format:
NOID: service-id IP-address reason
π¦ SEE ALSO π¦
xinetd(1L)xinetd.conf(5)
and that's the whole page, bestie β go forth and read your logs like the main character you are ππ
28 April 1993 β yeah she's an oldie but she's still iconic, mwah πβ¨
π¦ where this page comes from
- debian bookworm: xinetd 1:2.3.15.3-1+b1 Β· Custom
- debian trixie: xinetd 1:2.3.15.4-5 Β· Custom
- nixos 26.05: xinetd 2.3.15.4
- nixpkgs unstable: xinetd 2.3.15.4
- opensuse-leap 16.0: xinetd 2.3.15.4-bp160.1.12 Β· xinetd
- opensuse-leap 16.0: xinetd 2.3.15.4-bp160.1.12 Β· xinetd
- opensuse-leap 16.0: xinetd 2.3.15.4-bp160.1.12 Β· xinetd
- opensuse-leap 16.0: xinetd 2.3.15.4-bp160.1.12 Β· xinetd
- ubuntu jammy: xinetd 1:2.3.15.3-1 Β· Custom
- ubuntu noble: xinetd 1:2.3.15.4-3build1 Β· Custom
- ubuntu questing: xinetd 1:2.3.15.4-6
- ubuntu resolute: xinetd 1:2.3.15.4-6build1 Β· Custom
- ubuntu stonking: xinetd 1:2.3.15.4-6build1 Β· Custom
- Copyright 1992 by Panagiotis Tsirigotis
- Copyright 1998-2001 by Rob Braun
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms