Upgrading ze-filter
Upgrading is easy, just get new tar.gz, uncompress, ./configure, make install, then you should have a look at the configuration changes. You can generate the new ze-filter.cf and launch a diff against your old configuration file.
ze-filter -m > ze-filter.cf.new diff /etc/ze-filter/ze-filter.cf ze-filter.cf.new > ze-filter.cf.diff vi ze-filter.cf.new mv ze-filter.cf.new /etc/ze-filter/ze-filter.cf
How does ze-filter interpret that new configuration?
ze-filter -v Loading ze-filter configuration Loading default values Reading configuration file : /etc/ze-filter/ze-filter.cf Reloading configuration tables... Joe's ze-filter configuration : Joe's ze-filter v1.12.0-080224 --> ze-filter command line options -v ---> Configuration file options : 101 VERSION v1.11.1-070723 102 MYSELF 127.0.0.1 HOSTNAME 103 J_HOSTNAME 0 SYSTEM 104 PRESENCE 0 SHOW 105 FOOTER 0 SHOW 106 FILTER_URL http : // ze-filter dot ensmp dot fr 107 POLICY_URL (null) 201 USER smmsp 202 GROUP smmsp 203 CLUSTER 0 NO 301 FILE_DESCRIPTORS MAX 302 FD_FREE_SOFT 100 303 FD_FREE_HARD 50 304 USE_SELECT_LIMIT 1 YES 305 LOAD_CPU_IDLE_SOFT 0 306 LOAD_CPU_IDLE_HARD 0 307 MAX_OPEN_CONNECTIONS 500 401 SOCKET local:/var/run/ze-filter/ze-filter.sock 402 SM_TIMEOUT 7200 403 CTRL_CHANNEL_ENABLE 1 YES 404 CTRL_SOCKET inet:2010@localhost 405 CTRL_ACCESS 0 NONE 501 CONFDIR /etc/ze-filter 502 ERROR_MSG_FILE ze-error-msg 503 NETS_FILE ze-nets 504 ACCESS_FILE ze-access ...