Lines 60-65
Link Here
|
60 |
#ifdef USE_SSL |
60 |
#ifdef USE_SSL |
61 |
" -e --encrypt encrypt the communication using SSL\n" |
61 |
" -e --encrypt encrypt the communication using SSL\n" |
62 |
" -E --encrypt-proxy encrypt the communitation between the client and the proxy using SSL\n" |
62 |
" -E --encrypt-proxy encrypt the communitation between the client and the proxy using SSL\n" |
|
|
63 |
" -R --encrypt-remproxy encrypt the communitation between the first and second proxy using SSL\n" |
63 |
#endif |
64 |
#endif |
64 |
#ifdef SETPROCTITLE |
65 |
#ifdef SETPROCTITLE |
65 |
" -x STRING --proctitle=STRING Set the process-title to STRING\n" |
66 |
" -x STRING --proctitle=STRING Set the process-title to STRING\n" |
Lines 134-139
Link Here
|
134 |
args_info->domain_given = 0; |
135 |
args_info->domain_given = 0; |
135 |
args_info->encrypt_given = 0; |
136 |
args_info->encrypt_given = 0; |
136 |
args_info->encryptproxy_given = 0; |
137 |
args_info->encryptproxy_given = 0; |
|
|
138 |
args_info->encryptremproxy_given = 0; |
137 |
args_info->proctitle_given = 0; |
139 |
args_info->proctitle_given = 0; |
138 |
|
140 |
|
139 |
/* No... we can't make this a function... -- Maniac */ |
141 |
/* No... we can't make this a function... -- Maniac */ |
Lines 154-159
Link Here
|
154 |
args_info->standalone_arg = 0; \ |
156 |
args_info->standalone_arg = 0; \ |
155 |
args_info->encrypt_flag = 0; \ |
157 |
args_info->encrypt_flag = 0; \ |
156 |
args_info->encryptproxy_flag = 0; \ |
158 |
args_info->encryptproxy_flag = 0; \ |
|
|
159 |
args_info->encryptremproxy_flag = 0; \ |
157 |
args_info->proctitle_arg = NULL; \ |
160 |
args_info->proctitle_arg = NULL; \ |
158 |
} |
161 |
} |
159 |
|
162 |
|
Lines 195-206
Link Here
|
195 |
{ "quiet", 0, NULL, 'q' }, |
198 |
{ "quiet", 0, NULL, 'q' }, |
196 |
{ "encrypt", 0, NULL, 'e' }, |
199 |
{ "encrypt", 0, NULL, 'e' }, |
197 |
{ "encrypt-proxy", 0, NULL, 'E' }, |
200 |
{ "encrypt-proxy", 0, NULL, 'E' }, |
|
|
201 |
{ "encrypt-remproxy", 0, NULL, 'R' }, |
198 |
{ NULL, 0, NULL, 0 } |
202 |
{ NULL, 0, NULL, 0 } |
199 |
}; |
203 |
}; |
200 |
|
204 |
|
201 |
c = getopt_long (argc, argv, "hVia:u:s:t:U:S:p:r:d:H:x:nvNeEq", long_options, &option_index); |
205 |
c = getopt_long (argc, argv, "hVia:u:s:t:U:S:p:r:d:H:x:nvNeERq", long_options, &option_index); |
202 |
#else |
206 |
#else |
203 |
c = getopt( argc, argv, "hVia:u:s:t:U:S:p:r:d:H:x:nvNeEq" ); |
207 |
c = getopt( argc, argv, "hVia:u:s:t:U:S:p:r:d:H:x:nvNeERq" ); |
204 |
#endif |
208 |
#endif |
205 |
|
209 |
|
206 |
if (c == -1) break; /* Exit from `while (1)' loop. */ |
210 |
if (c == -1) break; /* Exit from `while (1)' loop. */ |
Lines 224-229
Link Here
|
224 |
if( args_info->verbose_flag ) |
228 |
if( args_info->verbose_flag ) |
225 |
message("SSL client to proxy enabled\n"); |
229 |
message("SSL client to proxy enabled\n"); |
226 |
break; |
230 |
break; |
|
|
231 |
|
232 |
case 'R': /* Turn on local to remote proxy SSL encryption */ |
233 |
args_info->encryptremproxy_flag = !(args_info->encryptremproxy_flag); |
234 |
if( args_info->verbose_flag ) |
235 |
message("SSL local to remote proxy enabled\n"); |
236 |
break; |
227 |
#endif |
237 |
#endif |
228 |
|
238 |
|
229 |
case 'i': /* Run from inetd. */ |
239 |
case 'i': /* Run from inetd. */ |