3 * configure, configure.in:
5 Rebuild autoconf stuff in preparation for -RC1 release.
9 * src/: negcache.c, negcache.h:
12 Implementation of a patricia trie for storing IP addresses and
13 timestamps. This data structure will allow searches for nodes
14 with only log_2 N bit comparisons where N is the current number of
15 nodes. It also only requires as many nodes as there are IP
18 Each node stores a key (the IP address), a timestamp, the bit
19 index, and left and right branches. The bit index is what makes
20 this different from a radix search tree, it tells us at which bit
21 this node's key differs from those above it in the trie.
23 Properties of the trie:
24 1) The bit index always decreases as we follow the tree from the head
26 2) Each branch of an external node points to the only node that can
27 contain keys that match the bit pattern. All searches terminate
29 3) When trying to search for a bit pattern that is not present in the
30 tree, you will hit an external node at the place where your bit
31 pattern first deviates from all current nodes. You can tell this
32 has happened because the next node's bit index will be larger than
33 the current, which would be contrary to point (1).
34 4) Because the bit increments in each node store information about
35 where each node's bit pattern differs from all others in the tree,
36 extra nodes are not needed - unlike in a radix tree.
37 5) As for a radix tree, a patricia trie will always end up the
38 same no matter what order the nodes are inserted.
45 scans_active_for_addr() - walk the scan list and check if there are
46 any other scans in progress for a given IP address (as specified in
49 When a scan fails and negative caching is enabled, check if there
50 are other scans in progress for the same address. If not, all
51 scans have failed and an entry should be added in the negcache.
53 Walking the list after every scan seems inefficient but I can't see
54 any other way to tell if there are no more scans active. So, at
55 the moment this is a good reason for not using negative caching.
62 NEG_CACHE_REBUILD: how long in seconds between rebuilds of the
70 Periodically rebuild the negcache (if enabled) to remove entries
71 that are too old. Note that even though this might only happen
72 every 12 hours or so, old entries are ignored by nc_search()
73 anyway. This is just to free up some memory.
80 Upon connection to the IRC server, initialise our negative cache
81 (if negative caching is enabled).
83 When a user connection is detected, search for their IP in our
84 negative cache (if negative caching is enabled). If it is present,
85 say so in the logfile and don't bother to scan them.
87 Note that negative caching is only implemented for IPv4 at the
88 moment -- shouldn't be hard to extend it to IPv6 though.
95 CONF_NEG_CACHE stores the value of the NEG_CACHE directive from
103 Dummy negcache_insert() function so that the bopchecker hack
104 continues to compile.
106 2002-08-23 05:10 andy
108 * src/: Makefile.am, Makefile.in:
110 Makefile.in, src/Makefile.am, src/Makefile.in:
111 New automake entries for negcache.[ch], rebuild makefiles.
113 2002-08-23 05:08 andy
118 Documentation for new NEG_CACHE directive which determines how long
119 to cache negative results for (if at all). WE DO NOT RECOMMEND THE
120 USE OF NEGATIVE CACHING!
122 2002-08-15 18:22 andy
129 2002-08-15 18:16 andy
134 Added a requirements section, specifically something about transparent
135 proxies. This has been mentioned on the lists before but should
136 probably be in the README since we have just discovered a host whose
137 BOPM K:lined 100% of users due to it being behind a transparent web
140 2002-08-15 13:22 andy
151 send ping to generate data
153 2002-08-13 04:44 andy
155 * bopm.conf.sample, src/config.c, src/config.h, src/dlclist.c,
156 src/dlclist.h, src/extern.h, src/irc.c, src/main.c, src/options.h,
157 src/scanwarn.c, src/scanwarn.h:
160 Document SCAN_WARNING directive.
163 Added new config directive type, TYPE_WILDLIST. This will be like a
164 linked list, but specifically for wildcards (which is the only use we
165 had for lists before now). They are special because they a) need
166 wildcards collapsed and b) don't allow duplicate wildcards.
168 Normal linked lists will be of TYPE_LIST.
171 Rewrote add_to_list() and general linked list implementation as we
172 believe it has never worked.
174 Added CONF_SCAN_WARNING to hold linked list of notices from the
175 SCAN_WARNING config directive.
177 New linked list code needs an init_lists() function to allocate the
178 heads of all linked lists.
181 Added CONF_SCAN_WARNING.
184 Updated CONF_EXCLUDE code to match new linked list implementation.
186 Removed some left over debug code.
189 Added a new function, scanwarn_timer(), in the alarm loop. This
190 function will get called once a second and will empty the notice
191 queue (described later).
194 Added option for how many notices to send per second.
197 Implementation of generic doubly-linked circular lists.
200 Maintain a queue of pending notices to be sent regarding scanning.
201 A doubly-linked circular list is used as a queue, new notices added
202 after the head and removed from before the head.
204 2002-08-13 04:28 andy
206 * configure, configure.in, src/Makefile.am, src/Makefile.in:
208 Added configure option for some excessive gcc3 warning flags
210 2002-08-13 04:25 andy
215 Notes about IPv6 stuff. Note about newer Unreal having different
216 connect notice umodes.
218 2002-08-13 04:24 andy
223 Extra IPv6 docs and some tidying up.
225 2002-08-12 20:15 strtok
229 Fixed clean. It would slice off the first character of a string if there were no leading
232 2002-08-11 04:43 andryan
234 * contrib/crontab/bopmchk:
236 just to make it work by default :)
238 2002-08-11 00:22 enygma
242 Finally made Bopm be able to bind() to ipv6 interfaces on FreeBSD.
244 2002-08-11 00:09 enygma
248 Fixed scan.c and its bind() so that it also works on FreeBSD.
250 2002-08-10 23:59 enygma
254 Fixed buggy bind() call.
256 2002-08-10 23:05 enygma
260 Changed the bopm_sockaddr bsadr so that sin_port and sin_family are also
261 set before bind() is called.
263 2002-08-10 20:47 andy
267 Some juggling of headers for BSD. From TimeMr14C.
269 2002-08-10 20:07 andy
274 Stupidly missed a parameter off the format, which causes segfault
275 when a command expires (virtually never, in practice). Also got
276 the args to dissect_time wrong!
278 2002-08-09 06:11 andy
283 addr is a STRING containing the IP address, casting it to
284 "struct in_addr *" is not going to make it one!
286 2002-08-09 05:32 andy
291 Duh, should probably default to not trying to bind IPv6 stuff.
293 2002-08-09 05:22 andy
295 * src/: Makefile.am, Makefile.in:
298 bopchecker needs inet.c and inet.h, too.
300 2002-08-09 05:18 andy
304 Regenerate autoconf stuff
306 2002-08-09 05:17 andy
308 * src/: Makefile.am, irc.c, scan.c:
312 hide some more IPv6 code with #ifdef's.
315 correct missing sources for inet.c and inet.h.
317 2002-08-08 19:15 andy
322 Documentation of new directives, and extra clues to try and solve
323 the most common support queries.
325 2002-08-08 19:14 andy
332 2002-08-08 18:11 andy
334 * Makefile.in, aclocal.m4, configure, depcomp, configure.in,
335 missing, src/Makefile.in:
337 Update some autoconf stuff.
340 Make IPv6 messages a little prettier with AC_HELP_STRING,
341 AC_MSG_CHECKING, AC_MSG_RESULT.
343 2002-08-08 17:42 andy
345 * configure, configure.in, src/Makefile.in, src/bopchecker.c,
346 src/config.c, src/config.h, src/inet.c, src/inet.h, src/irc.c,
347 src/irc.h, src/scan.c, src/scan.h, src/setup.h.in:
349 Merged in TimeMr14C's IPv6 stuff to main branch.
351 2002-08-02 20:38 andy
355 Apparently this just was not obvious enough, nicks changed to protect the
358 <User> [Aug 02 19:16:23 2002] MAIN -> BOPM 2.3 started.
359 <User> [Aug 02 19:16:23 2002] MAIN -> Reading configuration file...
360 <User> [Aug 02 19:16:24 2002] IRC -> connect(): Unknown error connecting to (some.random.net)
361 <User> then it just ends =\
362 <grifferz> [andy@fullers services]$ telnet some.random.net 6667
363 <grifferz> Trying 4.5.6.7...
364 <grifferz> no response
366 <User> thats not real
368 <User> that might be why
370 <grifferz> how did you expect it to work then?
372 <User> u should make it more clear
374 2002-07-27 20:24 strtok
379 scan.c: Added socks5 request. We were authing (so that we could receive back a 'success', but we were NOT requesting a destination IP.
381 2002-07-08 14:28 andy
387 2002-07-01 03:46 andy
391 file inet.h was initially added on branch IPV6.
393 2002-07-01 03:46 andy
397 file inet.c was initially added on branch IPV6.
399 2002-07-01 03:46 andy
401 * configure, configure.in, src/Makefile.in, src/bopchecker.c,
402 src/config.c, src/config.h, src/inet.c, src/inet.h, src/irc.c,
403 src/irc.h, src/scan.c, src/scan.h, src/setup.h.in:
405 Yusuf Iskenderoglu's ongoing ipv6 work
407 2002-06-02 12:43 andy
412 Handling of &channels was completely broken, thanks to TimeMr14C
415 2002-05-27 13:08 andy
420 Only fclose() if we managed to fopen().
422 2002-05-26 08:32 andy
427 You can build Red Hat (S)RPMs from this.
429 2002-05-26 07:26 andy
431 * bopm.conf.sample, src/config.c, src/extern.h, src/main.c:
433 src/config.c, src/extern.h:
434 Add support for PIDFILE config option.
437 Document PIDFILE config option.
440 Get PIDFILE path from config file, delay writing of PIDFILE until
441 after logfile is read.
443 2002-05-26 06:45 andy
447 Makefile.in, src/Makefile.in:
448 Regenerated after typo.
450 2002-05-26 06:44 andy
457 2002-05-26 06:33 andy
459 * Makefile.in, aclocal.m4, configure, src/Makefile.in:
461 Disable Autoconf maintainer mode
463 2002-05-26 06:32 andy
468 Apparently I don't want it in maintainer mode otherwise it tries to
469 rebuild all the autoconf stuff.
471 2002-05-26 06:24 andy
478 2002-05-26 06:18 andy
483 Documentation for new build process.
485 2002-05-26 06:07 andy
490 Remove option '-v' which used to be for changing the "vardir" where
491 config and log would go. This is now controlled by ./configure
494 2002-05-26 06:01 andy
496 * src/: Makefile.am, Makefile.in, bopchecker.c, bopchecker.h,
497 compat.c, compat.h, config.c, config.h, dnsbl.c, dnsbl.h, extern.h,
498 irc.c, irc.h, log.c, log.h, main.c, match.c, match.h, misc.c,
499 misc.h, opercmd.c, opercmd.h, options.h, scan.c, scan.h,
500 setup.h.in, stats.c, stats.h:
502 Sources moved to src/ dir.
504 2002-05-26 05:56 andy
506 * bopchecker.c, bopchecker.h, compat.c, compat.h, config.c,
509 Sources moved to src/ dir.
511 2002-05-26 05:55 andy
513 * aclocal.m4, config.guess, config.sub, install-sh, missing,
516 More stuff that Automake requires.
518 2002-05-26 05:54 andy
523 Makefile.in is generated from here, and this controls which subdirs
524 get checked for other Makefile.am.
526 2002-05-26 05:53 andy
531 Oops, but we need to generate it and distribute it.
533 2002-05-26 05:53 andy
538 Now autogenerated from Makefile.am by Automake.
540 2002-05-26 05:51 andy
542 * configure, configure.in:
545 Converted to use Automake. Also edit this file to set version
548 2002-05-26 05:50 andy
552 This file no longer needed.
554 2002-05-26 05:50 andy
556 * dnsbl.c, dnsbl.h, extern.h, irc.c, irc.h, log.c, log.h, main.c,
557 match.c, match.h, misc.c, misc.h, opercmd.c, opercmd.h, options.h,
558 scan.c, scan.h, setup.h.in, stats.c, stats.h:
560 Sources moved to src/ dir.
562 2002-05-25 16:19 andy
567 Oper up after doing the other "on connect" things in an attempt to
568 play nice with some starnge ircd that wants all opers to be
569 identified to their nick first..
571 2002-05-23 18:04 andy
576 bopchecker needs compat stuff too.
578 2002-05-23 05:22 andy
580 * Makefile.in, README, compat.c, compat.h, configure, configure.in,
583 Merged SOLARIS_PORT branch.
585 2002-05-23 05:13 andy
587 * Makefile.in, README, configure, configure.in:
589 configure.in, configure:
590 Check if libsocket and libnsl are needed (like on Solaris!)
593 Placeholders for libs
595 2002-05-23 04:31 andy
597 * compat.c, compat.h, configure, configure.in, setup.h.in:
599 configure.in, configure, setup.h.in:
600 Check for inet_aton()
603 Provide our own inet_aton() if the system does not have one.
605 2002-05-23 02:27 andy
609 file compat.c was initially added on branch SOLARIS_PORT.
611 2002-05-23 02:27 andy
613 * Makefile.in, compat.c, configure, configure.in, irc.c,
616 Makefile.in, compat.c:
617 Add compat.c, where compatability routines will go.
619 configure.in, configure:
620 Check for strings.h, Solaris seems to want to put index() there.
623 Include strings.h if we have it.
625 2002-05-23 01:29 andy
629 file compat.h was initially added on branch SOLARIS_PORT.
631 2002-05-23 01:29 andy
636 Header file for compatability stuff (duh). Solaris at least
637 doesn't have INADDR_NONE.
641 2002-05-21 06:02 strtok
646 ChangeLog: Updated for version 2.3 release
648 2002-05-17 20:31 strtok
653 scan.c: Ubermicro optomization on flagging STATE_CLOSED on all connections
654 with the same IP by eliminating use of strcmp.
656 stats.c: Output file descriptor use in stats now. This will be useful for
657 larger servers running bopm.
659 2002-05-14 23:07 strtok
664 version.h: Version 2.3 now
666 2002-05-14 12:38 andy
668 * contrib/crontab/bopmchk:
670 Useful crontab from skold <skold@habber.net>
672 2002-05-14 04:37 strtok
677 bopm.conf.sample: Extra clues for the idiots changing their KLINE_COMMAND
678 without knowing what they're doing.
680 2002-05-14 01:59 strtok
685 scan.c: Fixed problem with FD_USE being decremented when it shouldn't have been
687 2002-05-12 19:43 strtok
692 scan.c: Fixed logic error when adding fd's to the poll array
694 2002-05-06 23:39 strtok
699 ChangeLog: Updated changelog for 2.2r2
701 2002-05-06 23:29 strtok
706 irc.c: Caught any NULL returns from strtok in the connect handlers.
708 2002-05-06 23:09 andy
713 Oops, looks like Unreal sends a server notice that is too much
714 like an ultimate ircd notice. Here's a hopeful quick fix.
716 2002-05-06 20:17 strtok
721 irc.c: With debug level >= 1, with unknown connect() error print strerror
723 2002-05-06 19:14 strtok
728 ChangeLog: Updated changelog for 2.2r1
730 2002-05-06 19:10 strtok
736 Updated changelog for 2.2r1
742 Fixing -c param bug (which has broken -c option since -v option was added (rel 1.23)).
743 TheShadow reported this in #blitzed
745 2002-05-05 04:16 andy
752 2002-05-05 02:54 andy
757 Apparently using _exit is the correct thing to do.
759 2002-05-04 19:48 strtok
761 * bopm.conf.sample, config.c, extern.h, scan.c:
764 scan.c, config.c, extern.h, bopm.conf.sample: Added CONF_TIMEOUT and TIMEOUT
765 directive to allow for configurable scan timeouts (suggested by lilo).
767 2002-05-01 18:44 andy
769 * irc.c, bopm.conf.sample, config.c, extern.h:
771 irc.c, config.c, extern.h:
772 Added config option REALNAME which allows bopm's IRC "realname" to
778 2002-05-01 17:58 andy
785 2002-05-01 05:01 andy
792 2002-05-01 00:24 andy
794 * irc.c, opercmd.c, opercmd.h:
799 Reformatting, moved some global variable declarations to opercmd.c
801 Needed an extern to get access to LAST_REAP_TIME.
803 2002-04-30 23:41 andy
810 2002-04-30 22:53 andy
817 2002-04-30 21:14 andy
824 2002-04-30 04:01 andy
829 Code cleanups. Added check_channel() function to check if a given
830 channel is one of our configured reporting channels. Made a bunch
831 of irc.c private fucntions have static linkage.
835 2002-04-30 01:37 andy
837 * dnsbl.c, extern.h, log.c, misc.c, opercmd.c, stats.c:
840 Code format cleanup. Move include of config.h to files that need
843 dnsbl.c, log.c, misc.c, opercmd.c, stats.c:
844 Add include for config.h.
846 2002-04-29 18:10 strtok
851 bopm.conf.sample: Fixed TARGET_STRING sample
853 2002-04-29 17:17 andy
858 Formatting cleanup & added more descriptive error message when
859 gethostbyname() fails (is man page wrong?)
864 2002-04-29 15:20 andy
869 Doh, KEYS is not required for normal operation.
871 2002-04-29 15:18 andy
876 Open cisco router bit mask.
878 2002-04-29 15:15 andy
880 * config.c, config.h:
883 Tidied up indentation.
885 Added static linkage for all private config functions.
887 Added add_to_list() to simplify adding values to configuration
890 Added free_list() to simplify clearing out each config list at
893 Added add_to_config() to simplify adding a key/value pair to our
897 Neater indentation, some prototypes moved to config.c.
899 2002-04-29 06:57 strtok
904 scan.c: Uncommented CISCO from scan table as efnet reports it is working
907 2002-04-28 19:20 andy
909 * bopchecker.c, bopchecker.h:
913 2002-04-28 18:35 andy
915 * bopchecker.c, config.c, extern.h, irc.c, main.c, misc.c,
916 opercmd.c, opercmd.h, scan.c, stats.c:
919 Hacks to avoid unused variable warnings.
927 Merged singal handlers into one function, code cleanups.
930 opercmd.c, opercmd.h:
931 2nd parameter of checkoper was never used.
937 2002-04-26 23:20 andy
942 Better example config suggestion from Erik / Andrew Church.
944 2002-04-26 22:32 andy
946 * bopm.conf.sample, config.c, extern.h, irc.c:
948 config.c, bopm.conf.sample:
949 Added KEYS config parameter.
952 Added support for channel keys, plus helper function get_chan_key()
953 which looks up the correct key for a given channel.
955 2002-04-25 22:27 strtok
960 scan.c: Commented HTTP 8000 out of the scan table, those who wish to scan
961 on this port can easily uncomment it.
963 2002-04-25 07:24 strtok
968 scan.c: Removed use of scan_del() where STATE_CLOSED should have been set
971 2002-04-25 05:41 strtok
976 scan.c/options.h: Added MAXREAD (default 4096), max amount of bytes read from
977 any port before the connection is considered a flood and failed.
979 2002-04-25 05:17 strtok
984 scan.c: Fixed bug which caused freezing if data was virtually endless (reported
987 2002-04-25 03:42 strtok
992 scan.c: Fixed scan_struct data bug where it tried to free data even if
993 it wasn't malloc yet.
995 scan.c: Commented out cisco and http port 8001 scanning, because servers will
996 be using this commit live.
998 2002-04-24 12:43 andy
1003 Less Blitzed-like pages from Tom Gilder <tom@blitzed.org>
1005 2002-04-23 17:56 andy
1010 Here's support for ultimate ircd.
1012 2002-04-18 00:25 andy
1014 * README, main.c, options.h:
1017 -v option from Harald Skoglund <harald@hekta.stud.iet.hist.no>
1020 Documentation of command line options.
1022 2002-04-17 23:16 andy
1027 Again some notes added for SCANPORT because lots of people are having a
1028 hard time understanding what this is for.
1030 2002-04-14 12:03 dgl
1034 typo, the hybrid team didn't write math.[ch] :)
1036 2002-04-11 05:56 andy
1041 So much call for HTTP scanning on ports 8000, 8001. Well, let's
1042 try it for a while and see.
1044 2002-04-04 03:32 andy
1049 Many people appear to be getting confused over this.
1051 2002-03-31 20:33 andy
1057 2002-03-31 06:31 andy
1061 Mailman moved to a slightly simpler URL.
1063 2002-03-21 17:23 andy
1067 More IRCu notes from wunix <wu@wunix.org>
1069 2002-03-19 13:25 andy
1074 Some compatibility notes from Erik Fears <strtok@softhome.net>
1076 2002-03-03 21:49 andy
1078 * configure, configure.in:
1081 Added DNSBL begging text
1083 2002-02-26 05:07 strtok
1087 scan.c: Moved Cisco up in hash table so that it is tried before wingate,
1088 because cisco routers only allow 4 connections at once (pointed out by JPayne)
1090 2002-02-25 07:16 strtok
1095 scan.c: Cisco scanning now works
1097 2002-02-25 07:08 strtok
1101 version.h: Incremented version to 2.2 so we can identify any bopms that have cvs updated
1103 2002-02-25 07:07 strtok
1107 scan.c: Actually send() data for cisco check now (oops)
1109 2002-02-25 06:57 strtok
1113 scan.c/scan.h: Added open cisco router scanning
1115 2002-02-22 11:06 andy
1120 Credits for Collide.
1122 2002-02-22 11:05 andy
1127 Added three new functions, do_hybrid_connect(), do_xnet_connect()
1128 and do_trircd_connect(). This could be modularised further but for
1129 now this gets rid of some duplication. Each function is for
1130 processing the connect notices of different classes of ircd.
1132 do_trircd_connect() adds support for tr-ircd, which has a &connects
1133 channel instead of a +c umode.
1135 2002-02-19 23:29 andy
1140 Update dfor next release
1142 2002-02-19 23:10 andy
1144 * configure, configure.in:
1149 2002-02-19 23:04 andy
1151 * configure, configure.in:
1154 Fix broken "echo -n" check
1156 2002-02-19 23:00 andy
1158 * configure, configure.in, setup.h.in:
1161 Fix sys/poll.h check
1163 2002-02-19 22:57 andy
1165 * acconfig.h, configure, configure.in, setup.h.in:
1168 Get rid of need for acconfig.h
1172 2002-02-19 20:55 strtok
1176 version.h: Incremented version to 2.1
1178 2002-02-19 20:46 strtok
1184 2002-02-17 17:15 andy
1189 Some credits we missed, oops.
1191 2002-02-17 03:52 andy
1197 2002-02-17 02:35 andy
1202 Doh! Need to check we have enough tokens before blindly accessing
1205 2002-02-16 18:44 andy
1211 2002-02-16 18:43 andy
1213 * configure, configure.in:
1216 Added a bit about using GNU Make.
1218 2002-02-16 18:37 andy
1224 2002-02-16 18:36 strtok
1228 config.c: Fixed -> typo
1230 2002-02-16 18:35 strtok
1234 config.c: DEBUG level 3 now also prints out LISTS with other config elements
1236 2002-02-16 18:17 andy
1241 Idea - let's remove changes to the changelog, from the changelog. :)
1243 2002-02-16 18:16 andy
1250 2002-02-16 06:18 strtok
1254 Added code to free TYPE_LIST in config.c (someone forgot this!)
1256 2002-02-16 03:23 andy
1261 Updated for next release.
1263 2002-02-15 23:21 andy
1268 Added docs and examples for EXCLUDE option.
1270 2002-02-15 04:57 andy
1272 * Makefile.in, config.c, config.h, extern.h, irc.c, irc.h, match.c,
1277 IRC wildcard matching functions from dancer-hybrid. match()
1278 handles string matching and collapse() shortens a wildcard string
1282 Added new config type; TYPE_LIST. Multiple parameters of this
1283 type are put into a linked list.
1285 Added missing config_memfail() prototype.
1288 Added new config option EXCLUDE. This is a list of wildcard
1289 strings against which the host and IP address of connecting users
1290 will be matched. A user which matches any entry will not be
1294 Added new objects and dependencies for match.[cho]
1297 Added do_connect() function to avoid duplication. This function
1298 checks the users host and IP address against the EXCLUDE list and
1299 provided there are no matches proceeds to do a DNSBL check and
1302 The above patch was contributed by Rob Levin/lilo @ OPN
1304 2002-02-15 00:56 andy
1306 * Makefile.in, misc.c, opercmd.c, scan.c, stats.c:
1308 Makefile.in, misc.c, stats.c:
1309 Forogt to include the autoconfiscated header
1314 2002-02-14 05:56 andy
1319 Updated mailing list info, credits, etc.
1321 Largely rewritten installation instructions and a blurb about
1324 2002-02-14 05:17 andy
1326 * acconfig.h, configure, configure.in, irc.c, options.h,
1329 configure.in, options.h:
1330 Added configure option --with-unreal to replace the UNREAL
1331 definition that was in options.h
1333 Make autoheader work for --with-unreal
1335 WITH_UNREAL instead of UNREAL
1337 2002-02-14 05:06 andy
1339 * acconfig.h, configure, configure.in, setup.h.in:
1342 Added support for --with-select configure option so that people
1343 can force use of select() whether they have poll() or not.
1345 This makes autoheader work (which is used to make setup.h.in from
1346 configure.in) now that WITH_SELECT is added.
1348 2002-02-14 01:51 andy
1350 * configure, configure.in, options.h, scan.c, setup.h.in:
1353 Check for sys/poll.h
1355 We'll use poll() if sys/poll.h was found
1357 Alter for autoconfiscated sys/poll.h check.
1359 2002-02-13 23:52 andy
1361 * configure, configure.in, dnsbl.c, setup.h.in:
1364 Add a check for bigendian systems.
1366 If we're on a bigendian system this'll be backwards.
1368 2002-02-13 22:28 andy
1370 * Makefile.in, configure:
1372 OK, so we do need to distribute configure.
1374 2002-02-13 22:15 strtok
1378 Added byte counter to teach connection, and adjusted manual check output to be be more informative
1380 2002-02-13 20:50 andy
1382 * bopchecker.c, irc.c, scan.c:
1384 bopchecker.c, irc.c, scan.c:
1385 Use AC_HEADER_TIME and AC_CHECK_HEADERS(sys/time.h) to check how to
1386 handle time.h and sys/time.h (if there even if a sys/time.h, if it
1387 can be included with time.h)
1389 2002-02-13 20:32 andy
1394 Another STDC_HEADERS check
1396 2002-02-13 20:28 andy
1403 2002-02-13 20:26 andy
1405 * Makefile.in, config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c,
1409 Add a distclean target. We may want to distribute the configure
1410 script at some point instead of just configure.in and expect people
1411 to use autoconf; we'll have to remember to change this then.
1413 config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c, scan.c:
1414 Take account of AC_HEADER_STDC check.
1416 2002-02-13 20:12 andy
1421 Handle AC_TYPE_SIGNAL check.
1423 2002-02-13 19:58 andy
1428 /me reads as far as "autoheader" in the autoconf manual.
1430 2002-02-13 19:24 andy
1432 * Makefile, Makefile.in, configure.in, setup.h.in:
1434 First stab at autoconfiscation (euheue)
1436 2002-02-13 16:51 andy
1441 bopchecker needs a target string as well now.
1443 2002-02-13 05:40 strtok
1447 Pad scan_struct->data + 1 byte on malloc to leave room for null terminator (was causing buffer overrun)
1449 2002-02-12 23:02 andy
1454 Really doesn't need to be that verbose :)
1455 Remember I use -d and -dd a lot when helping people set up BOPM -
1456 I really don't need 2 pages of config options flying by.
1458 2002-02-12 21:42 strtok
1462 VERSION for this release will be 2.0
1464 2002-02-12 21:17 strtok
1468 Wingate write function now actually sends data
1470 2002-02-12 21:07 strtok
1474 Cleaned out code no longer needed
1476 2002-02-12 20:57 strtok
1480 Added TARGET_STRING to config file
1482 2002-02-12 20:54 strtok
1484 * config.c, extern.h, options.h, scan.c, scan.h:
1486 No longer use individual read functions for each protocol, now search for
1487 a TARGET_STRING within the data. (set in conf)
1489 2002-02-12 19:19 strtok
1491 * bopm.conf.sample, options.h, scan.c, scan.h:
1493 options.h USE_POLL and MAXPOLL for use of poll() as opposed to select() in
1494 scan.c. If USE_POLL is defined, the scanner will use poll(), if not
1495 select() is used as before
1497 2002-02-12 06:10 strtok
1499 * bopm.conf.sample, config.c, extern.h, misc.c, scan.c, scan.h:
1501 bopm.conf.sample: Added config parameter FDLIMIT (default 512), which is maximum number
1502 of file descriptors that can be open at any time (for scanning).
1503 config.c: Added -d debug output of set config parameters
1504 misc.c: Fixed bug involving clean()
1505 scan.c: Added scan_establish() code to socket()/connect() to a socket, connections
1506 are now queued if the FDLIMIT cap is reached.
1508 2002-02-10 15:37 andy
1513 Credits for recent patches.
1515 2002-02-10 15:25 andy
1520 Improved HTTP handling. Seems to work (have tested against all
1521 known HTTP false positives seen so far, plus 2 known open proxies).
1522 Ideas and pseudocode from jpayne@blitzed.org.
1524 2002-02-10 14:34 andy
1526 * irc.c, irc.h, main.c:
1530 Added a MSGLEN #define so that networks which use different sized
1531 IRC buffers can be made to work easily.
1534 Changed umask to something more sensible.
1536 Both the above from shasta@irc.pl.
1538 2002-02-07 17:23 andy
1540 * bopm.conf.sample, dnsbl.c:
1543 Need to check against DNSBL_ZONE with a dot on the end, because
1544 otherwise it will try the search domains in /etc/resolv.conf, and may
1545 even find a match! Reported and fixed by asmodeus@irc.gr
1548 Gotcha about putting your own dot at the end of the zone.
1550 2002-02-04 22:39 andy
1555 Extra #include needed, reported by shasta@irc.pl
1557 2002-02-04 18:12 andy
1562 Added simple connects/minute reading.
1564 2002-02-01 06:17 andy
1569 Updated for next realese.
1571 2002-02-01 06:16 andy
1576 Added note about Unreal 3.2 support.
1578 2002-02-01 05:57 andy
1583 irc.o depends on options.h
1585 2002-02-01 05:08 andy
1590 Credits to locksmith for his help.
1592 2002-02-01 04:40 andy
1597 Possible stupid error with calculating size of config hash.
1599 2002-01-31 06:00 strtok
1603 irc.c: Last commit had an odd paste from vim (???)
1605 2002-01-31 05:38 strtok
1607 * config.c, irc.c, scan.h:
1609 config.c: Added FDLIMIT configuration parameter (limit of open file descriptors)
1610 irc.c: Fixed NULL CONF_NICKSERV_IDENT pointer (reported by uneks)
1611 scan.h: Added STATE_UNESTABLISHED
1613 2002-01-30 23:55 andy
1618 Some ircd's (Xnet and others?) don't send +c notices with the server as
1621 2002-01-29 17:33 andy
1626 Updated for next release.
1628 2002-01-29 17:31 andy
1633 Now we've added a zero element on the config hash we need to adjust
1636 2002-01-29 01:49 strtok
1640 README: Added codebase specific compatibility (those tested)
1642 2002-01-29 01:46 andy
1647 Missed a late commit.
1649 2002-01-29 01:45 andy
1654 Added suggestion from Sotiris Tsimbonis to make ti a bit more
1655 obvious that a temporary KLINE should be used.
1657 2002-01-29 01:25 andy
1662 Updated ChangeLog for 1.1 release.
1664 2002-01-29 01:21 strtok
1670 2002-01-29 00:23 andy
1672 * bopchecker.c, bopchecker.h, config.c:
1675 Some reorganisation.
1677 "req" field of config hash is now zero'd for all but the parameters
1678 we need for bopchecker to operate.
1680 Used a sleep(1) to reduce CPU usage.
1683 Exit values have changed again! 0 and 1 are already in use within
1684 bopm, so now 15-255 are reserved for bopchecker.
1692 Terminated the config hash with a zero'd entry so that it is easy
1693 to tell where it ends.
1695 2002-01-29 00:15 strtok
1699 README: Added rehash instructions
1701 2002-01-28 01:37 andy
1706 Credits for PASSWORD option
1708 2002-01-28 01:33 andy
1710 * bopm.conf.sample, config.c, extern.h, irc.c:
1713 Add PASSWORD config option.
1715 Use PASSWORD if supplied.
1717 Document PASSWORD, fix typo on SERVER
1719 2002-01-28 00:18 strtok
1721 * config.c, config.h:
1723 config.c/config.h: BOPM now exits if 'required' configuration parameters
1726 2002-01-27 14:17 andy
1728 * bopchecker.c, bopchecker.h:
1731 Added bitmasks for the types of proxy. HTTP is 1, Wingate 2,
1732 SOCKS4 is 4 and SOCKS5 8.
1735 Now returns a bitmask of the types of proxies found back to the
1736 shell. THIS MEANS THAT VALUES > 1 MEAN A PROXY WAS FOUND AND 0
1737 MEANS NO PROXY WAS FOUND, THIS IS THE EXACT OPPOSITE TO PRIOR
1738 VERSIONS OF THIS PROGRAM!
1740 2002-01-27 04:23 strtok
1744 irc.c: Fixed segfault if nickserv ident isnt defined in conf
1746 2002-01-26 19:17 strtok
1750 config.c: Replace C++ comment with C style comment (oops)
1752 2002-01-25 22:58 andy
1757 Remove Blitzed address because of people sending us reports without
1760 2002-01-25 22:02 andy
1764 scan.c: Suggestion from Sotiris Tsimbonis that details go to channels
1766 2002-01-25 21:14 andy
1768 * README, bopm.conf.sample, dnsbl.c:
1770 dnsbl.c: Allow reporting to multiple addresses
1771 README: Note about Sotiris Tsimbonis' idea
1772 bopm.conf.sample: Note about how to use multiple TO addresses
1774 2002-01-25 15:27 andy
1778 irc.c: support & channels, bug found by Sotiris Tsimbonis <stsimb@irc.gr>.
1780 2002-01-24 21:54 strtok
1784 INSTALL: Updated INSTALL file to include information about options.h
1786 2002-01-24 21:53 strtok
1790 irc.c/options.h: Added support for unreal ircds
1792 2002-01-24 17:40 strtok
1796 README: Added hybrid compatibility to README.
1798 2002-01-24 10:41 andy
1800 * bopm.conf.sample, config.c, extern.h, irc.c:
1802 Added OPER_MODES config option to specify what modes the bopm will set on
1803 itself after opering up.
1805 2002-01-24 06:56 andy
1809 bopchecker needs to time out too, doh.
1811 2002-01-24 06:18 andy
1815 Remove CONF_PING, a config option that never was.
1817 2002-01-24 06:07 andy
1819 * INSTALL, README, bopchecker.c, extern.h, irc.c, main.c,
1822 Merged patch from Sotiris Tsimbonis <stsimb@irc.gr> with minor changes.
1823 Adds a -c command line argument which tells bopm to use a different name
1824 for log, pid and config files. i.e. ./bopm -c myserver will use
1825 myserver.conf, myserver.log, myserver.pid.
1827 The patch also makes bopm set umode -h on itself after opering, in order
1828 to prevent the bot appearing in /stats p output (shows opers available to
1831 bopchecker now takes the -c option also, in the same way as bopm.
1833 2002-01-23 04:58 strtok
1837 ChangeLog: It's 2002!
1839 2002-01-22 21:44 strtok
1843 bopm.conf.sample: Fixed typo
1845 2002-01-22 19:09 strtok
1849 ChangeLog: Added changelog