Re: [mcip-list] Patch: new feature: mcipd TCP server bind
Management and Control Information Protocol
Brought to you by:
fjutscha
From: Markus L. <de...@ma...> - 2015-02-03 09:03:29
|
On Wed, 28 Jan 2015 11:07:38 +0100 Markus Lauterbach <de...@ma...> wrote: > Hi list, > > attached a patch with the following content > > - added feature: > mcipd TCP server is now able to listen only > on one interface, e.g. enp1s10 (checkout new parameter 'TCP_bind' > within docs/mcip.conf). If you want to listen on all > interfaces just leave the new value blank. > > - refactoring: > moved config specific functions from util.c into new file config.c > > - refactoring: > moved config specific variables into one struct > > feature add and refactoring within one commit, shame on me... > > ---- > ciao > Markus > > Hi again, attached a new patch. After some discussions with Michael I changed the default value of the new parameter 'TCP_bind' from a blank value to 'all'. The old syntax with 'TCP_bind=' is still working. Be aware that the usage of TCP_bind=<interface-name> needs root privileges since SO_BINDTODEVICE is used. ---- ciao Markus |