~ubuntu-branches/debian/sid/ircd-hybrid/sid

« back to all changes in this revision

Viewing changes to include/ircd_defs.h

  • Committer: Package Import Robot
  • Author(s): Dominic Hargreaves
  • Date: 2015-04-19 15:53:09 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20150419155309-06y59x2at2ax5ou3
Tags: 1:8.2.7+dfsg.1-1
* Remove Suggests: hybserv since it doesn't really work with
  ircd-hybrid 8 and above
* New upstream release
  - update debian/copyright with minor changes
  - update config files from new reference.conf
  - fixes DoS from localhost clients (Closes: #782859)
  - supports SSL certficate chaining (Closes: #769741)
* Debconf configuration script no longer ignores the result of
  upgrade questions (Closes: #779082)
* Don't display upgrade warnings on new installs (Closes: #782883)
* Add NEWS item about updated configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3
3
 *
4
 
 *  Copyright (c) 1997-2014 ircd-hybrid development team
 
4
 *  Copyright (c) 1997-2015 ircd-hybrid development team
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
21
21
 
22
22
/*! \file ircd_defs.h
23
23
 * \brief A header for ircd global definitions.
24
 
 * \version $Id: ircd_defs.h 4564 2014-08-24 10:24:47Z michael $
 
24
 * \version $Id: ircd_defs.h 5574 2015-02-15 12:28:06Z michael $
25
25
 */
26
26
 
27
27
/* ircd_defs.h - Global size definitions for record entries used
36
36
#define IRCD_BUFSIZE    512     /* WARNING: *DONT* CHANGE THIS!!!!         */
37
37
#define HOSTLEN          63     /* Length of hostname. Updated to comply
38
38
                                   with RFC 1123 */
 
39
/*
 
40
 * NICKLEN: do not change this; if you want to change the maximum
 
41
 * allowed nickname length, you can do this in the ircd.conf
 
42
 */
39
43
#define NICKLEN         30
40
44
#define USERLEN         10
41
 
#define SVIDLEN         30
 
45
#define ACCOUNTLEN      NICKLEN
42
46
#define PORTNAMELEN 6  /* ":31337" */
43
47
 
44
48
#define HOSTIPLEN       45 /* sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255") */