[Chilli] [PATCH] adds option for chilli query TCP socket
Peter Warasin
peter at endian.com
Thu Mar 1 15:30:49 UTC 2012
Hi guys
The attached patch adds the option "cmdsocketport" which allows to
configure a TCP port instead of a UNIX socket path for the chilli_query
communication.
If neither "cmdsocket" nor "cmdsocketport" is specified the default TCP
port of 42424 will be opened.
chilli_query accepts now an option -P which allows to specify the tcp
port, if neither -P nor -s <unixsocketpath> is supplied tcp port 42424
will be assumed.
In many circumstances it is possible that somehow this unix socket file
will be deleted by another process or by a second chilli process or by
the sysadmin itself. You can imagine which issues that would cause when
you rely on chilli query for a special service.
Using tcp port this is not possible anymore.
Hope this helps you guys too.
The patch is against 1.2.6. If rebase is required, just tell me
peter
--
:: e n d i a n
:: security with passion
:: peter warasin
:: http://www.endian.com :: peter at endian.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coova-chilli-1.2.6-cmd-socket-port.patch
Type: text/x-patch
Size: 34256 bytes
Desc: not available
URL: <http://lists.coova.org/pipermail/chilli/attachments/20120301/aae094f6/attachment-0001.bin>
More information about the Chilli
mailing list