]>
jfr.im git - irc/ircd-hybrid/bopm.git/log
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
strtok [Sat, 19 Jan 2002 05:05:04 +0000 (05:05 +0000)]
README grammar fix
strtok [Sat, 19 Jan 2002 05:03:26 +0000 (05:03 +0000)]
Updated TODO
strtok [Sat, 19 Jan 2002 01:47:25 +0000 (01:47 +0000)]
More grammar fixes
strtok [Sat, 19 Jan 2002 01:45:01 +0000 (01:45 +0000)]
Bad grammar!
strtok [Fri, 18 Jan 2002 23:22:24 +0000 (23:22 +0000)]
More README documentation added (credits)
Added INSTALL with quick install procedures
strtok [Fri, 18 Jan 2002 22:57:07 +0000 (22:57 +0000)]
Off by one fix with clean()
strtok [Fri, 18 Jan 2002 22:49:53 +0000 (22:49 +0000)]
Yet another #include <time.h> for BSD!
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.
strtok [Fri, 18 Jan 2002 22:28:04 +0000 (22:28 +0000)]
Begin README file.
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.
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
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.
strtok [Fri, 18 Jan 2002 06:07:38 +0000 (06:07 +0000)]
Added port to stats
Replaced sizeof scan_protocols with SCAN_NUMPROTOCOLS
strtok [Fri, 18 Jan 2002 06:00:55 +0000 (06:00 +0000)]
Added size_t SCAN_NUMPROTOCOLS
strtok [Fri, 18 Jan 2002 04:49:22 +0000 (04:49 +0000)]
hopeful extern fix
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
andy [Fri, 18 Jan 2002 01:51:19 +0000 (01:51 +0000)]
Moke debug stuff work by linking it properly
andy [Fri, 18 Jan 2002 01:25:49 +0000 (01:25 +0000)]
Simple SIGINT handler
strtok [Fri, 18 Jan 2002 01:15:51 +0000 (01:15 +0000)]
Fixed massive CPU usage (YAY).
andy [Fri, 18 Jan 2002 00:39:14 +0000 (00:39 +0000)]
DEBUG_GPROF=1 make to enable gprof debugging
strtok [Fri, 18 Jan 2002 00:02:37 +0000 (00:02 +0000)]
irc_reconnect() fixed and working
rehashing now working (/kill bot to rehash)
strtok [Thu, 17 Jan 2002 23:46:55 +0000 (23:46 +0000)]
irc.c: Reconnect if unable to WRITE
strtok [Thu, 17 Jan 2002 23:38:13 +0000 (23:38 +0000)]
reconnect on select() returning -1 was bad mmkay
strtok [Thu, 17 Jan 2002 23:35:43 +0000 (23:35 +0000)]
More attempted irc_reconnect() fixes.
strtok [Thu, 17 Jan 2002 23:31:48 +0000 (23:31 +0000)]
irc.c: Log on irc_reconnect() call
strtok [Thu, 17 Jan 2002 23:25:12 +0000 (23:25 +0000)]
irc.c: added irc_reconnect
andy [Thu, 17 Jan 2002 23:12:37 +0000 (23:12 +0000)]
And another
andy [Thu, 17 Jan 2002 23:11:20 +0000 (23:11 +0000)]
BSD fix
andy [Thu, 17 Jan 2002 23:07:03 +0000 (23:07 +0000)]
First four letters of nick for commands.
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
strtok [Thu, 17 Jan 2002 22:12:01 +0000 (22:12 +0000)]
scan_timer fix
strtok [Thu, 17 Jan 2002 22:08:56 +0000 (22:08 +0000)]
scan.c: Added timeout on verbose checking
strtok [Thu, 17 Jan 2002 21:53:42 +0000 (21:53 +0000)]
Changed scan_connect to compensate for verbose scanning.
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..
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.
strtok [Thu, 17 Jan 2002 06:17:44 +0000 (06:17 +0000)]
Added README file (yet to be written)
andy [Thu, 17 Jan 2002 01:47:08 +0000 (01:47 +0000)]
Oops, the old way left nick unterminated.
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
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.
strtok [Wed, 16 Jan 2002 22:12:32 +0000 (22:12 +0000)]
scan.c: Flag conncetions STATE_CLOSED which return 0 on read function.
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.
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.
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)
andy [Wed, 16 Jan 2002 14:15:25 +0000 (14:15 +0000)]
Some fork cleanups, some extra headers needed by strlen, umask, exit.
andy [Wed, 16 Jan 2002 14:00:32 +0000 (14:00 +0000)]
-)3 is proabbly OK
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.
strtok [Wed, 16 Jan 2002 06:07:34 +0000 (06:07 +0000)]
TODO: Added to project
config.c: Removed debug line for free()
strtok [Wed, 16 Jan 2002 04:57:35 +0000 (04:57 +0000)]
Sample config is now more appropriate.
andy [Wed, 16 Jan 2002 03:22:50 +0000 (03:22 +0000)]
A little bit more logging in debug mode.
andy [Wed, 16 Jan 2002 03:11:33 +0000 (03:11 +0000)]
Log a readable time stamp
andy [Wed, 16 Jan 2002 00:31:21 +0000 (00:31 +0000)]
HINT: if you run it without a config file, and you don't check, it tries
to do gethostbyname on a null string and segfaults.
andy [Wed, 16 Jan 2002 00:21:11 +0000 (00:21 +0000)]
getopt_long is not portable, so we'll just have to do with only -d for now.
On the plus side, extra -d = higher debug level in case that is needed in
future (OPT_DEBUG = debug level or 0 for no debug)
andy [Wed, 16 Jan 2002 00:04:41 +0000 (00:04 +0000)]
Added command line option -d or --debug, this prevents forking and directs
all logging to stderr.
andy [Tue, 15 Jan 2002 22:49:05 +0000 (22:49 +0000)]
More gcov stuff to ignore
andy [Tue, 15 Jan 2002 22:48:27 +0000 (22:48 +0000)]
Ignore pid and log file.
andy [Tue, 15 Jan 2002 22:17:06 +0000 (22:17 +0000)]
old erik, move bopm.conf to bopm.sample.conf so it doesn't try to cvs
commit my actual oper pass.
andy [Tue, 15 Jan 2002 22:07:36 +0000 (22:07 +0000)]
And ignore the binary!
andy [Tue, 15 Jan 2002 22:07:18 +0000 (22:07 +0000)]
Ignore gcov stuff
strtok [Tue, 15 Jan 2002 22:01:33 +0000 (22:01 +0000)]
Logging in scan_w_socks4 for bad inet_aton call
andy [Tue, 15 Jan 2002 21:58:15 +0000 (21:58 +0000)]
Ignore vi(m) swapfiles.
andy [Tue, 15 Jan 2002 21:57:20 +0000 (21:57 +0000)]
DEBUG_GCOV=1 make
DEBUG_GDB=1 make
to enable coverage instrumenting and extra debug for gdb respectively.
andy [Tue, 15 Jan 2002 21:48:48 +0000 (21:48 +0000)]
I do not think we need those flags (and they are gcc-specific)
andy [Tue, 15 Jan 2002 21:37:51 +0000 (21:37 +0000)]
Here's a better Makefile (sorry dg :p)
andy [Tue, 15 Jan 2002 21:37:12 +0000 (21:37 +0000)]
We have a Makefile
andy [Tue, 15 Jan 2002 21:29:39 +0000 (21:29 +0000)]
dg's Makefile
strtok [Tue, 15 Jan 2002 21:23:37 +0000 (21:23 +0000)]
socks4 fix
strtok [Tue, 15 Jan 2002 21:05:09 +0000 (21:05 +0000)]
buffer underrun fix
strtok [Tue, 15 Jan 2002 19:21:54 +0000 (19:21 +0000)]
vsnprintf and snprintf conversion in irc_send (irc.c)
strtok [Tue, 15 Jan 2002 19:10:03 +0000 (19:10 +0000)]
attempted bugfixes
strtok [Tue, 15 Jan 2002 08:04:10 +0000 (08:04 +0000)]
Unborked +c scanning...
strtok [Tue, 15 Jan 2002 07:44:01 +0000 (07:44 +0000)]
Fixed IRC binding.
strtok [Tue, 15 Jan 2002 07:34:55 +0000 (07:34 +0000)]
BSD fixes
strtok [Tue, 15 Jan 2002 07:15:46 +0000 (07:15 +0000)]
bsd fix
strtok [Tue, 15 Jan 2002 07:01:06 +0000 (07:01 +0000)]
bopm now forks and writes pid to bopm.pid
debug printf() removed from irc.c, output exists only
in the logfile now.
strtok [Tue, 15 Jan 2002 05:59:07 +0000 (05:59 +0000)]
Nickserv ident and Chanserv invite fixes.
strtok [Mon, 14 Jan 2002 21:57:59 +0000 (21:57 +0000)]
Few bug fixes.
strtok [Mon, 14 Jan 2002 21:54:10 +0000 (21:54 +0000)]
NickServ identification via dg style.
strtok [Mon, 14 Jan 2002 21:23:12 +0000 (21:23 +0000)]
CHANSERV invite code, nastiness is due to avoiding strtok() and strstr()
strtok [Mon, 14 Jan 2002 19:31:57 +0000 (19:31 +0000)]
Channel and bopm.log logging.
strtok [Mon, 14 Jan 2002 07:33:17 +0000 (07:33 +0000)]
Added Configurable KLINE command and config parameter KLINE_COMMAND
Added NICKSERV_IDENT and NICKSERV_INVITE config parameters.
strtok [Mon, 14 Jan 2002 07:14:14 +0000 (07:14 +0000)]
config.c is now more pretty
strtok [Mon, 14 Jan 2002 05:47:31 +0000 (05:47 +0000)]
Removed unportable flags on recv().
Added ignore on SIGPIPE
strtok [Mon, 14 Jan 2002 05:35:15 +0000 (05:35 +0000)]
Added MSG_NOSIGNAL flag to all RECV functions in scanner to prevent SIGPIPE
strtok [Mon, 14 Jan 2002 05:23:33 +0000 (05:23 +0000)]
Replaced signal with sigaction.
strtok [Mon, 14 Jan 2002 03:20:11 +0000 (03:20 +0000)]
Removed PERFORM from configuration.
Added CHANNELS to config.
strtok [Sun, 13 Jan 2002 08:37:15 +0000 (08:37 +0000)]
fflush on log() (log.c) so that log files are generated properly.
strtok [Sun, 13 Jan 2002 07:17:29 +0000 (07:17 +0000)]
Bind to BINDSCAN for scanning (needs tested).
strtok [Sun, 13 Jan 2002 06:24:12 +0000 (06:24 +0000)]
Added BINDIRC and BINDSCAN as config parameters.
BINDIRC is now used for binding the irc connection.
strtok [Sun, 13 Jan 2002 04:05:56 +0000 (04:05 +0000)]
Added comments to bopm.conf.
strtok [Sat, 12 Jan 2002 19:58:08 +0000 (19:58 +0000)]
Insecure wingate detection -- yay
strtok [Sat, 12 Jan 2002 19:29:25 +0000 (19:29 +0000)]
socks5 scanning support
strtok [Sat, 12 Jan 2002 06:14:40 +0000 (06:14 +0000)]
Finished socks4 and http proxy support, cleaned out debug code.
Added SCANIP and SCANPORT to config, which provides a means to tell
the scanner what ip/port to try to connect the proxy to for testing.
Currently this MUST be an IP (no host resolving)
strtok [Sat, 12 Jan 2002 06:03:15 +0000 (06:03 +0000)]
Socks4 scanning working (just need to setup the right IP to use)
strtok [Fri, 11 Jan 2002 20:14:42 +0000 (20:14 +0000)]
Socks 4 write support.
strtok [Fri, 11 Jan 2002 19:10:00 +0000 (19:10 +0000)]
Several bugfixes, timeouts added, kline reason added to conf file
strtok [Fri, 11 Jan 2002 17:35:33 +0000 (17:35 +0000)]
Connection timeouts and removal of structs marked STATE_CLOSED every 1
sec (via alarm signal).
strtok [Fri, 11 Jan 2002 17:11:46 +0000 (17:11 +0000)]
A few code cleanups.
strtok [Fri, 11 Jan 2002 06:45:54 +0000 (06:45 +0000)]
Klines work now (kline function call needs shifted to a less local position)
strtok [Fri, 11 Jan 2002 02:26:24 +0000 (02:26 +0000)]
checking for ready read/write in sock_check() using select. functions
regarding specific protocols are then called for individual writing/reading.