Seed the ircii-pana-1.1 maintenance branch from the tagged
ircii-pana-1.1-final.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@2 13b04d17-f746-0410-82c6-800466cd88b0
Turn on SVN keyword replacement for $Date$, $Author$, $Revision$, $Id$ for all
*.c and *.h files.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@3 13b04d17-f746-0410-82c6-800466cd88b0
Security update:
* Don't pass negative "numerics" too numbered_command (it doesn't handle them).
* Bounds-check on the access to the hook_functions table.

This fixes the issue CVE-2007-3360 (see http://cve.mitre.org).


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@5 13b04d17-f746-0410-82c6-800466cd88b0
* Explicitly allocate a disjoint buffer for each level of recursion in 
  convert_output_format_raw, and implement bounds-checking.

Note: This resolves the security issue CVE-2007-4584 (http://cve.mitre.org)


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@6 13b04d17-f746-0410-82c6-800466cd88b0
* Correct minor mistake in previous fix.



git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@7 13b04d17-f746-0410-82c6-800466cd88b0
Fix the test for GCC >= 2.7.  This fixes a problem compiling on S390, 
apparently.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@8 13b04d17-f746-0410-82c6-800466cd88b0
Bump version number to Bitchx-1.1s01-svn (-svn for subversion prerelease of
1.1s01 - ie 1.1s01 when released will be *newer* than this).


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@10 13b04d17-f746-0410-82c6-800466cd88b0
Re-implement code that finds local interface addresses (vhosts).

The old method was to shell out to various system utilities (ifconfig, 
netstat etc) and parse the result.  This was vulnerable to a symlink 
attack, and was obviously pretty crufty anyhow.

The new method assumes we have getifaddrs() on IPv6-capable systems, and
the SIOCGIFCONF ioctl on IPv4 systems.  /proc/net/if_inet6 is used to
supplement getifaddrs() to cater for Linux systems with older glibc that
didn't return IPv6 addresses from getifaddrs().

I've tested this on Linux, FreeBSD and Cygwin and It Seems To Work...

This fixes the vulnerability CVE-2007-5839 (cve.mitre.org).


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@11 13b04d17-f746-0410-82c6-800466cd88b0
Updated Virtuals struct to work with r11 of commands.c


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@12 13b04d17-f746-0410-82c6-800466cd88b0
Only try to compile add_addrs_ioctl if the system has the SIOCGIFCONF ioctl.

On systems without this (are there any?? let me know...) we just won't be
able to list the vhosts.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@13 13b04d17-f746-0410-82c6-800466cd88b0
Add SVN keyword expansion, remove duplicate line.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@14 13b04d17-f746-0410-82c6-800466cd88b0
Remove additional declaration for tparm().  It shouldn't be needed (the
declaration should come in from one of the system headers included by
ircterm.h), and it prevents compiling on gcc 3.4.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@16 13b04d17-f746-0410-82c6-800466cd88b0
Fix configure.in check for termcap.h (AC_CHECK_HEADER does not set
HAVE_xxxx_H, AC_CHECK_HEADERS does).


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@18 13b04d17-f746-0410-82c6-800466cd88b0
Add -fno-strict-aliasing to the CFLAGS, if the compiler understands it.

This is needed because of some of the hairy things that we do with
casting pointers.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@19 13b04d17-f746-0410-82c6-800466cd88b0
Fix spelling error.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@22 13b04d17-f746-0410-82c6-800466cd88b0
Fixes to allow compiling with gcc-4.0.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@23 13b04d17-f746-0410-82c6-800466cd88b0
Add 1.1s01 changes.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@24 13b04d17-f746-0410-82c6-800466cd88b0
Replace README-1.1-FINAL with README-1.1s01.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@29 13b04d17-f746-0410-82c6-800466cd88b0
Updated server list.


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@60 13b04d17-f746-0410-82c6-800466cd88b0
Merged in fix for zimzum's .cmsg crash from trunk/


git-svn-id: https://bitchx.svn.sourceforge.net/svnroot/bitchx/branches/ircii-pana-1.1@63 13b04d17-f746-0410-82c6-800466cd88b0