]> jfr.im git - irc/ircd-hybrid/bopm.git/log
irc/ircd-hybrid/bopm.git
22 years ago*** empty log message *** REL-2-0
andy [Sat, 16 Feb 2002 18:37:59 +0000 (18:37 +0000)] 
*** empty log message ***

22 years agoconfig.c: Fixed -> typo
strtok [Sat, 16 Feb 2002 18:36:56 +0000 (18:36 +0000)] 
config.c: Fixed -> typo

22 years agoconfig.c: DEBUG level 3 now also prints out LISTS with other config elements
strtok [Sat, 16 Feb 2002 18:35:55 +0000 (18:35 +0000)] 
config.c: DEBUG level 3 now also prints out LISTS with other config elements

22 years agoChangeLog:
andy [Sat, 16 Feb 2002 18:17:47 +0000 (18:17 +0000)] 
ChangeLog:
Idea - let's remove changes to the changelog, from the changelog. :)

22 years agoChangeLog:
andy [Sat, 16 Feb 2002 18:16:54 +0000 (18:16 +0000)] 
ChangeLog:
Updated again..

22 years agoAdded code to free TYPE_LIST in config.c (someone forgot this!)
strtok [Sat, 16 Feb 2002 06:18:41 +0000 (06:18 +0000)] 
Added code to free TYPE_LIST in config.c (someone forgot this!)

22 years agoChangeLog:
andy [Sat, 16 Feb 2002 03:23:03 +0000 (03:23 +0000)] 
ChangeLog:
Updated for next release.

22 years agobopm.conf.sample:
andy [Fri, 15 Feb 2002 23:21:06 +0000 (23:21 +0000)] 
bopm.conf.sample:
Added docs and examples for EXCLUDE option.

22 years agomatch.c, match.h:
andy [Fri, 15 Feb 2002 04:57:29 +0000 (04:57 +0000)] 
match.c, match.h:
IRC wildcard matching functions from dancer-hybrid.  match()
handles string matching and collapse() shortens a wildcard string
as far as possible.

config.h:
Added new config type; TYPE_LIST.  Multiple parameters of this
type are put into a linked list.

Added missing config_memfail() prototype.

config.c:
Added new config option EXCLUDE.  This is a list of wildcard
strings against which the host and IP address of connecting users
will be matched.  A user which matches any entry will not be
scanned.

Makefile.in:
Added new objects and dependencies for match.[cho]

irc.c, irc.h:
Added do_connect() function to avoid duplication.  This function
checks the users host and IP address against the EXCLUDE list and
provided there are no matches proceeds to do a DNSBL check and
proxy scan.

The above patch was contributed by Rob Levin/lilo @ OPN

22 years agoMakefile.in, misc.c, stats.c:
andy [Fri, 15 Feb 2002 00:56:17 +0000 (00:56 +0000)] 
Makefile.in, misc.c, stats.c:
Forogt to include the autoconfiscated header

opercmd.c, scan.c:
Small tidyup.

22 years agoREADME:
andy [Thu, 14 Feb 2002 05:56:08 +0000 (05:56 +0000)] 
README:
Updated mailing list info, credits, etc.
INSTALL:
Largely rewritten installation instructions and a blurb about
TARGET_STRING

22 years agoconfigure.in, options.h:
andy [Thu, 14 Feb 2002 05:17:18 +0000 (05:17 +0000)] 
configure.in, options.h:
Added configure option --with-unreal to replace the UNREAL
definition that was in options.h
acconfig.h:
Make autoheader work for --with-unreal
irc.c:
WITH_UNREAL instead of UNREAL

22 years agoconfigure.in:
andy [Thu, 14 Feb 2002 05:06:06 +0000 (05:06 +0000)] 
configure.in:
Added support for --with-select configure option so that people
can force use of select() whether they have poll() or not.
acconfig.h:
This makes autoheader work (which is used to make setup.h.in from
configure.in) now that WITH_SELECT is added.

22 years agoconfigure.in:
andy [Thu, 14 Feb 2002 01:51:38 +0000 (01:51 +0000)] 
configure.in:
Check for sys/poll.h
options.h:
We'll use poll() if sys/poll.h was found
scan.c:
Alter for autoconfiscated sys/poll.h check.

22 years agoconfigure.in:
andy [Wed, 13 Feb 2002 23:52:47 +0000 (23:52 +0000)] 
configure.in:
Add a check for bigendian systems.
dnsbl.c:
If we're on a bigendian system this'll be backwards.

22 years agoOK, so we do need to distribute configure.
andy [Wed, 13 Feb 2002 22:28:37 +0000 (22:28 +0000)] 
OK, so we do need to distribute configure.

22 years agoAdded byte counter to teach connection, and adjusted manual check output to be be...
strtok [Wed, 13 Feb 2002 22:15:28 +0000 (22:15 +0000)] 
Added byte counter to teach connection, and adjusted manual check output to be be more informative

22 years agobopchecker.c, irc.c, scan.c:
andy [Wed, 13 Feb 2002 20:50:59 +0000 (20:50 +0000)] 
bopchecker.c, irc.c, scan.c:
Use AC_HEADER_TIME and AC_CHECK_HEADERS(sys/time.h) to check how to
handle time.h and sys/time.h (if there even if a sys/time.h, if it
can be included with time.h)

22 years agobopchecker.c:
andy [Wed, 13 Feb 2002 20:32:52 +0000 (20:32 +0000)] 
bopchecker.c:
Another STDC_HEADERS check

22 years agoconfig.c:
andy [Wed, 13 Feb 2002 20:28:00 +0000 (20:28 +0000)] 
config.c:
Typo fix.

22 years agoMakefile.in:
andy [Wed, 13 Feb 2002 20:26:12 +0000 (20:26 +0000)] 
Makefile.in:
Add a distclean target.  We may want to distribute the configure
script at some point instead of just configure.in and expect people
to use autoconf; we'll have to remember to change this then.

config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c, scan.c:
Take account of AC_HEADER_STDC check.

22 years agomain.c:
andy [Wed, 13 Feb 2002 20:12:23 +0000 (20:12 +0000)] 
main.c:
Handle AC_TYPE_SIGNAL check.

22 years agosetup.h.in:
andy [Wed, 13 Feb 2002 19:58:04 +0000 (19:58 +0000)] 
setup.h.in:
/me reads as far as "autoheader" in the autoconf manual.

22 years agoFirst stab at autoconfiscation (euheue)
andy [Wed, 13 Feb 2002 19:24:07 +0000 (19:24 +0000)] 
First stab at autoconfiscation (euheue)

22 years agobopchecker.c:
andy [Wed, 13 Feb 2002 16:51:33 +0000 (16:51 +0000)] 
bopchecker.c:
bopchecker needs a target string as well now.

22 years agoPad scan_struct->data + 1 byte on malloc to leave room for null terminator (was causi...
strtok [Wed, 13 Feb 2002 05:40:32 +0000 (05:40 +0000)] 
Pad scan_struct->data + 1 byte on malloc to leave room for null terminator (was causing buffer overrun)

22 years agoconfig.c:
andy [Tue, 12 Feb 2002 23:02:03 +0000 (23:02 +0000)] 
config.c:
Really doesn't need to be that verbose :)
Remember I use -d and -dd a lot when helping people set up BOPM -
I really don't need 2 pages of config options flying by.

22 years agoVERSION for this release will be 2.0
strtok [Tue, 12 Feb 2002 21:42:11 +0000 (21:42 +0000)] 
VERSION for this release will be 2.0

22 years agoWingate write function now actually sends data
strtok [Tue, 12 Feb 2002 21:17:29 +0000 (21:17 +0000)] 
Wingate write function now actually sends data

22 years agoCleaned out code no longer needed
strtok [Tue, 12 Feb 2002 21:07:58 +0000 (21:07 +0000)] 
Cleaned out code no longer needed

22 years agoAdded TARGET_STRING to config file
strtok [Tue, 12 Feb 2002 20:57:22 +0000 (20:57 +0000)] 
Added TARGET_STRING to config file

22 years agoNo longer use individual read functions for each protocol, now search for
strtok [Tue, 12 Feb 2002 20:54:21 +0000 (20:54 +0000)] 
No longer use individual read functions for each protocol, now search for
a TARGET_STRING within the data. (set in conf)

22 years agooptions.h USE_POLL and MAXPOLL for use of poll() as opposed to select() in
strtok [Tue, 12 Feb 2002 19:19:15 +0000 (19:19 +0000)] 
options.h USE_POLL and MAXPOLL for use of poll() as opposed to select() in
          scan.c. If USE_POLL is defined, the scanner will use poll(), if not
          select() is used as before

22 years agobopm.conf.sample: Added config parameter FDLIMIT (default 512), which is maximum...
strtok [Tue, 12 Feb 2002 06:10:42 +0000 (06:10 +0000)] 
bopm.conf.sample: Added config parameter FDLIMIT (default 512), which is maximum number
    of file descriptors that can be open at any time (for scanning).
config.c: Added -d debug output of set config parameters
misc.c: Fixed bug involving clean()
scan.c: Added scan_establish() code to socket()/connect() to a socket, connections
        are now queued if the FDLIMIT cap is reached.

22 years agoREADME:
andy [Sun, 10 Feb 2002 15:37:51 +0000 (15:37 +0000)] 
README:
Credits for recent patches.

22 years agoscan.c:
andy [Sun, 10 Feb 2002 15:25:59 +0000 (15:25 +0000)] 
scan.c:
Improved HTTP handling.  Seems to work (have tested against all
known HTTP false positives seen so far, plus 2 known open proxies).
Ideas and pseudocode from jpayne@blitzed.org.

22 years agoirc.c:
andy [Sun, 10 Feb 2002 14:34:17 +0000 (14:34 +0000)] 
irc.c:
irc.h:
Added a MSGLEN #define so that networks which use different sized
IRC buffers can be made to work easily.

main.c:
Changed umask to something more sensible.

Both the above from shasta@irc.pl.

22 years agodnsbl.c:
andy [Thu, 7 Feb 2002 17:23:22 +0000 (17:23 +0000)] 
dnsbl.c:
Need to check against DNSBL_ZONE with a dot on the end, because
otherwise it will try the search domains in /etc/resolv.conf, and may
even find a match!  Reported and fixed by asmodeus@irc.gr

bopm.conf.sample:
Gotcha about putting your own dot at the end of the zone.

22 years agoTODO:
andy [Wed, 6 Feb 2002 17:19:18 +0000 (17:19 +0000)] 
TODO:
More updates on that idea.

22 years agoTODO:
andy [Wed, 6 Feb 2002 16:51:35 +0000 (16:51 +0000)] 
TODO:
Adding suggestion from Simorgh <redacted>

22 years agobopchecker.c:
andy [Mon, 4 Feb 2002 22:39:01 +0000 (22:39 +0000)] 
bopchecker.c:
Extra #include needed, reported by shasta@irc.pl

22 years agostats.c:
andy [Mon, 4 Feb 2002 18:12:28 +0000 (18:12 +0000)] 
stats.c:
Added simple connects/minute reading.

22 years agoChangeLog:
andy [Fri, 1 Feb 2002 06:17:01 +0000 (06:17 +0000)] 
ChangeLog:
Updated for next realese.

22 years agoREADME:
andy [Fri, 1 Feb 2002 06:16:28 +0000 (06:16 +0000)] 
README:
Added note about Unreal 3.2 support.

22 years agoMakefile:
andy [Fri, 1 Feb 2002 05:57:07 +0000 (05:57 +0000)] 
Makefile:
irc.o depends on options.h

22 years agoREADME:
andy [Fri, 1 Feb 2002 05:08:01 +0000 (05:08 +0000)] 
README:
Credits to locksmith for his help.

22 years agoconfig.c:
andy [Fri, 1 Feb 2002 04:40:16 +0000 (04:40 +0000)] 
config.c:
Possible stupid error with calculating size of config hash.

22 years agoirc.c: Last commit had an odd paste from vim (???)
strtok [Thu, 31 Jan 2002 06:00:08 +0000 (06:00 +0000)] 
irc.c: Last commit had an odd paste from vim (???)

22 years agoconfig.c: Added FDLIMIT configuration parameter (limit of open file descriptors)
strtok [Thu, 31 Jan 2002 05:38:18 +0000 (05:38 +0000)] 
config.c: Added FDLIMIT configuration parameter (limit of open file descriptors)
irc.c: Fixed NULL CONF_NICKSERV_IDENT pointer (reported by uneks)
scan.h: Added STATE_UNESTABLISHED

22 years agoirc.c:
andy [Wed, 30 Jan 2002 23:55:35 +0000 (23:55 +0000)] 
irc.c:
Some ircd's (Xnet and others?) don't send +c notices with the server as
the source.

22 years agoChangeLog: REL-1-1r1
andy [Tue, 29 Jan 2002 17:33:29 +0000 (17:33 +0000)] 
ChangeLog:
Updated for next release.

22 years agoconfig.c:
andy [Tue, 29 Jan 2002 17:31:20 +0000 (17:31 +0000)] 
config.c:
Now we've added a zero element on the config hash we need to adjust
the sizes..

22 years agoREADME: Added codebase specific compatibility (those tested) REL-1-1
strtok [Tue, 29 Jan 2002 01:49:04 +0000 (01:49 +0000)] 
README: Added codebase specific compatibility (those tested)

22 years agoChangeLog:
andy [Tue, 29 Jan 2002 01:46:18 +0000 (01:46 +0000)] 
ChangeLog:
Missed a late commit.

22 years agobopm.conf.sample:
andy [Tue, 29 Jan 2002 01:45:28 +0000 (01:45 +0000)] 
bopm.conf.sample:
Added suggestion from Sotiris Tsimbonis to make ti a bit more
obvious that a temporary KLINE should be used.

22 years agoChangeLog:
andy [Tue, 29 Jan 2002 01:25:53 +0000 (01:25 +0000)] 
ChangeLog:
Updated ChangeLog for 1.1 release.

22 years agoVersion.h: Now 1.1
strtok [Tue, 29 Jan 2002 01:21:53 +0000 (01:21 +0000)] 
Version.h: Now 1.1

22 years agobopchecker.c:
andy [Tue, 29 Jan 2002 00:23:21 +0000 (00:23 +0000)] 
bopchecker.c:
Some reorganisation.

"req" field of config hash is now zero'd for all but the parameters
we need for bopchecker to operate.

Used a sleep(1) to reduce CPU usage.

bopchecker.h:
Exit values have changed again!  0 and 1 are already in use within
bopm, so now 15-255 are reserved for bopchecker.

HTTP    =  16
WinGate =  32
SOCKS4  =  64
SOCKS5  = 128

config.c:
Terminated the config hash with a zero'd entry so that it is easy
to tell where it ends.

22 years agoREADME: Added rehash instructions
strtok [Tue, 29 Jan 2002 00:15:03 +0000 (00:15 +0000)] 
README: Added rehash instructions

22 years agoREADME:
andy [Mon, 28 Jan 2002 01:37:08 +0000 (01:37 +0000)] 
README:
Credits for PASSWORD option

22 years agoconfig.c, extern.h:
andy [Mon, 28 Jan 2002 01:33:27 +0000 (01:33 +0000)] 
config.c, extern.h:
Add PASSWORD config option.
irc.c:
Use PASSWORD if supplied.
bopm.conf.sample:
Document PASSWORD, fix typo on SERVER

22 years agoconfig.c/config.h: BOPM now exits if 'required' configuration parameters
strtok [Mon, 28 Jan 2002 00:18:11 +0000 (00:18 +0000)] 
config.c/config.h: BOPM now exits if 'required' configuration parameters
are not set.

22 years agoTODO: Updated TODO
strtok [Sun, 27 Jan 2002 23:31:00 +0000 (23:31 +0000)] 
TODO: Updated TODO

22 years agobopchecker.h:
andy [Sun, 27 Jan 2002 14:17:00 +0000 (14:17 +0000)] 
bopchecker.h:
Added bitmasks for the types of proxy.  HTTP is 1, Wingate 2,
SOCKS4 is 4 and SOCKS5 8.

bopchecker.c:
Now returns a bitmask of the types of proxies found back to the
shell. THIS MEANS THAT VALUES > 1 MEAN A PROXY WAS FOUND AND 0
MEANS NO PROXY WAS FOUND, THIS IS THE EXACT OPPOSITE TO PRIOR
VERSIONS OF THIS PROGRAM!

22 years agoirc.c: Fixed segfault if nickserv ident isnt defined in conf
strtok [Sun, 27 Jan 2002 04:23:27 +0000 (04:23 +0000)] 
irc.c: Fixed segfault if nickserv ident isnt defined in conf

22 years agoconfig.c: Replace C++ comment with C style comment (oops)
strtok [Sat, 26 Jan 2002 19:17:59 +0000 (19:17 +0000)] 
config.c: Replace C++ comment with C style comment (oops)

22 years agobopm.conf.sample:
andy [Fri, 25 Jan 2002 22:58:29 +0000 (22:58 +0000)] 
bopm.conf.sample:
Remove Blitzed address because of people sending us reports without
        contacting us.

22 years agoscan.c: Suggestion from Sotiris Tsimbonis that details go to channels
andy [Fri, 25 Jan 2002 22:02:50 +0000 (22:02 +0000)] 
scan.c: Suggestion from Sotiris Tsimbonis that details go to channels

22 years agodnsbl.c: Allow reporting to multiple addresses
andy [Fri, 25 Jan 2002 21:14:27 +0000 (21:14 +0000)] 
dnsbl.c: Allow reporting to multiple addresses
README: Note about Sotiris Tsimbonis' idea
bopm.conf.sample: Note about how to use multiple TO addresses

22 years agoirc.c: support & channels, bug found by Sotiris Tsimbonis <stsimb@irc.gr>.
andy [Fri, 25 Jan 2002 15:27:39 +0000 (15:27 +0000)] 
irc.c: support & channels, bug found by Sotiris Tsimbonis <redacted>.

22 years agoINSTALL: Updated INSTALL file to include information about options.h
strtok [Thu, 24 Jan 2002 21:54:49 +0000 (21:54 +0000)] 
INSTALL: Updated INSTALL file to include information about options.h

22 years agoirc.c/options.h: Added support for unreal ircds
strtok [Thu, 24 Jan 2002 21:53:33 +0000 (21:53 +0000)] 
irc.c/options.h: Added support for unreal ircds

22 years agoREADME: Added hybrid compatibility to README.
strtok [Thu, 24 Jan 2002 17:40:07 +0000 (17:40 +0000)] 
README: Added hybrid compatibility to README.

22 years agoAdded OPER_MODES config option to specify what modes the bopm will set on
andy [Thu, 24 Jan 2002 10:41:13 +0000 (10:41 +0000)] 
Added OPER_MODES config option to specify what modes the bopm will set on
itself after opering up.

22 years agobopchecker needs to time out too, doh.
andy [Thu, 24 Jan 2002 06:56:00 +0000 (06:56 +0000)] 
bopchecker needs to time out too, doh.

22 years agoRemove CONF_PING, a config option that never was.
andy [Thu, 24 Jan 2002 06:18:05 +0000 (06:18 +0000)] 
Remove CONF_PING, a config option that never was.

22 years agoMerged patch from Sotiris Tsimbonis <stsimb@irc.gr> with minor changes.
andy [Thu, 24 Jan 2002 06:07:48 +0000 (06:07 +0000)] 
Merged patch from Sotiris Tsimbonis <redacted> with minor changes.
Adds a -c command line argument which tells bopm to use a different name
for log, pid and config files.  i.e. ./bopm -c myserver will use
myserver.conf, myserver.log, myserver.pid.

The patch also makes bopm set umode -h on itself after opering, in order
to prevent the bot appearing in /stats p output (shows opers available to
help).

bopchecker now takes the -c option also, in the same way as bopm.

22 years agoChangeLog: It's 2002!
strtok [Wed, 23 Jan 2002 04:58:02 +0000 (04:58 +0000)] 
ChangeLog: It's 2002!

22 years agobopm.conf.sample: Fixed typo
strtok [Tue, 22 Jan 2002 21:44:41 +0000 (21:44 +0000)] 
bopm.conf.sample: Fixed typo

22 years agoChangeLog: Added changelog
strtok [Tue, 22 Jan 2002 19:09:13 +0000 (19:09 +0000)] 
ChangeLog: Added changelog

22 years agoscan.c: Apache ip vhosting hack (apaches fault!)
strtok [Mon, 21 Jan 2002 20:03:43 +0000 (20:03 +0000)] 
scan.c: Apache ip vhosting hack (apaches fault!)

22 years agotypo
andy [Mon, 21 Jan 2002 15:07:30 +0000 (15:07 +0000)] 
typo

22 years agoscan.c: Send \r\n\r\n for HTTP proxy rather than \n\n
strtok [Mon, 21 Jan 2002 07:54:01 +0000 (07:54 +0000)] 
scan.c: Send \r\n\r\n for HTTP proxy rather than \n\n

22 years agoAdded compatibility section to README and support notice
strtok [Sun, 20 Jan 2002 21:53:44 +0000 (21:53 +0000)] 
Added compatibility section to README and support notice

22 years agodnsbl.c: Reordered priorities: Kline, then log then privmsg
strtok [Sun, 20 Jan 2002 20:12:45 +0000 (20:12 +0000)] 
dnsbl.c: Reordered priorities: Kline, then log then privmsg

22 years agoignore another binary
andy [Sun, 20 Jan 2002 20:01:00 +0000 (20:01 +0000)] 
ignore another binary

22 years agoscan.c: Added HTTP/1.1 checking for HTTP proxies
strtok [Sun, 20 Jan 2002 19:59:39 +0000 (19:59 +0000)] 
scan.c: Added HTTP/1.1 checking for HTTP proxies
bopm.conf.sample: Commented out DNSBL from and to
irc.c: Changed no data timeout to use NODATA_TIMEOUT from options.h
options.h: Added NODATA_TIMEOUT default to 900 seconds (15 minutes)

22 years agoversion.h: Added #define for VERSION (currently 1.0)
strtok [Sun, 20 Jan 2002 07:06:09 +0000 (07:06 +0000)] 
version.h: Added #define for VERSION (currently 1.0)
main.c: Log version on startup
irc.c: Added CTCP version reply

22 years agoKline messages now have ?ip= in the URL which will allow our web pages to
andy [Sun, 20 Jan 2002 03:27:55 +0000 (03:27 +0000)] 
Kline messages now have ?ip= in the URL which will allow our web pages to
be a bit cleverer.

22 years agoHere's a config option for an away message (AWAY). Also now responds to
andy [Sun, 20 Jan 2002 02:58:04 +0000 (02:58 +0000)] 
Here's a config option for an away message (AWAY).  Also now responds to
PRIVMSG that simply says INFO, giving a bit of information about what the
bot does.  Help email address set from the HELP_EMAIL option.

22 years agoAdded an evil hack called bopchecker which is a command line interface to
andy [Sun, 20 Jan 2002 02:03:01 +0000 (02:03 +0000)] 
Added an evil hack called bopchecker which is a command line interface to
bopm.  It returns EXIT_FAILURE if it doesn't find an open proxy, it
returns EXIT_SUCCESS if it does.

22 years agotypo
andy [Sat, 19 Jan 2002 20:09:54 +0000 (20:09 +0000)] 
typo

22 years agoMore hopeful manual check fixes
andy [Sat, 19 Jan 2002 20:03:03 +0000 (20:03 +0000)] 
More hopeful manual check fixes

22 years agoHopeful reporting fixes
andy [Sat, 19 Jan 2002 19:36:59 +0000 (19:36 +0000)] 
Hopeful reporting fixes

22 years agoReporting proxies to DNSBL now works.
andy [Sat, 19 Jan 2002 18:49:15 +0000 (18:49 +0000)] 
Reporting proxies to DNSBL now works.

22 years agoHooks for sending an email report (but it doesn't actually do anything yet)
andy [Sat, 19 Jan 2002 17:05:24 +0000 (17:05 +0000)] 
Hooks for sending an email report (but it doesn't actually do anything yet)

22 years agoExtra config options for DNSBL.
andy [Sat, 19 Jan 2002 15:32:22 +0000 (15:32 +0000)] 
Extra config options for DNSBL.

22 years agoTidying up, added the DNSBL_ZONE
andy [Sat, 19 Jan 2002 14:59:57 +0000 (14:59 +0000)] 
Tidying up, added the DNSBL_ZONE

22 years agoAdded bit about -d
andy [Sat, 19 Jan 2002 14:09:02 +0000 (14:09 +0000)] 
Added bit about -d

22 years agoTypos etc.
andy [Sat, 19 Jan 2002 14:01:48 +0000 (14:01 +0000)] 
Typos etc.