]> jfr.im git - irc/ircd-hybrid/bopm.git/log
irc/ircd-hybrid/bopm.git
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.

22 years agoscan.c: Ridded instances of stats_num being incremented twice
strtok [Sat, 19 Jan 2002 05:33:39 +0000 (05:33 +0000)] 
scan.c: Ridded instances of stats_num being incremented twice
if a host was open AND was insecure

22 years agoREADME grammar fix
strtok [Sat, 19 Jan 2002 05:05:04 +0000 (05:05 +0000)] 
README grammar fix

22 years agoUpdated TODO
strtok [Sat, 19 Jan 2002 05:03:26 +0000 (05:03 +0000)] 
Updated TODO

22 years agoMore grammar fixes
strtok [Sat, 19 Jan 2002 01:47:25 +0000 (01:47 +0000)] 
More grammar fixes

22 years agoBad grammar!
strtok [Sat, 19 Jan 2002 01:45:01 +0000 (01:45 +0000)] 
Bad grammar!

22 years agoMore README documentation added (credits)
strtok [Fri, 18 Jan 2002 23:22:24 +0000 (23:22 +0000)] 
More README documentation added (credits)
Added INSTALL with quick install procedures

22 years agoOff by one fix with clean()
strtok [Fri, 18 Jan 2002 22:57:07 +0000 (22:57 +0000)] 
Off by one fix with clean()

22 years agoYet another #include <time.h> for BSD!
strtok [Fri, 18 Jan 2002 22:49:53 +0000 (22:49 +0000)] 
Yet another #include <time.h> for BSD!

22 years agoscan.c: BOPM now increases number open (protocol) by determining if a
strtok [Fri, 18 Jan 2002 22:47:12 +0000 (22:47 +0000)] 
scan.c: BOPM now increases number open (protocol) by determining if a
socket can be written to, rather than if read returned 0.

22 years agoBegin README file.
strtok [Fri, 18 Jan 2002 22:28:04 +0000 (22:28 +0000)] 
Begin README file.

22 years agoconfig.c: Strip leading/tailing characters from arguments
strtok [Fri, 18 Jan 2002 20:29:12 +0000 (20:29 +0000)] 
config.c: Strip leading/tailing characters from arguments
misc.c/misc.h: Added clean() function which strips leading/tailing characters
               from a string and returns a pointer to the new string.

22 years agoscan.c: Stats, num negotiated now increased on negotiation failed
strtok [Fri, 18 Jan 2002 18:14:25 +0000 (18:14 +0000)] 
scan.c: Stats, num negotiated now increased on negotiation failed
        Fixed order of paramaters for manual checking

22 years agoSupport for checking against a DNS (black|block)list.
andy [Fri, 18 Jan 2002 09:06:26 +0000 (09:06 +0000)] 
Support for checking against a DNS (black|block)list.

Set your zone using the DNSBL_ZONE config option, checking will take place                          on every connect and every time the "check" command is used.

22 years agoAdded port to stats
strtok [Fri, 18 Jan 2002 06:07:38 +0000 (06:07 +0000)] 
Added port to stats
Replaced sizeof scan_protocols with SCAN_NUMPROTOCOLS

22 years agoAdded size_t SCAN_NUMPROTOCOLS
strtok [Fri, 18 Jan 2002 06:00:55 +0000 (06:00 +0000)] 
Added size_t SCAN_NUMPROTOCOLS

22 years agohopeful extern fix
strtok [Fri, 18 Jan 2002 04:49:22 +0000 (04:49 +0000)] 
hopeful extern fix

22 years agoMade stats variables part of the protocol_hash struct, I had to throw
strtok [Fri, 18 Jan 2002 04:10:44 +0000 (04:10 +0000)] 
Made stats variables part of the protocol_hash struct, I had to throw
a ton of includes in stats.c to make #include "scan.h" happy

22 years agoMoke debug stuff work by linking it properly
andy [Fri, 18 Jan 2002 01:51:19 +0000 (01:51 +0000)] 
Moke debug stuff work by linking it properly

22 years agoSimple SIGINT handler
andy [Fri, 18 Jan 2002 01:25:49 +0000 (01:25 +0000)] 
Simple SIGINT handler

22 years agoFixed massive CPU usage (YAY).
strtok [Fri, 18 Jan 2002 01:15:51 +0000 (01:15 +0000)] 
Fixed massive CPU usage (YAY).

22 years agoDEBUG_GPROF=1 make to enable gprof debugging
andy [Fri, 18 Jan 2002 00:39:14 +0000 (00:39 +0000)] 
DEBUG_GPROF=1 make to enable gprof debugging

22 years agoirc_reconnect() fixed and working
strtok [Fri, 18 Jan 2002 00:02:37 +0000 (00:02 +0000)] 
irc_reconnect() fixed and working
rehashing now working (/kill bot to rehash)

22 years agoirc.c: Reconnect if unable to WRITE
strtok [Thu, 17 Jan 2002 23:46:55 +0000 (23:46 +0000)] 
irc.c: Reconnect if unable to WRITE

22 years agoreconnect on select() returning -1 was bad mmkay
strtok [Thu, 17 Jan 2002 23:38:13 +0000 (23:38 +0000)] 
reconnect on select() returning -1 was bad mmkay

22 years agoMore attempted irc_reconnect() fixes.
strtok [Thu, 17 Jan 2002 23:35:43 +0000 (23:35 +0000)] 
More attempted irc_reconnect() fixes.

22 years agoirc.c: Log on irc_reconnect() call
strtok [Thu, 17 Jan 2002 23:31:48 +0000 (23:31 +0000)] 
irc.c: Log on irc_reconnect() call

22 years agoirc.c: added irc_reconnect
strtok [Thu, 17 Jan 2002 23:25:12 +0000 (23:25 +0000)] 
irc.c: added irc_reconnect

22 years agoAnd another
andy [Thu, 17 Jan 2002 23:12:37 +0000 (23:12 +0000)] 
And another

22 years agoBSD fix
andy [Thu, 17 Jan 2002 23:11:20 +0000 (23:11 +0000)] 
BSD fix

22 years agoFirst four letters of nick for commands.
andy [Thu, 17 Jan 2002 23:07:03 +0000 (23:07 +0000)] 
First four letters of nick for commands.

22 years agoconfig.c: Set pointer to type_string's to null
strtok [Thu, 17 Jan 2002 23:02:32 +0000 (23:02 +0000)] 
config.c: Set pointer to type_string's to null
irc.c: reconnect on select() exception vector being set with IRC_FD

22 years agoscan_timer fix
strtok [Thu, 17 Jan 2002 22:12:01 +0000 (22:12 +0000)] 
scan_timer fix

22 years agoscan.c: Added timeout on verbose checking
strtok [Thu, 17 Jan 2002 22:08:56 +0000 (22:08 +0000)] 
scan.c: Added timeout on verbose checking

22 years agoChanged scan_connect to compensate for verbose scanning.
strtok [Thu, 17 Jan 2002 21:53:42 +0000 (21:53 +0000)] 
Changed scan_connect to compensate for verbose scanning.

22 years agoManual check almost done, but work must stop here for a few hours..
andy [Thu, 17 Jan 2002 12:58:04 +0000 (12:58 +0000)] 
Manual check almost done, but work must stop here for a few hours..

22 years agoSupport for oper-only commands.
andy [Thu, 17 Jan 2002 08:22:28 +0000 (08:22 +0000)] 
Support for oper-only commands.

We keep a list of command structures, each oper command is placed into the
first free structure and then a /userhost is issued.

When the reply from userhost is received and the user verified as an oper
then the command can be executed, otherwise it should be ignored.  Then the
command structure may be cleared and any dynamic memory freed.

We may receive userhost replies with no data, indicating that the nick left
the network before we could check them.  Since we can't tell who it is,
we need to periodically (in this case, every 2 minutes) go through our
command list and remove any commands that have not been executed in that
period.

dissect_time() also moved to misc.c, now that it is used by more than just
the stats functions.

Current limitation: oper commands may have only one parameter.

22 years agoAdded README file (yet to be written)
strtok [Thu, 17 Jan 2002 06:17:44 +0000 (06:17 +0000)] 
Added README file (yet to be written)

22 years agoOops, the old way left nick unterminated.
andy [Thu, 17 Jan 2002 01:47:08 +0000 (01:47 +0000)] 
Oops, the old way left nick unterminated.

22 years agoSome simple stats:
andy [Thu, 17 Jan 2002 01:25:52 +0000 (01:25 +0000)] 
Some simple stats:

[01:24:54] <grifferz> peng stat
[01:24:54] <penguinBopm> Uptime: 1 minute, 46 seconds
[01:24:54] <penguinBopm> Found 0 WinGates, 0 open
[01:24:54] <penguinBopm> Found 0 SOCKS4 servers, 0 open
[01:24:54] <penguinBopm> Found 1 SOCKS5 servers, 1 open
[01:24:54] <penguinBopm> Found 1 HTTP proxies, 1 open
[01:24:54] <penguinBopm> Number of connects: 2

22 years agoHere's the beginnings of some command handling. First four letters of
andy [Thu, 17 Jan 2002 00:30:46 +0000 (00:30 +0000)] 
Here's the beginnings of some command handling.  First four letters of
server name plus command, or "!all" then command, either in msg or in
a channel that bopm is watching.

22 years agoscan.c: Flag conncetions STATE_CLOSED which return 0 on read function.
strtok [Wed, 16 Jan 2002 22:12:32 +0000 (22:12 +0000)] 
scan.c: Flag conncetions STATE_CLOSED which return 0 on read function.

22 years agoirc.c: Added no data timeout of 300 seconds
strtok [Wed, 16 Jan 2002 19:17:30 +0000 (19:17 +0000)] 
irc.c: Added no data timeout of 300 seconds
       select() now switches on errno to determine unrecoverable error
       and reconnects if need be.

22 years agoRejoin when kicked. Other part of the code already handle getting in to
andy [Wed, 16 Jan 2002 16:17:18 +0000 (16:17 +0000)] 
Rejoin when kicked.  Other part of the code already handle getting in to
channels through +bikl modes.

22 years agoLog all incoming and outgoing IRC traffic at debug level 2+ (./bopm -dd)
andy [Wed, 16 Jan 2002 15:37:00 +0000 (15:37 +0000)] 
Log all incoming and outgoing IRC traffic at debug level 2+ (./bopm -dd)

22 years agoSome fork cleanups, some extra headers needed by strlen, umask, exit.
andy [Wed, 16 Jan 2002 14:15:25 +0000 (14:15 +0000)] 
Some fork cleanups, some extra headers needed by strlen, umask, exit.

22 years ago-)3 is proabbly OK
andy [Wed, 16 Jan 2002 14:00:32 +0000 (14:00 +0000)] 
-)3 is proabbly OK

22 years agoscan.c: Added code to mark connects STATE_CLOSED if they match a host that
strtok [Wed, 16 Jan 2002 06:40:05 +0000 (06:40 +0000)] 
scan.c: Added code to mark connects STATE_CLOSED if they match a host that
        has already been determined to be an open proxy.

22 years agoTODO: Added to project
strtok [Wed, 16 Jan 2002 06:07:34 +0000 (06:07 +0000)] 
TODO: Added to project
config.c: Removed debug line for free()

22 years agoSample config is now more appropriate.
strtok [Wed, 16 Jan 2002 04:57:35 +0000 (04:57 +0000)] 
Sample config is now more appropriate.

22 years agoA little bit more logging in debug mode.
andy [Wed, 16 Jan 2002 03:22:50 +0000 (03:22 +0000)] 
A little bit more logging in debug mode.