source: TI05-delivery/trunk/src/bbftp-client-3.2.0/includes/bbftp_private_user.h @ 806

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/src/bbftp-client-3.2.0/includes/bbftp_private_user.h@806
Revision 806, 1.6 KB checked in by spascoe, 13 years ago (diff)

Server and Daemon will now compile and run on glue with the
trivial private authentication working.

Private authentication simply sends a version string from client to server. The
Version string is logged to syslog.

WARNING: The client is given the full privileges as the server daemon, so don't
run bbftpd as root.

Line 
1/*
2 * includes/bbftp_private_user.h
3 * Copyright (C) 1999, 2000, 2001, 2002 IN2P3, CNRS
4 * bbftp@in2p3.fr
5 * http://doc.in2p3.fr/bbftp
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20 */ 
21
22/****************************************************************************
23
24 
25 
26 bbftp_private_user.h   v 2.1.0 2001/05/25  - Header creation
27                         
28*****************************************************************************/
29
30/*
31** This include must contain all global variable to be used for private
32** authentication. All definition to be put here are normal definitions.
33**
34** For example to define the variable myprivatevar as an integer you must
35** add the following line in bbftp_private_user.h
36
37int myprivatevar ;
38
39**/
40
41/*
42 * NDG-bbFTP test definitions.
43 */
44
45#define NDG_FTP_VERSION "v0.0.1"
46#define NDG_FTP_PROTOCOL ("NDG-bbFTP" NDG_FTP_VERSION)
47
48#define NDG_MESSAGE_LEN 256
49
50/* The logmessage size limit is hard coded into the bbFTP source.  I define a macro here to avoid
51   buffer overflows.
52*/
53#define NDG_MAX_LOGMESSAGE 1024
Note: See TracBrowser for help on using the repository browser.