1
0
forked from bip/bip
Commit Graph

560 Commits

Author SHA1 Message Date
Marc Dequènes (Duck)
d9461b8c8d make_distcheck in bip-release needs to prepare sources 2013-10-19 13:32:25 +02:00
Marc Dequènes (Duck)
b6d9151e8c Corrected AC_INIT: package and tarname were inverted 2013-10-19 13:07:45 +02:00
Marc Dequènes (Duck)
400cfedb6c Sign release tags
Closes #270
2013-10-19 12:52:04 +02:00
Marc Dequènes (Duck)
1c3ef1d360 Really ensure a Yacc alternative is installed at build time
AC_PROG_YACC falls back to YACC = "yacc" if bison or byacc are not
found, but it does not mean it is present.

Closes #294
2013-10-19 12:36:07 +02:00
Marc Dequènes (Duck)
8b98c3746e Compatibility fix with bison 2.6
Bison 2.6 now declares yyparse in the generated header. This fix
ensure it still works for older versions.

Reported in Debian#710614
2013-10-18 17:31:47 +02:00
Nathan Phillip Brink
71801fb3d2 Throttle almost everything (except PING, PONG, and certain QUIT messages) sent to the IRCd.
Fixes being killed for Excess Flooding on freenode by using the
existing fakelag mechanism. The existing fakelag works great but
was just not hooked into earlier.

Closes #191
2013-10-18 17:22:08 +02:00
Pierre-Louis Bonicoli
aa4ee44d68 Remove useless bootstrap script
Refs #284
2013-10-18 17:21:45 +02:00
Pierre-Louis Bonicoli
2c390390ed Password cannot contain spaces. Closes #265.
Thanks to Tim Hansen for reporting this bug.
2012-01-25 05:18:59 +01:00
Pierre-Louis Bonicoli
df45c4c2d6 Closes #261. Fix by Thijs Alkemade.
- use conf_global_log_file instead of stderr
- when a SSL handshake error occurs, close socket
2012-01-25 05:08:52 +01:00
Pierre-Louis Bonicoli
f1bec50a9c Revert f19e1f6. Fix #252.
f19e1f6 introduces a regression (#252) and bug described in commit
message can not be reproduced.
2012-01-25 04:03:18 +01:00
Pierre-Louis Bonicoli
222a33cb84 Buffer Overflow: check against the implicit size of select() arrays
Reported by Julien Tinnes (Fix #269)
exit is called when the listening socket can not be created
2012-01-23 22:38:59 +01:00
Pierre-Louis Bonicoli
0ed5240de5 doc: automake,autoconf-archive:deps, add bootstrap
- build dependencies: add automake & autoconf-archive
- mention 'bootstrap' script
2012-01-20 05:38:00 +01:00
Pierre-Louis Bonicoli
7fef65fbe8 use maintainer mode when building from a repo
try CFLAGS="-Wno-error" if build failed
2011-10-25 01:17:54 +02:00
Pierre-Louis Bonicoli
975ccac0b1 delete generated file 2011-10-24 23:45:01 +02:00
Arnaud Fontaine
a46b8bd2c2 Fix GCC warnings. 2011-10-24 23:44:43 +02:00
Arnaud Fontaine
ab0a41b7bb Add AM_MAINTAINER_MODE for vendors. 2011-10-24 23:40:50 +02:00
Pierre-Louis Bonicoli
6103f8bc84 CFLAGS: add -Werror 2011-10-04 00:47:22 +02:00
Arnaud Fontaine
0da434d126 Fix GCC warnings. 2011-10-04 00:30:07 +02:00
Pierre-Louis Bonicoli
559fa7ed44 don't override user var. Thanks to Alex Legler
Based on gentoo-x86/net-irc/bip/files/bip-configure.patch
See http://www.gnu.org/software/autoconf/manual/automake.html#User-Variables
If user doesn't specify CFLAGS, default value is "-Wall -Wextra -g -O2".
2011-09-14 06:31:58 +02:00
Nathan Phillip Brink
7e1c80a65a Use 'make dist' instead of 'git archive' to create a release or snapshot tarball. 2011-09-14 06:28:14 +02:00
Pierre-Louis Bonicoli
84fa6c7eb0 Fix typo in assertion message 2011-05-23 04:36:58 +02:00
Pierre-Louis Bonicoli
b2dde370d6 Improve 'trust ok' command
if a client send "TRUST OK" to bip and all connexions are already trusted,
reply "No untrusted certificates." instead of "Unknown command"
2011-05-23 04:01:27 +02:00
Pierre-Louis Bonicoli
46c599d92e Add -git to version string. 2011-04-12 02:21:25 +02:00
Pierre-Louis Bonicoli
e730a96cd8 Update src/version.h and Changelog for release. 2011-04-12 02:21:24 +02:00
Pierre-Louis Bonicoli
f19e1f6209 Fix backlog of queries when option 'log' is False
Issue #212
2011-04-12 01:08:41 +02:00
Yoann Guillot
87da44e583 connection: allow to disable / enable log (#211)
add option 'log' (true/false) in connection section,
this option overrides the global 'log' option.
Thanks to jj !
2011-04-07 02:32:44 +02:00
Pierre-Louis Bonicoli
2e49437ed7 revert 4fdabdd166
better quick fix
2011-02-06 21:59:14 +01:00
Pierre-Louis Bonicoli
81b8ed48cf Fix build errors on armel
sys/user.h on armel has a conflicting definition of 'struct user'.
This patch renames bip's structure to avoid the conflict.
Thanks to Philipp Kern and Dann Frazier !
2011-01-15 18:13:26 +01:00
Pierre-Louis Bonicoli
4d4710acb9 Fix "FATAL: list_remove: item not found"
Thanks to Jean-Edouard Babin for reporting it.

How to reproduce:
1) connect to bip with an irc client using username (eg 'Pilou')
2) disconnect irc client
3) in client configuration, change the case of username (eg 'pilou')
4) reconnect to bip -> bip log FATAL message and exit

If old nick and new nick are equal ignoring the case of the characters,
don't delete store associated with old nick: only rename it.
2010-12-28 03:22:19 +01:00
Pierre-Louis Bonicoli
ca1b383a74 check return value of hash_get 2010-12-28 03:20:01 +01:00
Pierre-Louis Bonicoli
4fdabdd166 filename is NULL if !store && !conf_log 2010-12-28 03:18:13 +01:00
Arnaud Cornet
0b7a3e6a07 Add -git to version string. 2010-09-12 17:48:00 +01:00
Arnaud Cornet
ec078131ea Update src/version.h and Changelog for release. 2010-09-12 17:47:57 +01:00
Arnaud Cornet
7fb0823167 cp 2010-09-12 17:32:55 +01:00
Arnaud Cornet
4822364c0f Fix for null pointer deference
CVE-2010-3071
2010-09-12 16:52:00 +01:00
Arnaud Cornet
d0ee9df3ec Add -git to version string. 2010-08-07 12:18:59 +01:00
Arnaud Cornet
3c6d776597 Update src/version.h and Changelog for release. 2010-08-07 12:18:53 +01:00
Arnaud Cornet
4f5f08677f Enable PIE executable creation. 2010-08-07 12:10:32 +01:00
Trou
7712ae3a92 Fix typo 2010-06-15 23:02:01 +01:00
Zach Wily
4d3ee53e7b RFC 1459 specifies that the PONG message may have 1 or 2 parameters. 2010-04-07 22:12:26 +01:00
Arnaud Cornet
f995c1f537 try to mitigate freenode antiflood throttling 2010-02-17 12:34:57 +00:00
Arnaud Cornet
4d5ef34325 oidentd is not debug 2010-02-17 12:33:05 +00:00
Arnaud Cornet
92365874d4 Revert "Fix antiflood. Fixes freenode kicking us out."
This reverts commit 639e929021.
2010-02-17 12:32:22 +00:00
Arnaud Cornet
5c3f22d8a8 Revert "Unbraindead"
This reverts commit b21c658b8c.
2010-02-17 12:32:15 +00:00
Arnaud Cornet
b21c658b8c Unbraindead 2010-02-17 12:00:55 +00:00
Arnaud Cornet
5b26dac489 More lose MODE command handling 2010-02-17 10:55:09 +00:00
Mathieu Pillard
5d6b7fedaf backread_hours is in hours, not days 2010-02-16 10:08:27 +00:00
Arnaud Cornet
7c0b6036f2 Ugly header fixups to fix build 2010-02-15 14:22:00 +00:00
Mathieu Pillard
2e5f4287ff With necessary header fix 2010-02-15 14:17:44 +00:00
Mathieu Pillard
c0772f54bf Fix time parsing. Fixes backlog replaying one month to many, 2010-02-15 14:16:08 +00:00