Arnaud Cornet
4b723ca479
more cleanups, start of a log refactoring
...
That changes log format and might breack everything.
2008-12-18 14:27:16 +01:00
Arnaud Cornet
c150151066
BIG cleanup. check for memory allocation failure, add extra checks all arround.
2008-12-15 19:19:27 +01:00
Arnaud Cornet
e18d335578
calloc/realloc checks.
2008-12-11 11:00:05 +01:00
Arnaud Cornet
3ab2755767
Catch malloc returning NULL.
2008-12-10 23:26:37 +01:00
Arnaud Cornet
e863227099
Fix probable but rare memory leak
2008-06-01 11:05:22 +02:00
Arnaud Cornet
b024221cec
Use const varibable more consistently.
2008-02-02 12:46:20 +01:00
Arnaud Cornet
f1cc6451f5
Handle SSL-client auth. Fix crash on del_conn when the link never got connected at all.
2008-01-20 18:49:44 +01:00
Loïc Gomez
671a455219
Fix UTF-8 in all files
2008-01-09 23:45:40 +01:00
Arnaud Cornet
e0170c8144
This makes no sense.
2007-12-21 12:54:06 +01:00
Arnaud Cornet
64b3468393
Fix misplaced free.
2007-12-21 12:45:49 +01:00
Arnaud Cornet
8d25dfea51
Clear newly allocated connection structs.
2007-12-21 12:27:44 +01:00
Arnaud Cornet
e6efc4b1c5
Fix just introduced leak.
2007-12-21 12:21:23 +01:00
Arnaud Cornet
27b16a86b8
Avoid unncessary calls to getaddrinfo.
...
Refactor calls to getaddrinfo only on socket establishement, cache in
connection structure.
2007-12-21 12:20:21 +01:00
Arnaud Cornet
cbcd4c18a3
Fix fatal() on /bip jump.
2007-12-14 22:06:20 +01:00
Arnaud Cornet
1e449da922
Make SSL "basic" certificate check more loose (more SSH-like).
...
In "basic" mode, normally un trusted certificates get to be trusted if they are
manually trusted by user. This provides an SSH like private key auth mechanism.
Expired certificates were considered invalid in this mode which does not make
much sense.
2007-10-29 00:38:42 +01:00
Arnaud Cornet
32e47b900c
Fixes to get the /BIP RELOAD command to at least work in a quick test.
...
- reuse existing channel infos
- dont clear conn_list on end of irc_main and don't add the listener if
conn_list is not empty at start of irc_main
2007-10-20 23:12:22 +02:00
Arnaud Cornet
b026214142
Various fixes
...
- Fix log redirrect to stderr when not going into background.
- Fix connection_close to handle connections on error.
- Handle servers you can't connect to the same way as servers that get disconnected. (wrt to reconnection timers)
- Fix some log message
2007-10-20 21:26:21 +02:00
Loïc Gomez
12ea45b132
cleanup
...
change some log levels
remove ssl_check_store from connection
indent fixes
check_rlimits: change explain text
Git-explicit version
2007-09-27 14:12:27 +02:00
Loïc Gomez
5aec7804af
src/log: fix backlogging again, memlog was distrubing the process
...
src/connection: change some log levels, errors are errors, not debug info...
2007-09-26 21:22:44 +02:00
Arnaud Cornet
d7e870fe67
Lot of cleanups wrt init and killing links
...
Cleanup sample config (make cert).
Implement some free functions (log_free and link_kill).
Move utility macros in src/util.h
Reorganiize initialisation functions.
2007-09-04 00:24:50 +02:00
nohar
aa40fef29a
Close cleanly. Bug repported by netnut.
2007-07-20 14:45:33 +00:00
nohar
0546c4baa2
Set socket flags setting.
2007-06-14 08:48:04 +00:00
nohar
56fd224916
Lot's of cleanups.
2007-05-26 10:31:44 +00:00
nohar
458abaf452
Fix fd leak. Delay reconnections.
2007-02-10 14:05:37 +00:00
nohar
052ec2cfbb
Missing ';'
2007-02-08 23:03:49 +00:00
nohar
faaeb703fd
Loglevel cleanups.
2007-02-08 22:53:48 +00:00
nohar
199c62bca8
Merge in Trou's oidentd patch.
2007-02-08 19:12:20 +00:00
nohar
c13c58157b
Untested ipv6 support for fake ident with oidentd.
2006-09-23 14:13:27 +00:00
kyoshiro
b4d73d22da
oops
2006-07-02 12:44:22 +00:00
kyoshiro
c1f07926f3
Enhance /bip list a bit...
2006-07-02 12:35:32 +00:00
nohar
fa9b404fd1
remove useless tabs
2006-06-22 12:13:34 +00:00
nohar
f80cdd85e0
- change default nick in sample file
...
- fix nick desync between client and server
- fix possible null deference
2006-06-08 18:55:26 +00:00
nohar
baad17c4d9
This should have been fixed already.
2006-04-20 12:49:50 +00:00
nohar
5574a6d335
a few deleted whitespaces + Trou's patch: allows to trust when not connected / allow self-signed certs when in basic ssl mode / permit connection to serveurs w/o a motd
2005-12-12 19:03:02 +00:00
kyoshiro
1e6f0593fb
clean README and TODO files
...
loglevels cleanup
debug prints cleanup
log info when connecting to a server
default log level to INFO
2005-11-17 17:55:12 +00:00
nohar
b039415b93
voice storage bugfix, probably
2005-11-16 18:34:25 +00:00
nohar
f4f0cda849
cleanup for release
2005-10-09 11:47:20 +00:00
nohar
f75466972c
Maybe i'll manage to fix this one day
2005-09-15 22:23:26 +00:00
nohar
53eaf0d767
Try to detect client side socket kernel buffer fillup
2005-09-02 12:50:59 +00:00
nohar
e245735f71
merged YS' elite cert management patch
2005-08-25 08:17:10 +00:00
nohar
2afd09e3de
merge blackmore's configure.in patch one type and a small connection close fix
2005-08-16 14:03:33 +00:00
nohar
75458e014b
MAMADOO chat sux
2005-08-04 12:40:09 +00:00
nohar
76002fe2dd
Jere proved me that shit DOES happen. Now I know
2005-08-04 07:59:38 +00:00
nohar
0e6af5bcf6
lame bug found by jj
2005-08-01 11:16:39 +00:00
guillot
7f5750b3b4
minor update of flood control
...
enabled more secure prompting for the highly critical "bipmkpw" util
2005-07-12 19:31:59 +00:00
nohar
466ec98adb
YS's fixs for in ssl checkstore
2005-06-04 14:54:17 +00:00
nohar
3a51245c14
YS' SSL certification check patch merged
2005-06-04 11:05:54 +00:00
nohar
cb2f3a5e1e
/bip blreset implemented
2005-05-29 23:00:30 +00:00
nohar
3aeb6fc9ff
looping on cpu on throttle fixed
2005-05-28 13:23:51 +00:00
nohar
14cf13cfb6
fix: wait_event now waits when there is no socket active (that happens when we to nothing but wait for a reconnect timeout to trigger)
2005-05-27 15:00:11 +00:00