[Chilli] [PATCH] adds option for chilli query TCP socket
peter at endian.com
Thu Mar 1 15:30:49 UTC 2012
The attached patch adds the option "cmdsocketport" which allows to
configure a TCP port instead of a UNIX socket path for the chilli_query
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
:: 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...
Size: 34256 bytes
Desc: not available
More information about the Chilli