This file is indexed.

/usr/share/doc/openconnect/html/manual.html is in openconnect 6.00-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>OpenConnect VPN client.</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="VPN client compatible with Cisco AnyConnect SSL VPN" />
    <meta name="keywords" content="OpenConnect, AnyConnect, Cisco, VPN, SSLVPN, SSL VPN" />
    <link href="./styles/main.css" rel="styleSheet" type="text/css" />
    <link href='http://fonts.googleapis.com/css?family=Delius' rel='stylesheet' type='text/css' />
 </head>
 
<body>
   <div id="logo" align="right">	
     <img src="./images/openconnect.png" height="96px" alt="OpenConnect" />
   </div>
   <div id="main">



	
	
	
	<div id="menu1">

	<span class="nonsel">
<a href="index.html"><span>Home</span></a>
</span>

	<span class="nonsel">
<a href="features.html"><span>Features</span></a>
</span>

	<span class="sel">
<a href="building.html"><span>Getting Started</span></a>
</span>

	<span class="nonsel">
<a href="mail.html"><span>Mailing List / Help</span></a>
</span>

	<span class="nonsel">
<a href="contribute.html"><span>Contribute</span></a>
</span>

	<span class="nonsel">
<a href="technical.html"><span>Technical stuff</span></a>
</span>

	<span class="nonsel">
<a href="http://www.infradead.org/ocserv/"><span>VPN Server</span></a>
</span>

	<p>OpenConnect VPN client</p>

	</div>

	
	<div id="menu2">

        <span class="nonsel">
<a href="building.html"><span>Building</span></a>
</span>

        <span class="nonsel">
<a href="vpnc-script.html"><span>vpnc-script</span></a>
</span>

	<span class="nonsel">
<a href="connecting.html"><span>Connecting</span></a>
</span>

	<span class="sel">
<a href="manual.html"><span>Manual</span></a>
</span>

	</div>

	
	     <div id="textbox">
       <div id="text">
	</div>


	
<h1>OPENCONNECT</h1>

<p><a href="#heading1">NAME</a><br/>
<a href="#heading2">SYNOPSIS</a><br/>
<a href="#heading3">DESCRIPTION</a><br/>
<a href="#heading4">OPTIONS</a><br/>
<a href="#heading5">SIGNALS</a><br/>
<a href="#heading6">LIMITATIONS</a><br/>
<a href="#heading7">AUTHORS</a><br/>

</p>
<hr/>


<h2 id="heading1">NAME
</h2>


<p style="margin-left:11%; margin-top: 1em">openconnect
&minus; Connect to Cisco AnyConnect VPN</p>

<h2 id="heading2">SYNOPSIS
</h2>


<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<colgroup><col width="11%"></col>
<col width="17%"></col>
<col width="1%" class="center"></col>
<col width="71%"></col>
</colgroup>
<tr valign="top" align="left">
<td></td>
<td>


<p style="margin-top: 1em"><b>openconnect</b></p></td>
<td></td>
<td>



<p style="margin-top: 1em">[<b>&minus;&minus;config&nbsp;</b><i>configfile</i>]
[<b>&minus;b,&minus;&minus;background</b>]
[<b>&minus;&minus;pid&minus;file&nbsp;</b><i>pidfile</i>]
[<b>&minus;c,&minus;&minus;certificate&nbsp;</b><i>cert</i>]
[<b>&minus;e,&minus;&minus;cert&minus;expire&minus;warning&nbsp;</b><i>days</i>]
[<b>&minus;k,&minus;&minus;sslkey&nbsp;</b><i>key</i>]
[<b>&minus;C,&minus;&minus;cookie&nbsp;</b><i>cookie</i>]
[<b>&minus;&minus;cookie&minus;on&minus;stdin</b>]
[<b>&minus;d,&minus;&minus;deflate</b>]
[<b>&minus;D,&minus;&minus;no&minus;deflate</b>]
[<b>&minus;&minus;force&minus;dpd&nbsp;</b><i>interval</i>]
[<b>&minus;g,&minus;&minus;usergroup&nbsp;</b><i>group</i>]
[<b>&minus;h,&minus;&minus;help</b>]
[<b>&minus;i,&minus;&minus;interface&nbsp;</b><i>ifname</i>]
[<b>&minus;l,&minus;&minus;syslog</b>]
[<b>&minus;&minus;timestamp</b>]
[<b>&minus;U,&minus;&minus;setuid&nbsp;</b><i>user</i>]
[<b>&minus;&minus;csd&minus;user&nbsp;</b><i>user</i>]
[<b>&minus;m,&minus;&minus;mtu&nbsp;</b><i>mtu</i>]
[<b>&minus;&minus;basemtu&nbsp;</b><i>mtu</i>]
[<b>&minus;p,&minus;&minus;key&minus;password&nbsp;</b><i>pass</i>]
[<b>&minus;P,&minus;&minus;proxy&nbsp;</b><i>proxyurl</i>]
[<b>&minus;&minus;proxy&minus;auth&nbsp;</b><i>methods</i>]
[<b>&minus;&minus;no&minus;proxy</b>]
[<b>&minus;&minus;libproxy</b>]
[<b>&minus;&minus;key&minus;password&minus;from&minus;fsid</b>]
[<b>&minus;q,&minus;&minus;quiet</b>]
[<b>&minus;Q,&minus;&minus;queue&minus;len&nbsp;</b><i>len</i>]
[<b>&minus;s,&minus;&minus;script&nbsp;</b><i>vpnc&minus;script</i>]
[<b>&minus;S,&minus;&minus;script&minus;tun</b>]
[<b>&minus;u,&minus;&minus;user&nbsp;</b><i>name</i>]
[<b>&minus;V,&minus;&minus;version</b>]
[<b>&minus;v,&minus;&minus;verbose</b>]
[<b>&minus;x,&minus;&minus;xmlconfig&nbsp;</b><i>config</i>]
[<b>&minus;&minus;authgroup&nbsp;</b><i>group</i>]
[<b>&minus;&minus;authenticate</b>]
[<b>&minus;&minus;cookieonly</b>]
[<b>&minus;&minus;printcookie</b>]
[<b>&minus;&minus;cafile&nbsp;</b><i>file</i>]
[<b>&minus;&minus;disable&minus;ipv6</b>]
[<b>&minus;&minus;dtls&minus;ciphers&nbsp;</b><i>list</i>]
[<b>&minus;&minus;dtls&minus;local&minus;port&nbsp;</b><i>port</i>]
[<b>&minus;&minus;dump&minus;http&minus;traffic</b>]
[<b>&minus;&minus;no&minus;cert&minus;check</b>]
[<b>&minus;&minus;pfs</b>]
[<b>&minus;&minus;no&minus;dtls</b>]
[<b>&minus;&minus;no&minus;http&minus;keepalive</b>]
[<b>&minus;&minus;no&minus;passwd</b>]
[<b>&minus;&minus;no&minus;xmlpost</b>]
[<b>&minus;&minus;non&minus;inter</b>]
[<b>&minus;&minus;passwd&minus;on&minus;stdin</b>]
[<b>&minus;&minus;token-mode&nbsp;</b><i>mode</i>]
[<b>&minus;&minus;token-secret&nbsp;</b><i>secret</i>[<i>,counter</i>]]
[<b>&minus;&minus;reconnect&minus;timeout</b>]
[<b>&minus;&minus;servercert&nbsp;</b><i>sha1</i>]
[<b>&minus;&minus;useragent&nbsp;</b><i>string</i>]
[<b>&minus;&minus;os&nbsp;</b><i>string</i>]
<b>[https://]</b><i>server</i><b>[:</b><i>port</i><b>][/</b><i>group</i><b>]</b></p> </td></tr>
</table>

<h2 id="heading3">DESCRIPTION
</h2>


<p style="margin-left:11%; margin-top: 1em">The program
<b>openconnect</b> connects to Cisco &quot;AnyConnect&quot;
VPN servers, which use standard TLS and DTLS protocols for
data transport.</p>

<p style="margin-left:11%; margin-top: 1em">The connection
happens in two phases. First there is a simple HTTPS
connection over which the user authenticates somehow &minus;
by using a certificate, or password or SecurID, etc. Having
authenticated, the user is rewarded with an HTTP cookie
which can be used to make the real VPN connection.</p>

<p style="margin-left:11%; margin-top: 1em">The second
phase uses that cookie in an HTTPS <i>CONNECT</i> request,
and data packets can be passed over the resulting
connection. In auxiliary headers exchanged with the
<i>CONNECT</i> request, a Session&minus;ID and Master Secret
for a DTLS connection are also exchanged, which allows data
transport over UDP to occur.</p>

<h2 id="heading4">OPTIONS
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>&minus;&minus;config=CONFIGFILE</b></p>

<p style="margin-left:22%;">Read further options from
<i>CONFIGFILE</i> before continuing to process options from
the command line. The file should contain long-format
options as would be accepted on the command line, but
without the two leading &minus;&minus; dashes. Empty lines,
or lines where the first non-space character is a #
character, are ignored.</p>

<p style="margin-left:22%; margin-top: 1em">Any option
except the <b>config</b> option may be specified in the
file.</p>


<p style="margin-left:11%;"><b>&minus;b,&minus;&minus;background</b></p>

<p style="margin-left:22%;">Continue in background after
startup</p>


<p style="margin-left:11%;"><b>&minus;&minus;pid&minus;file=PIDFILE</b></p>

<p style="margin-left:22%;">Save the pid to <i>PIDFILE</i>
when backgrounding</p>


<p style="margin-left:11%;"><b>&minus;c,&minus;&minus;certificate=CERT</b></p>

<p style="margin-left:22%;">Use SSL client certificate
<i>CERT</i> which may be either a file name or, if
OpenConnect has been built with an appropriate version of
GnuTLS, a PKCS#11 URL.</p>


<p style="margin-left:11%;"><b>&minus;e,&minus;&minus;cert&minus;expire&minus;warning=DAYS</b></p>

<p style="margin-left:22%;">Give a warning when SSL client
certificate has <i>DAYS</i> left before expiry</p>


<p style="margin-left:11%;"><b>&minus;k,&minus;&minus;sslkey=KEY</b></p>

<p style="margin-left:22%;">Use SSL private key <i>KEY</i>
which may be either a file name or, if OpenConnect has been
built with an appropriate version of GnuTLS, a PKCS#11
URL.</p>


<p style="margin-left:11%;"><b>&minus;C,&minus;&minus;cookie=COOKIE</b></p>

<p style="margin-left:22%;">Use WebVPN cookie
<i>COOKIE</i></p>


<p style="margin-left:11%;"><b>&minus;&minus;cookie&minus;on&minus;stdin</b></p>

<p style="margin-left:22%;">Read cookie from standard
input</p>


<p style="margin-left:11%;"><b>&minus;d,&minus;&minus;deflate</b></p>

<p style="margin-left:22%;">Enable compression
(default)</p>


<p style="margin-left:11%;"><b>&minus;D,&minus;&minus;no&minus;deflate</b></p>

<p style="margin-left:22%;">Disable compression</p>


<p style="margin-left:11%;"><b>&minus;&minus;force&minus;dpd=INTERVAL</b></p>

<p style="margin-left:22%;">Use <i>INTERVAL</i> as minimum
Dead Peer Detection interval for CSTP and DTLS, forcing use
of DPD even when the server doesn&rsquo;t request it.</p>


<p style="margin-left:11%;"><b>&minus;g,&minus;&minus;usergroup=GROUP</b></p>

<p style="margin-left:22%;">Use <i>GROUP</i> as login
UserGroup</p>


<p style="margin-left:11%;"><b>&minus;h,&minus;&minus;help</b></p>

<p style="margin-left:22%;">Display help text</p>


<p style="margin-left:11%;"><b>&minus;i,&minus;&minus;interface=IFNAME</b></p>

<p style="margin-left:22%;">Use <i>IFNAME</i> for tunnel
interface</p>


<p style="margin-left:11%;"><b>&minus;l,&minus;&minus;syslog</b></p>

<p style="margin-left:22%;">Use syslog for progress
messages</p>


<p style="margin-left:11%;"><b>&minus;&minus;timestamp</b></p>

<p style="margin-left:22%;">Prepend a timestamp to each
progress message</p>


<p style="margin-left:11%;"><b>&minus;U,&minus;&minus;setuid=USER</b></p>

<p style="margin-left:22%;">Drop privileges after
connecting, to become user <i>USER</i></p>


<p style="margin-left:11%;"><b>&minus;&minus;csd&minus;user=USER</b></p>

<p style="margin-left:22%;">Drop privileges during CSD
(Cisco Secure Desktop) script execution.</p>


<p style="margin-left:11%;"><b>&minus;&minus;csd&minus;wrapper=SCRIPT</b></p>

<p style="margin-left:22%;">Run <i>SCRIPT</i> instead of
the CSD (Cisco Secure Desktop) script.</p>


<p style="margin-left:11%;"><b>&minus;m,&minus;&minus;mtu=MTU</b></p>

<p style="margin-left:22%;">Request <i>MTU</i> from server
as the MTU of the tunnel.</p>


<p style="margin-left:11%;"><b>&minus;&minus;basemtu=MTU</b></p>

<p style="margin-left:22%;">Indicate <i>MTU</i> as the path
MTU between client and server on the unencrypted network.
Newer servers will automatically calculate the MTU to be
used on the tunnel from this value.</p>


<p style="margin-left:11%;"><b>&minus;p,&minus;&minus;key&minus;password=PASS</b></p>

<p style="margin-left:22%;">Provide passphrase for
certificate file, or SRK (System Root Key) PIN for TPM</p>


<p style="margin-left:11%;"><b>&minus;P,&minus;&minus;proxy=PROXYURL</b></p>

<p style="margin-left:22%;">Use HTTP or SOCKS proxy for
connection. A username and password can be provided in the
given URL, and will be used for authentication. If
authentication is required but no credentials are given,
GSSAPI and automatic NTLM authentication using Samba&rsquo;s
ntlm_auth helper tool may be attempted.</p>


<p style="margin-left:11%;"><b>&minus;&minus;proxy-auth=METHODS</b></p>

<p style="margin-left:22%;">Use only the specified methods
for HTTP authentication to a proxy. By default, only
Negotiate, NTLM and Digest authentication are enabled. Basic
authentication is also supported but because it is insecure
it must be explicitly enabled. The argument is a
comma-separated list of methods to be enabled. Note that the
order does not matter: OpenConnect will use Negotiate, NTLM,
Digest and Basic authentication in that order, if each is
enabled, regardless of the order specified in the METHODS
string.</p>


<p style="margin-left:11%;"><b>&minus;&minus;no&minus;proxy</b></p>

<p style="margin-left:22%;">Disable use of proxy</p>


<p style="margin-left:11%;"><b>&minus;&minus;libproxy</b></p>

<p style="margin-left:22%;">Use libproxy to configure proxy
automatically (when built with libproxy support)</p>


<p style="margin-left:11%;"><b>&minus;&minus;key&minus;password&minus;from&minus;fsid</b></p>

<p style="margin-left:22%;">Passphrase for certificate file
is automatically generated from the <i>fsid</i> of the file
system on which it is stored. The <i>fsid</i> is obtained
from the <b>statvfs</b>(2) or <b>statfs</b>(2) system call,
depending on the operating system. On a Linux or similar
system with GNU coreutils, the <i>fsid</i> used by this
option should be equal to the output of the command:</p>

<pre style="margin-left:22%;">stat &minus;&minus;file&minus;system &minus;&minus;printf=%i\\n $CERTIFICATE</pre>


<p style="margin-left:22%;">It is not the same as the
128&minus;bit UUID of the file system.</p>


<p style="margin-left:11%;"><b>&minus;q,&minus;&minus;quiet</b></p>

<p style="margin-left:22%;">Less output</p>


<p style="margin-left:11%;"><b>&minus;Q,&minus;&minus;queue&minus;len=LEN</b></p>

<p style="margin-left:22%;">Set packet queue limit to
<i>LEN</i> pkts</p>


<p style="margin-left:11%;"><b>&minus;s,&minus;&minus;script=SCRIPT</b></p>

<p style="margin-left:22%;">Invoke <i>SCRIPT</i> to
configure the network after connection. Without this,
routing and name service are unlikely to work correctly. The
script is expected to be compatible with the
<b>vpnc&minus;script</b> which is shipped with the
&quot;vpnc&quot; VPN client. See
<i>http://www.infradead.org/openconnect/vpnc-script.html</i>
for more information. This version of OpenConnect is
configured to use <b>/usr/share/vpnc-scripts/vpnc-script</b>
by default.</p>

<p style="margin-left:22%; margin-top: 1em">On Windows, a
relative directory for the default script will be handled as
starting from the directory that the openconnect executable
is running from, rather than the current directory. The
script will be invoked with the command-based script host
<b>cscript.exe</b>.</p>


<p style="margin-left:11%;"><b>&minus;S,&minus;&minus;script&minus;tun</b></p>

<p style="margin-left:22%;">Pass traffic to
&rsquo;script&rsquo; program over a UNIX socket, instead of
to a kernel tun/tap device. This allows the VPN IP traffic
to be handled entirely in userspace, for example by a
program which uses lwIP to provide SOCKS access into the
VPN.</p>


<p style="margin-left:11%;"><b>&minus;u,&minus;&minus;user=NAME</b></p>

<p style="margin-left:22%;">Set login username to
<i>NAME</i></p>


<p style="margin-left:11%;"><b>&minus;V,&minus;&minus;version</b></p>

<p style="margin-left:22%;">Report version number</p>


<p style="margin-left:11%;"><b>&minus;v,&minus;&minus;verbose</b></p>

<p style="margin-left:22%;">More output (may be specified
multiple times for additional output)</p>


<p style="margin-left:11%;"><b>&minus;x,&minus;&minus;xmlconfig=CONFIG</b></p>

<p style="margin-left:22%;">XML config file</p>


<p style="margin-left:11%;"><b>&minus;&minus;authgroup=GROUP</b></p>

<p style="margin-left:22%;">Choose authentication login
selection</p>


<p style="margin-left:11%;"><b>&minus;&minus;authenticate</b></p>

<p style="margin-left:22%;">Authenticate only, and output
the information needed to make the connection a form which
can be used to set shell environment variables. When invoked
with this option, openconnect will not make the connection,
but if successful will output something like the following
to stdout: <b><br/>

COOKIE=3311180634@13561856@1339425499@B315A0E29D16C6FD92EE...
<br/>
HOST=10.0.0.1 <br/>
FINGERPRINT=469bb424ec8835944d30bc77c77e8fc1d8e23a42</b>
<br/>
Thus, you can invoke openconnect as a non-privileged user
<i>(with access to the user&rsquo;s PKCS#11 tokens,
etc.)</i> for authentication, and then invoke openconnect
separately to make the actual connection as root: <b><br/>
eval &rsquo;openconnect --authenticate
https://vpnserver.example.com&rsquo;; <br/>
[ -n $COOKIE ] &amp;&amp; echo $COOKIE | &nbsp;&nbsp; <br/>
sudo openconnect --cookie-on-stdin $HOST --servercert
$FINGERPRINT</b></p>


<p style="margin-left:11%;"><b>&minus;&minus;cookieonly</b></p>

<p style="margin-left:22%;">Fetch webvpn cookie only;
don&rsquo;t connect</p>


<p style="margin-left:11%;"><b>&minus;&minus;printcookie</b></p>

<p style="margin-left:22%;">Print webvpn cookie before
connecting</p>


<p style="margin-left:11%;"><b>&minus;&minus;cafile=FILE</b></p>

<p style="margin-left:22%;">Cert file for server
verification</p>


<p style="margin-left:11%;"><b>&minus;&minus;disable&minus;ipv6</b></p>

<p style="margin-left:22%;">Do not advertise IPv6
capability to server</p>


<p style="margin-left:11%;"><b>&minus;&minus;dtls&minus;ciphers=LIST</b></p>

<p style="margin-left:22%;">Set OpenSSL ciphers to support
for DTLS</p>


<p style="margin-left:11%;"><b>&minus;&minus;dtls&minus;local&minus;port=PORT</b></p>

<p style="margin-left:22%;">Use <i>PORT</i> as the local
port for DTLS datagrams</p>


<p style="margin-left:11%;"><b>&minus;&minus;dump&minus;http&minus;traffic</b></p>

<p style="margin-left:22%;">Enable verbose output of all
HTTP requests and the bodies of all responses received from
the server.</p>


<p style="margin-left:11%;"><b>&minus;&minus;no&minus;cert&minus;check</b></p>

<p style="margin-left:22%;">Do not require server SSL
certificate to be valid. Checks will still happen and
failures will cause a warning message, but the connection
will continue anyway. You should not need to use this option
&minus; if your servers have SSL certificates which are not
signed by a trusted Certificate Authority, you can still add
them (or your private CA) to a local file and use that file
with the <b>&minus;&minus;cafile</b> option.</p>

<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<colgroup><col width="11%"></col>
<col width="7%"></col>
<col width="4%" class="center"></col>
<col width="78%"></col>
</colgroup>
<tr valign="top" align="left">
<td></td>
<td>


<p><b>&minus;&minus;pfs</b></p></td>
<td></td>
<td>


<p>Enforces Perfect Forward Secrecy (PFS). That ensures
that if the server&rsquo;s long-term key is compromised, any
session keys established before the compromise will be
unaffected. If this option is provided and the server does
not support PFS in the TLS channel the connection will
fail.</p> </td></tr>
</table>

<p style="margin-left:22%; margin-top: 1em">PFS is
available in Cisco ASA releases 9.1(2) and higher; a
suitable cipher suite may need to be manually enabled by the
administrator using the <b>ssl encryption</b> setting.</p>


<p style="margin-left:11%;"><b>&minus;&minus;no&minus;dtls</b></p>

<p style="margin-left:22%;">Disable DTLS</p>


<p style="margin-left:11%;"><b>&minus;&minus;no&minus;http&minus;keepalive</b></p>

<p style="margin-left:22%;">Version 8.2.2.5 of the Cisco
ASA software has a bug where it will forget the
client&rsquo;s SSL certificate when HTTP connections are
being re&minus;used for multiple requests. So far, this has
only been seen on the initial connection, where the server
gives an HTTP/1.0 redirect response with an explicit
<b>Connection: Keep&minus;Alive</b> directive. OpenConnect
as of v2.22 has an unconditional workaround for this, which
is never to obey that directive after an HTTP/1.0
response.</p>

<p style="margin-left:22%; margin-top: 1em">However,
Cisco&rsquo;s support team has failed to give any competent
response to the bug report and we don&rsquo;t know under
what other circumstances their bug might manifest itself. So
this option exists to disable ALL re&minus;use of HTTP
sessions and cause a new connection to be made for each
request. If your server seems not to be recognising your
certificate, try this option. If it makes a difference,
please report this information to the
<b>openconnect&minus;devel@lists.infradead.org</b> mailing
list.</p>


<p style="margin-left:11%;"><b>&minus;&minus;no&minus;passwd</b></p>

<p style="margin-left:22%;">Never attempt password (or
SecurID) authentication.</p>


<p style="margin-left:11%;"><b>&minus;&minus;no&minus;xmlpost</b></p>

<p style="margin-left:22%;">Do not attempt to post an XML
authentication/configuration request to the server; use the
old style GET method which was used by older clients and
servers instead.</p>

<p style="margin-left:22%; margin-top: 1em">This option is
a temporary safety net, to work around potential
compatibility issues with the code which falls back to the
old method automatically. It causes OpenConnect to behave
more like older versions (4.08 and below) did. If you find
that you need to use this option, then you have found a bug
in OpenConnect. Please see
http://www.infradead.org/openconnect/mail.html and report
this to the developers.</p>


<p style="margin-left:11%;"><b>&minus;&minus;non&minus;inter</b></p>

<p style="margin-left:22%;">Do not expect user input; exit
if it is required.</p>


<p style="margin-left:11%;"><b>&minus;&minus;passwd&minus;on&minus;stdin</b></p>

<p style="margin-left:22%;">Read password from standard
input</p>


<p style="margin-left:11%;"><b>&minus;&minus;token&minus;mode=MODE</b></p>

<p style="margin-left:22%;">Enable one-time password
generation using the <i>MODE</i> algorithm.
<b>&minus;&minus;token&minus;mode=rsa</b> will call
libstoken to generate an RSA SecurID tokencode,
<b>&minus;&minus;token&minus;mode=totp</b> will call liboath
to generate an RFC 6238 time-based password, and
<b>&minus;&minus;token&minus;mode=hotp</b> will call liboath
to generate an RFC 4226 HMAC-based password.</p>


<p style="margin-left:11%;"><b>&minus;&minus;token&minus;secret=SECRET[,COUNTER]</b></p>

<p style="margin-left:22%;">The secret to use when
generating one-time passwords/verification codes. Base
32-encoded TOTP/HOTP secrets can be used by specifying
&quot;base32:&quot; at the beginning of the secret, and for
HOTP secrets the token counter can be specified following a
comma.</p>

<p style="margin-left:22%; margin-top: 1em">If this option
is omitted, and &minus;&minus;token&minus;mode is
&quot;rsa&quot;, libstoken will try to use the software
token seed saved in <b>~/.stokenrc</b> by the &quot;stoken
import&quot; command.</p>


<p style="margin-left:11%;"><b>&minus;&minus;reconnect&minus;timeout</b></p>

<p style="margin-left:22%;">Keep reconnect attempts until
so much seconds are elapsed. The default timeout is 300
seconds, which means that openconnect can recover VPN
connection after a temporary network down time of 300
seconds.</p>


<p style="margin-left:11%;"><b>&minus;&minus;servercert=SHA1</b></p>

<p style="margin-left:22%;">Accept server&rsquo;s SSL
certificate only if its fingerprint matches <i>SHA1</i>.</p>


<p style="margin-left:11%;"><b>&minus;&minus;useragent=STRING</b></p>

<p style="margin-left:22%;">Use <i>STRING</i> as
&rsquo;User&minus;Agent:&rsquo; field value in HTTP header.
(e.g. &minus;&minus;useragent &rsquo;Cisco AnyConnect VPN
Agent for Windows 2.2.0133&rsquo;)</p>


<p style="margin-left:11%;"><b>&minus;&minus;os=STRING</b></p>

<p style="margin-left:22%;">OS type to report to gateway.
Recognized values are: <b>linux</b>, <b>linux&minus;64</b>,
<b>win</b>, <b>mac&minus;intel</b>, <b>android</b>,
<b>apple&minus;ios</b>. Reporting a different OS type may
affect the dynamic access policy (DAP) applied to the VPN
session. If the gateway requires CSD, it will also cause the
corresponding CSD trojan binary to be downloaded, so you may
need to use <b>&minus;&minus;csd&minus;wrapper</b> if this
code is not executable on the local machine.</p>

<h2 id="heading5">SIGNALS
</h2>


<p style="margin-left:11%; margin-top: 1em">In the data
phase of the connection, the following signals are
handled:</p>

<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<colgroup><col width="11%"></col>
<col width="9%"></col>
<col width="2%" class="center"></col>
<col width="78%"></col>
</colgroup>
<tr valign="top" align="left">
<td></td>
<td>


<p><b>SIGINT</b></p></td>
<td></td>
<td>


<p>performs a clean shutdown by logging the session off,
disconnecting from the gateway, and running the
vpnc&minus;script to restore the network configuration.</p></td></tr>
<tr valign="top" align="left">
<td></td>
<td>


<p><b>SIGHUP</b></p></td>
<td></td>
<td>


<p>disconnects from the gateway and runs the
vpnc&minus;script, but does not log the session off; this
allows for reconnection later using
<b>&minus;&minus;cookie</b>.</p> </td></tr>
</table>

<p style="margin-left:11%;"><b>SIGUSR2</b></p>

<p style="margin-left:22%;">forces an immediate
disconnection and reconnection; this can be used to quickly
recover from LAN IP address changes.</p>

<p style="margin-left:11%;"><b>SIGTERM</b></p>

<p style="margin-left:22%;">exits immediately without
logging off or running vpnc&minus;script.</p>

<h2 id="heading6">LIMITATIONS
</h2>


<p style="margin-left:11%; margin-top: 1em">Note that
although IPv6 has been tested on all platforms on which
<b>openconnect</b> is known to run, it depends on a suitable
<b>vpnc&minus;script</b> to configure the network. The
standard <b>vpnc&minus;script</b> shipped with vpnc 0.5.3 is
not capable of setting up IPv6 routes; the one from
<b>git://git.infradead.org/users/dwmw2/vpnc&minus;scripts.git</b>
will be required.</p>

<h2 id="heading7">AUTHORS
</h2>


<p style="margin-left:11%; margin-top: 1em">David Woodhouse
&lt;dwmw2@infradead.org&gt;</p>
<hr/>


	      </div>
   </div>
  </body>
</html>