This file is indexed.

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

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
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
	<!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=Raleway' 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="anyconnect.html"><span>Protocols</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
- 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>--config&nbsp;</b><i>configfile</i>]
[<b>-b,--background</b>]
[<b>--pid-file&nbsp;</b><i>pidfile</i>]
[<b>-c,--certificate&nbsp;</b><i>cert</i>]
[<b>-e,--cert-expire-warning&nbsp;</b><i>days</i>]
[<b>-k,--sslkey&nbsp;</b><i>key</i>]
[<b>-C,--cookie&nbsp;</b><i>cookie</i>]
[<b>--cookie-on-stdin</b>]
[<b>--compression&nbsp;</b><i>MODE</i>]
[<b>-d,--deflate</b>]
[<b>-D,--no-deflate</b>]
[<b>--force-dpd&nbsp;</b><i>interval</i>]
[<b>-g,--usergroup&nbsp;</b><i>group</i>]
[<b>-h,--help</b>]
[<b>--http-auth&nbsp;</b><i>methods</i>]
[<b>-i,--interface&nbsp;</b><i>ifname</i>]
[<b>-l,--syslog</b>]
[<b>--timestamp</b>]
[<b>-U,--setuid&nbsp;</b><i>user</i>]
[<b>--csd-user&nbsp;</b><i>user</i>]
[<b>-m,--mtu&nbsp;</b><i>mtu</i>]
[<b>--basemtu&nbsp;</b><i>mtu</i>]
[<b>-p,--key-password&nbsp;</b><i>pass</i>]
[<b>-P,--proxy&nbsp;</b><i>proxyurl</i>]
[<b>--proxy-auth&nbsp;</b><i>methods</i>]
[<b>--no-proxy</b>]
[<b>--libproxy</b>]
[<b>--key-password-from-fsid</b>]
[<b>-q,--quiet</b>]
[<b>-Q,--queue-len&nbsp;</b><i>len</i>]
[<b>-s,--script&nbsp;</b><i>vpnc-script</i>]
[<b>-S,--script-tun</b>]
[<b>-u,--user&nbsp;</b><i>name</i>]
[<b>-V,--version</b>]
[<b>-v,--verbose</b>]
[<b>-x,--xmlconfig&nbsp;</b><i>config</i>]
[<b>--authgroup&nbsp;</b><i>group</i>]
[<b>--authenticate</b>]
[<b>--cookieonly</b>]
[<b>--printcookie</b>]
[<b>--cafile&nbsp;</b><i>file</i>]
[<b>--disable-ipv6</b>]
[<b>--dtls-ciphers&nbsp;</b><i>list</i>]
[<b>--dtls-local-port&nbsp;</b><i>port</i>]
[<b>--dump-http-traffic</b>]
[<b>--no-cert-check</b>]
[<b>--no-system-trust</b>]
[<b>--pfs</b>]
[<b>--no-dtls</b>]
[<b>--no-http-keepalive</b>]
[<b>--no-passwd</b>]
[<b>--no-xmlpost</b>]
[<b>--non-inter</b>]
[<b>--passwd-on-stdin</b>]
[<b>--token-mode&nbsp;</b><i>mode</i>]
[<b>--token-secret&nbsp;</b><i>{secret</i>[<i>,counter</i>]|@<i>file</i>}]
[<b>--reconnect-timeout</b>]
[<b>--servercert&nbsp;</b><i>sha1</i>]
[<b>--useragent&nbsp;</b><i>string</i>]
[<b>--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 -
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-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>--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 -- 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>-b,--background</b></p>

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


<p style="margin-left:11%;"><b>--pid-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>-c,--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>-e,--cert-expire-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>-k,--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>-C,--cookie=COOKIE</b></p>

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


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

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


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

<p style="margin-left:22%;">Enable all compression,
including stateful modes. By default, only stateless
compression algorithms are enabled.</p>


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

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


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

<p style="margin-left:22%;">Set compression mode, where
<i>MODE</i> is one of <i>stateless</i> , <i>none</i> , or
<i>all .</i></p>

<p style="margin-left:22%; margin-top: 1em">By default,
only stateless compression algorithms which do not maintain
state from one packet to the next (and which can be used on
UDP transports) are enabled. By setting the mode to
<i>all</i> stateful algorithms (currently only zlib deflate)
can be enabled. Or all compression can be disabled by
setting the mode to <i>none .</i></p>


<p style="margin-left:22%; margin-top: 1em"><b>--force-dpd=INTERVAL</b>
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>-g,--usergroup=GROUP</b></p>

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


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

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


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

<p style="margin-left:22%;">Use only the specified methods
for HTTP authentication to a server. 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>-i,--interface=IFNAME</b></p>

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


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

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


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

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


<p style="margin-left:11%;"><b>-U,--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>--csd-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>--csd-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>-m,--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>--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>-p,--key-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>-P,--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>--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>--no-proxy</b></p>

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


<p style="margin-left:11%;"><b>--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>--key-password-from-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 --file-system --printf=%i\\n $CERTIFICATE</pre>


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


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

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


<p style="margin-left:11%;"><b>-Q,--queue-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>-s,--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-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>-S,--script-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>-u,--user=NAME</b></p>

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


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

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


<p style="margin-left:11%;"><b>-v,--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>-x,--xmlconfig=CONFIG</b></p>

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


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

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


<p style="margin-left:11%;"><b>--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>--cookieonly</b></p>

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


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

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


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

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


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

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


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

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


<p style="margin-left:11%;"><b>--dtls-local-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>--dump-http-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>--no-cert-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
- 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>--cafile</b> option.</p>


<p style="margin-left:11%;"><b>--no-system-trust</b></p>

<p style="margin-left:22%;">Do not trust the system default
certificate authorities. If this option is given, only
certificate authorities given with the
<b>--cafile</b> option, if any, will be trusted
automatically.</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>--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>--no-dtls</b></p>

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


<p style="margin-left:11%;"><b>--no-http-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-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-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-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-devel@lists.infradead.org</b> mailing
list.</p>


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

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


<p style="margin-left:11%;"><b>--no-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>--non-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>--passwd-on-stdin</b></p>

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


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

<p style="margin-left:22%;">Enable one-time password
generation using the <i>MODE</i> algorithm.
<b>--token-mode=rsa</b> will call
libstoken to generate an RSA SecurID tokencode,
<b>--token-mode=totp</b> will call liboath
to generate an RFC 6238 time-based password, and
<b>--token-mode=hotp</b> will call liboath
to generate an RFC 4226 HMAC-based password. Yubikey tokens
which generate OATH codes in hardware are supported with
<b>--token-mode=yubioath</b></p>


<p style="margin-left:11%;"><b>--token-secret={
SECRET[,COUNTER] | @FILENAME }</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">RSA SecurID
secrets can be specified as an Android/iPhone URI or a raw
numeric CTF string (with or without dashes).</p>

<p style="margin-left:22%; margin-top: 1em">For Yubikey
OATH the token secret specifies the name of the credential
to be used. If not provided, the first OATH credential found
on the device will be used.</p>


<p style="margin-left:22%; margin-top: 1em"><i>FILENAME</i>,
if specified, can contain any of the above strings. Or, it
can contain a SecurID XML (SDTID) seed.</p>

<p style="margin-left:22%; margin-top: 1em">If this option
is omitted, and --token-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>--reconnect-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>--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>--useragent=STRING</b></p>

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


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

<p style="margin-left:22%;">OS type to report to gateway.
Recognized values are: <b>linux</b>, <b>linux-64</b>,
<b>win</b>, <b>mac-intel</b>, <b>android</b>,
<b>apple-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>--csd-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-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-script, but does not log the session off; this
allows for reconnection later using
<b>--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-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-script</b> to configure the network. The
standard <b>vpnc-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-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>