]>
Commit | Line | Data |
---|---|---|
84cee4bb | 1 | 2002-08-28 20:16 andy |
2 | ||
3 | * configure, configure.in: | |
4 | ||
5 | Rebuild autoconf stuff in preparation for -RC1 release. | |
6 | ||
7 | 2002-08-23 06:42 andy | |
8 | ||
9 | * src/: negcache.c, negcache.h: | |
10 | ||
11 | src/negcache.[ch]: | |
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 | |
16 | addresses to store. | |
17 | ||
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. | |
22 | ||
23 | Properties of the trie: | |
24 | 1) The bit index always decreases as we follow the tree from the head | |
25 | to an external node. | |
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 | |
28 | at external nodes. | |
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. | |
39 | ||
40 | 2002-08-23 05:41 andy | |
41 | ||
42 | * src/scan.c: | |
43 | ||
44 | src/scan.c: | |
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 | |
47 | dot quad format). | |
48 | ||
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. | |
52 | ||
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. | |
56 | ||
57 | 2002-08-23 05:29 andy | |
58 | ||
59 | * src/options.h: | |
60 | ||
61 | src/options.h | |
62 | NEG_CACHE_REBUILD: how long in seconds between rebuilds of the | |
63 | negcache, if enabled. | |
64 | ||
65 | 2002-08-23 05:28 andy | |
66 | ||
67 | * src/main.c: | |
68 | ||
69 | src/main.c: | |
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. | |
74 | ||
75 | 2002-08-23 05:17 andy | |
76 | ||
77 | * src/irc.c: | |
78 | ||
79 | src/irc.c: | |
80 | Upon connection to the IRC server, initialise our negative cache | |
81 | (if negative caching is enabled). | |
82 | ||
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. | |
86 | ||
87 | Note that negative caching is only implemented for IPv4 at the | |
88 | moment -- shouldn't be hard to extend it to IPv6 though. | |
89 | ||
90 | 2002-08-23 05:12 andy | |
91 | ||
92 | * src/config.c: | |
93 | ||
94 | src/config.c: | |
95 | CONF_NEG_CACHE stores the value of the NEG_CACHE directive from | |
96 | the config. | |
97 | ||
98 | 2002-08-23 05:11 andy | |
99 | ||
100 | * src/bopchecker.c: | |
101 | ||
102 | src/bopchecker.c: | |
103 | Dummy negcache_insert() function so that the bopchecker hack | |
104 | continues to compile. | |
105 | ||
106 | 2002-08-23 05:10 andy | |
107 | ||
108 | * src/: Makefile.am, Makefile.in: | |
109 | ||
110 | Makefile.in, src/Makefile.am, src/Makefile.in: | |
111 | New automake entries for negcache.[ch], rebuild makefiles. | |
112 | ||
113 | 2002-08-23 05:08 andy | |
114 | ||
115 | * bopm.conf.sample: | |
116 | ||
117 | bopm.conf.sample: | |
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! | |
121 | ||
122 | 2002-08-15 18:22 andy | |
123 | ||
124 | * README: | |
125 | ||
126 | README: | |
127 | Typo. | |
128 | ||
129 | 2002-08-15 18:16 andy | |
130 | ||
131 | * README: | |
132 | ||
133 | README: | |
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 | |
138 | proxy. (!) | |
139 | ||
140 | 2002-08-15 13:22 andy | |
141 | ||
142 | * src/irc.c: | |
143 | ||
144 | src/irc.c: | |
145 | Code tidy. | |
146 | ||
147 | 2002-08-15 13:13 dgl | |
148 | ||
149 | * src/irc.c: | |
150 | ||
151 | send ping to generate data | |
152 | ||
153 | 2002-08-13 04:44 andy | |
154 | ||
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: | |
158 | ||
159 | bopm.conf.sample: | |
160 | Document SCAN_WARNING directive. | |
161 | ||
162 | src/config/h: | |
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. | |
167 | ||
168 | Normal linked lists will be of TYPE_LIST. | |
169 | ||
170 | src/config.c: | |
171 | Rewrote add_to_list() and general linked list implementation as we | |
172 | believe it has never worked. | |
173 | ||
174 | Added CONF_SCAN_WARNING to hold linked list of notices from the | |
175 | SCAN_WARNING config directive. | |
176 | ||
177 | New linked list code needs an init_lists() function to allocate the | |
178 | heads of all linked lists. | |
179 | ||
180 | src/extern.h: | |
181 | Added CONF_SCAN_WARNING. | |
182 | ||
183 | src/irc.c: | |
184 | Updated CONF_EXCLUDE code to match new linked list implementation. | |
185 | ||
186 | Removed some left over debug code. | |
187 | ||
188 | src/main.c: | |
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). | |
192 | ||
193 | src/options.h: | |
194 | Added option for how many notices to send per second. | |
195 | ||
196 | src/dlclist.[ch]: | |
197 | Implementation of generic doubly-linked circular lists. | |
198 | ||
199 | src/scanwarn.[ch]: | |
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. | |
203 | ||
204 | 2002-08-13 04:28 andy | |
205 | ||
206 | * configure, configure.in, src/Makefile.am, src/Makefile.in: | |
207 | ||
208 | Added configure option for some excessive gcc3 warning flags | |
209 | ||
210 | 2002-08-13 04:25 andy | |
211 | ||
212 | * README: | |
213 | ||
214 | README: | |
215 | Notes about IPv6 stuff. Note about newer Unreal having different | |
216 | connect notice umodes. | |
217 | ||
218 | 2002-08-13 04:24 andy | |
219 | ||
220 | * INSTALL: | |
221 | ||
222 | INSTALL: | |
223 | Extra IPv6 docs and some tidying up. | |
224 | ||
225 | 2002-08-12 20:15 strtok | |
226 | ||
227 | * src/misc.c: | |
228 | ||
229 | Fixed clean. It would slice off the first character of a string if there were no leading | |
230 | spaces! | |
231 | ||
232 | 2002-08-11 04:43 andryan | |
233 | ||
234 | * contrib/crontab/bopmchk: | |
235 | ||
236 | just to make it work by default :) | |
237 | ||
238 | 2002-08-11 00:22 enygma | |
239 | ||
240 | * src/irc.c: | |
241 | ||
242 | Finally made Bopm be able to bind() to ipv6 interfaces on FreeBSD. | |
243 | ||
244 | 2002-08-11 00:09 enygma | |
245 | ||
246 | * src/scan.c: | |
247 | ||
248 | Fixed scan.c and its bind() so that it also works on FreeBSD. | |
249 | ||
250 | 2002-08-10 23:59 enygma | |
251 | ||
252 | * src/irc.c: | |
253 | ||
254 | Fixed buggy bind() call. | |
255 | ||
256 | 2002-08-10 23:05 enygma | |
257 | ||
258 | * src/irc.c: | |
259 | ||
260 | Changed the bopm_sockaddr bsadr so that sin_port and sin_family are also | |
261 | set before bind() is called. | |
262 | ||
263 | 2002-08-10 20:47 andy | |
264 | ||
265 | * src/inet.c: | |
266 | ||
267 | Some juggling of headers for BSD. From TimeMr14C. | |
268 | ||
269 | 2002-08-10 20:07 andy | |
270 | ||
271 | * src/opercmd.c: | |
272 | ||
273 | src/opercmd.c: | |
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! | |
277 | ||
278 | 2002-08-09 06:11 andy | |
279 | ||
280 | * src/scan.c: | |
281 | ||
282 | src/scan.c: | |
283 | addr is a STRING containing the IP address, casting it to | |
284 | "struct in_addr *" is not going to make it one! | |
285 | ||
286 | 2002-08-09 05:32 andy | |
287 | ||
288 | * src/irc.c: | |
289 | ||
290 | irc.c: | |
291 | Duh, should probably default to not trying to bind IPv6 stuff. | |
292 | ||
293 | 2002-08-09 05:22 andy | |
294 | ||
295 | * src/: Makefile.am, Makefile.in: | |
296 | ||
297 | src/Makefile.am: | |
298 | bopchecker needs inet.c and inet.h, too. | |
299 | ||
300 | 2002-08-09 05:18 andy | |
301 | ||
302 | * src/Makefile.in: | |
303 | ||
304 | Regenerate autoconf stuff | |
305 | ||
306 | 2002-08-09 05:17 andy | |
307 | ||
308 | * src/: Makefile.am, irc.c, scan.c: | |
309 | ||
310 | src/irc.c: | |
311 | src/scan.c: | |
312 | hide some more IPv6 code with #ifdef's. | |
313 | ||
314 | src/Makefile.am: | |
315 | correct missing sources for inet.c and inet.h. | |
316 | ||
317 | 2002-08-08 19:15 andy | |
318 | ||
319 | * bopm.conf.sample: | |
320 | ||
321 | bopm.conf.sample: | |
322 | Documentation of new directives, and extra clues to try and solve | |
323 | the most common support queries. | |
324 | ||
325 | 2002-08-08 19:14 andy | |
326 | ||
327 | * src/config.c: | |
328 | ||
329 | src/config.c: | |
330 | Reformatting. | |
331 | ||
332 | 2002-08-08 18:11 andy | |
333 | ||
334 | * Makefile.in, aclocal.m4, configure, depcomp, configure.in, | |
335 | missing, src/Makefile.in: | |
336 | ||
337 | Update some autoconf stuff. | |
338 | ||
339 | configure.in: | |
340 | Make IPv6 messages a little prettier with AC_HELP_STRING, | |
341 | AC_MSG_CHECKING, AC_MSG_RESULT. | |
342 | ||
343 | 2002-08-08 17:42 andy | |
344 | ||
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: | |
348 | ||
349 | Merged in TimeMr14C's IPv6 stuff to main branch. | |
350 | ||
351 | 2002-08-02 20:38 andy | |
352 | ||
353 | * bopm.conf.sample: | |
354 | ||
355 | Apparently this just was not obvious enough, nicks changed to protect the | |
356 | stupid: | |
357 | ||
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 | |
365 | <User> yea | |
366 | <User> thats not real | |
367 | <User> wait | |
368 | <User> that might be why | |
369 | <User> hang on | |
370 | <grifferz> how did you expect it to work then? | |
371 | <grifferz> ... | |
372 | <User> u should make it more clear | |
373 | ||
374 | 2002-07-27 20:24 strtok | |
375 | ||
376 | * src/scan.c: | |
377 | ||
378 | ||
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. | |
380 | ||
381 | 2002-07-08 14:28 andy | |
382 | ||
383 | * bopm.conf.sample: | |
384 | ||
385 | ircU GLINE example. | |
386 | ||
387 | 2002-07-01 03:46 andy | |
388 | ||
389 | * src/inet.h: | |
390 | ||
391 | file inet.h was initially added on branch IPV6. | |
392 | ||
393 | 2002-07-01 03:46 andy | |
394 | ||
395 | * src/inet.c: | |
396 | ||
397 | file inet.c was initially added on branch IPV6. | |
398 | ||
399 | 2002-07-01 03:46 andy | |
400 | ||
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: | |
404 | ||
405 | Yusuf Iskenderoglu's ongoing ipv6 work | |
406 | ||
407 | 2002-06-02 12:43 andy | |
408 | ||
409 | * src/irc.c: | |
410 | ||
411 | src/irc.c: | |
412 | Handling of &channels was completely broken, thanks to TimeMr14C | |
413 | for bug report. | |
414 | ||
415 | 2002-05-27 13:08 andy | |
416 | ||
417 | * src/main.c: | |
418 | ||
419 | src/main.c: | |
420 | Only fclose() if we managed to fopen(). | |
421 | ||
422 | 2002-05-26 08:32 andy | |
423 | ||
424 | * contrib/bopm.spec: | |
425 | ||
426 | bopm.spec: | |
427 | You can build Red Hat (S)RPMs from this. | |
428 | ||
429 | 2002-05-26 07:26 andy | |
430 | ||
431 | * bopm.conf.sample, src/config.c, src/extern.h, src/main.c: | |
432 | ||
433 | src/config.c, src/extern.h: | |
434 | Add support for PIDFILE config option. | |
435 | ||
436 | bopm.conf.sample: | |
437 | Document PIDFILE config option. | |
438 | ||
439 | main.c: | |
440 | Get PIDFILE path from config file, delay writing of PIDFILE until | |
441 | after logfile is read. | |
442 | ||
443 | 2002-05-26 06:45 andy | |
444 | ||
445 | * Makefile.in: | |
446 | ||
447 | Makefile.in, src/Makefile.in: | |
448 | Regenerated after typo. | |
449 | ||
450 | 2002-05-26 06:44 andy | |
451 | ||
452 | * Makefile.am: | |
453 | ||
454 | Makefile.am: | |
455 | Typo. | |
456 | ||
457 | 2002-05-26 06:33 andy | |
458 | ||
459 | * Makefile.in, aclocal.m4, configure, src/Makefile.in: | |
460 | ||
461 | Disable Autoconf maintainer mode | |
462 | ||
463 | 2002-05-26 06:32 andy | |
464 | ||
465 | * configure.in: | |
466 | ||
467 | configure.in: | |
468 | Apparently I don't want it in maintainer mode otherwise it tries to | |
469 | rebuild all the autoconf stuff. | |
470 | ||
471 | 2002-05-26 06:24 andy | |
472 | ||
473 | * README: | |
474 | ||
475 | README: | |
476 | More docs. | |
477 | ||
478 | 2002-05-26 06:18 andy | |
479 | ||
480 | * INSTALL: | |
481 | ||
482 | INSTALL: | |
483 | Documentation for new build process. | |
484 | ||
485 | 2002-05-26 06:07 andy | |
486 | ||
487 | * src/main.c: | |
488 | ||
489 | src/main.c: | |
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 | |
492 | settings. | |
493 | ||
494 | 2002-05-26 06:01 andy | |
495 | ||
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: | |
501 | ||
502 | Sources moved to src/ dir. | |
503 | ||
504 | 2002-05-26 05:56 andy | |
505 | ||
506 | * bopchecker.c, bopchecker.h, compat.c, compat.h, config.c, | |
507 | config.h: | |
508 | ||
509 | Sources moved to src/ dir. | |
510 | ||
511 | 2002-05-26 05:55 andy | |
512 | ||
513 | * aclocal.m4, config.guess, config.sub, install-sh, missing, | |
514 | mkinstalldirs: | |
515 | ||
516 | More stuff that Automake requires. | |
517 | ||
518 | 2002-05-26 05:54 andy | |
519 | ||
520 | * Makefile.am: | |
521 | ||
522 | Makefile.am: | |
523 | Makefile.in is generated from here, and this controls which subdirs | |
524 | get checked for other Makefile.am. | |
525 | ||
526 | 2002-05-26 05:53 andy | |
527 | ||
528 | * Makefile.in: | |
529 | ||
530 | Makefile.in: | |
531 | Oops, but we need to generate it and distribute it. | |
532 | ||
533 | 2002-05-26 05:53 andy | |
534 | ||
535 | * Makefile.in: | |
536 | ||
537 | Makefile.in: | |
538 | Now autogenerated from Makefile.am by Automake. | |
539 | ||
540 | 2002-05-26 05:51 andy | |
541 | ||
542 | * configure, configure.in: | |
543 | ||
544 | configure.in: | |
545 | Converted to use Automake. Also edit this file to set version | |
546 | number. | |
547 | ||
548 | 2002-05-26 05:50 andy | |
549 | ||
550 | * version.h: | |
551 | ||
552 | This file no longer needed. | |
553 | ||
554 | 2002-05-26 05:50 andy | |
555 | ||
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: | |
559 | ||
560 | Sources moved to src/ dir. | |
561 | ||
562 | 2002-05-25 16:19 andy | |
563 | ||
564 | * irc.c: | |
565 | ||
566 | irc.c: | |
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.. | |
570 | ||
571 | 2002-05-23 18:04 andy | |
572 | ||
573 | * Makefile.in: | |
574 | ||
575 | Makefile.in: | |
576 | bopchecker needs compat stuff too. | |
577 | ||
578 | 2002-05-23 05:22 andy | |
579 | ||
580 | * Makefile.in, README, compat.c, compat.h, configure, configure.in, | |
581 | irc.c, setup.h.in: | |
582 | ||
583 | Merged SOLARIS_PORT branch. | |
584 | ||
585 | 2002-05-23 05:13 andy | |
586 | ||
587 | * Makefile.in, README, configure, configure.in: | |
588 | ||
589 | configure.in, configure: | |
590 | Check if libsocket and libnsl are needed (like on Solaris!) | |
591 | ||
592 | Makefile.in: | |
593 | Placeholders for libs | |
594 | ||
595 | 2002-05-23 04:31 andy | |
596 | ||
597 | * compat.c, compat.h, configure, configure.in, setup.h.in: | |
598 | ||
599 | configure.in, configure, setup.h.in: | |
600 | Check for inet_aton() | |
601 | ||
602 | compat.c, comapt.h: | |
603 | Provide our own inet_aton() if the system does not have one. | |
604 | ||
605 | 2002-05-23 02:27 andy | |
606 | ||
607 | * compat.c: | |
608 | ||
609 | file compat.c was initially added on branch SOLARIS_PORT. | |
610 | ||
611 | 2002-05-23 02:27 andy | |
612 | ||
613 | * Makefile.in, compat.c, configure, configure.in, irc.c, | |
614 | setup.h.in: | |
615 | ||
616 | Makefile.in, compat.c: | |
617 | Add compat.c, where compatability routines will go. | |
618 | ||
619 | configure.in, configure: | |
620 | Check for strings.h, Solaris seems to want to put index() there. | |
621 | ||
622 | irc.c: | |
623 | Include strings.h if we have it. | |
624 | ||
625 | 2002-05-23 01:29 andy | |
626 | ||
627 | * compat.h: | |
628 | ||
629 | file compat.h was initially added on branch SOLARIS_PORT. | |
630 | ||
631 | 2002-05-23 01:29 andy | |
632 | ||
633 | * compat.h, irc.c: | |
634 | ||
635 | compat.h: | |
636 | Header file for compatability stuff (duh). Solaris at least | |
637 | doesn't have INADDR_NONE. | |
638 | irc.c: | |
639 | Include compat.h. | |
640 | ||
641 | 2002-05-21 06:02 strtok | |
642 | ||
643 | * ChangeLog: | |
644 | ||
645 | ||
646 | ChangeLog: Updated for version 2.3 release | |
647 | ||
648 | 2002-05-17 20:31 strtok | |
08a8a7e6 | 649 | |
b02fd9d1 | 650 | * scan.c, stats.c: |
08a8a7e6 | 651 | |
b02fd9d1 | 652 | |
653 | scan.c: Ubermicro optomization on flagging STATE_CLOSED on all connections | |
654 | with the same IP by eliminating use of strcmp. | |
655 | ||
656 | stats.c: Output file descriptor use in stats now. This will be useful for | |
657 | larger servers running bopm. | |
658 | ||
84cee4bb | 659 | 2002-05-14 23:07 strtok |
b02fd9d1 | 660 | |
661 | * version.h: | |
662 | ||
663 | ||
664 | version.h: Version 2.3 now | |
665 | ||
84cee4bb | 666 | 2002-05-14 12:38 andy |
667 | ||
668 | * contrib/crontab/bopmchk: | |
669 | ||
670 | Useful crontab from skold <skold@habber.net> | |
671 | ||
672 | 2002-05-14 04:37 strtok | |
b02fd9d1 | 673 | |
674 | * bopm.conf.sample: | |
675 | ||
676 | ||
677 | bopm.conf.sample: Extra clues for the idiots changing their KLINE_COMMAND | |
678 | without knowing what they're doing. | |
679 | ||
84cee4bb | 680 | 2002-05-14 01:59 strtok |
b02fd9d1 | 681 | |
682 | * scan.c, stats.c: | |
683 | ||
684 | ||
685 | scan.c: Fixed problem with FD_USE being decremented when it shouldn't have been | |
686 | ||
84cee4bb | 687 | 2002-05-12 19:43 strtok |
b02fd9d1 | 688 | |
689 | * scan.c: | |
9f5ed54c | 690 | |
b02fd9d1 | 691 | |
692 | scan.c: Fixed logic error when adding fd's to the poll array | |
693 | ||
84cee4bb | 694 | 2002-05-06 23:39 strtok |
b02fd9d1 | 695 | |
696 | * ChangeLog: | |
9f5ed54c | 697 | |
b02fd9d1 | 698 | |
699 | ChangeLog: Updated changelog for 2.2r2 | |
700 | ||
84cee4bb | 701 | 2002-05-06 23:29 strtok |
b02fd9d1 | 702 | |
703 | * irc.c: | |
704 | ||
705 | ||
706 | irc.c: Caught any NULL returns from strtok in the connect handlers. | |
707 | ||
84cee4bb | 708 | 2002-05-06 23:09 andy |
9f5ed54c | 709 | |
b02fd9d1 | 710 | * irc.c: |
711 | ||
712 | irc.c: | |
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. | |
715 | ||
84cee4bb | 716 | 2002-05-06 20:17 strtok |
b02fd9d1 | 717 | |
718 | * irc.c: | |
719 | ||
720 | ||
721 | irc.c: With debug level >= 1, with unknown connect() error print strerror | |
722 | ||
84cee4bb | 723 | 2002-05-06 19:14 strtok |
b02fd9d1 | 724 | |
725 | * ChangeLog: | |
726 | ||
727 | ||
728 | ChangeLog: Updated changelog for 2.2r1 | |
729 | ||
84cee4bb | 730 | 2002-05-06 19:10 strtok |
b02fd9d1 | 731 | |
732 | * ChangeLog: | |
733 | ||
734 | ||
735 | ChangeLog: | |
736 | Updated changelog for 2.2r1 | |
737 | ||
84cee4bb | 738 | 2002-05-06 14:00 dgl |
b02fd9d1 | 739 | |
740 | * main.c: | |
741 | ||
742 | Fixing -c param bug (which has broken -c option since -v option was added (rel 1.23)). | |
743 | TheShadow reported this in #blitzed | |
744 | ||
84cee4bb | 745 | 2002-05-05 04:16 andy |
b02fd9d1 | 746 | |
747 | * ChangeLog: | |
748 | ||
749 | ChangeLog: | |
750 | Updated. | |
751 | ||
84cee4bb | 752 | 2002-05-05 02:54 andy |
7765bf7a | 753 | |
754 | * main.c: | |
755 | ||
756 | main.c: | |
757 | Apparently using _exit is the correct thing to do. | |
758 | ||
84cee4bb | 759 | 2002-05-04 19:48 strtok |
7765bf7a | 760 | |
761 | * bopm.conf.sample, config.c, extern.h, scan.c: | |
762 | ||
763 | ||
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). | |
766 | ||
84cee4bb | 767 | 2002-05-01 18:44 andy |
7765bf7a | 768 | |
769 | * irc.c, bopm.conf.sample, config.c, extern.h: | |
770 | ||
771 | irc.c, config.c, extern.h: | |
772 | Added config option REALNAME which allows bopm's IRC "realname" to | |
773 | be configured. | |
774 | ||
775 | bopm.conf.sample: | |
776 | Sample REALNAME | |
777 | ||
84cee4bb | 778 | 2002-05-01 17:58 andy |
7765bf7a | 779 | |
780 | * stats.c, stats.h: | |
781 | ||
782 | stats.c, stats.h: | |
783 | Reformatiing | |
784 | ||
84cee4bb | 785 | 2002-05-01 05:01 andy |
7765bf7a | 786 | |
787 | * scan.c, scan.h: | |
788 | ||
789 | scan.c, scan.h: | |
790 | Reformatting. | |
791 | ||
84cee4bb | 792 | 2002-05-01 00:24 andy |
7765bf7a | 793 | |
794 | * irc.c, opercmd.c, opercmd.h: | |
795 | ||
796 | opercmd.c: | |
797 | Reformatting. | |
798 | opercmd.h: | |
799 | Reformatting, moved some global variable declarations to opercmd.c | |
800 | irc.c: | |
801 | Needed an extern to get access to LAST_REAP_TIME. | |
802 | ||
84cee4bb | 803 | 2002-04-30 23:41 andy |
7765bf7a | 804 | |
805 | * misc.c, misc.h: | |
806 | ||
807 | misc.c, misc.h: | |
808 | Reformatting. | |
809 | ||
84cee4bb | 810 | 2002-04-30 22:53 andy |
7765bf7a | 811 | |
812 | * main.c: | |
813 | ||
814 | main.c: | |
815 | Reformatting. | |
816 | ||
84cee4bb | 817 | 2002-04-30 21:14 andy |
7765bf7a | 818 | |
819 | * log.c, log.h: | |
820 | ||
821 | log.c, log.h: | |
822 | Reformatting. | |
823 | ||
84cee4bb | 824 | 2002-04-30 04:01 andy |
7765bf7a | 825 | |
826 | * irc.c, irc.h: | |
827 | ||
828 | irc.c: | |
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. | |
832 | irc.h: | |
833 | Code cleanups. | |
834 | ||
84cee4bb | 835 | 2002-04-30 01:37 andy |
7765bf7a | 836 | |
837 | * dnsbl.c, extern.h, log.c, misc.c, opercmd.c, stats.c: | |
838 | ||
839 | extern.h: | |
840 | Code format cleanup. Move include of config.h to files that need | |
841 | it. | |
842 | ||
843 | dnsbl.c, log.c, misc.c, opercmd.c, stats.c: | |
844 | Add include for config.h. | |
845 | ||
84cee4bb | 846 | 2002-04-29 18:10 strtok |
7765bf7a | 847 | |
848 | * bopm.conf.sample: | |
849 | ||
850 | ||
851 | bopm.conf.sample: Fixed TARGET_STRING sample | |
852 | ||
84cee4bb | 853 | 2002-04-29 17:17 andy |
7765bf7a | 854 | |
855 | * dnsbl.c, dnsbl.h: | |
856 | ||
857 | dnsbl.c: | |
858 | Formatting cleanup & added more descriptive error message when | |
859 | gethostbyname() fails (is man page wrong?) | |
860 | ||
861 | dnsbl.h: | |
862 | Formatting cleanup. | |
863 | ||
84cee4bb | 864 | 2002-04-29 15:20 andy |
7765bf7a | 865 | |
866 | * config.c: | |
867 | ||
868 | config.c: | |
869 | Doh, KEYS is not required for normal operation. | |
870 | ||
84cee4bb | 871 | 2002-04-29 15:18 andy |
7765bf7a | 872 | |
873 | * bopchecker.h: | |
874 | ||
875 | bopchecker.h: | |
876 | Open cisco router bit mask. | |
877 | ||
84cee4bb | 878 | 2002-04-29 15:15 andy |
7765bf7a | 879 | |
880 | * config.c, config.h: | |
881 | ||
882 | config.c: | |
883 | Tidied up indentation. | |
884 | ||
885 | Added static linkage for all private config functions. | |
886 | ||
887 | Added add_to_list() to simplify adding values to configuration | |
888 | lists. | |
889 | ||
890 | Added free_list() to simplify clearing out each config list at | |
891 | startup/rehash. | |
892 | ||
893 | Added add_to_config() to simplify adding a key/value pair to our | |
894 | config hash. | |
895 | ||
896 | config.h: | |
897 | Neater indentation, some prototypes moved to config.c. | |
898 | ||
84cee4bb | 899 | 2002-04-29 06:57 strtok |
7765bf7a | 900 | |
901 | * scan.c: | |
902 | ||
903 | ||
904 | scan.c: Uncommented CISCO from scan table as efnet reports it is working | |
905 | properly | |
906 | ||
84cee4bb | 907 | 2002-04-28 19:20 andy |
7765bf7a | 908 | |
909 | * bopchecker.c, bopchecker.h: | |
910 | ||
911 | Code clean up. | |
912 | ||
84cee4bb | 913 | 2002-04-28 18:35 andy |
7765bf7a | 914 | |
915 | * bopchecker.c, config.c, extern.h, irc.c, main.c, misc.c, | |
916 | opercmd.c, opercmd.h, scan.c, stats.c: | |
917 | ||
918 | bopchecker.c: | |
919 | Hacks to avoid unused variable warnings. | |
920 | config.c: | |
921 | Code cleanups. | |
922 | extern.h: | |
923 | Code cleanups. | |
924 | irc.c: | |
925 | Code cleanups. | |
926 | main.c: | |
927 | Merged singal handlers into one function, code cleanups. | |
928 | misc.c: | |
929 | Code cleanups. | |
930 | opercmd.c, opercmd.h: | |
931 | 2nd parameter of checkoper was never used. | |
932 | scan.c: | |
933 | Code cleanups. | |
934 | stats.c: | |
935 | Code cleanups. | |
936 | ||
84cee4bb | 937 | 2002-04-26 23:20 andy |
7765bf7a | 938 | |
939 | * bopm.conf.sample: | |
940 | ||
941 | bopm.conf.sample: | |
942 | Better example config suggestion from Erik / Andrew Church. | |
943 | ||
84cee4bb | 944 | 2002-04-26 22:32 andy |
7765bf7a | 945 | |
946 | * bopm.conf.sample, config.c, extern.h, irc.c: | |
947 | ||
948 | config.c, bopm.conf.sample: | |
949 | Added KEYS config parameter. | |
950 | ||
951 | irc.c: | |
952 | Added support for channel keys, plus helper function get_chan_key() | |
953 | which looks up the correct key for a given channel. | |
954 | ||
84cee4bb | 955 | 2002-04-25 22:27 strtok |
7765bf7a | 956 | |
957 | * scan.c: | |
958 | ||
959 | ||
960 | scan.c: Commented HTTP 8000 out of the scan table, those who wish to scan | |
961 | on this port can easily uncomment it. | |
962 | ||
84cee4bb | 963 | 2002-04-25 07:24 strtok |
7765bf7a | 964 | |
965 | * scan.c: | |
966 | ||
967 | ||
968 | scan.c: Removed use of scan_del() where STATE_CLOSED should have been set | |
969 | instead. | |
970 | ||
84cee4bb | 971 | 2002-04-25 05:41 strtok |
7765bf7a | 972 | |
973 | * options.h, scan.c: | |
974 | ||
975 | ||
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. | |
978 | ||
84cee4bb | 979 | 2002-04-25 05:17 strtok |
7765bf7a | 980 | |
981 | * scan.c: | |
982 | ||
983 | ||
984 | scan.c: Fixed bug which caused freezing if data was virtually endless (reported | |
985 | by qurve/qeast | |
986 | ||
84cee4bb | 987 | 2002-04-25 03:42 strtok |
7765bf7a | 988 | |
989 | * scan.c: | |
990 | ||
991 | ||
992 | scan.c: Fixed scan_struct data bug where it tried to free data even if | |
993 | it wasn't malloc yet. | |
994 | ||
995 | scan.c: Commented out cisco and http port 8001 scanning, because servers will | |
996 | be using this commit live. | |
997 | ||
84cee4bb | 998 | 2002-04-24 12:43 andy |
7765bf7a | 999 | |
1000 | * bopm.conf.sample: | |
1001 | ||
1002 | bopm.conf.sample: | |
1003 | Less Blitzed-like pages from Tom Gilder <tom@blitzed.org> | |
1004 | ||
84cee4bb | 1005 | 2002-04-23 17:56 andy |
7765bf7a | 1006 | |
1007 | * irc.c, irc.h: | |
1008 | ||
1009 | irc.c: | |
1010 | Here's support for ultimate ircd. | |
1011 | ||
84cee4bb | 1012 | 2002-04-18 00:25 andy |
7765bf7a | 1013 | |
1014 | * README, main.c, options.h: | |
1015 | ||
1016 | main.c, options.h: | |
1017 | -v option from Harald Skoglund <harald@hekta.stud.iet.hist.no> | |
1018 | ||
1019 | README: | |
1020 | Documentation of command line options. | |
1021 | ||
84cee4bb | 1022 | 2002-04-17 23:16 andy |
7765bf7a | 1023 | |
1024 | * bopm.conf.sample: | |
1025 | ||
1026 | README: | |
1027 | Again some notes added for SCANPORT because lots of people are having a | |
1028 | hard time understanding what this is for. | |
1029 | ||
84cee4bb | 1030 | 2002-04-14 12:03 dgl |
7765bf7a | 1031 | |
1032 | * README: | |
1033 | ||
1034 | typo, the hybrid team didn't write math.[ch] :) | |
1035 | ||
84cee4bb | 1036 | 2002-04-11 05:56 andy |
7765bf7a | 1037 | |
1038 | * scan.c: | |
1039 | ||
1040 | scan.c: | |
1041 | So much call for HTTP scanning on ports 8000, 8001. Well, let's | |
1042 | try it for a while and see. | |
1043 | ||
84cee4bb | 1044 | 2002-04-04 03:32 andy |
7765bf7a | 1045 | |
1046 | * bopm.conf.sample: | |
1047 | ||
1048 | bopm.conf.sample: | |
1049 | Many people appear to be getting confused over this. | |
1050 | ||
84cee4bb | 1051 | 2002-03-31 20:33 andy |
7765bf7a | 1052 | |
1053 | * README: | |
1054 | ||
1055 | Strange Unrealism. | |
1056 | ||
84cee4bb | 1057 | 2002-03-31 06:31 andy |
7765bf7a | 1058 | |
1059 | * README: | |
1060 | ||
1061 | Mailman moved to a slightly simpler URL. | |
1062 | ||
84cee4bb | 1063 | 2002-03-21 17:23 andy |
7765bf7a | 1064 | |
1065 | * README: | |
1066 | ||
1067 | More IRCu notes from wunix <wu@wunix.org> | |
1068 | ||
84cee4bb | 1069 | 2002-03-19 13:25 andy |
7765bf7a | 1070 | |
1071 | * README: | |
1072 | ||
1073 | README: | |
1074 | Some compatibility notes from Erik Fears <strtok@softhome.net> | |
1075 | ||
84cee4bb | 1076 | 2002-03-03 21:49 andy |
7765bf7a | 1077 | |
1078 | * configure, configure.in: | |
1079 | ||
1080 | configure.in: | |
1081 | Added DNSBL begging text | |
1082 | ||
84cee4bb | 1083 | 2002-02-26 05:07 strtok |
7765bf7a | 1084 | |
1085 | * scan.c: | |
1086 | ||
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) | |
1089 | ||
84cee4bb | 1090 | 2002-02-25 07:16 strtok |
7765bf7a | 1091 | |
1092 | * scan.c: | |
1093 | ||
1094 | ||
1095 | scan.c: Cisco scanning now works | |
1096 | ||
84cee4bb | 1097 | 2002-02-25 07:08 strtok |
7765bf7a | 1098 | |
1099 | * version.h: | |
1100 | ||
1101 | version.h: Incremented version to 2.2 so we can identify any bopms that have cvs updated | |
1102 | ||
84cee4bb | 1103 | 2002-02-25 07:07 strtok |
7765bf7a | 1104 | |
1105 | * scan.c: | |
1106 | ||
1107 | scan.c: Actually send() data for cisco check now (oops) | |
1108 | ||
84cee4bb | 1109 | 2002-02-25 06:57 strtok |
7765bf7a | 1110 | |
1111 | * scan.c, scan.h: | |
1112 | ||
1113 | scan.c/scan.h: Added open cisco router scanning | |
1114 | ||
84cee4bb | 1115 | 2002-02-22 11:06 andy |
7765bf7a | 1116 | |
1117 | * README: | |
1118 | ||
1119 | README: | |
1120 | Credits for Collide. | |
1121 | ||
84cee4bb | 1122 | 2002-02-22 11:05 andy |
7765bf7a | 1123 | |
1124 | * irc.c, irc.h: | |
1125 | ||
1126 | irc.c: | |
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. | |
1131 | ||
1132 | do_trircd_connect() adds support for tr-ircd, which has a &connects | |
1133 | channel instead of a +c umode. | |
1134 | ||
84cee4bb | 1135 | 2002-02-19 23:29 andy |
7765bf7a | 1136 | |
1137 | * ChangeLog: | |
1138 | ||
1139 | ChangeLog: | |
1140 | Update dfor next release | |
1141 | ||
84cee4bb | 1142 | 2002-02-19 23:10 andy |
59ce8e30 | 1143 | |
1144 | * configure, configure.in: | |
1145 | ||
1146 | configure.in: | |
1147 | $ac_c deprecated | |
1148 | ||
84cee4bb | 1149 | 2002-02-19 23:04 andy |
59ce8e30 | 1150 | |
1151 | * configure, configure.in: | |
1152 | ||
1153 | configure.in: | |
1154 | Fix broken "echo -n" check | |
1155 | ||
84cee4bb | 1156 | 2002-02-19 23:00 andy |
59ce8e30 | 1157 | |
1158 | * configure, configure.in, setup.h.in: | |
1159 | ||
1160 | configure.in: | |
1161 | Fix sys/poll.h check | |
1162 | ||
84cee4bb | 1163 | 2002-02-19 22:57 andy |
59ce8e30 | 1164 | |
1165 | * acconfig.h, configure, configure.in, setup.h.in: | |
1166 | ||
1167 | configure.in: | |
1168 | Get rid of need for acconfig.h | |
1169 | acconfig.h: | |
1170 | No longer needed | |
1171 | ||
84cee4bb | 1172 | 2002-02-19 20:55 strtok |
59ce8e30 | 1173 | |
1174 | * version.h: | |
1175 | ||
1176 | version.h: Incremented version to 2.1 | |
1177 | ||
84cee4bb | 1178 | 2002-02-19 20:46 strtok |
59ce8e30 | 1179 | |
1180 | * scan.c: | |
1181 | ||
1182 | Fix for select() | |
1183 | ||
84cee4bb | 1184 | 2002-02-17 17:15 andy |
59ce8e30 | 1185 | |
1186 | * README: | |
1187 | ||
1188 | README: | |
1189 | Some credits we missed, oops. | |
1190 | ||
84cee4bb | 1191 | 2002-02-17 03:52 andy |
7765bf7a | 1192 | |
1193 | * ChangeLog: | |
1194 | ||
1195 | [no log message] | |
1196 | ||
84cee4bb | 1197 | 2002-02-17 02:35 andy |
78cd5846 | 1198 | |
1199 | * irc.c: | |
1200 | ||
1201 | irc.c: | |
1202 | Doh! Need to check we have enough tokens before blindly accessing | |
1203 | tokens[6]. | |
1204 | ||
84cee4bb | 1205 | 2002-02-16 18:44 andy |
7765bf7a | 1206 | |
1207 | * ChangeLog: | |
1208 | ||
1209 | [no log message] | |
1210 | ||
84cee4bb | 1211 | 2002-02-16 18:43 andy |
2a9366df | 1212 | |
1213 | * configure, configure.in: | |
1214 | ||
1215 | configure.in: | |
1216 | Added a bit about using GNU Make. | |
1217 | ||
84cee4bb | 1218 | 2002-02-16 18:37 andy |
7765bf7a | 1219 | |
1220 | * ChangeLog: | |
1221 | ||
1222 | [no log message] | |
1223 | ||
84cee4bb | 1224 | 2002-02-16 18:36 strtok |
53f362d2 | 1225 | |
1226 | * config.c: | |
1227 | ||
1228 | config.c: Fixed -> typo | |
1229 | ||
84cee4bb | 1230 | 2002-02-16 18:35 strtok |
53f362d2 | 1231 | |
1232 | * config.c: | |
1233 | ||
1234 | config.c: DEBUG level 3 now also prints out LISTS with other config elements | |
1235 | ||
84cee4bb | 1236 | 2002-02-16 18:17 andy |
7765bf7a | 1237 | |
1238 | * ChangeLog: | |
1239 | ||
1240 | ChangeLog: | |
1241 | Idea - let's remove changes to the changelog, from the changelog. :) | |
1242 | ||
84cee4bb | 1243 | 2002-02-16 18:16 andy |
7765bf7a | 1244 | |
1245 | * ChangeLog: | |
1246 | ||
1247 | ChangeLog: | |
1248 | Updated again.. | |
1249 | ||
84cee4bb | 1250 | 2002-02-16 06:18 strtok |
6cb0b5eb | 1251 | |
1252 | * config.c: | |
1253 | ||
1254 | Added code to free TYPE_LIST in config.c (someone forgot this!) | |
1255 | ||
84cee4bb | 1256 | 2002-02-16 03:23 andy |
7765bf7a | 1257 | |
1258 | * ChangeLog: | |
1259 | ||
1260 | ChangeLog: | |
1261 | Updated for next release. | |
1262 | ||
84cee4bb | 1263 | 2002-02-15 23:21 andy |
d5c4cd3c | 1264 | |
1265 | * bopm.conf.sample: | |
1266 | ||
1267 | bopm.conf.sample: | |
1268 | Added docs and examples for EXCLUDE option. | |
1269 | ||
84cee4bb | 1270 | 2002-02-15 04:57 andy |
d5c4cd3c | 1271 | |
1272 | * Makefile.in, config.c, config.h, extern.h, irc.c, irc.h, match.c, | |
1273 | match.h, scan.c: | |
1274 | ||
1275 | ||
1276 | match.c, match.h: | |
1277 | IRC wildcard matching functions from dancer-hybrid. match() | |
1278 | handles string matching and collapse() shortens a wildcard string | |
1279 | as far as possible. | |
1280 | ||
1281 | config.h: | |
1282 | Added new config type; TYPE_LIST. Multiple parameters of this | |
1283 | type are put into a linked list. | |
1284 | ||
1285 | Added missing config_memfail() prototype. | |
1286 | ||
1287 | config.c: | |
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 | |
1291 | scanned. | |
1292 | ||
1293 | Makefile.in: | |
1294 | Added new objects and dependencies for match.[cho] | |
1295 | ||
1296 | irc.c, irc.h: | |
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 | |
1300 | proxy scan. | |
1301 | ||
1302 | The above patch was contributed by Rob Levin/lilo @ OPN | |
1303 | ||
84cee4bb | 1304 | 2002-02-15 00:56 andy |
d5c4cd3c | 1305 | |
1306 | * Makefile.in, misc.c, opercmd.c, scan.c, stats.c: | |
1307 | ||
1308 | Makefile.in, misc.c, stats.c: | |
1309 | Forogt to include the autoconfiscated header | |
1310 | ||
1311 | opercmd.c, scan.c: | |
1312 | Small tidyup. | |
1313 | ||
84cee4bb | 1314 | 2002-02-14 05:56 andy |
d5c4cd3c | 1315 | |
1316 | * INSTALL, README: | |
1317 | ||
1318 | README: | |
1319 | Updated mailing list info, credits, etc. | |
1320 | INSTALL: | |
1321 | Largely rewritten installation instructions and a blurb about | |
1322 | TARGET_STRING | |
1323 | ||
84cee4bb | 1324 | 2002-02-14 05:17 andy |
d5c4cd3c | 1325 | |
1326 | * acconfig.h, configure, configure.in, irc.c, options.h, | |
1327 | setup.h.in: | |
1328 | ||
1329 | configure.in, options.h: | |
1330 | Added configure option --with-unreal to replace the UNREAL | |
1331 | definition that was in options.h | |
1332 | acconfig.h: | |
1333 | Make autoheader work for --with-unreal | |
1334 | irc.c: | |
1335 | WITH_UNREAL instead of UNREAL | |
1336 | ||
84cee4bb | 1337 | 2002-02-14 05:06 andy |
d5c4cd3c | 1338 | |
1339 | * acconfig.h, configure, configure.in, setup.h.in: | |
1340 | ||
1341 | configure.in: | |
1342 | Added support for --with-select configure option so that people | |
1343 | can force use of select() whether they have poll() or not. | |
1344 | acconfig.h: | |
1345 | This makes autoheader work (which is used to make setup.h.in from | |
1346 | configure.in) now that WITH_SELECT is added. | |
1347 | ||
84cee4bb | 1348 | 2002-02-14 01:51 andy |
d5c4cd3c | 1349 | |
1350 | * configure, configure.in, options.h, scan.c, setup.h.in: | |
1351 | ||
1352 | configure.in: | |
1353 | Check for sys/poll.h | |
1354 | options.h: | |
1355 | We'll use poll() if sys/poll.h was found | |
1356 | scan.c: | |
1357 | Alter for autoconfiscated sys/poll.h check. | |
1358 | ||
84cee4bb | 1359 | 2002-02-13 23:52 andy |
d5c4cd3c | 1360 | |
1361 | * configure, configure.in, dnsbl.c, setup.h.in: | |
1362 | ||
1363 | configure.in: | |
1364 | Add a check for bigendian systems. | |
1365 | dnsbl.c: | |
1366 | If we're on a bigendian system this'll be backwards. | |
1367 | ||
84cee4bb | 1368 | 2002-02-13 22:28 andy |
d5c4cd3c | 1369 | |
1370 | * Makefile.in, configure: | |
1371 | ||
1372 | OK, so we do need to distribute configure. | |
1373 | ||
84cee4bb | 1374 | 2002-02-13 22:15 strtok |
d5c4cd3c | 1375 | |
1376 | * scan.c, scan.h: | |
1377 | ||
1378 | Added byte counter to teach connection, and adjusted manual check output to be be more informative | |
1379 | ||
84cee4bb | 1380 | 2002-02-13 20:50 andy |
d5c4cd3c | 1381 | |
1382 | * bopchecker.c, irc.c, scan.c: | |
1383 | ||
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) | |
1388 | ||
84cee4bb | 1389 | 2002-02-13 20:32 andy |
d5c4cd3c | 1390 | |
1391 | * bopchecker.c: | |
1392 | ||
1393 | bopchecker.c: | |
1394 | Another STDC_HEADERS check | |
1395 | ||
84cee4bb | 1396 | 2002-02-13 20:28 andy |
d5c4cd3c | 1397 | |
1398 | * config.c: | |
1399 | ||
1400 | config.c: | |
1401 | Typo fix. | |
1402 | ||
84cee4bb | 1403 | 2002-02-13 20:26 andy |
d5c4cd3c | 1404 | |
1405 | * Makefile.in, config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c, | |
1406 | scan.c: | |
1407 | ||
1408 | Makefile.in: | |
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. | |
1412 | ||
1413 | config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c, scan.c: | |
1414 | Take account of AC_HEADER_STDC check. | |
1415 | ||
84cee4bb | 1416 | 2002-02-13 20:12 andy |
d5c4cd3c | 1417 | |
1418 | * main.c: | |
1419 | ||
1420 | main.c: | |
1421 | Handle AC_TYPE_SIGNAL check. | |
1422 | ||
84cee4bb | 1423 | 2002-02-13 19:58 andy |
d5c4cd3c | 1424 | |
1425 | * setup.h.in: | |
1426 | ||
1427 | setup.h.in: | |
1428 | /me reads as far as "autoheader" in the autoconf manual. | |
1429 | ||
84cee4bb | 1430 | 2002-02-13 19:24 andy |
d5c4cd3c | 1431 | |
1432 | * Makefile, Makefile.in, configure.in, setup.h.in: | |
1433 | ||
1434 | First stab at autoconfiscation (euheue) | |
1435 | ||
84cee4bb | 1436 | 2002-02-13 16:51 andy |
d5c4cd3c | 1437 | |
1438 | * bopchecker.c: | |
1439 | ||
1440 | bopchecker.c: | |
1441 | bopchecker needs a target string as well now. | |
1442 | ||
84cee4bb | 1443 | 2002-02-13 05:40 strtok |
d5c4cd3c | 1444 | |
1445 | * scan.c: | |
1446 | ||
1447 | Pad scan_struct->data + 1 byte on malloc to leave room for null terminator (was causing buffer overrun) | |
1448 | ||
84cee4bb | 1449 | 2002-02-12 23:02 andy |
d5c4cd3c | 1450 | |
1451 | * config.c: | |
1452 | ||
1453 | config.c: | |
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. | |
1457 | ||
84cee4bb | 1458 | 2002-02-12 21:42 strtok |
d5c4cd3c | 1459 | |
1460 | * version.h: | |
1461 | ||
1462 | VERSION for this release will be 2.0 | |
1463 | ||
84cee4bb | 1464 | 2002-02-12 21:17 strtok |
d5c4cd3c | 1465 | |
1466 | * scan.c: | |
1467 | ||
1468 | Wingate write function now actually sends data | |
1469 | ||
84cee4bb | 1470 | 2002-02-12 21:07 strtok |
d5c4cd3c | 1471 | |
1472 | * scan.c, scan.h: | |
1473 | ||
1474 | Cleaned out code no longer needed | |
1475 | ||
84cee4bb | 1476 | 2002-02-12 20:57 strtok |
d5c4cd3c | 1477 | |
1478 | * bopm.conf.sample: | |
1479 | ||
1480 | Added TARGET_STRING to config file | |
1481 | ||
84cee4bb | 1482 | 2002-02-12 20:54 strtok |
d5c4cd3c | 1483 | |
1484 | * config.c, extern.h, options.h, scan.c, scan.h: | |
1485 | ||
1486 | No longer use individual read functions for each protocol, now search for | |
1487 | a TARGET_STRING within the data. (set in conf) | |
1488 | ||
84cee4bb | 1489 | 2002-02-12 19:19 strtok |
d5c4cd3c | 1490 | |
1491 | * bopm.conf.sample, options.h, scan.c, scan.h: | |
1492 | ||
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 | |
1496 | ||
84cee4bb | 1497 | 2002-02-12 06:10 strtok |
d5c4cd3c | 1498 | |
1499 | * bopm.conf.sample, config.c, extern.h, misc.c, scan.c, scan.h: | |
1500 | ||
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. | |
1507 | ||
84cee4bb | 1508 | 2002-02-10 15:37 andy |
d5c4cd3c | 1509 | |
1510 | * README: | |
1511 | ||
1512 | README: | |
1513 | Credits for recent patches. | |
1514 | ||
84cee4bb | 1515 | 2002-02-10 15:25 andy |
d5c4cd3c | 1516 | |
1517 | * scan.c: | |
1518 | ||
1519 | scan.c: | |
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. | |
1523 | ||
84cee4bb | 1524 | 2002-02-10 14:34 andy |
d5c4cd3c | 1525 | |
1526 | * irc.c, irc.h, main.c: | |
1527 | ||
1528 | irc.c: | |
1529 | irc.h: | |
1530 | Added a MSGLEN #define so that networks which use different sized | |
1531 | IRC buffers can be made to work easily. | |
1532 | ||
1533 | main.c: | |
1534 | Changed umask to something more sensible. | |
1535 | ||
1536 | Both the above from shasta@irc.pl. | |
1537 | ||
84cee4bb | 1538 | 2002-02-07 17:23 andy |
d5c4cd3c | 1539 | |
1540 | * bopm.conf.sample, dnsbl.c: | |
1541 | ||
1542 | 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 | |
1546 | ||
1547 | bopm.conf.sample: | |
1548 | Gotcha about putting your own dot at the end of the zone. | |
1549 | ||
84cee4bb | 1550 | 2002-02-04 22:39 andy |
d5c4cd3c | 1551 | |
1552 | * bopchecker.c: | |
1553 | ||
1554 | bopchecker.c: | |
1555 | Extra #include needed, reported by shasta@irc.pl | |
1556 | ||
84cee4bb | 1557 | 2002-02-04 18:12 andy |
d5c4cd3c | 1558 | |
1559 | * stats.c: | |
1560 | ||
1561 | stats.c: | |
1562 | Added simple connects/minute reading. | |
1563 | ||
84cee4bb | 1564 | 2002-02-01 06:17 andy |
7765bf7a | 1565 | |
1566 | * ChangeLog: | |
1567 | ||
1568 | ChangeLog: | |
1569 | Updated for next realese. | |
1570 | ||
84cee4bb | 1571 | 2002-02-01 06:16 andy |
553744bf | 1572 | |
1573 | * README: | |
1574 | ||
1575 | README: | |
1576 | Added note about Unreal 3.2 support. | |
1577 | ||
84cee4bb | 1578 | 2002-02-01 05:57 andy |
553744bf | 1579 | |
1580 | * Makefile: | |
1581 | ||
1582 | Makefile: | |
1583 | irc.o depends on options.h | |
1584 | ||
84cee4bb | 1585 | 2002-02-01 05:08 andy |
553744bf | 1586 | |
1587 | * README: | |
1588 | ||
1589 | README: | |
1590 | Credits to locksmith for his help. | |
1591 | ||
84cee4bb | 1592 | 2002-02-01 04:40 andy |
553744bf | 1593 | |
1594 | * config.c: | |
1595 | ||
1596 | config.c: | |
1597 | Possible stupid error with calculating size of config hash. | |
1598 | ||
84cee4bb | 1599 | 2002-01-31 06:00 strtok |
553744bf | 1600 | |
1601 | * irc.c: | |
1602 | ||
1603 | irc.c: Last commit had an odd paste from vim (???) | |
1604 | ||
84cee4bb | 1605 | 2002-01-31 05:38 strtok |
553744bf | 1606 | |
1607 | * config.c, irc.c, scan.h: | |
1608 | ||
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 | |
1612 | ||
84cee4bb | 1613 | 2002-01-30 23:55 andy |
553744bf | 1614 | |
1615 | * irc.c: | |
1616 | ||
1617 | irc.c: | |
1618 | Some ircd's (Xnet and others?) don't send +c notices with the server as | |
1619 | the source. | |
1620 | ||
84cee4bb | 1621 | 2002-01-29 17:33 andy |
7765bf7a | 1622 | |
1623 | * ChangeLog: | |
1624 | ||
1625 | ChangeLog: | |
1626 | Updated for next release. | |
1627 | ||
84cee4bb | 1628 | 2002-01-29 17:31 andy |
22c6ee45 | 1629 | |
1630 | * config.c: | |
1631 | ||
1632 | config.c: | |
1633 | Now we've added a zero element on the config hash we need to adjust | |
1634 | the sizes.. | |
1635 | ||
84cee4bb | 1636 | 2002-01-29 01:49 strtok |
22c6ee45 | 1637 | |
1638 | * README: | |
1639 | ||
1640 | README: Added codebase specific compatibility (those tested) | |
1641 | ||
84cee4bb | 1642 | 2002-01-29 01:46 andy |
7765bf7a | 1643 | |
1644 | * ChangeLog: | |
1645 | ||
1646 | ChangeLog: | |
1647 | Missed a late commit. | |
1648 | ||
84cee4bb | 1649 | 2002-01-29 01:45 andy |
761bbbd3 | 1650 | |
1651 | * bopm.conf.sample: | |
1652 | ||
1653 | bopm.conf.sample: | |
1654 | Added suggestion from Sotiris Tsimbonis to make ti a bit more | |
1655 | obvious that a temporary KLINE should be used. | |
1656 | ||
84cee4bb | 1657 | 2002-01-29 01:25 andy |
7765bf7a | 1658 | |
1659 | * ChangeLog: | |
1660 | ||
1661 | ChangeLog: | |
1662 | Updated ChangeLog for 1.1 release. | |
1663 | ||
84cee4bb | 1664 | 2002-01-29 01:21 strtok |
a3f1312f | 1665 | |
1666 | * version.h: | |
1667 | ||
1668 | Version.h: Now 1.1 | |
1669 | ||
84cee4bb | 1670 | 2002-01-29 00:23 andy |
a3f1312f | 1671 | |
1672 | * bopchecker.c, bopchecker.h, config.c: | |
1673 | ||
1674 | bopchecker.c: | |
1675 | Some reorganisation. | |
1676 | ||
1677 | "req" field of config hash is now zero'd for all but the parameters | |
1678 | we need for bopchecker to operate. | |
1679 | ||
1680 | Used a sleep(1) to reduce CPU usage. | |
1681 | ||
1682 | bopchecker.h: | |
1683 | Exit values have changed again! 0 and 1 are already in use within | |
1684 | bopm, so now 15-255 are reserved for bopchecker. | |
1685 | ||
1686 | HTTP = 16 | |
1687 | WinGate = 32 | |
1688 | SOCKS4 = 64 | |
1689 | SOCKS5 = 128 | |
1690 | ||
1691 | config.c: | |
1692 | Terminated the config hash with a zero'd entry so that it is easy | |
1693 | to tell where it ends. | |
1694 | ||
84cee4bb | 1695 | 2002-01-29 00:15 strtok |
a3f1312f | 1696 | |
1697 | * README, config.c: | |
1698 | ||
1699 | README: Added rehash instructions | |
1700 | ||
84cee4bb | 1701 | 2002-01-28 01:37 andy |
a3f1312f | 1702 | |
1703 | * README: | |
1704 | ||
1705 | README: | |
1706 | Credits for PASSWORD option | |
1707 | ||
84cee4bb | 1708 | 2002-01-28 01:33 andy |
a3f1312f | 1709 | |
1710 | * bopm.conf.sample, config.c, extern.h, irc.c: | |
1711 | ||
1712 | config.c, extern.h: | |
1713 | Add PASSWORD config option. | |
1714 | irc.c: | |
1715 | Use PASSWORD if supplied. | |
1716 | bopm.conf.sample: | |
1717 | Document PASSWORD, fix typo on SERVER | |
1718 | ||
84cee4bb | 1719 | 2002-01-28 00:18 strtok |
a3f1312f | 1720 | |
1721 | * config.c, config.h: | |
1722 | ||
1723 | config.c/config.h: BOPM now exits if 'required' configuration parameters | |
1724 | are not set. | |
1725 | ||
84cee4bb | 1726 | 2002-01-27 14:17 andy |
a3f1312f | 1727 | |
1728 | * bopchecker.c, bopchecker.h: | |
1729 | ||
1730 | bopchecker.h: | |
1731 | Added bitmasks for the types of proxy. HTTP is 1, Wingate 2, | |
1732 | SOCKS4 is 4 and SOCKS5 8. | |
1733 | ||
1734 | bopchecker.c: | |
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! | |
1739 | ||
84cee4bb | 1740 | 2002-01-27 04:23 strtok |
a3f1312f | 1741 | |
1742 | * irc.c: | |
1743 | ||
1744 | irc.c: Fixed segfault if nickserv ident isnt defined in conf | |
1745 | ||
84cee4bb | 1746 | 2002-01-26 19:17 strtok |
a3f1312f | 1747 | |
1748 | * config.c: | |
1749 | ||
1750 | config.c: Replace C++ comment with C style comment (oops) | |
1751 | ||
84cee4bb | 1752 | 2002-01-25 22:58 andy |
a3f1312f | 1753 | |
1754 | * bopm.conf.sample: | |
1755 | ||
1756 | bopm.conf.sample: | |
1757 | Remove Blitzed address because of people sending us reports without | |
1758 | contacting us. | |
1759 | ||
84cee4bb | 1760 | 2002-01-25 22:02 andy |
a3f1312f | 1761 | |
1762 | * scan.c: | |
1763 | ||
1764 | scan.c: Suggestion from Sotiris Tsimbonis that details go to channels | |
1765 | ||
84cee4bb | 1766 | 2002-01-25 21:14 andy |
a3f1312f | 1767 | |
1768 | * README, bopm.conf.sample, dnsbl.c: | |
1769 | ||
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 | |
1773 | ||
84cee4bb | 1774 | 2002-01-25 15:27 andy |
a3f1312f | 1775 | |
1776 | * irc.c: | |
1777 | ||
1778 | irc.c: support & channels, bug found by Sotiris Tsimbonis <stsimb@irc.gr>. | |
1779 | ||
84cee4bb | 1780 | 2002-01-24 21:54 strtok |
a3f1312f | 1781 | |
1782 | * INSTALL: | |
1783 | ||
1784 | INSTALL: Updated INSTALL file to include information about options.h | |
1785 | ||
84cee4bb | 1786 | 2002-01-24 21:53 strtok |
a3f1312f | 1787 | |
1788 | * irc.c, options.h: | |
1789 | ||
1790 | irc.c/options.h: Added support for unreal ircds | |
1791 | ||
84cee4bb | 1792 | 2002-01-24 17:40 strtok |
a3f1312f | 1793 | |
1794 | * README: | |
1795 | ||
1796 | README: Added hybrid compatibility to README. | |
1797 | ||
84cee4bb | 1798 | 2002-01-24 10:41 andy |
a3f1312f | 1799 | |
1800 | * bopm.conf.sample, config.c, extern.h, irc.c: | |
1801 | ||
1802 | Added OPER_MODES config option to specify what modes the bopm will set on | |
1803 | itself after opering up. | |
1804 | ||
84cee4bb | 1805 | 2002-01-24 06:56 andy |
a3f1312f | 1806 | |
1807 | * bopchecker.c: | |
1808 | ||
1809 | bopchecker needs to time out too, doh. | |
1810 | ||
84cee4bb | 1811 | 2002-01-24 06:18 andy |
a3f1312f | 1812 | |
1813 | * extern.h: | |
1814 | ||
1815 | Remove CONF_PING, a config option that never was. | |
1816 | ||
84cee4bb | 1817 | 2002-01-24 06:07 andy |
a3f1312f | 1818 | |
1819 | * INSTALL, README, bopchecker.c, extern.h, irc.c, main.c, | |
1820 | options.h: | |
1821 | ||
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. | |
1826 | ||
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 | |
1829 | help). | |
1830 | ||
1831 | bopchecker now takes the -c option also, in the same way as bopm. | |
1832 | ||
84cee4bb | 1833 | 2002-01-23 04:58 strtok |
7765bf7a | 1834 | |
1835 | * ChangeLog: | |
1836 | ||
1837 | ChangeLog: It's 2002! | |
1838 | ||
84cee4bb | 1839 | 2002-01-22 21:44 strtok |
a3f1312f | 1840 | |
1841 | * bopm.conf.sample: | |
1842 | ||
1843 | bopm.conf.sample: Fixed typo | |
1844 | ||
84cee4bb | 1845 | 2002-01-22 19:09 strtok |
7765bf7a | 1846 | |
1847 | * ChangeLog: | |
1848 | ||
1849 | ChangeLog: Added changelog | |
1850 |