FCE_LISTEN(1)
π FCE_LISTEN(1) π
okay bestie, welcome to the Netatalk AFP Fileserver Manual, but make it cute β¨
πΈ Name πΈ
fce_listen β the Netatalk Filesystem Change Events listener application. she listens. that's her whole job. π
π¦ Synopsis π¦
fce_listen [-h host] [-p port]
β¨ Description β¨
so fce_listen is a lil listener for Netatalk's Filesystem Change Event (FCE) protocol. basically it sits there, vibes, and every UDP datagram it catches coming from the AFP server gets printed straight to stdout. that's it. no notes. π«Ά
Note: this utility NEEDS netatalk to be built with FCE support turned on (that's the -Dwith-fce=true meson build option β which, good news, is enabled by default π
). no FCE support, no listening, periodt.
π Options π
-hhost β server hostname or IP address, as in where is the server bestie π-pport β server port number, the lil door number you're knocking on πͺ
π Examples π
first up: tell netatalk to yeet FCE packets over to a listener chilling on localhost port 58585. pop this in afp.conf:
[Global]
fce listener = localhost:58585
fce version = 2
fce events = fmod,fdel,ddel,fcre,dcre,fmov,dmov,login,logout
then, listen to FCE events on localhost port 58585:
$ fce_listen -h localhost -p 58585
Listening for Netatalk FCE datagrams on localhost:58585...
FCE Start
ID: 1, Event: FCE_LOGIN, pid: 429918, user: nobody, Path:
ID: 2, Event: FCE_LOGOUT, pid: 429918, user: nobody, Path:
FCE Start
ID: 1, Event: FCE_LOGIN, pid: 429924, user: myuser, Path:
ID: 2, Event: FCE_FILE_DELETE, pid: 429924, user: myuser, Path: /srv/afpme/Read Me First copy
ID: 3, Event: FCE_DIR_CREATE, pid: 429924, user: myuser, Path: /srv/afpme/untitled folder
ID: 4, Event: FCE_DIR_MOVE, pid: 429924, user: myuser, source: /srv/afpme/untitled folder, Path: /srv/afpme/My Folder
ID: 5, Event: FCE_FILE_MOVE, pid: 429924, user: myuser, source: /srv/afpme/LICENSE, Path: /srv/afpme/My Folder/LICENSE
look at all those events coming in one after another, no cap, it's giving main character energy fr fr π₯
π See Also π
afpd(8)β go say hi π
and that's the whole page bestie!! this was Netatalk 4.5.1, mwah, stay slaying, drink water, and may your datagrams always arrive πβ¨ππ¦
π¦ where this page comes from
- fedora 44: netatalk-afptest 5:4.5.1-1.fc44 Β· GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-BSD AND FSFUL AND LicenseRef-Callaway-MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms