~ubuntu-branches/ubuntu/precise/openvpn/precise-updates

« back to all changes in this revision

Viewing changes to common.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-10-05 06:21:14 UTC
  • mfrom: (1.1.16 upstream) (10.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101005062114-18lyqud9e3p4g735
Tags: 2.1.3-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  + debian/openvpn.init.d:
    - Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    - Show per-VPN result messages.
    - Add "--script-security 2" by default for backwards compatablitiy
  + debian/control: Add lsb-base >= 3.2-14 to allow status_of_proc()

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *             packet encryption, packet authentication, and
6
6
 *             packet compression.
7
7
 *
8
 
 *  Copyright (C) 2002-2009 OpenVPN Technologies, Inc. <sales@openvpn.net>
 
8
 *  Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
9
9
 *
10
10
 *  This program is free software; you can redistribute it and/or modify
11
11
 *  it under the terms of the GNU General Public License version 2
76
76
/*
77
77
 * This parameter controls the TLS channel buffer size and the
78
78
 * maximum size of a single TLS message (cleartext).
79
 
 */
80
 
#define TLS_CHANNEL_BUF_SIZE 1024
 
79
 * This parameter must be >= PUSH_BUNDLE_SIZE
 
80
 */
 
81
#define TLS_CHANNEL_BUF_SIZE 2048
 
82
 
 
83
/*
 
84
 * This parameter controls the maximum size of a bundle
 
85
 * of pushed options.
 
86
 */
 
87
#define PUSH_BUNDLE_SIZE 1024
81
88
 
82
89
/*
83
90
 * A sort of pseudo-filename for data provided inline within