aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
Commit message (Collapse)AuthorAgeLines
* Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD andWilmer van der Gaast2008-02-10-1/+5
| | | | | (IIRC) OpenBSD systems.
* Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-1/+1
| | | | | for pid_t variables).
* Fixed the epoll+ForkDaemon combination. The libevent event handlingWilmer van der Gaast2007-11-28-0/+2
| | | | | | didn't work very well on Linux 2.6 (and possibly others) in ForkDaemon mode.
* Fixed NULL pointer dereference (in printf) when connected to a non-socketWilmer van der Gaast2007-11-19-10/+6
| | | | | (which I do quite often when testing stuff).
* Merging from Jelmer.Wilmer van der Gaast2007-11-05-56/+37
|\
| * Fix indentation.Jelmer Vernooij2007-10-18-10/+10
| |
| * Use standard functions for dealing with both IPv6 and IPv4. Jelmer Vernooij2007-10-18-58/+37
|/
* Fixed uninitialized memory issue in bitlbee.c listen socket setup code.Wilmer van der Gaast2007-02-18-0/+2
| | | | | Fixes #230 and #183.
* Merging from main.Wilmer van der Gaast2006-07-14-12/+31
|\
| * Removed #defines used to simulate systems without IPv6 support.Wilmer van der Gaast2006-07-12-3/+0
| |
| * Better handling of situations where IPv6 is not available at run-time.Wilmer van der Gaast2006-07-11-12/+34
| |
| * Merging libevent branch: Events can now be handles by both glib and libevent.Wilmer van der Gaast2006-06-21-23/+17
| |\
* | | Using salted MD5 checksums for the user's BitlBee password and salted RC4Wilmer van der Gaast2006-06-25-0/+4
| | | | | | | | | | | | | | | | | | encryption for the IM account passwords, plus some calls to srand() to keep the salts secure and unique.
* | | xml_save(), decent error handling and merging fixed autosaving.Wilmer van der Gaast2006-06-15-1/+1
|\| | | |/ |/|
| * Converted irc->status to binary flags. (This also fixes auto-save-on-quitWilmer van der Gaast2006-06-15-1/+1
| | | | | | | | | | that broke because of USTATUS_SHUTDOWN. :-( )
* | Fixed a little memory access bug.Wilmer van der Gaast2006-05-14-5/+5
| |
* | Moved everything to the BitlBee event handling API.Wilmer van der Gaast2006-05-10-30/+27
| |
* | Got rid of all GLib GIOChannel-related calls outside proxy.cWilmer van der Gaast2006-05-07-29/+26
|/
* Cut-and-paste considered harmful.Wilmer van der Gaast2006-03-31-2/+2
|
* Also listen for admin connections on a unix domain socket at /var/run/bitlbeeJelmer Vernooij2006-03-01-0/+4
|
* Added RESTART command for easier upgrades without losing IPC connections.Wilmer van der Gaast2006-02-02-3/+16
|\ | | | | | | | | (Obviously only works well for forking daemon mode.)
| * Fixed the bug that caused a fork() bomb last night.Wilmer van der Gaast2006-01-22-3/+7
| |
| * Error checking for accept(). Have to find out why it went wrong (and ↵Wilmer van der Gaast2006-01-22-0/+6
| |\ | | | | | | | | | fork()ed a bit too much) last night.
| * | Added RESTART command (only for ForkDaemon mode) for easier upgrades.Wilmer van der Gaast2006-01-21-0/+3
| |/
* / Added PID-file code.Wilmer van der Gaast2006-02-02-0/+11
|/
* Renamed commands.c, got rid of return values in all command functions.Wilmer van der Gaast2006-01-20-3/+5
|
* Merging IPC branch, it's too different from the main code to keep itWilmer van der Gaast2006-01-20-36/+73
|\ | | | | | | | | separated (and it's pretty stable now). Have fun. :-)
| * A bit too much for one commit, but well: Client processes didn't clean upWilmer van der Gaast2006-01-19-0/+2
| | | | | | | | | | | | | | some master structs (bitlbee_child list) yet, and added the IPC CLIENT command to inform the master process about host- and nickname. Can be useful later.
| * Merged (and adapted) changes from main tree.Wilmer van der Gaast2006-01-18-13/+13
| |\
| * | Better DIE implementation, added SO_REUSEADDR to listening socket.Wilmer van der Gaast2006-01-15-0/+4
| | |
| * | Imported irc_command branch and used this addition for parsing IPC commands. ↵Wilmer van der Gaast2006-01-15-79/+14
| |\ \ | | | | | | | | | | | | (Implemented WALLOP and a very evil DIE.)
| * | | Imported changes from main tree.Wilmer van der Gaast2006-01-14-24/+0
| |\| |
| * | | IPC code (by no means final)Wilmer van der Gaast2006-01-13-30/+130
| | | |
* | | | irc_abort() does logging (including a reason) now.Wilmer van der Gaast2006-01-20-6/+5
| |_|/ |/| |
* | | BitlBee now tries to empty sendbuffer before closing the connection.Wilmer van der Gaast2006-01-18-13/+13
| |/ |/|
* | Removed send-flood protection code completely.Wilmer van der Gaast2006-01-10-24/+0
| |
* | Added a check for the fork() return value, that should actually be enough ↵Wilmer van der Gaast2006-01-09-0/+4
|/ | | | for error handling.
* Moved root_command functions to commands.cWilmer van der Gaast2006-01-04-59/+0
|
* Better handling of IPv4 connections in IPv6 mode. (Wrapping/Unwrapping of ↵Wilmer van der Gaast2006-01-04-1/+1
| | | | ::ffff:style addresses.)
* Forgot to actually move those functions in previous commit. And *argh*, ↵Wilmer van der Gaast2005-12-27-74/+0
| | | | don't commit things done for debugging!
* IPv6 socket improvements. Daemon mode can now also listen on IPv6 sockets.Wilmer van der Gaast2005-12-27-4/+21
| | | | | | Also, when reverse lookup fails, BitlBee now correctly falls back to an ASCII-formatted IP instead of "localhost.".
* Added OperPassword and RunMode = ForkDaemon settings. Oper stuff isWilmer van der Gaast2005-12-26-10/+30
| | | | | *INSECURE* because users can just do /mode +o to become operator.
* Add abstraction layer for storageJelmer Vernooij2005-12-08-219/+0
|
* Terribly stupid bug in the DoS fix.Wilmer van der Gaast2005-12-04-1/+1
|
* Fixes potential DoS attack.Wilmer van der Gaast2005-12-04-1/+9
|
* Got rid of raw ^B's in source,Wilmer van der Gaast2005-11-16-1/+1
| | | | | | | | Replaced most irc_usermsg() calls in nogaim.c with serv_got_crap(), Slightly clearer handling of buddy add requests. Thanks to timing for the patch.
* Got rid of some debugging code we tried to use to track the 100% CPU bug.Wilmer van der Gaast2005-11-07-6/+0
| | | | | Turned out it was very suitable DoS code. :-)
* Initial repository (0.99 release tree)0.99Wilmer van der Gaast2005-11-06-0/+601