]> jfr.im git - irc/ircd-hybrid/bopm.git/log
irc/ircd-hybrid/bopm.git
22 years agoconfigure.in, configure: origin/SOLARIS_PORT SOLARIS_PORT_MERGED
andy [Thu, 23 May 2002 04:13:56 +0000 (04:13 +0000)] 
configure.in, configure:
Check if libsocket and libnsl are needed (like on Solaris!)

Makefile.in:
Placeholders for libs

22 years agoconfigure.in, configure, setup.h.in:
andy [Thu, 23 May 2002 03:31:22 +0000 (03:31 +0000)] 
configure.in, configure, setup.h.in:
Check for inet_aton()

compat.c, comapt.h:
Provide our own inet_aton() if the system does not have one.

22 years agoMakefile.in, compat.c:
andy [Thu, 23 May 2002 01:27:40 +0000 (01:27 +0000)] 
Makefile.in, compat.c:
Add compat.c, where compatability routines will go.

configure.in, configure:
Check for strings.h, Solaris seems to want to put index() there.

irc.c:
Include strings.h if we have it.

22 years agocompat.h:
andy [Thu, 23 May 2002 00:29:25 +0000 (00:29 +0000)] 
compat.h:
Header file for compatability stuff (duh).  Solaris at least
doesn't have INADDR_NONE.
irc.c:
Include compat.h.

22 years agoChangeLog: Updated for version 2.3 release
strtok [Tue, 21 May 2002 05:02:41 +0000 (05:02 +0000)] 
ChangeLog: Updated for version 2.3 release

22 years agoscan.c: Ubermicro optomization on flagging STATE_CLOSED on all connections
strtok [Fri, 17 May 2002 19:31:06 +0000 (19:31 +0000)] 
scan.c: Ubermicro optomization on flagging STATE_CLOSED on all connections
with the same IP by eliminating use of strcmp.

stats.c: Output file descriptor use in stats now. This will be useful for
larger servers running bopm.

22 years agoversion.h: Version 2.3 now
strtok [Tue, 14 May 2002 22:07:31 +0000 (22:07 +0000)] 
version.h: Version 2.3 now

22 years agoUseful crontab from skold <skold@habber.net>
andy [Tue, 14 May 2002 11:38:19 +0000 (11:38 +0000)] 
Useful crontab from skold <redacted>

22 years agobopm.conf.sample: Extra clues for the idiots changing their KLINE_COMMAND
strtok [Tue, 14 May 2002 03:37:36 +0000 (03:37 +0000)] 
bopm.conf.sample: Extra clues for the idiots changing their KLINE_COMMAND
                  without knowing what they're doing.

22 years agoscan.c: Fixed problem with FD_USE being decremented when it shouldn't have been
strtok [Tue, 14 May 2002 00:59:33 +0000 (00:59 +0000)] 
scan.c: Fixed problem with FD_USE being decremented when it shouldn't have been

22 years agoscan.c: Fixed logic error when adding fd's to the poll array
strtok [Sun, 12 May 2002 18:43:26 +0000 (18:43 +0000)] 
scan.c: Fixed logic error when adding fd's to the poll array

22 years agoChangeLog: Updated changelog for 2.2r2
strtok [Mon, 6 May 2002 22:39:08 +0000 (22:39 +0000)] 
ChangeLog: Updated changelog for 2.2r2

22 years agoirc.c: Caught any NULL returns from strtok in the connect handlers.
strtok [Mon, 6 May 2002 22:29:34 +0000 (22:29 +0000)] 
irc.c: Caught any NULL returns from strtok in the connect handlers.

22 years agoirc.c:
andy [Mon, 6 May 2002 22:09:54 +0000 (22:09 +0000)] 
irc.c:
Oops, looks like Unreal sends a server notice that is too much
like an ultimate ircd notice.  Here's a hopeful quick fix.

22 years agoirc.c: With debug level >= 1, with unknown connect() error print strerror
strtok [Mon, 6 May 2002 19:17:43 +0000 (19:17 +0000)] 
irc.c: With debug level >= 1, with unknown connect() error print strerror

22 years agoChangeLog: Updated changelog for 2.2r1
strtok [Mon, 6 May 2002 18:14:54 +0000 (18:14 +0000)] 
ChangeLog: Updated changelog for 2.2r1

22 years agoChangeLog: REL-2-2R1
strtok [Mon, 6 May 2002 18:10:28 +0000 (18:10 +0000)] 
ChangeLog:
        Updated changelog for 2.2r1

22 years agoFixing -c param bug (which has broken -c option since -v option was added (rel 1...
dgl [Mon, 6 May 2002 13:00:45 +0000 (13:00 +0000)] 
Fixing -c param bug (which has broken -c option since -v option was added (rel 1.23)).
TheShadow reported this in #blitzed

22 years agoChangeLog:
andy [Sun, 5 May 2002 03:16:17 +0000 (03:16 +0000)] 
ChangeLog:
Updated.

22 years agomain.c:
andy [Sun, 5 May 2002 01:54:19 +0000 (01:54 +0000)] 
main.c:
Apparently using _exit is the correct thing to do.

22 years agoscan.c, config.c, extern.h, bopm.conf.sample: Added CONF_TIMEOUT and TIMEOUT REL-2-2
strtok [Sat, 4 May 2002 18:48:13 +0000 (18:48 +0000)] 
scan.c, config.c, extern.h, bopm.conf.sample: Added CONF_TIMEOUT and TIMEOUT
          directive to allow for configurable scan timeouts (suggested by lilo).

22 years agoirc.c, config.c, extern.h:
andy [Wed, 1 May 2002 17:44:36 +0000 (17:44 +0000)] 
irc.c, config.c, extern.h:
Added config option REALNAME which allows bopm's IRC "realname" to
be configured.

bopm.conf.sample:
Sample REALNAME

22 years agostats.c, stats.h:
andy [Wed, 1 May 2002 16:58:02 +0000 (16:58 +0000)] 
stats.c, stats.h:
Reformatiing

22 years agoscan.c, scan.h:
andy [Wed, 1 May 2002 04:01:16 +0000 (04:01 +0000)] 
scan.c, scan.h:
Reformatting.

22 years agoopercmd.c:
andy [Tue, 30 Apr 2002 23:24:38 +0000 (23:24 +0000)] 
opercmd.c:
Reformatting.
opercmd.h:
Reformatting, moved some global variable declarations to opercmd.c
irc.c:
Needed an extern to get access to LAST_REAP_TIME.

22 years agomisc.c, misc.h:
andy [Tue, 30 Apr 2002 22:41:05 +0000 (22:41 +0000)] 
misc.c, misc.h:
Reformatting.

22 years agomain.c:
andy [Tue, 30 Apr 2002 21:53:58 +0000 (21:53 +0000)] 
main.c:
Reformatting.

22 years agolog.c, log.h:
andy [Tue, 30 Apr 2002 20:14:20 +0000 (20:14 +0000)] 
log.c, log.h:
Reformatting.

22 years agoirc.c:
andy [Tue, 30 Apr 2002 03:01:23 +0000 (03:01 +0000)] 
irc.c:
Code cleanups.  Added check_channel() function to check if a given
channel is one of our configured reporting channels.  Made a bunch
of irc.c private fucntions have static linkage.
irc.h:
Code cleanups.

22 years agoextern.h:
andy [Tue, 30 Apr 2002 00:37:46 +0000 (00:37 +0000)] 
extern.h:
Code format cleanup.  Move include of config.h to files that need
it.

dnsbl.c, log.c, misc.c, opercmd.c, stats.c:
Add include for config.h.

22 years agobopm.conf.sample: Fixed TARGET_STRING sample
strtok [Mon, 29 Apr 2002 17:10:02 +0000 (17:10 +0000)] 
bopm.conf.sample: Fixed TARGET_STRING sample

22 years agodnsbl.c:
andy [Mon, 29 Apr 2002 16:17:50 +0000 (16:17 +0000)] 
dnsbl.c:
Formatting cleanup & added more descriptive error message when
gethostbyname() fails (is man page wrong?)

dnsbl.h:
Formatting cleanup.

22 years agoconfig.c:
andy [Mon, 29 Apr 2002 14:20:34 +0000 (14:20 +0000)] 
config.c:
Doh, KEYS is not required for normal operation.

22 years agobopchecker.h:
andy [Mon, 29 Apr 2002 14:18:27 +0000 (14:18 +0000)] 
bopchecker.h:
Open cisco router bit mask.

22 years agoconfig.c:
andy [Mon, 29 Apr 2002 14:15:59 +0000 (14:15 +0000)] 
config.c:
Tidied up indentation.

Added static linkage for all private config functions.

Added add_to_list() to simplify adding values to configuration
lists.

Added free_list() to simplify clearing out each config list at
startup/rehash.

Added add_to_config() to simplify adding a key/value pair to our
config hash.

config.h:
Neater indentation, some prototypes moved to config.c.

22 years agoscan.c: Uncommented CISCO from scan table as efnet reports it is working
strtok [Mon, 29 Apr 2002 05:57:08 +0000 (05:57 +0000)] 
scan.c: Uncommented CISCO from scan table as efnet reports it is working
        properly

22 years agoCode clean up.
andy [Sun, 28 Apr 2002 18:22:05 +0000 (18:22 +0000)] 
Code clean up.

22 years agobopchecker.c:
andy [Sun, 28 Apr 2002 17:35:54 +0000 (17:35 +0000)] 
bopchecker.c:
Hacks to avoid unused variable warnings.
config.c:
Code cleanups.
extern.h:
Code cleanups.
irc.c:
Code cleanups.
main.c:
Merged singal handlers into one function, code cleanups.
misc.c:
Code cleanups.
opercmd.c, opercmd.h:
2nd parameter of checkoper was never used.
scan.c:
Code cleanups.
stats.c:
Code cleanups.

22 years agobopm.conf.sample:
andy [Fri, 26 Apr 2002 22:20:36 +0000 (22:20 +0000)] 
bopm.conf.sample:
Better example config suggestion from Erik / Andrew Church.

22 years agoconfig.c, bopm.conf.sample:
andy [Fri, 26 Apr 2002 21:32:17 +0000 (21:32 +0000)] 
config.c, bopm.conf.sample:
Added KEYS config parameter.

irc.c:
Added support for channel keys, plus helper function get_chan_key()
which looks up the correct key for a given channel.

22 years agoscan.c: Commented HTTP 8000 out of the scan table, those who wish to scan
strtok [Thu, 25 Apr 2002 21:27:56 +0000 (21:27 +0000)] 
scan.c: Commented HTTP 8000 out of the scan table, those who wish to scan
        on this port can easily uncomment it.

22 years agoscan.c: Removed use of scan_del() where STATE_CLOSED should have been set
strtok [Thu, 25 Apr 2002 06:24:25 +0000 (06:24 +0000)] 
scan.c: Removed use of scan_del() where STATE_CLOSED should have been set
        instead.

22 years agoscan.c/options.h: Added MAXREAD (default 4096), max amount of bytes read from
strtok [Thu, 25 Apr 2002 04:41:30 +0000 (04:41 +0000)] 
scan.c/options.h: Added MAXREAD (default 4096), max amount of bytes read from
         any port before the connection is considered a flood and failed.

22 years agoscan.c: Fixed bug which caused freezing if data was virtually endless (reported
strtok [Thu, 25 Apr 2002 04:17:35 +0000 (04:17 +0000)] 
scan.c: Fixed bug which caused freezing if data was virtually endless (reported
       by qurve/qeast

22 years agoscan.c: Fixed scan_struct data bug where it tried to free data even if
strtok [Thu, 25 Apr 2002 02:42:44 +0000 (02:42 +0000)] 
scan.c: Fixed scan_struct data bug where it tried to free data even if
it wasn't malloc yet.

scan.c: Commented out cisco and http port 8001 scanning, because servers will
be using this commit live.

22 years agobopm.conf.sample:
andy [Wed, 24 Apr 2002 11:43:32 +0000 (11:43 +0000)] 
bopm.conf.sample:
Less Blitzed-like pages from Tom Gilder <redacted>

22 years agoirc.c:
andy [Tue, 23 Apr 2002 16:56:49 +0000 (16:56 +0000)] 
irc.c:
Here's support for ultimate ircd.

22 years agomain.c, options.h:
andy [Wed, 17 Apr 2002 23:25:39 +0000 (23:25 +0000)] 
main.c, options.h:
-v option from Harald Skoglund <redacted>

README:
Documentation of command line options.

22 years agoREADME:
andy [Wed, 17 Apr 2002 22:16:04 +0000 (22:16 +0000)] 
README:
Again some notes added for SCANPORT because lots of people are having a
hard time understanding what this is for.

22 years agotypo, the hybrid team didn't write math.[ch] :)
dgl [Sun, 14 Apr 2002 11:03:02 +0000 (11:03 +0000)] 
typo, the hybrid team didn't write math.[ch] :)

22 years agoscan.c:
andy [Thu, 11 Apr 2002 04:56:39 +0000 (04:56 +0000)] 
scan.c:
So much call for HTTP scanning on ports 8000, 8001.  Well, let's
try it for a while and see.

22 years agobopm.conf.sample:
andy [Thu, 4 Apr 2002 02:32:38 +0000 (02:32 +0000)] 
bopm.conf.sample:
Many people appear to be getting confused over this.

22 years agoStrange Unrealism.
andy [Sun, 31 Mar 2002 19:33:55 +0000 (19:33 +0000)] 
Strange Unrealism.

22 years agoMailman moved to a slightly simpler URL.
andy [Sun, 31 Mar 2002 05:31:57 +0000 (05:31 +0000)] 
Mailman moved to a slightly simpler URL.

22 years agoMore IRCu notes from wunix <wu@wunix.org>
andy [Thu, 21 Mar 2002 17:23:17 +0000 (17:23 +0000)] 
More IRCu notes from wunix <redacted>

22 years agoREADME:
andy [Tue, 19 Mar 2002 13:25:34 +0000 (13:25 +0000)] 
README:
Some compatibility notes from Erik Fears <redacted>

22 years agoconfigure.in:
andy [Sun, 3 Mar 2002 21:49:57 +0000 (21:49 +0000)] 
configure.in:
Added DNSBL begging text

22 years agoscan.c: Moved Cisco up in hash table so that it is tried before wingate,
strtok [Tue, 26 Feb 2002 05:07:44 +0000 (05:07 +0000)] 
scan.c: Moved Cisco up in hash table so that it is tried before wingate,
because cisco routers only allow 4 connections at once (pointed out by JPayne)

22 years agoscan.c: Cisco scanning now works
strtok [Mon, 25 Feb 2002 07:16:12 +0000 (07:16 +0000)] 
scan.c: Cisco scanning now works

22 years agoversion.h: Incremented version to 2.2 so we can identify any bopms that have cvs...
strtok [Mon, 25 Feb 2002 07:08:56 +0000 (07:08 +0000)] 
version.h: Incremented version to 2.2 so we can identify any bopms that have cvs updated

22 years agoscan.c: Actually send() data for cisco check now (oops)
strtok [Mon, 25 Feb 2002 07:07:44 +0000 (07:07 +0000)] 
scan.c: Actually send() data for cisco check now (oops)

22 years agoscan.c/scan.h: Added open cisco router scanning
strtok [Mon, 25 Feb 2002 06:57:40 +0000 (06:57 +0000)] 
scan.c/scan.h: Added open cisco router scanning

22 years agoREADME:
andy [Fri, 22 Feb 2002 11:06:25 +0000 (11:06 +0000)] 
README:
Credits for Collide.

22 years agoirc.c:
andy [Fri, 22 Feb 2002 11:05:19 +0000 (11:05 +0000)] 
irc.c:
Added three new functions, do_hybrid_connect(), do_xnet_connect()
and do_trircd_connect().  This could be modularised further but for
now this gets rid of some duplication.  Each function is for
processing the connect notices of different classes of ircd.

do_trircd_connect() adds support for tr-ircd, which has a &connects
channel instead of a +c umode.

22 years agoChangeLog:
andy [Tue, 19 Feb 2002 23:29:19 +0000 (23:29 +0000)] 
ChangeLog:
Update dfor next release

22 years agoconfigure.in:
andy [Tue, 19 Feb 2002 23:10:10 +0000 (23:10 +0000)] 
configure.in:
$ac_c deprecated

22 years agoconfigure.in:
andy [Tue, 19 Feb 2002 23:04:58 +0000 (23:04 +0000)] 
configure.in:
Fix broken "echo -n" check

22 years agoconfigure.in:
andy [Tue, 19 Feb 2002 23:00:40 +0000 (23:00 +0000)] 
configure.in:
Fix sys/poll.h check

22 years agoconfigure.in:
andy [Tue, 19 Feb 2002 22:57:42 +0000 (22:57 +0000)] 
configure.in:
Get rid of need for acconfig.h
acconfig.h:
No longer needed

22 years agoversion.h: Incremented version to 2.1
strtok [Tue, 19 Feb 2002 20:55:37 +0000 (20:55 +0000)] 
version.h: Incremented version to 2.1

22 years agoFix for select()
strtok [Tue, 19 Feb 2002 20:46:31 +0000 (20:46 +0000)] 
Fix for select()

22 years agoREADME:
andy [Sun, 17 Feb 2002 17:15:22 +0000 (17:15 +0000)] 
README:
Some credits we missed, oops.

22 years ago*** empty log message *** REL-2-0r1
andy [Sun, 17 Feb 2002 03:52:16 +0000 (03:52 +0000)] 
*** empty log message ***

22 years agoirc.c:
andy [Sun, 17 Feb 2002 02:35:50 +0000 (02:35 +0000)] 
irc.c:
Doh!  Need to check we have enough tokens before blindly accessing
tokens[6].

22 years ago*** empty log message ***
andy [Sat, 16 Feb 2002 18:44:07 +0000 (18:44 +0000)] 
*** empty log message ***

22 years agoconfigure.in:
andy [Sat, 16 Feb 2002 18:43:42 +0000 (18:43 +0000)] 
configure.in:
Added a bit about using GNU Make.

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)