CANLOGSERVER(1)

πŸ“¦
version 2023.03 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– CANLOGSERVER β€” bestie's guide to logging CAN traffic πŸ’–

okay so real talk, this is the manual page for canlogserver, from the 2023.03-1build1 era of the can-utils-verse. she logs CAN frames, she's lowkey iconic, and she wants you to have a good time. let's go ✨


🌈 SYNOPSIS

canlogserver [options] <CAN interface>+

so you give her some options (optional, she's flexible like that) and then one or more CAN interfaces. the + is doing a lot of heavy lifting there β€” it means "girl, give me at least one, and you can keep going." 🫢


🌸 DESCRIPTION

she runs and she logs. that's the vibe. that's the whole thing.

⚠️ and to make her STOP? Ctrl+C. that's literally the only exit strategy mentioned here. (use CTRL-C to terminate canlogserver) β€” noted, respected, internalized. πŸ’…

πŸŽ€ OPTIONS

okay bestie, this is the part where you actually read, i promise it's not that long and it's giving very customizable:

  • -m <mask> β€” the ID filter mask. default is 0x00000000. yes that default is all zeroes. she's not filtering anything out of the box, she's just happy to be here. ✨
  • -v <value> β€” the ID filter value. default is 0x00000000. see above, same energy. πŸ¦‹
  • -i <0|1> β€” invert the specified ID filter. 0 or 1, that's it, no in-between, she's not taking questions. πŸ™ˆ
  • -e <emask> β€” the mask for error frames. πŸ’€ so if you care about the messy ones, this is your girl.
  • -p <port> β€” listen on port <port>. default is 28700. remember that number, it's the whole personality of the network side of things. πŸ”₯

⭐ the filter tea (iykyk)

okay so these ones here β€” m, v, i, e β€” they have a little asterisk situation going on, and the asterisk means: The CAN ID filter matches, when ...

<received_can_id> & mask == value & mask

that's it. that's the equation. she does the AND, she compares the ANDs, and if they agree, the frame gets through. no cap. ✨

🧚 multiple interfaces? multiple values, bestie

when you're running more than one CAN interface, the -m, -v, -i, and -e options take comma-separated values, like this:

-m 0,7FF,0

so each interface gets its own lil value in the list. keep the order straight and you're golden. πŸ‘‘

πŸ‘‘ the magic word: any

use the interface name any and she'll receive from all the CAN interfaces. all of them. every single one. main character energy, honestly. 🌈


πŸ“ a lil sign-off

this adorable thing lives in canlogserver 2023.03-1build1, and this cutie of a page was written up in December 2025. take care of her, she takes care of your frames. bye bestie, slay responsibly πŸ’œβœ¨

πŸ“¦ where this page comes from