- Added -x/--proctitle option, to hide/obfuscate the proxytunnel

command-line in process-listings. This code is disabled by default
  But can be enabled by uncommenting the define in the Makefile.


git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@95 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
Mark Janssen 2006-02-07 12:12:14 +00:00
parent bf693b0afc
commit 86bf937325
8 changed files with 350 additions and 4 deletions

View file

@ -39,6 +39,7 @@ struct gengetopt_args_info {
int quiet_flag; /* Turn on quiet mode (default=off). */
int standalone_arg; /* Turn on stdalone (-a) on port */
int encrypt_flag; /* Turn on SSL encryption (default=off). */
char * proctitle_arg; /* Override process title (default=off). */
int help_given; /* Whether help was given. */
int version_given; /* Whether version was given. */
@ -56,6 +57,7 @@ struct gengetopt_args_info {
int quiet_given; /* Whether quiet mode was given. */
int header_given; /* Whenther extra headers are given */
int encrypt_given; /* Whether encrypt was given */
int proctitle_given; /* Whether to override process title */
} ;
int cmdline_parser( int argc, char * const *argv, struct gengetopt_args_info *args_info );