]> jfr.im git - irc/ircd-hybrid/bopm.git/log
irc/ircd-hybrid/bopm.git
21 years agoFixed missing ; in config-parser.y origin/LIBOPM
strtok [Sun, 22 Dec 2002 08:49:18 +0000 (08:49 +0000)] 
Fixed missing ; in config-parser.y
Added /* empty */ | to options{}, exempt{} and opm{} (shift errors?)

21 years agoAdded "scanlog" config directive, to log all scans to a specific file.
andy [Sun, 22 Dec 2002 07:22:20 +0000 (07:22 +0000)] 
Added "scanlog" config directive, to log all scans to a specific file.

21 years agoA example config suited to Blitzed admins.
andy [Sun, 22 Dec 2002 07:19:50 +0000 (07:19 +0000)] 
A example config suited to Blitzed admins.

21 years agoLots more comments taken mostly from the old bopm.conf.sample.
andy [Sun, 22 Dec 2002 07:19:25 +0000 (07:19 +0000)] 
Lots more comments taken mostly from the old bopm.conf.sample.

21 years agoMake sure they give some parameters on a manual scan. Patch from
andy [Sat, 21 Dec 2002 19:41:45 +0000 (19:41 +0000)] 
Make sure they give some parameters on a manual scan.  Patch from
W. Campbell <redacted>

21 years agoFix joining keyed channels (thanks to W. Campbell and Jan Chrillesen)
dgl [Sat, 21 Dec 2002 17:30:30 +0000 (17:30 +0000)] 
Fix joining keyed channels (thanks to W. Campbell and Jan Chrillesen)

21 years agoCheck for NULL get_channel in m_cannot_join
strtok [Thu, 19 Dec 2002 20:15:13 +0000 (20:15 +0000)] 
Check for NULL get_channel in m_cannot_join

21 years agoCleaned up irc.c
strtok [Tue, 17 Dec 2002 07:46:17 +0000 (07:46 +0000)] 
Cleaned up irc.c

21 years agoRemoved dlclist.c/dlclist.h
strtok [Tue, 17 Dec 2002 07:31:12 +0000 (07:31 +0000)] 
Removed dlclist.c/dlclist.h
Added 'status' as alias for stat/stats command

21 years agoCleaned up main.c
strtok [Tue, 17 Dec 2002 07:24:23 +0000 (07:24 +0000)] 
Cleaned up main.c
Standardized indenting for switch/case

21 years agoMore updates to README
strtok [Tue, 17 Dec 2002 07:14:04 +0000 (07:14 +0000)] 
More updates to README

21 years agofiredns: Fixed bug where size was never checked (thus if it goes over dns_fdlimit...
strtok [Tue, 17 Dec 2002 03:56:45 +0000 (03:56 +0000)] 
firedns: Fixed bug where size was never checked (thus if it goes over dns_fdlimit it we write to
naughty memory)

21 years agoUse proper lists in firedns.c (much cleaner now!)
strtok [Tue, 17 Dec 2002 03:28:37 +0000 (03:28 +0000)] 
Use proper lists in firedns.c (much cleaner now!)

21 years agoscan.c: only add user to a scanner once
strtok [Mon, 16 Dec 2002 22:00:40 +0000 (22:00 +0000)] 
scan.c: only add user to a scanner once

21 years agoRemoved bopchecker from project.
strtok [Mon, 16 Dec 2002 21:18:44 +0000 (21:18 +0000)] 
Removed bopchecker from project.
Added better commenting to bopm.conf.sample

21 years agoAdd configure check for inet_pton().
andy [Mon, 16 Dec 2002 17:54:13 +0000 (17:54 +0000)] 
Add configure check for inet_pton().

Rename inetpton() in inet.c to inet_pton() and only use it if the build
host does not have its own inet_pton().

21 years agouse poll in dns code to cope with >1024 fds
dgl [Mon, 16 Dec 2002 02:26:32 +0000 (02:26 +0000)] 
use poll in dns code to cope with >1024 fds

21 years agomissing semicolon
dgl [Mon, 16 Dec 2002 01:08:41 +0000 (01:08 +0000)] 
missing semicolon

21 years agoFixed userinfo_create and scan_create memory leaks
strtok [Mon, 16 Dec 2002 00:57:44 +0000 (00:57 +0000)] 
Fixed userinfo_create and scan_create memory leaks

21 years agoFix for & local channels
strtok [Sun, 15 Dec 2002 23:54:14 +0000 (23:54 +0000)] 
Fix for & local channels

21 years agoMore verbose open proxy scanning
strtok [Sun, 15 Dec 2002 01:52:58 +0000 (01:52 +0000)] 
More verbose open proxy scanning

21 years agoFixed sending NULL with open proxy
strtok [Sun, 15 Dec 2002 01:47:57 +0000 (01:47 +0000)] 
Fixed sending NULL with open proxy

21 years agoAdded stats
strtok [Sun, 15 Dec 2002 00:50:49 +0000 (00:50 +0000)] 
Added stats

21 years agoCleanup command even if user is not an operator
strtok [Sat, 14 Dec 2002 23:07:40 +0000 (23:07 +0000)] 
Cleanup command even if user is not an operator

21 years agoAdded command_timer and command timeout functionality
strtok [Sat, 14 Dec 2002 23:02:13 +0000 (23:02 +0000)] 
Added command_timer and command timeout functionality

21 years agoShow nick!user@host on OPEN PROXY ->
strtok [Fri, 13 Dec 2002 20:03:54 +0000 (20:03 +0000)] 
Show nick!user@host on OPEN PROXY ->

21 years agoSilly firedns, we don't want 5000 usec blocking!
strtok [Fri, 13 Dec 2002 01:30:23 +0000 (01:30 +0000)] 
Silly firedns, we don't want 5000 usec blocking!

21 years agoAdded bahamut throttle message
dgl [Fri, 13 Dec 2002 00:04:35 +0000 (00:04 +0000)] 
Added bahamut throttle message

21 years agoSpeed up cycles 2x (maybe define this in config file?)
strtok [Thu, 12 Dec 2002 21:59:03 +0000 (21:59 +0000)] 
Speed up cycles 2x (maybe define this in config file?)

21 years agoRemoved commenting on sample conf
strtok [Thu, 12 Dec 2002 20:31:45 +0000 (20:31 +0000)] 
Removed commenting on sample conf
Extra blurb about target_ip

21 years agoUse format strings properly :)
dgl [Thu, 12 Dec 2002 18:00:40 +0000 (18:00 +0000)] 
Use format strings properly :)

21 years agoFix dnsbl error message
dgl [Thu, 12 Dec 2002 17:48:08 +0000 (17:48 +0000)] 
Fix dnsbl error message
Only send nickserv line if it's set

21 years agoNoticed that there was already a get_channel function :)
dgl [Thu, 12 Dec 2002 17:42:00 +0000 (17:42 +0000)] 
Noticed that there was already a get_channel function :)

21 years agoAdded invite option to channel block
dgl [Thu, 12 Dec 2002 17:05:14 +0000 (17:05 +0000)] 
Added invite option to channel block

21 years agoAdded a nickserv option (TODO: needs to also send a reply on nickserv auth messages)
dgl [Thu, 12 Dec 2002 16:00:06 +0000 (16:00 +0000)] 
Added a nickserv option (TODO: needs to also send a reply on nickserv auth messages)
Chaned the config file to use tabs rather than a mixture of 8 spaces and tabs
(I'm not bothered which it is - just make sure that they are the same? :)

21 years agoUpdates to README/INSTALL
strtok [Thu, 12 Dec 2002 07:54:15 +0000 (07:54 +0000)] 
Updates to README/INSTALL

21 years agoUpdated TODO
strtok [Thu, 12 Dec 2002 07:42:48 +0000 (07:42 +0000)] 
Updated TODO
Added more debug code for DNSBL

21 years agoFixed dnsbl_report
strtok [Thu, 12 Dec 2002 07:24:55 +0000 (07:24 +0000)] 
Fixed dnsbl_report

21 years agoCleanup of irc.c/opercmd.c, will copy old opercmd.c functions back from 2.x as needed.
strtok [Thu, 12 Dec 2002 02:08:10 +0000 (02:08 +0000)] 
Cleanup of irc.c/opercmd.c, will copy old opercmd.c functions back from 2.x as needed.

21 years agoKline *@%h, %u@%h wouldn't have been very good.
strtok [Wed, 11 Dec 2002 22:39:33 +0000 (22:39 +0000)] 
Kline *@%h, %u@%h wouldn't have been very good.

21 years agoAdded timeout/max_read to bopm.conf.sample
strtok [Wed, 11 Dec 2002 22:29:44 +0000 (22:29 +0000)] 
Added timeout/max_read to bopm.conf.sample

21 years agoFix for dns code..
dgl [Wed, 11 Dec 2002 22:18:50 +0000 (22:18 +0000)] 
Fix for dns code..

21 years agoFixed logic error in negcache code
strtok [Wed, 11 Dec 2002 22:17:20 +0000 (22:17 +0000)] 
Fixed logic error in negcache code

21 years agoFixed parsing bug.
strtok [Wed, 11 Dec 2002 21:51:02 +0000 (21:51 +0000)] 
Fixed parsing bug.

21 years agoChanged max parc to 17 and checked to make sure it's never over 17 (tsk bahamut)
strtok [Wed, 11 Dec 2002 21:42:51 +0000 (21:42 +0000)] 
Changed max parc to 17 and checked to make sure it's never over 17 (tsk bahamut)
Added negcache functionality

21 years agoremove rest of debugging code
dgl [Wed, 11 Dec 2002 08:25:24 +0000 (08:25 +0000)] 
remove rest of debugging code

21 years agoAdded opm_endscan fix.
strtok [Wed, 11 Dec 2002 03:41:02 +0000 (03:41 +0000)] 
Added opm_endscan fix.

21 years agoRemoved dg's crazy debug code.
strtok [Wed, 11 Dec 2002 01:44:38 +0000 (01:44 +0000)] 
Removed dg's crazy debug code.
Added more description to DNS lookup logging

21 years agoAdded code to cleanup if scans <= 0
strtok [Wed, 11 Dec 2002 01:39:23 +0000 (01:39 +0000)] 
Added code to cleanup if scans <= 0
Added code to call scan_negative if the scan was negative

21 years agoAdded dns_fdlimit to options config block
dgl [Tue, 10 Dec 2002 23:27:53 +0000 (23:27 +0000)] 
Added dns_fdlimit to options config block
Fixed sample config file

21 years agofiredns.[ch]:
dgl [Tue, 10 Dec 2002 23:12:53 +0000 (23:12 +0000)] 
firedns.[ch]:
fd-limiting code for dns
The fdns code externs two new variables to change the limit and the current
number of fds in use (see firedns.h)
dnsbl.[ch]:
Now logs the blacklist and type when lookups are successful, manipulates ss->scans
and sends klines..

21 years agoStandardized indenting (it seems the first attempt at this didn't work)
strtok [Tue, 10 Dec 2002 02:42:40 +0000 (02:42 +0000)] 
Standardized indenting (it seems the first attempt at this didn't work)

21 years agoRemove broken IPv6 code
strtok [Tue, 10 Dec 2002 02:37:47 +0000 (02:37 +0000)] 
Remove broken IPv6 code

21 years agoAdded irc_send_channels function
strtok [Tue, 10 Dec 2002 01:58:59 +0000 (01:58 +0000)] 
Added irc_send_channels function
BOPM actually sends the KLINE message now to the server

21 years agoMade target_string a list to allow multiple target_strings
strtok [Tue, 10 Dec 2002 00:53:33 +0000 (00:53 +0000)] 
Made target_string a list to allow multiple target_strings
Added target_string example to bopm.conf.sample for throttled proxies

21 years agoAdded IRCItem->kline, for kline formatting.
strtok [Mon, 9 Dec 2002 23:21:01 +0000 (23:21 +0000)] 
Added IRCItem->kline, for kline formatting.

21 years agoAdded scan_positive, scan_negative and scan_irckline to scan.c
strtok [Mon, 9 Dec 2002 01:16:26 +0000 (01:16 +0000)] 
Added scan_positive, scan_negative and scan_irckline to scan.c

21 years agoAdded IRCItem->kline
strtok [Mon, 9 Dec 2002 00:39:00 +0000 (00:39 +0000)] 
Added IRCItem->kline
Added comment to scan_gettype

21 years agoChange config.l and config.y to config-parser.l and config-parser.y
strtok [Mon, 9 Dec 2002 00:28:33 +0000 (00:28 +0000)] 
Change config.l and config.y to config-parser.l and config-parser.y
Added bison/lex of config-parser/config-lexer to automake

21 years agoInital DNSBL code based on heavily adapted firedns
dgl [Sun, 8 Dec 2002 19:00:12 +0000 (19:00 +0000)] 
Inital DNSBL code based on heavily adapted firedns

21 years agoVersion is now 3.0pre
strtok [Sun, 8 Dec 2002 00:18:43 +0000 (00:18 +0000)] 
Version is now 3.0pre

21 years agoDecrement ss->scan in scan_end callback
strtok [Sun, 8 Dec 2002 00:13:25 +0000 (00:13 +0000)] 
Decrement ss->scan in scan_end callback

21 years agoAdded debug code in callbacks.
strtok [Sun, 8 Dec 2002 00:06:38 +0000 (00:06 +0000)] 
Added debug code in callbacks.
Pass scs as the data element of the scanner callback, we might need scs->name later on for
logs

21 years agoAdded scan_cycle to scan.c
strtok [Sat, 7 Dec 2002 23:40:25 +0000 (23:40 +0000)] 
Added scan_cycle to scan.c

21 years agoIncrease scan count on opm_scan
strtok [Sat, 7 Dec 2002 23:36:48 +0000 (23:36 +0000)] 
Increase scan count on opm_scan

21 years agoFixed sizeof(ChannelConf) instead of sizeof(UserConf) in config.y (OOPS!)
strtok [Sat, 7 Dec 2002 23:27:52 +0000 (23:27 +0000)] 
Fixed sizeof(ChannelConf) instead of sizeof(UserConf) in config.y (OOPS!)

21 years agoActually add ms to MASKS in scan.c this time!
strtok [Sat, 7 Dec 2002 23:06:18 +0000 (23:06 +0000)] 
Actually add ms to MASKS in scan.c this time!
Match connecting user against masks and add to all matching scanners.

21 years agoAdded shell of libopm callbacks to scan.c
strtok [Sat, 7 Dec 2002 22:44:36 +0000 (22:44 +0000)] 
Added shell of libopm callbacks to scan.c

21 years agoAdded scan_create to scan.c
strtok [Sat, 7 Dec 2002 21:26:25 +0000 (21:26 +0000)] 
Added scan_create to scan.c
Added scan_free to scan.c

21 years agoIn config.c always show which file we're loading (don't use OPT_DEBUG)
strtok [Sat, 7 Dec 2002 20:49:23 +0000 (20:49 +0000)] 
In config.c always show which file we're loading (don't use OPT_DEBUG)
In scan.c, use OPT_DEBUG > 0 for showing MASK->SCANNER linking

21 years agoFixed typos in config.y th at were causing memory corruption.
strtok [Sat, 7 Dec 2002 20:22:52 +0000 (20:22 +0000)] 
Fixed typos in config.y th at were causing memory corruption.

21 years agoAdded scan_init
strtok [Sat, 7 Dec 2002 10:01:55 +0000 (10:01 +0000)] 
Added scan_init

21 years agoAdded SCANNER block to config parser
strtok [Sat, 7 Dec 2002 08:00:28 +0000 (08:00 +0000)] 
Added SCANNER block to config parser

21 years agoRemove bopchecker.
andy [Fri, 6 Dec 2002 21:51:19 +0000 (21:51 +0000)] 
Remove bopchecker.
Rebuild autotools.
Statically link bopm with libopm.a.

21 years agoAdded scan_struct to scan.c.
strtok [Thu, 5 Dec 2002 06:23:37 +0000 (06:23 +0000)] 
Added scan_struct to scan.c.

21 years agoCleaned up GPL license headers
strtok [Sat, 23 Nov 2002 22:38:28 +0000 (22:38 +0000)] 
Cleaned up GPL license headers

21 years agoPass control from irc.c to scan.c when a user connects
strtok [Sat, 23 Nov 2002 22:17:41 +0000 (22:17 +0000)] 
Pass control from irc.c to scan.c when a user connects

21 years agoAdded default connregex value.
strtok [Sat, 23 Nov 2002 21:18:47 +0000 (21:18 +0000)] 
Added default connregex value.
Added sample connregex for hybrid to development conf

21 years agoAdded connection notice parsing using a regular expression
strtok [Sat, 23 Nov 2002 21:13:08 +0000 (21:13 +0000)] 
Added connection notice parsing using a regular expression

21 years agoMoved parc/parv to scope of irc_parse and they're not passed by function.
strtok [Fri, 22 Nov 2002 22:06:53 +0000 (22:06 +0000)] 
Moved parc/parv to scope of irc_parse and they're not passed by function.
Added the start of m_notice

21 years agoChanged bopm.conf.sample to reflect new configuration options
strtok [Fri, 22 Nov 2002 05:51:23 +0000 (05:51 +0000)] 
Changed bopm.conf.sample to reflect new configuration options

21 years agoAdded config.tab.h to project
strtok [Wed, 20 Nov 2002 06:59:53 +0000 (06:59 +0000)] 
Added config.tab.h to project

21 years agoFurther work on new irc.c
strtok [Wed, 20 Nov 2002 06:58:55 +0000 (06:58 +0000)] 
Further work on new irc.c

21 years agoAdded more configuration directives.
strtok [Thu, 14 Nov 2002 05:39:21 +0000 (05:39 +0000)] 
Added more configuration directives.
Begin rewrite of IRC parser.

21 years agoAdded config.tab.c, lex.yy.c, malloc.c and list.c to Makefile.am
strtok [Tue, 12 Nov 2002 20:37:52 +0000 (20:37 +0000)] 
Added config.tab.c, lex.yy.c, malloc.c and list.c to Makefile.am
Added Options { negcache, pidfile } to config parser

21 years agoReplaced config parser with flex/bison based parser.
strtok [Tue, 12 Nov 2002 08:57:03 +0000 (08:57 +0000)] 
Replaced config parser with flex/bison based parser.
Ran code through an auto formatter to standardize the BOPM with libopm (style=ansi, 3 space indentation)
Replaced malloc/free calls with malloc.c wrappers from libopm
Added generic list class

21 years agoVersion is now 3.0pre1
strtok [Tue, 12 Nov 2002 04:22:17 +0000 (04:22 +0000)] 
Version is now 3.0pre1

21 years agoI like stats :)
dgl [Sat, 2 Nov 2002 14:35:51 +0000 (14:35 +0000)] 
I like stats :)
Added DNSBL reporting stats (also provides a nice way to check if dnsbl
reporting is enabled..)

21 years agoRemoved u_char so _BSD_SOURCE doesn't have to be defined in some cases.
dgl [Fri, 1 Nov 2002 10:26:42 +0000 (10:26 +0000)] 
Removed u_char so _BSD_SOURCE doesn't have to be defined in some cases.
(Namely running bopm under dietlibc - the static file is smaller than a
dynamic file from glibc :)).

21 years agodo send http post to dnsbl now
dgl [Thu, 31 Oct 2002 17:08:03 +0000 (17:08 +0000)] 
do send http post to dnsbl now

21 years agoas would not typoing like mad :(
dgl [Thu, 31 Oct 2002 12:04:47 +0000 (12:04 +0000)] 
as would not typoing like mad :(

21 years agoand writing the rest of the code would help..
dgl [Thu, 31 Oct 2002 12:04:12 +0000 (12:04 +0000)] 
and writing the rest of the code would help..

21 years agoAdded HTTP POST to dnsbl code
dgl [Thu, 31 Oct 2002 12:00:59 +0000 (12:00 +0000)] 
Added HTTP POST to dnsbl code

21 years agoadded check to stop null pointer dereference
dgl [Sat, 26 Oct 2002 18:41:38 +0000 (18:41 +0000)] 
added check to stop null pointer dereference

21 years agodnsbl messages show the type of proxy the dnsbl has recorded it as
dgl [Sat, 26 Oct 2002 18:36:35 +0000 (18:36 +0000)] 
dnsbl messages show the type of proxy the dnsbl has recorded it as
(for opm.blitzed.org anyway).

21 years agodon't scan again if the connection is maked as closed
dgl [Sat, 26 Oct 2002 16:17:38 +0000 (16:17 +0000)] 
don't scan again if the connection is maked as closed

21 years agologic error type thing
dgl [Sat, 26 Oct 2002 16:02:08 +0000 (16:02 +0000)] 
logic error type thing

21 years agoscan:
dgl [Thu, 24 Oct 2002 20:18:47 +0000 (20:18 +0000)] 
scan:
- HTTP Post proxies are now scanned
- Code to not connect to a port more than once and won't try again if
it's closed (probably helps with limited connections too)
This adds a stage field into the protocol struct:
0 = scan first time
1 = scan second time only if port is open.

dnsbl.c:
- Don't submit HTTP Post to dnsbl

21 years agobopm.conf.sample:
andy [Fri, 6 Sep 2002 09:28:56 +0000 (09:28 +0000)] 
bopm.conf.sample:
Some people STILL don't get what BINDIRC and BINDSCAN do and like
to invent IP addresses to put there, then wonder why it does not
work.

21 years agofixed copyright notices and forgotten logging entry
enygma [Wed, 4 Sep 2002 21:43:52 +0000 (21:43 +0000)] 
fixed copyright notices and forgotten logging entry