aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
Commit message (Collapse)AuthorAgeLines
* Add authmode saslMarius Halden2016-05-07-0/+2
| | | | | New AuthMode sasl added, when this is used all users have to authenticate with sasl.
* Actually use ssl options in config fileMarius Halden2016-05-07-2/+2
|
* Start adding ssl supportMarius Halden2016-05-07-0/+39
|
* ldap authentication backendDennis Kaarsemaker2016-03-25-1/+2
| | | | | | We only support the openldap scheme for now, with users that are posixAccounts. Moreover, as the plugin cannot be configured directly, you must configure libldap correctly in /etc/openldap/ldap.conf
* Linux pam authentication backendDennis Kaarsemaker2016-03-25-0/+3
| | | | This backend authenticates users against pam.
* Authentication: scaffolding for multiple authentication backendsDennis Kaarsemaker2016-03-25-0/+8
| | | | | | | | | | | | | | | | | | | | | | | Instead of always putting users passwords in XML files, allow site admins to configure a different authentication method to integrate authentication with other systems. This doesn't add any authentication backends yet, merely the scaffolding. Notably: - Password checking and loading/removing from storage has been decoupled. A new auth_check_pass function is used to check passwords. It does check against the configured storage first, but will handle the authentication backends as well. The XML storage merely signals that a user's password should be checked using an authentication backend. - If unknown-to-bitlbee users identify using an authentication backend, they are automatically registered. - If an authentication backend is used, that fact is stored in the XML file, the password is not. Passwords are also stored unencrypted in this case, as the password used to encrypt them can change underneath us. - configure and Makefile changes for the backend objects
* Add a setting to disable 'account add'Dennis Kaarsemaker2016-03-23-0/+7
| | | | | In a locked down bitlbee instance it is useful to disable the 'account add' command.
* Show ./configure args in bitlbee -V, config.h and Makefile.settingsdequis2015-11-21-2/+2
|
* socks4a proxy support (like socks4 with remote DNS)dequis2015-10-21-0/+2
| | | | | | | | | Fixes trac ticket 995 https://bugs.bitlbee.org/bitlbee/ticket/995 This is slightly pointless for the suggested use case (tor), since with socks5 we already send a hostname instead of an IP address. Either way, it was easy to implement, so I hope it helps.
* conf, help: Fix minor leaks in error conditionsdequis2015-10-08-0/+4
| | | | From coverity.
* Allow setting the plugin dir at runtimeanderspapitto2015-09-05-0/+3
| | | | | | | This enables the use of bitlbee plugins in scenarios where there is no write access to the bitlbee lib/ directory. One example is the NixOS linux distribution (which I'm currently packaging a bitlbee plugin for), where post-installation modification of a package (e.g. bitlbee) by another package (e.g. bitlbee-facebook) is not possible. Another example would be a user without root access building and using a plugin with a system-provided (i.e. installed by root) bitlbee.
* conf: Fix leak of members of conf_t when using -c to specify a configdequis2015-08-19-1/+30
| | | | | | Can only happen once, and it's just ~200 bytes. But being valgrind-clean is good.
* Reindent everything to K&R style with tabsIndent2015-02-20-269/+202
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-2/+2
|
* Refuse to start if cafile points at an unreadable file, to avoid silentWilmer van der Gaast2011-12-19-0/+8
| | | | | cert verification failures.
* Initial merge of tls_verify patch from AopicieR.Wilmer van der Gaast2011-12-19-0/+6
|
* OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>Wilmer van der Gaast2010-08-07-8/+1
| | | | | with some changes.
* Merging loads of stuff from mainline.Wilmer van der Gaast2010-04-14-2/+9
|\
| * Adding -V flag to show version info from a not-serving binary. (Bug #580)Wilmer van der Gaast2010-04-14-2/+9
| |
* | One total mess that doesn't do much yet, but reorganised some stuff andWilmer van der Gaast2010-03-26-1/+1
| | | | | | | | | | untying the IRC and the core parts a little bit. Lots of work left to do.
* | Merging mainline.Wilmer van der Gaast2010-03-17-1/+8
|\|
| * Allow disabling certain IM protocols at runtime, patch fromWilmer van der Gaast2010-03-14-0/+6
| | | | | | | | | | misc@mandriva.org, bug #381.
| * Replaced obsolete (useless for the current .xml files) encode/decode toolsWilmer van der Gaast2010-03-08-1/+2
| | | | | | | | | | | | with a few command-line options to the BitlBee binary. Type "bitlbee -x" for more info.
* | Merging head.Wilmer van der Gaast2009-12-07-3/+3
|\|
| * Simplified ini parser code a bit more. Not using strtok() after all sinceWilmer van der Gaast2008-12-25-3/+3
| | | | | | | | | | | | I can't find a guarantee that it's okay with me further mutilating the strings. :-)
* | Added conf entries and lib/ftutil.[ch].ulim2008-08-12-1/+27
| | | | | | | | | | | | | | | | | | | | ft_listen = <IP-A>:<Port-A>;<IP-B>:<Port-B> to specify listening addresses for the bitlbee<->client connection and the bitlbee<->IM peer connection, respectively. ft_max_size should be obvious. ft_max_kbps should limit the kilobits per second per transfer (not implemented yet).
* | Merged in upstream r416 which includes my msn_write_msg patch. w00t! ;)ulim2008-08-10-1/+8
|\|
| * Fixed #440: If there's a -R command line flag, store the passed filenameWilmer van der Gaast2008-07-31-1/+8
| | | | | | | | | | in the state environment variable (unless it's set already).
* | merged in upstream r410.ulim2008-08-04-9/+1
|\| | | | | | | | | Only conflict was the correction of jabber normalization which I had already done.
| * Now using an environment variable instead of a flag to pass state info whenWilmer van der Gaast2008-06-29-9/+1
| | | | | | | | | | | | restarting the ForkDaemon. Preparing for a proper fallback when execv() fails. (Bug #425)
* | merged in upstream r384. No conflicts.ulim2008-06-02-5/+11
|\|
| * Daemon mode is not an experiment anymore, it's running on testing.bitlbee.orgWilmer van der Gaast2008-05-24-1/+1
| | | | | | | | | | for two weeks already with >30 active connections and not a single crash.
| * Added ClientInterface configuration option to make BitlBee bind() to aWilmer van der Gaast2008-04-06-4/+10
| | | | | | | | | | specific interface before connecting to a remote host.
* | merged in upstream r379 (somewhere after 1.2-3).ulim2008-04-14-1/+1
|\| | | | | | | | | Just one trivial conflict in the jabber Makefile, went smoothly.
| * s/g_strsplit/g_strsplit_set/, thanks to misc@mandriva.org (Bug #380).Wilmer van der Gaast2008-03-23-1/+1
| |
* | Merged with upstream r328ulim2008-02-15-21/+24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2008-02-11 Got rid of some noise at startup: complaining when the default configuration Wilmer van der Gaast 2008-02-10 Added support for password-protected Jabber chatrooms. Wilmer van der Gaast 2008-02-10 Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD and Wilmer van der Gaast 2008-02-09 Restored "add -tmp". A bit hackish, but it will do for now. Wilmer van der Gaast 2008-02-07 Fixed getnameinfo() calls, this fixes Solaris stability issues. Thanks to Wilmer van der Gaast 2008-02-04 Added bogus G_GNUC_MALLOC to restore GLib 2.4 compatibility (hopefully). Wilmer van der Gaast 2008-02-03 Messages from the user are also included in backlogs when joining a Jabber Wilmer van der Gaast 2008-02-03 Disabling "Unknown command" warnings since they're very noisy and pretty Wilmer van der Gaast 2008-02-03 Implemented XEP-0115. This adds some info to the <presence/> tags so Wilmer van der Gaast 2008-02-03 Saner garbage collection of cached packets in the Jabber module. Now Wilmer van der Gaast 2008-02-02 Added help_free() and cleaned up some very stale help-related stuff I Wilmer van der Gaast 2008-01-30 Fixed handling of OSCAR multi-part messages... They're not arrays, they're Wilmer van der Gaast 2008-01-24 Keeping track of valid Jabber connections so _connected() events will be Wilmer van der Gaast 2008-01-24 Fixed two valgrind warnings (partially uninitialized "struct tm" vars.) Wilmer van der Gaast 2008-01-20 The Jabber module now uses imcb_chat_log() instead of imcb_log() where Wilmer van der Gaast 2008-01-20 Added imcb_chat_log() for chatroom system messages, so they can be Wilmer van der Gaast 2008-01-20 GET_BUDDY_FIRST wasn't actually implemented, even though it was in use Wilmer van der Gaast 2008-01-19 Using test -f instead of test -e. This breaks if the include files are Wilmer van der Gaast 2008-01-19 Added byte swapping code to the new MD5 checksumming code to make it work Wilmer van der Gaast 2008-01-18 Moving imcb_chat_new() to a saner location (no code changes) and fixing Wilmer van der Gaast 2008-01-17 Apparently ext_yahoo_got_im can be called with msg=NULL, so it should be Wilmer van der Gaast 2008-01-17 Fixing some Solaris compiler warnings (u_int->uint, adding some typecasts Wilmer van der Gaast 2008-01-13 Fixed handing of failed groupchat joins. Wilmer van der Gaast 2008-01-13 Fixed "Conditional jump or move depends on uninitialised value(s)" at Wilmer van der Gaast 2008-01-13 Fixed quickstart2. (Bug #349.) Wilmer van der Gaast 2008-01-13 Different handling of charset mismatches before login time. Ignoring a Wilmer van der Gaast 2008-01-12 When a switchboard connection dies (at the TCP level) and there are still Wilmer van der Gaast 2008-01-12 Killed info_string_append() and now showing the IP address of ICQ users Wilmer van der Gaast 2008-01-11 Fixing bug #344, now away states should always be correct, even when people Wilmer van der Gaast 2008-01-11 Adding own handle to protocol name in blist output for people with multiple Wilmer van der Gaast 2008-01-10 Now setting odata->icq properly again, this got lost some time ago, which Wilmer van der Gaast 2008-01-06 More consistency in error/warning errors. Until now "WARNING:" was usually Wilmer van der Gaast 2008-01-06 Changed warning message about unsent MSN messages. It should show the actual Wilmer van der Gaast 2008-01-05 Added "mail_notifications" setting. Who needs those notifications anyway? Wilmer van der Gaast 2008-01-05 Build fix from vmiklos. Wilmer van der Gaast 2008-01-05 Added handling of MSN switchboard NAK messages. Untested, but hey, it Wilmer van der Gaast 2008-01-05 Removed closure->result. I was planning to add some more stuff, but will Miklos Vajna 2007-12-31 encode: md5.c is no longer in protocols/, it's in lib/ Wilmer van der Gaast 2007-12-28 Fixed return value check in proxy_connect(), since on some systems Wilmer van der Gaast 2007-12-28 Added missing return in jabber_login(). Wilmer van der Gaast 2007-12-16 Implemented XEP-0199 (patch from misc@mandriva.org). Wilmer van der Gaast 2007-12-12 Checking conn->xcred before trying to clean it up since GnuTLS doesn't Wilmer van der Gaast 2007-12-12 Killed the <server> parameter to "account add" and changed the default Wilmer van der Gaast 2007-12-12 Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPU Wilmer van der Gaast 2007-12-10 Don't allow nicks that start with a number. Wilmer van der Gaast 2007-12-10 Fixed "set xxx" syntax (it showed all settings instead of just xxx). Wilmer van der Gaast 2007-12-09 If I keep forgetting to credit people in commit msgs I should probably add Wilmer van der Gaast 2007-12-09 Added /invite support for Jabber chatrooms (and fixed the argument order
| * Got rid of some noise at startup: complaining when the default configurationWilmer van der Gaast2008-02-11-21/+24
| | | | | | | | | | | | file couldn't be found while the user specified an alternative location with the -c option, and double complaints about /var/lib/bitlbee/ permissions.
* | Merged in current develulim2007-12-04-1/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2007-12-02 Imported setuid() patch from Simo Leone <simo@archlinux...> with some Wilmer van der Gaast 2007-12-02 Forgot to return something in jabber_chat_join_failed(). Wilmer van der Gaast 2007-12-02 Merging a change I should've pulled before committing three other changes. Wilmer van der Gaast 2007-12-02 Added charset checks on incoming msgs (from the IRC side) to prevent possible Wilmer van der Gaast 2007-12-02 Handling of presence-error packets (only useful for groupchats now), moved Wilmer van der Gaast 2007-12-02 Defining DEBUG via CFLAGS so that it'll always be there, even when a file Wilmer van der Gaast 2007-12-02 Removed retarded printf() (ARGH) and moved the event handling handling of Wilmer van der Gaast 2007-11-29 printf() in daemons considered harmful. Wilmer van der Gaast 2007-11-28 Fixed the epoll+ForkDaemon combination. The libevent event handling
| * Imported setuid() patch from Simo Leone <simo@archlinux...> with someWilmer van der Gaast2007-12-02-1/+18
| | | | | | | | | | modifications. Also adding some missing g_free()s to conf.c.
* | Initial import of jabber file receive and DCC send support. This introducesulim2007-11-28-0/+1
|/ | | | | | | | | | | | | | | only a few changes to bitlbees code, mainly the addition of the "transfers" command. This is known to work with Kopete, Psi, and Pidgin (formerly known as gaim). At least with Pidgin also over a proxy. DCC has only been tested with irssi. IPV6 is untested but should work. Currently, only receiving via SOCKS5BYTESREAMS is implemented. I'm not sure if the alternative(in-band bytestreams IBB) is worth implementing since I didn't see a client yet that can do it. Additionally, it is probably very slow and needs support by the server as well.
* Fixed memory management issues introduced by at least the getaddrinfo()Wilmer van der Gaast2007-11-20-2/+2
| | | | | change. (Patch from arnau)
* Use standard functions for dealing with both IPv6 and IPv4. Jelmer Vernooij2007-10-18-18/+5
|
* Little doc/help update.Wilmer van der Gaast2007-02-18-1/+1
|
* configure --pidfile= actually works now.Wilmer van der Gaast2007-02-18-1/+1
|
* Made set.c API more generic so it's not specific to irc_t structures anymore,Wilmer van der Gaast2006-06-30-1/+1
| | | | | but can be used for account_t structures too, for example.
* Moving all generic files to lib/ instead of having some in / and some inWilmer van der Gaast2006-06-25-1/+1
| | | | | protocols/, and adding RC4 code.
* Fixed GError memory leak, correctly setting the migrate_storage default.Wilmer van der Gaast2006-06-21-2/+1
|
* Added migration storage defaults.Wilmer van der Gaast2006-06-20-0/+2
|
* xml_load() works pretty well now.Wilmer van der Gaast2006-06-14-1/+1
|
* Fixed various memory leaks/other possible problems after code review.Wilmer van der Gaast2006-05-15-1/+1
|