Currently Netatalk allows limiting the network interfaces by address using the "afp listen" (set SL) directive in afp.conf.
For interfaces that get their address by DHCP, this doesn't work. Instead need an additional option that takes a list of names and only listens on the addresses of the interfaces in the list (set SI).
New global option name:
"afp interfaces" = name1 [name2 ...]
The set of addresses (SA) Netatalk will listen on is defined as SA = SL U SI.
If neither option is given, Netatalk listens on all active interfaces. This is the default and is not affected by this proposal.
Committed in [21058d44aabd9f97e2edfd245770584412c30f2d].
Related
Commit: <Commit _id='21058d44aabd9f97e2edfd245770584412c30f2d' tree_id='7f726ead99c0a575ddb1b56f1ff8255c45928d74' committed=I{'date': datetime.datetime(2013, 5, 14, 11, 6, 54), 'email': 'sloowfranklin@gmail.com', 'name': 'Ralph Boehme'} authored=I{'date': datetime.datetime(2013, 5, 11, 17, 17, 38), 'email': 'sloowfranklin@gmail.com', 'name': 'Ralph Boehme'} message='New option "afp interfaces"\n\nAllows specifying where Netatalk listens for AFP connections\nby interface name, from FR #79.\n' parent_ids=I['d57dffcecc66f642fc7b53cdbdbb72c435c2da0a'] child_ids=I['967716d1c5bd18e35a433d6d74fe3a7fac17c4da'] repo_ids=I[ObjectId('503b705bfd48f843173d5fd3'), ObjectId('5910acbc2cd81052b64b3380'), ObjectId('5e503de0dd85f4654ba114ee'), ObjectId('5e828a7a9d8bdd372301c28f')]>