6 Fixing -c param bug (which has broken -c option since -v option was added (rel 1.23)).
7 TheShadow reported this in #blitzed
14 Apparently using _exit is the correct thing to do.
16 2002-05-04 19:48 strtok
18 * bopm.conf.sample, config.c, extern.h, scan.c:
21 scan.c, config.c, extern.h, bopm.conf.sample: Added CONF_TIMEOUT and TIMEOUT
22 directive to allow for configurable scan timeouts (suggested by lilo).
26 * irc.c, bopm.conf.sample, config.c, extern.h:
28 irc.c, config.c, extern.h:
29 Added config option REALNAME which allows bopm's IRC "realname" to
51 * irc.c, opercmd.c, opercmd.h:
56 Reformatting, moved some global variable declarations to opercmd.c
58 Needed an extern to get access to LAST_REAP_TIME.
86 Code cleanups. Added check_channel() function to check if a given
87 channel is one of our configured reporting channels. Made a bunch
88 of irc.c private fucntions have static linkage.
94 * dnsbl.c, extern.h, log.c, misc.c, opercmd.c, stats.c:
97 Code format cleanup. Move include of config.h to files that need
100 dnsbl.c, log.c, misc.c, opercmd.c, stats.c:
101 Add include for config.h.
103 2002-04-29 18:10 strtok
108 bopm.conf.sample: Fixed TARGET_STRING sample
110 2002-04-29 17:17 andy
115 Formatting cleanup & added more descriptive error message when
116 gethostbyname() fails (is man page wrong?)
121 2002-04-29 15:20 andy
126 Doh, KEYS is not required for normal operation.
128 2002-04-29 15:18 andy
133 Open cisco router bit mask.
135 2002-04-29 15:15 andy
137 * config.c, config.h:
140 Tidied up indentation.
142 Added static linkage for all private config functions.
144 Added add_to_list() to simplify adding values to configuration
147 Added free_list() to simplify clearing out each config list at
150 Added add_to_config() to simplify adding a key/value pair to our
154 Neater indentation, some prototypes moved to config.c.
156 2002-04-29 06:57 strtok
161 scan.c: Uncommented CISCO from scan table as efnet reports it is working
164 2002-04-28 19:20 andy
166 * bopchecker.c, bopchecker.h:
170 2002-04-28 18:35 andy
172 * bopchecker.c, config.c, extern.h, irc.c, main.c, misc.c,
173 opercmd.c, opercmd.h, scan.c, stats.c:
176 Hacks to avoid unused variable warnings.
184 Merged singal handlers into one function, code cleanups.
187 opercmd.c, opercmd.h:
188 2nd parameter of checkoper was never used.
194 2002-04-26 23:20 andy
199 Better example config suggestion from Erik / Andrew Church.
201 2002-04-26 22:32 andy
203 * bopm.conf.sample, config.c, extern.h, irc.c:
205 config.c, bopm.conf.sample:
206 Added KEYS config parameter.
209 Added support for channel keys, plus helper function get_chan_key()
210 which looks up the correct key for a given channel.
212 2002-04-25 22:27 strtok
217 scan.c: Commented HTTP 8000 out of the scan table, those who wish to scan
218 on this port can easily uncomment it.
220 2002-04-25 07:24 strtok
225 scan.c: Removed use of scan_del() where STATE_CLOSED should have been set
228 2002-04-25 05:41 strtok
233 scan.c/options.h: Added MAXREAD (default 4096), max amount of bytes read from
234 any port before the connection is considered a flood and failed.
236 2002-04-25 05:17 strtok
241 scan.c: Fixed bug which caused freezing if data was virtually endless (reported
244 2002-04-25 03:42 strtok
249 scan.c: Fixed scan_struct data bug where it tried to free data even if
250 it wasn't malloc yet.
252 scan.c: Commented out cisco and http port 8001 scanning, because servers will
253 be using this commit live.
255 2002-04-24 12:43 andy
260 Less Blitzed-like pages from Tom Gilder <tom@blitzed.org>
262 2002-04-23 17:56 andy
267 Here's support for ultimate ircd.
269 2002-04-18 00:25 andy
271 * README, main.c, options.h:
274 -v option from Harald Skoglund <harald@hekta.stud.iet.hist.no>
277 Documentation of command line options.
279 2002-04-17 23:16 andy
284 Again some notes added for SCANPORT because lots of people are having a
285 hard time understanding what this is for.
291 typo, the hybrid team didn't write math.[ch] :)
293 2002-04-11 05:56 andy
298 So much call for HTTP scanning on ports 8000, 8001. Well, let's
299 try it for a while and see.
301 2002-04-04 03:32 andy
306 Many people appear to be getting confused over this.
308 2002-03-31 20:33 andy
314 2002-03-31 06:31 andy
318 Mailman moved to a slightly simpler URL.
320 2002-03-21 17:23 andy
324 More IRCu notes from wunix <wu@wunix.org>
326 2002-03-19 13:25 andy
331 Some compatibility notes from Erik Fears <strtok@softhome.net>
333 2002-03-03 21:49 andy
335 * configure, configure.in:
338 Added DNSBL begging text
340 2002-02-26 05:07 strtok
344 scan.c: Moved Cisco up in hash table so that it is tried before wingate,
345 because cisco routers only allow 4 connections at once (pointed out by JPayne)
347 2002-02-25 07:16 strtok
352 scan.c: Cisco scanning now works
354 2002-02-25 07:08 strtok
358 version.h: Incremented version to 2.2 so we can identify any bopms that have cvs updated
360 2002-02-25 07:07 strtok
364 scan.c: Actually send() data for cisco check now (oops)
366 2002-02-25 06:57 strtok
370 scan.c/scan.h: Added open cisco router scanning
372 2002-02-22 11:06 andy
379 2002-02-22 11:05 andy
384 Added three new functions, do_hybrid_connect(), do_xnet_connect()
385 and do_trircd_connect(). This could be modularised further but for
386 now this gets rid of some duplication. Each function is for
387 processing the connect notices of different classes of ircd.
389 do_trircd_connect() adds support for tr-ircd, which has a &connects
390 channel instead of a +c umode.
392 2002-02-19 23:29 andy
397 Update dfor next release
399 2002-02-19 23:10 andy
401 * configure, configure.in:
406 2002-02-19 23:04 andy
408 * configure, configure.in:
411 Fix broken "echo -n" check
413 2002-02-19 23:00 andy
415 * configure, configure.in, setup.h.in:
420 2002-02-19 22:57 andy
422 * acconfig.h, configure, configure.in, setup.h.in:
425 Get rid of need for acconfig.h
429 2002-02-19 20:55 strtok
433 version.h: Incremented version to 2.1
435 2002-02-19 20:46 strtok
441 2002-02-17 17:15 andy
446 Some credits we missed, oops.
448 2002-02-17 03:52 andy
454 2002-02-17 02:35 andy
459 Doh! Need to check we have enough tokens before blindly accessing
462 2002-02-16 18:44 andy
468 2002-02-16 18:43 andy
470 * configure, configure.in:
473 Added a bit about using GNU Make.
475 2002-02-16 18:37 andy
481 2002-02-16 18:36 strtok
485 config.c: Fixed -> typo
487 2002-02-16 18:35 strtok
491 config.c: DEBUG level 3 now also prints out LISTS with other config elements
493 2002-02-16 18:17 andy
498 Idea - let's remove changes to the changelog, from the changelog. :)
500 2002-02-16 18:16 andy
507 2002-02-16 06:18 strtok
511 Added code to free TYPE_LIST in config.c (someone forgot this!)
513 2002-02-16 03:23 andy
518 Updated for next release.
520 2002-02-15 23:21 andy
525 Added docs and examples for EXCLUDE option.
527 2002-02-15 04:57 andy
529 * Makefile.in, config.c, config.h, extern.h, irc.c, irc.h, match.c,
534 IRC wildcard matching functions from dancer-hybrid. match()
535 handles string matching and collapse() shortens a wildcard string
539 Added new config type; TYPE_LIST. Multiple parameters of this
540 type are put into a linked list.
542 Added missing config_memfail() prototype.
545 Added new config option EXCLUDE. This is a list of wildcard
546 strings against which the host and IP address of connecting users
547 will be matched. A user which matches any entry will not be
551 Added new objects and dependencies for match.[cho]
554 Added do_connect() function to avoid duplication. This function
555 checks the users host and IP address against the EXCLUDE list and
556 provided there are no matches proceeds to do a DNSBL check and
559 The above patch was contributed by Rob Levin/lilo @ OPN
561 2002-02-15 00:56 andy
563 * Makefile.in, misc.c, opercmd.c, scan.c, stats.c:
565 Makefile.in, misc.c, stats.c:
566 Forogt to include the autoconfiscated header
571 2002-02-14 05:56 andy
576 Updated mailing list info, credits, etc.
578 Largely rewritten installation instructions and a blurb about
581 2002-02-14 05:17 andy
583 * acconfig.h, configure, configure.in, irc.c, options.h,
586 configure.in, options.h:
587 Added configure option --with-unreal to replace the UNREAL
588 definition that was in options.h
590 Make autoheader work for --with-unreal
592 WITH_UNREAL instead of UNREAL
594 2002-02-14 05:06 andy
596 * acconfig.h, configure, configure.in, setup.h.in:
599 Added support for --with-select configure option so that people
600 can force use of select() whether they have poll() or not.
602 This makes autoheader work (which is used to make setup.h.in from
603 configure.in) now that WITH_SELECT is added.
605 2002-02-14 01:51 andy
607 * configure, configure.in, options.h, scan.c, setup.h.in:
612 We'll use poll() if sys/poll.h was found
614 Alter for autoconfiscated sys/poll.h check.
616 2002-02-13 23:52 andy
618 * configure, configure.in, dnsbl.c, setup.h.in:
621 Add a check for bigendian systems.
623 If we're on a bigendian system this'll be backwards.
625 2002-02-13 22:28 andy
627 * Makefile.in, configure:
629 OK, so we do need to distribute configure.
631 2002-02-13 22:15 strtok
635 Added byte counter to teach connection, and adjusted manual check output to be be more informative
637 2002-02-13 20:50 andy
639 * bopchecker.c, irc.c, scan.c:
641 bopchecker.c, irc.c, scan.c:
642 Use AC_HEADER_TIME and AC_CHECK_HEADERS(sys/time.h) to check how to
643 handle time.h and sys/time.h (if there even if a sys/time.h, if it
644 can be included with time.h)
646 2002-02-13 20:32 andy
651 Another STDC_HEADERS check
653 2002-02-13 20:28 andy
660 2002-02-13 20:26 andy
662 * Makefile.in, config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c,
666 Add a distclean target. We may want to distribute the configure
667 script at some point instead of just configure.in and expect people
668 to use autoconf; we'll have to remember to change this then.
670 config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c, scan.c:
671 Take account of AC_HEADER_STDC check.
673 2002-02-13 20:12 andy
678 Handle AC_TYPE_SIGNAL check.
680 2002-02-13 19:58 andy
685 /me reads as far as "autoheader" in the autoconf manual.
687 2002-02-13 19:24 andy
689 * Makefile, Makefile.in, configure.in, setup.h.in:
691 First stab at autoconfiscation (euheue)
693 2002-02-13 16:51 andy
698 bopchecker needs a target string as well now.
700 2002-02-13 05:40 strtok
704 Pad scan_struct->data + 1 byte on malloc to leave room for null terminator (was causing buffer overrun)
706 2002-02-12 23:02 andy
711 Really doesn't need to be that verbose :)
712 Remember I use -d and -dd a lot when helping people set up BOPM -
713 I really don't need 2 pages of config options flying by.
715 2002-02-12 21:42 strtok
719 VERSION for this release will be 2.0
721 2002-02-12 21:17 strtok
725 Wingate write function now actually sends data
727 2002-02-12 21:07 strtok
731 Cleaned out code no longer needed
733 2002-02-12 20:57 strtok
737 Added TARGET_STRING to config file
739 2002-02-12 20:54 strtok
741 * config.c, extern.h, options.h, scan.c, scan.h:
743 No longer use individual read functions for each protocol, now search for
744 a TARGET_STRING within the data. (set in conf)
746 2002-02-12 19:19 strtok
748 * bopm.conf.sample, options.h, scan.c, scan.h:
750 options.h USE_POLL and MAXPOLL for use of poll() as opposed to select() in
751 scan.c. If USE_POLL is defined, the scanner will use poll(), if not
752 select() is used as before
754 2002-02-12 06:10 strtok
756 * bopm.conf.sample, config.c, extern.h, misc.c, scan.c, scan.h:
758 bopm.conf.sample: Added config parameter FDLIMIT (default 512), which is maximum number
759 of file descriptors that can be open at any time (for scanning).
760 config.c: Added -d debug output of set config parameters
761 misc.c: Fixed bug involving clean()
762 scan.c: Added scan_establish() code to socket()/connect() to a socket, connections
763 are now queued if the FDLIMIT cap is reached.
765 2002-02-10 15:37 andy
770 Credits for recent patches.
772 2002-02-10 15:25 andy
777 Improved HTTP handling. Seems to work (have tested against all
778 known HTTP false positives seen so far, plus 2 known open proxies).
779 Ideas and pseudocode from jpayne@blitzed.org.
781 2002-02-10 14:34 andy
783 * irc.c, irc.h, main.c:
787 Added a MSGLEN #define so that networks which use different sized
788 IRC buffers can be made to work easily.
791 Changed umask to something more sensible.
793 Both the above from shasta@irc.pl.
795 2002-02-07 17:23 andy
797 * bopm.conf.sample, dnsbl.c:
800 Need to check against DNSBL_ZONE with a dot on the end, because
801 otherwise it will try the search domains in /etc/resolv.conf, and may
802 even find a match! Reported and fixed by asmodeus@irc.gr
805 Gotcha about putting your own dot at the end of the zone.
807 2002-02-04 22:39 andy
812 Extra #include needed, reported by shasta@irc.pl
814 2002-02-04 18:12 andy
819 Added simple connects/minute reading.
821 2002-02-01 06:17 andy
826 Updated for next realese.
828 2002-02-01 06:16 andy
833 Added note about Unreal 3.2 support.
835 2002-02-01 05:57 andy
840 irc.o depends on options.h
842 2002-02-01 05:08 andy
847 Credits to locksmith for his help.
849 2002-02-01 04:40 andy
854 Possible stupid error with calculating size of config hash.
856 2002-01-31 06:00 strtok
860 irc.c: Last commit had an odd paste from vim (???)
862 2002-01-31 05:38 strtok
864 * config.c, irc.c, scan.h:
866 config.c: Added FDLIMIT configuration parameter (limit of open file descriptors)
867 irc.c: Fixed NULL CONF_NICKSERV_IDENT pointer (reported by uneks)
868 scan.h: Added STATE_UNESTABLISHED
870 2002-01-30 23:55 andy
875 Some ircd's (Xnet and others?) don't send +c notices with the server as
878 2002-01-29 17:33 andy
883 Updated for next release.
885 2002-01-29 17:31 andy
890 Now we've added a zero element on the config hash we need to adjust
893 2002-01-29 01:49 strtok
897 README: Added codebase specific compatibility (those tested)
899 2002-01-29 01:46 andy
904 Missed a late commit.
906 2002-01-29 01:45 andy
911 Added suggestion from Sotiris Tsimbonis to make ti a bit more
912 obvious that a temporary KLINE should be used.
914 2002-01-29 01:25 andy
919 Updated ChangeLog for 1.1 release.
921 2002-01-29 01:21 strtok
927 2002-01-29 00:23 andy
929 * bopchecker.c, bopchecker.h, config.c:
934 "req" field of config hash is now zero'd for all but the parameters
935 we need for bopchecker to operate.
937 Used a sleep(1) to reduce CPU usage.
940 Exit values have changed again! 0 and 1 are already in use within
941 bopm, so now 15-255 are reserved for bopchecker.
949 Terminated the config hash with a zero'd entry so that it is easy
950 to tell where it ends.
952 2002-01-29 00:15 strtok
956 README: Added rehash instructions
958 2002-01-28 01:37 andy
963 Credits for PASSWORD option
965 2002-01-28 01:33 andy
967 * bopm.conf.sample, config.c, extern.h, irc.c:
970 Add PASSWORD config option.
972 Use PASSWORD if supplied.
974 Document PASSWORD, fix typo on SERVER
976 2002-01-28 00:18 strtok
978 * config.c, config.h:
980 config.c/config.h: BOPM now exits if 'required' configuration parameters
983 2002-01-27 14:17 andy
985 * bopchecker.c, bopchecker.h:
988 Added bitmasks for the types of proxy. HTTP is 1, Wingate 2,
989 SOCKS4 is 4 and SOCKS5 8.
992 Now returns a bitmask of the types of proxies found back to the
993 shell. THIS MEANS THAT VALUES > 1 MEAN A PROXY WAS FOUND AND 0
994 MEANS NO PROXY WAS FOUND, THIS IS THE EXACT OPPOSITE TO PRIOR
995 VERSIONS OF THIS PROGRAM!
997 2002-01-27 04:23 strtok
1001 irc.c: Fixed segfault if nickserv ident isnt defined in conf
1003 2002-01-26 19:17 strtok
1007 config.c: Replace C++ comment with C style comment (oops)
1009 2002-01-25 22:58 andy
1014 Remove Blitzed address because of people sending us reports without
1017 2002-01-25 22:02 andy
1021 scan.c: Suggestion from Sotiris Tsimbonis that details go to channels
1023 2002-01-25 21:14 andy
1025 * README, bopm.conf.sample, dnsbl.c:
1027 dnsbl.c: Allow reporting to multiple addresses
1028 README: Note about Sotiris Tsimbonis' idea
1029 bopm.conf.sample: Note about how to use multiple TO addresses
1031 2002-01-25 15:27 andy
1035 irc.c: support & channels, bug found by Sotiris Tsimbonis <stsimb@irc.gr>.
1037 2002-01-24 21:54 strtok
1041 INSTALL: Updated INSTALL file to include information about options.h
1043 2002-01-24 21:53 strtok
1047 irc.c/options.h: Added support for unreal ircds
1049 2002-01-24 17:40 strtok
1053 README: Added hybrid compatibility to README.
1055 2002-01-24 10:41 andy
1057 * bopm.conf.sample, config.c, extern.h, irc.c:
1059 Added OPER_MODES config option to specify what modes the bopm will set on
1060 itself after opering up.
1062 2002-01-24 06:56 andy
1066 bopchecker needs to time out too, doh.
1068 2002-01-24 06:18 andy
1072 Remove CONF_PING, a config option that never was.
1074 2002-01-24 06:07 andy
1076 * INSTALL, README, bopchecker.c, extern.h, irc.c, main.c,
1079 Merged patch from Sotiris Tsimbonis <stsimb@irc.gr> with minor changes.
1080 Adds a -c command line argument which tells bopm to use a different name
1081 for log, pid and config files. i.e. ./bopm -c myserver will use
1082 myserver.conf, myserver.log, myserver.pid.
1084 The patch also makes bopm set umode -h on itself after opering, in order
1085 to prevent the bot appearing in /stats p output (shows opers available to
1088 bopchecker now takes the -c option also, in the same way as bopm.
1090 2002-01-23 04:58 strtok
1094 ChangeLog: It's 2002!
1096 2002-01-22 21:44 strtok
1100 bopm.conf.sample: Fixed typo
1102 2002-01-22 19:09 strtok
1106 ChangeLog: Added changelog