Changes in / [019c031:500a1b6]
- Files:
-
- 1 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
bitlbee.c
r019c031 r500a1b6 165 165 return FALSE; 166 166 } 167 168 /* Very naughty, go read the RFCs! >:) */ 169 if( irc->readbuffer && ( strlen( irc->readbuffer ) > 1024 ) ) 170 { 171 log_message( LOGLVL_ERROR, "Maximum line length exceeded." ); 172 irc_free( irc ); 173 return FALSE; 174 } 175 167 176 168 return TRUE; 177 169 } -
bitlbee.h
r019c031 r500a1b6 30 30 31 31 #define PACKAGE "BitlBee" 32 #define BITLBEE_VERSION "1.0 "32 #define BITLBEE_VERSION "1.0pre" 33 33 #define VERSION BITLBEE_VERSION 34 34 -
configure
r019c031 r500a1b6 57 57 --strip=0/1 Disable/enable binary stripping $strip 58 58 59 --flood=0/1 Flood protection $flood 59 60 --ipv6=0/1 IPv6 socket support $ipv6 60 61 … … 286 287 287 288 if [ "$flood" = 1 ]; then 288 # echo '#define FLOOD_SEND' >> config.h 289 echo 'Flood protection is disabled in this release because of too many bugs.' 2> /dev/stderr 290 rm config.h 291 rm Makefile.settings 292 exit 1 289 echo '#define FLOOD_SEND' >> config.h 293 290 fi 294 291 … … 348 345 case "$arch" in 349 346 Linux ) 347 echo 'Linux.' 350 348 ;; 351 349 GNU/* ) 350 echo 'Debian with non-Linux kernel?' 352 351 ;; 353 352 *BSD ) 353 echo '*BSD.' 354 354 echo 'EFLAGS+=-liconv' >> Makefile.settings; 355 355 ;; 356 356 SunOS ) 357 echo 'Solaris.' 357 358 echo 'EFLAGS+=-lresolv -lnsl -lsocket' >> Makefile.settings 358 359 echo 'STRIP=\# skip strip' >> Makefile.settings … … 360 361 ;; 361 362 Darwin ) 363 echo 'Darwin/Mac OS X.' 362 364 echo 'EFLAGS+=-liconv' >> Makefile.settings; 363 365 ;; 364 366 IRIX ) 367 echo 'IRIX.' 365 368 ;; 366 369 CYGWIN* ) … … 368 371 ;; 369 372 * ) 370 echo 'We haven'\''t tested BitlBee on many platforms yet, yours is untested. YMMV.' 371 echo 'Please report any problems at http://bugs.bitlbee.org/.' 373 echo 'We haven'\''t tested BitlBee on many platforms yet, yours is untested. YMMV. Please report any problems to <wilmer@gaast.net>.' 372 374 ;; 373 375 esac … … 392 394 fi 393 395 394 #if [ "$flood" = "0" ]; then395 #echo ' Flood protection disabled.';396 #else397 #echo ' Flood protection enabled.';398 #fi396 if [ "$flood" = "0" ]; then 397 echo ' Flood protection disabled.'; 398 else 399 echo ' Flood protection enabled.'; 400 fi 399 401 400 402 if [ -n "$protocols" ]; then -
doc/AUTHORS
r019c031 r500a1b6 4 4 Main developer 5 5 6 Jelmer 'ctrlsoft' Vernooij <jelmer@ samba.org>6 Jelmer 'ctrlsoft' Vernooij <jelmer@nl.linux.org> 7 7 Documentation, general hacking, Win32 port 8 8 -
doc/CHANGES
r019c031 r500a1b6 11 11 handlers for headline messages (which allows you to use RSS-to-Jabber 12 12 gateways). 13 - Lowered the line splitting limit a bit to fix data loss issues. 14 - The $proto($handle) format used for messages specific to one IM-connection 15 now only include the ($handle) part when there's more than one $proto- 16 connection. 17 - Fix for a crash-bug on broken Jabber/SSL connections. 18 - Incoming typing notifications now also come in as CTCP TYPING messages, for 19 better consistency. Don't forget to update your scripts! 20 - AIM typing notifications are supported now. 21 - Jabber module only accepts ports 5220-5229 now, to prevent people from 22 abusing it as a port scanner. We aren't aware of any Jabber server that 23 runs on other ports than those. If you are, please warn us. 24 - Send flood protection can't be enabled anymore. It was disabled by default 25 for a good reason for some time already, but some package maintainers 26 turned it back on while it's way too unreliable and trigger-happy to be 27 used. 28 - Removed TODO file, the current to-do list is always in the on-line bug 29 tracking system. 30 - Fixed a potential DoS bug in input handling. 31 32 Finished 4 Dec 2005 13 14 Finished ... 33 15 34 16 Version 0.99: -
doc/FAQ
r019c031 r500a1b6 39 39 40 40 Q: When is $random_feature going to be implemented? 41 A: It depends on the feature. We keep a list of all wishlist "bugs" in our 42 Bug Tracking system at http://bugs.bitlbee.org/ 41 A: Please do consult doc/TODO (preferably in a development snapshot, which 42 is more up-to-date than a TODO in a release version) before asking. 43 Please also check the documentation. You'd not be the first one to request 44 a feature which already exists! 45 46 If your fabulous feature seems not to be requested before, just join 47 #bitlbee on irc.oftc.net and tell us the news. 48 49 If your feature request is already in the TODO list, of course you can 50 still request it again/make us know that you'd like to see the feature as 51 well. But when the feature is in the "post-1.0" list, it's probably not 52 going to help. Most of the features in this list are low-priority because 53 we (the developers) don't need (or even want) them. (File transfers are a 54 good example here.) 55 Hence, they'll only be implemented when we really got too much spare 56 time. Obviously, if you're willing to help (i.e. submit a patch), you're 57 always welcome. 43 58 44 59 Q: The messages I send and/or receive look weird. I see weird characters and … … 46 61 non-ASCII characters! 47 62 A: You probably have to change some settings. To get rid of HTML in messages, 48 see "help set strip_html". If you seem to have problems with your charset, 49 see "help set charset". 50 51 Although actually most of these problems should be gone by now. So if you 52 can't get things to work well, you might have found a bug. 63 see "help set html". If you seem to have problems with your charset, see 64 "help set charset". 53 65 54 66 Q: Is BitlBee forked from Gaim? -
doc/README
r019c031 r500a1b6 108 108 See utils/bitlbeed.c for more information about the program. 109 109 110 Just a little note: Now that we reach version 1.0, this shouldn't be that 111 much of an issue anymore. However, on a public server, especially if you 112 also use it for other things, it can't hurt to protect yourself against 113 possible problems. 110 Just a little note: We run our public server im.bitlbee.org for a couple of 111 months now, and so far we haven't experienced this problem yet. The only 112 BitlBee processes killed because of CPU-time overuse were running for a long 113 time already, they were usually killed during the MSN login process (which 114 is quite CPU-time consuming). 114 115 115 116 … … 144 145 You can find new releases of BitlBee at: 145 146 http://www.bitlbee.org/ 146 147 The bug tracking system:148 http://bugs.bitlbee.org/149 150 Our version control system is Bazaar-NG. Our repository is at:151 http://code.bitlbee.org/152 147 153 148 … … 192 187 BitlBee - An IRC to other chat networks gateway 193 188 <http://www.bitlbee.org/> 194 Copyright (C) 2002-200 5Wilmer van der Gaast <wilmer@gaast.net>189 Copyright (C) 2002-2004 Wilmer van der Gaast <wilmer@gaast.net> 195 190 and others -
doc/user-guide/user-guide.xml
r019c031 r500a1b6 21 21 22 22 <legalnotice id="legalnotice"> 23 <para> 24 Permission is granted to copy, distribute and/or modify this 25 document under the terms of the <ulink type="help" 26 url="gnome-help:fdl"><citetitle>GNU Free Documentation 27 License</citetitle></ulink>, Version 1.1 or any later version 28 published by the Free Software Foundation with no Invariant 29 Sections, no Front-Cover Texts, and no Back-Cover Texts. You 30 may obtain a copy of the <citetitle>GNU Free Documentation 31 License</citetitle> from the Free Software Foundation by 32 visiting <ulink type="http" url="http://www.fsf.org">their 33 Web site</ulink> or by writing to: Free Software Foundation, 34 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 35 USA. 36 </para> 23 37 </legalnotice> 24 38 25 39 <releaseinfo> 26 This is the BitlBee User Guide. For now, the on-line help is 27 the most up-to-date documentation. Although this document shares 28 some parts with the on-line help system, other parts might be 29 very outdated. 40 This is the initial release of the BitlBee User Guide. 30 41 </releaseinfo> 31 42 -
irc.c
r019c031 r500a1b6 1510 1510 { 1511 1511 irc_write( irc, ":%s!%s@%s %s %s :%s%s", u->nick, u->user, u->host, 1512 type, to, prefix ? prefix : "", line );1512 type, to, prefix, line ); 1513 1513 } 1514 1514 line = s + 1; -
protocols/jabber/jabber.c
r019c031 r500a1b6 22 22 */ 23 23 24 #ifdef HAVE_CONFIG_H 25 #include "config.h" 26 #endif 27 24 28 #ifndef _WIN32 25 29 #include <sys/utsname.h> … … 55 59 #define DEFAULT_PORT 5222 56 60 #define DEFAULT_PORT_SSL 5223 57 #define JABBER_PORT_MIN 522058 #define JABBER_PORT_MAX 522959 61 60 62 #define JABBER_GROUP "Friends" … … 539 541 gjconn gjc; 540 542 543 if (!g_slist_find(get_connections(), gc)) { 544 ssl_disconnect(source); 545 return; 546 } 547 541 548 jd = gc->proto_data; 542 549 gjc = jd->gjc; … … 544 551 if (source == NULL) { 545 552 STATE_EVT(JCONN_STATE_OFF) 546 return;547 }548 549 if (!g_slist_find(get_connections(), gc)) {550 ssl_disconnect(source);551 553 return; 552 554 } … … 587 589 else if (port == -1 && ssl) 588 590 port = DEFAULT_PORT_SSL; 589 else if (port < JABBER_PORT_MIN || port > JABBER_PORT_MAX) {590 serv_got_crap(GJ_GC(gjc), "For security reasons, the Jabber port number must be in the %d-%d range.", JABBER_PORT_MIN, JABBER_PORT_MAX);591 STATE_EVT(JCONN_STATE_OFF)592 return;593 }594 591 595 592 if (server == NULL) -
protocols/nogaim.c
r019c031 r500a1b6 452 452 void do_error_dialog( struct gaim_connection *gc, char *msg, char *title ) 453 453 { 454 if( msg && title ) 455 serv_got_crap( gc, "Error: %s: %s", title, msg ); 456 else if( msg ) 457 serv_got_crap( gc, "Error: %s", msg ); 458 else if( title ) 459 serv_got_crap( gc, "Error: %s", title ); 460 else 461 serv_got_crap( gc, "Error" ); 454 serv_got_crap( gc, "Error: %s", msg ); 462 455 } 463 456 … … 744 737 /* If there's a newline/space in this string, split up there, 745 738 looks a bit prettier. */ 746 if( ( nl = strrchr( msg, '\n' ) ) || ( nl = str rchr( msg, ' ' ) ) )739 if( ( nl = strrchr( msg, '\n' ) ) || ( nl = strchr( msg, ' ' ) ) ) 747 740 { 748 741 msg[425] = tmp; … … 776 769 777 770 if( ( u = user_findhandle( gc, handle ) ) ) 778 irc_ privmsg( gc->irc, u, "PRIVMSG", gc->irc->nick, NULL, "\1TYPING 1\1" );771 irc_msgfrom( gc->irc, u->nick, "\1TYPING 1\1" ); 779 772 } 780 773 -
protocols/proxy.c
r019c031 r500a1b6 114 114 } 115 115 116 static void gaim_io_connected(gpointer data, gint source, GaimInputCondition cond)116 static void no_one_calls(gpointer data, gint source, GaimInputCondition cond) 117 117 { 118 118 struct PHB *phb = data; … … 163 163 if (connect(fd, (struct sockaddr *)sin, sizeof(*sin)) < 0) { 164 164 if (sockerr_again()) { 165 phb->inpa = gaim_input_add(fd, GAIM_INPUT_WRITE, gaim_io_connected, phb);165 phb->inpa = gaim_input_add(fd, GAIM_INPUT_WRITE, no_one_calls, phb); 166 166 phb->fd = fd; 167 167 } else { -
protocols/yahoo/crypt.c
r019c031 r500a1b6 22 22 * already had. isn't that lovely. people should just use linux or 23 23 * freebsd, crypt works properly on those systems. i hate solaris */ 24 25 #if HAVE_CONFIG_H 26 # include <config.h> 27 #endif 24 28 25 29 #if HAVE_STRING_H -
protocols/yahoo/libyahoo2.c
r019c031 r500a1b6 43 43 * 44 44 */ 45 46 #if HAVE_CONFIG_H 47 # include <config.h> 48 #endif 45 49 46 50 #ifndef _WIN32 -
protocols/yahoo/yahoo_httplib.c
r019c031 r500a1b6 19 19 * 20 20 */ 21 22 #if HAVE_CONFIG_H 23 # include <config.h> 24 #endif 21 25 22 26 #include <stdio.h> -
protocols/yahoo/yahoo_util.c
r019c031 r500a1b6 19 19 * 20 20 */ 21 22 #if HAVE_CONFIG_H 23 # include <config.h> 24 #endif 21 25 22 26 #if STDC_HEADERS
Note: See TracChangeset
for help on using the changeset viewer.