1
0
forked from bip/bip
Commit Graph

345 Commits

Author SHA1 Message Date
Arnaud Cornet
70fbf99c7f Refactor _write_socket
Call real_write_all in write_lines and write_line.
This should fix debian bug #542291.
BIG thanks to Zygo Blaxell.
2009-08-19 22:02:56 +02:00
Arnaud Cornet
7546daa276 [BUG] Handle badly lagging client conns decently. 2009-08-19 02:09:16 +02:00
Arnaud Cornet
fa0c70539b Allow parallel build (thks Whoopie and psychon). 2009-07-26 11:38:20 +02:00
Arnaud Cornet
442e4973cd Add -git to version string. 2009-07-17 11:43:34 +02:00
Arnaud Cornet
a7c38c17c0 Update src/version.h and Changelog for release. 2009-07-17 11:43:29 +02:00
Arnaud Cornet
213643d5bf size hour array correctly 2009-07-05 19:35:00 +02:00
Arnaud Cornet
1a2b1dd165 Cleanup log outputs 2009-07-05 19:04:51 +02:00
Arnaud Cornet
3698955365 Don't reset store->file_offset when adding a new file
This just makes no sense
2009-07-05 18:08:35 +02:00
Arnaud Cornet
a8fb0c40d3 Support hour in log format. Mostly for debugging 2009-07-05 14:00:06 +02:00
Arnaud Cornet
32e08c94aa SSL basic mode, support X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN 2009-07-02 18:05:51 +02:00
Arnaud Cornet
405f8b4afc [log] Use canonical name to detect need for log rotation
Also reset store on part from server to close more file descriptor.
2009-06-28 16:33:29 +02:00
Arnaud Cornet
4532234426 [ssl:basic] Restore trust command behavior that was broken (repported by psychon) 2009-06-25 01:24:38 +02:00
Arnaud Cornet
5ae1c1dec5 [log] close logs files more intensively. 2009-06-25 00:43:44 +02:00
Arnaud Cornet
7af35a3018 Bad and useless strncat use (reported by psychon, thanks to him) 2009-06-18 13:50:43 +02:00
Arnaud Cornet
015969e86b [log] Fix to /bip backlog x
This is fix for:
When using /bip backlog X windows with no tracked backlog (ie after a
blreset) do not show backlog
2009-06-13 17:29:44 +02:00
Arnaud Cornet
8cea2bdb71 Don't fail if ressetting non existing store. 2009-06-07 13:22:20 +02:00
Arnaud Cornet
499a7d75b5 backlog tweak 2009-06-05 00:43:05 +02:00
Arnaud Cornet
9187d556b5 Fix info user parsing. 2009-03-25 11:40:19 +01:00
Arnaud Cornet
3166a57022 Add -git to version string. 2009-03-02 12:54:27 +01:00
Arnaud Cornet
104d251a0b Update src/version.h and Changelog for release. 2009-03-02 12:54:25 +01:00
Arnaud Cornet
b6f30f6a03 Fix one leak. Fix git-release script for new git. 2009-02-28 11:19:57 +01:00
Arnaud Cornet
29ff342d93 Add option ignore_server_capab 2009-02-08 12:36:49 +01:00
Arnaud Cornet
b8c740357d Add -git to version string. 2009-02-02 19:51:10 +01:00
Arnaud Cornet
1f462ef035 Update src/version.h and Changelog for release. 2009-02-02 19:51:05 +01:00
Arnaud Cornet
eef2fd180d [CLIENTHACK] Remove xchat's + and - on each msg
This patch drops CAPAB setting in 005 message from server to client.
Doing this xchat does not start the mode that prepends a + or a - at the
beginning of PRIVMSGS.
2009-02-02 19:47:53 +01:00
Arnaud Cornet
69640eaf8c [FIX] Complete previous commit
Previous commit was incomplete and did not log some weird messages. They
still might be legit, so we come with them
2009-01-27 11:24:50 +01:00
Arnaud Cornet
5416fc19b2 [FIX] check for weird shape notice messages
Prevents a fatal on some rare conditions
2009-01-27 08:25:44 +01:00
Arnaud Cornet
c2b3090e47 Cosmetic (special kasdedi a trou) 2009-01-26 16:57:52 +01:00
Arnaud Cornet
bfc86202a1 Add -git to version string. 2009-01-25 14:44:26 +01:00
Arnaud Cornet
488a17dab5 Update src/version.h and Changelog for release. 2009-01-25 14:44:22 +01:00
Arnaud Cornet
5628da3ee0 Add warning when using 512 bits long moduli for diffie hellman 2009-01-25 14:41:19 +01:00
Arnaud Cornet
b62c3e4697 [SSL] Support ephemeral diffie hellman kex
Pushing some non private data into openssl enables to use edh that
provides perfect forward secrecy.
2009-01-25 14:24:22 +01:00
Arnaud Cornet
03210a796e [CLEANUP] Add lots of asserts in utils
list hash and array types are now even stricter on their usage.
2009-01-22 12:06:26 +01:00
Ben Byer
dae6cad3f7 Add limit.h for INT_MAX 2009-01-22 11:26:03 +01:00
Arnaud Cornet
23b6ec4492 Better check for backread returning NULL 2009-01-22 11:24:44 +01:00
Ben Byer
43fe81e114 add null pointer check to backlog_lines
In some configuration backlog_lines can return NULL
2009-01-22 10:14:33 +01:00
Arnaud Cornet
170d4d1e00 [FEATURE] autojoin_on_kick in connection blocks
true by default
2009-01-21 17:24:54 +01:00
Arnaud Cornet
afefc9a3d4 [FIX] Try to guess current daylight saving time
When backloging we have no clue of a log lines dst, we try to guess it
with current dst, which makes no sense, but at least it provides decent
result when not near dst change.
2009-01-20 19:30:20 +01:00
Arnaud Cornet
500d546706 [FIX] improper log rotation
disconnection/reconnection log message bypassed the log rotation checks
So if the message after a new day is a disconnected message, logs files
did not rotate.
2009-01-18 12:26:41 +01:00
Arnaud Cornet
7a7c2432cf [FIX] make log_has_backlog actually work
log_has_backlog used to check for the presnece of tracked logfiles to
determine the presence of logs. This does not work anymore. This patch
uses the last file tracker to determine that.
2009-01-18 11:26:08 +01:00
Arnaud Cornet
9882a0cbdc [CLEANUP] various cleanups 2009-01-17 15:03:06 +01:00
Arnaud Cornet
fe251f72b5 [FEATURE] /quote bip backlog [n]
/quote bip backlog triggers a log replay.
With the optional argument n in hours, you can request a backlog of a
few hours.
2009-01-17 14:16:31 +01:00
Arnaud Cornet
26eb9c28d7 [OPTION] implement backlog_reset_connection
backlog_reset_on_talk no works per query/channel.
Setting backlog_reset_connection to true falls back to the former kind
of backlog reset.
2009-01-17 12:50:39 +01:00
Arnaud Cornet
0e2f305d4e [cleanup] Try to cleanup this pid mess
close files, but no too soon...
2009-01-16 15:17:34 +01:00
Arnaud Cornet
2d9d388fba Close some fds, original path from Trou. 2009-01-16 15:09:53 +01:00
Trou
111f1382d1 Fix fd leak 2009-01-16 15:02:24 +01:00
Arnaud Cornet
3b704f53c4 drop unused variables 2009-01-15 22:56:42 +01:00
Arnaud Cornet
be0d83d681 Remove code inside #if 0... it's what svcs are for 2009-01-10 14:16:36 +01:00
Arnaud Cornet
8ed0565266 [LOG] Fixup log_beautify to work beautifully :) 2009-01-10 14:08:41 +01:00
Arnaud Cornet
a5814b17a0 Don't log queries with -bip, fix blreset help 2009-01-10 13:34:40 +01:00