ircu2.10.12-pk.git
23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 15 Jul 2000 23:55:33 +0000 (23:55 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

IP gline's / k:lines are now done with bit tests.  This should be much
much faster.

As a side effect you can now gline/kline  10.0.0.0/8 for instance.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@271 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 15 Jul 2000 12:29:16 +0000 (12:29 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed lots of compiletime warnings.  Thanks to CyberDude that gave me
a shell so I could test.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@269 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer
Perry Lorier [Sat, 15 Jul 2000 01:31:24 +0000 (01:31 +0000)]
Author: Isomer
Log message:

More doco changes, IPcheck 'fixes'.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@268 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Greg Sikorski <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Sun, 9 Jul 2000 14:19:44 +0000 (14:19 +0000)]
Author: Greg Sikorski <gte@atomicrevs.demon.co.uk>
Log message:

Clean up compiler warning.

m_oper.c: In function `m_oper':
m_oper.c:206: warning: implicit declaration of function `write_log'
m_oper.c:207: warning: implicit declaration of function `myctime'

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@266 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sun, 9 Jul 2000 04:52:59 +0000 (04:52 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

* Updated doc/ircd.8, it was 12 years out of date.
* rewrote m_whois.c, much clearer how it works, fixed a couple of it's quirks
and documented how it works.  Should work the same as the old version.
If the phase of the moon is in the right quarter it may even use less cpu.
* updated rfc1459.unet
* fixed some IPcheck funnies.
* fixed the numeric nick collision funnies? (unsure)
* We're now keeping track of server connections in IPcheck to prevent us having
to special case them all over the place.

Testing required:
 * does it run.
 * does whois work as expected?
 * does ipcheck still core?
 * are the docs all up to date?

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@265 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sun, 2 Jul 2000 01:06:17 +0000 (01:06 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed adding remote clients with their servers IP.  Doh! Stupid stupid stupid.
Thanks Hektik for finding this one :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@263 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Jul 2000 12:37:03 +0000 (12:37 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed the "bug" that admin's keep reporting that people are slipping through
they're K:'s and when they /rehash they see a whole heap suddenly get removed.

What really happens:
 When a /rehash comes in everyones compared against all the glines and klines,
including unregistered people that haven't had the tests done yet.  So the
reason that they see people being 'glined' is because they haven't been tested
yet.

The fix?  We now say "Gline active for Unregistered Client foo" where
appropriate.  Thus making it more obvious to everyone whats going on.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@262 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Jul 2000 05:24:56 +0000 (05:24 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Well, heres my IPcheck changes.
First note that this INTENTIONALLY doesn't compile - to people that like to
regularly have the bleeding edge version to bug test - thanks, but this
version is just far too unstable, I don't like committing knowingly buggy
code, but this is it. (On the other hand, changing a #if 1 to #if 0 makes it
compile again if your really feeling insane).

I'm interested in various coders to have a look at this, currently this
doesn't deal with nick collisions at all, is this my bug? or something left
over from what kev did?

Theres assert()'s all over the place, if it miscounts then you should have
a nice core for you to examine.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@261 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 29 Jun 2000 23:44:45 +0000 (23:44 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed minor bugs in command line handling that made testing a pain.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@260 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <Isomer@coders.net>
Perry Lorier [Thu, 29 Jun 2000 23:21:15 +0000 (23:21 +0000)]
Author: Isomer <Isomer@coders.net>
Log message:

* Fixed bug with LOCAL_KILL_ONLY in m_kill.c
* Tidied m_nick.c

(These are just some minor things I've been tweaking while playing with IPcheck)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@259 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Tue, 13 Jun 2000 04:55:42 +0000 (04:55 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Iso forgot mo_stats() when he added /stats v and I'm much too lazy to deoper to use it. :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@256 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Tue, 13 Jun 2000 03:01:22 +0000 (03:01 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Add stats v, cosmetic change to IPcheck

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@252 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Greg Sikorski <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Fri, 9 Jun 2000 20:56:03 +0000 (20:56 +0000)]
Author: Greg Sikorski <gte@atomicrevs.demon.co.uk>

Log message:
Clean up compiler warnings.

Status: Compiles
Testing needed: None

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@251 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 9 Jun 2000 19:18:12 +0000 (19:18 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (mode_parse_client): don't send warning if
there's not enough arguments for a +/-o/v; means the habit of
doing "/mode #channel +oooooo bob" doesn't result in a bunch of
error messages

Status: Compile-checked
Testing needed:

Make sure "/mode #channel +oooooo bob" doesn't result in five warnings
about not enough parameters ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@250 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Greg Sikorski <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Sun, 4 Jun 2000 05:19:30 +0000 (05:19 +0000)]
Author: Greg Sikorski <gte@atomicrevs.demon.co.uk>
Log message:

At present, a "/names #mychan" will iterate over the GlobalChannelList to produce
the reply.
It loops over all 25,000 channels each time someone does a /join #mychan (!)

This patch refactors /names to deal with the 2 special cases seperately, and
reduce the need for this wasted effort. (Will also try and get some gperf stats
ready soon).

Case 1. A standard /names #channel[,#channel2,#channel3 ...] - quick/simple lookup
        and list.

Case 2. A "/names 0", to list all the visibile channels & associated visible users
        followed by the remaining users not in any channels, or in secret channels.

Status:
Compiled, thoroughly testing.

Exploits such as /names 0,0,0,0,0,0,,,,,,,, [etc] are avoided, the routine drops
out after the first 0 encountered.

Testing needed:

Test remote /names, ensure invisible/secret chans aren't displayed anywhere they
shouldn't be.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@249 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 3 Jun 2000 03:01:11 +0000 (03:01 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

GLINE storm fix...yeah, this is pretty complicated :/  Basically, if
there's a gline for a user we send a NICK for, we make sure and insert
%<lastmod>:<mask> after the user modes, if present.

Status: compiled, tested

Testing needed:

Test all the code paths thoroughly; this is a rather complicated change, so
take nothing for granted.  In particular, make sure bursting servers send
the right stuff, especially in the no-usermode case, which is the only part
I haven't stringently tested.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@248 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 3 Jun 2000 00:09:13 +0000 (00:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This is the fix for the JUPE storm problem

Status: Tested

Testing needed:

Rigiorious testing of all code paths, to make sure I haven't
missed something important...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@247 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 2 Jun 2000 23:09:20 +0000 (23:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Actually, this should be the slightest bit more efficient than an else-if
clause.

Status: Compiled
Testing needed: Intuitively correct, but some testing is probably in order

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@246 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 2 Jun 2000 22:57:33 +0000 (22:57 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Inhibit JUPE/GLINE processing resynch sends during netburst

Status: Tested
Testing needed: QA

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@245 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 2 Jun 2000 14:49:31 +0000 (14:49 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix bug where user parting local channel never really leaves

Status: Tested, works
Testing needed: QA only

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@244 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Wed, 31 May 2000 05:22:09 +0000 (05:22 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Fixed protocol syntax typo's in m_motd.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@242 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Tue, 30 May 2000 07:35:52 +0000 (07:35 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed stats l
Hopefully IPcheck ghosts should get killed everywhere.
Fixed warning message in s_conf.c.

Testing required:
 * /stats l
 * IPcheck code.  Esp connecting lots of people all around the network then
connecting the servers up and trying to push it over the 255 user limit. :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@241 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Mon, 29 May 2000 10:37:34 +0000 (10:37 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Fixed extra space on /names as reported by poptix.
 * Fixed incorrect syntax of ERROR message reported by Mr_RIP

needs testing:
 * Throttle message
 * /names

I've not even tried to compile this, I've been awake for over 24hrs now, if it
doesn't compile, blame someone else other than me? :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@240 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 18 May 2000 23:05:04 +0000 (23:05 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Burst hopefully fixed

Status: Needs continued testing
Testing done: none

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@239 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 4 May 2000 18:54:31 +0000 (18:54 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Small fixes for some minor bugs

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@238 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 4 May 2000 18:21:48 +0000 (18:21 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Update JUPE documentation, write GLINE documentation; please feel free to
refine these documents ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@237 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 4 May 2000 18:09:47 +0000 (18:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

1) Don't propagate local changes to jupes and G-lines
2) Force oper-initiated changes of Uworld-set G-lines to be local only
3) Remove Uworld-set G-lines instead of simply deactivating them

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@236 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 4 May 2000 17:43:47 +0000 (17:43 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Glines from Uworld of the form "E GL * -<mask>" are now accepted, and
deactivate the G-line.  No thanks to Maniac-.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@235 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 4 May 2000 17:28:30 +0000 (17:28 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This should finish up conversion to the new sendcmdto_* routines except for
removing the dead (or dying) code.  Hopefully once the dead code is removed,
we'll lose a few thousand lines from channel.c alone ;)

Status: Compiles, tested
Testing needed: Brute-force literally everything

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@234 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 4 May 2000 15:33:36 +0000 (15:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

reimplement BURST with empty channel processing in m_end_of_burst

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@233 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 3 May 2000 14:50:32 +0000 (14:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

conversions in m_server.c; getting very close to being done with this
send.c project.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@232 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 3 May 2000 03:38:43 +0000 (03:38 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Fix broken include ordering in ircd.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@231 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 3 May 2000 03:32:24 +0000 (03:32 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Cleanups for IPcheck work.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@230 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 2 May 2000 20:25:32 +0000 (20:25 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Starting to remove dead code; noted a sendto_ops use in a header file;
marked a sendto_one in hunt_server more clearly

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@229 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 2 May 2000 20:09:31 +0000 (20:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Conversion to new send.c routines; you do *not* want to know what I went
through to debug these.  Man, and I thought m_server was complex...

Status: Tested on a homogeneous network
Testing needed:

Test on a mixed network.  Note: assertion bug may cause /rping local.server
to core; it did happen to me.  I added IsMe() to the tests to fix it, but
look out on other servers.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@228 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 1 May 2000 20:51:38 +0000 (20:51 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Update to new send routines; I somehow missed this one...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@227 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 1 May 2000 16:50:41 +0000 (16:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

removed a piece of dead code, completely reimplemented m_kick from scratch

Status: Debugged and tested
Testing needed: Brute-force everything over and over again

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@226 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Mon, 1 May 2000 11:23:57 +0000 (11:23 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Add 'PREFIX' to ISUPPORT line - shamelessly stolen from unreal ircd.
(Whistles innocently)
 * My take on the /part bug fix.  It'll either work, or core the server -
either way, it's got to be an improvement on the current scheme.  Ode for
GC.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@225 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sun, 30 Apr 2000 12:41:49 +0000 (12:41 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Ok, I was going to be asleep an hour ago, I shouldn't be legally allowed to
commit patches in this state.  Fix for my fix for the m_invite bug.

Thanks hektik for being more awake than I am.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@224 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sun, 30 Apr 2000 12:35:56 +0000 (12:35 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fix for the over half of m_invite.c, one of these days I'll commit a fix
and get the entire thing right in the first commit :P

Testing Required:
invite's for people on remote servers.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@223 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: ZenShadow
Perry Lorier [Sun, 30 Apr 2000 12:00:07 +0000 (12:00 +0000)]
Author: ZenShadow
Log message:

Change the IPcheck API.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@222 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer / ZenShadow
Perry Lorier [Sun, 30 Apr 2000 11:39:24 +0000 (11:39 +0000)]
Author: Isomer / ZenShadow
Log message:

fix for m_invite by HeKTiK/Isomer

IPcheck cleanups by ZenShadow

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@221 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer / ZenShadow
Perry Lorier [Sun, 30 Apr 2000 10:22:15 +0000 (10:22 +0000)]
Author: Isomer / ZenShadow
Log message:

I fixed some minor bugs
ZenShadow cleaned up some stuff.

It's a bug, blame ZenShadow.
If it's a welcome feature I'll take the credit.  <grin!>

Thanks :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@220 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: ZenShadow <grep@doyle.net>
Perry Lorier [Sun, 30 Apr 2000 06:44:27 +0000 (06:44 +0000)]
Author: ZenShadow <grep@doyle.net>
Log message:

Cleanup for ircd.c and CHROOTDIR configuration stuff.

Testing Required:
 * Configuration
 * CHROOT (enabled/disabled)
 * running as root
 * /restart

and associated startup stuff.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@219 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <isomer@coders.net>
Perry Lorier [Sun, 30 Apr 2000 06:37:52 +0000 (06:37 +0000)]
Author: Perry Lorier <isomer@coders.net>
Log message:

Minor changes.

Fixed bug in m_mode() thanks poptix.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@218 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 30 Apr 2000 01:33:28 +0000 (01:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Rewrote JOIN/CREATE/PART routines, fixing a bad JOIN 0 bug in the
process...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@217 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <isomer@coders.net>
Perry Lorier [Sat, 29 Apr 2000 05:30:05 +0000 (05:30 +0000)]
Author: Perry Lorier <isomer@coders.net>
Log message:

fixing compile errors in debug code.  oops!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@216 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 29 Apr 2000 04:42:51 +0000 (04:42 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Added debugging statements to IPcheck to try and tickle these ipcheck
bugs and figure out whats going on.

Testing Required:
 * Compile with -DIPCHECKDEBUG and see if you get throttled when you shouldn't.
If you do, note how many 'connections' the server "thinks" you have.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@215 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 17:34:45 +0000 (17:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

a couple more of the send.c conversions, and make all those RPL_EXPLICITs
into SND_EXPLICITs

Status: Unstable, needs testing
Testing needed:

Still need to verify all of the command code paths carefully

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@214 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 16:16:06 +0000 (16:16 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

use the new sendcmdto_* stuff for do_numeric, along with fixing a minor
bug in send_reply()

Status: Stable
Testing needed:

This patch has been carefully tested, and should work fine; continual
testing will be necessary, however

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@213 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 15:34:34 +0000 (15:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix bug in server_estab

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@212 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 15:10:14 +0000 (15:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

First bug fixed -- %C requires a client argument

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@211 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 15:04:59 +0000 (15:04 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Lots more conversions

Status: Unstable, needs testing
Testing required:

Pretty much everything now needs to be rigorously tested; compile warnings/
errors have at least been fixed, though.  More to do on this project...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@210 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <Isomer@coders.net>
Perry Lorier [Thu, 27 Apr 2000 23:05:42 +0000 (23:05 +0000)]
Author: Perry Lorier <Isomer@coders.net>
Log message:

Lotsa minor changes, documented some 'undocumented' features, add more stuff
to RPL_ISUPPORT, add -DNOOPER, Change some of the defaults in make config.
Make some of the error messages a bit more understandable.

Testing Required:
* Check that RELEASE.NOTES is correct.
* Run through make config with no config file and see if everything looks
ok.
* Make sure it compiles :)
* Make sure RPL_ISUPPORT is ok.
* Make sure that servers that aren't defined with HUB or L:'d or don't have
a H: give the right error messages.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@209 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 27 Apr 2000 20:24:12 +0000 (20:24 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Some more conversions, some /* XXX DEAD */ comments, and some debugging

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@208 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 27 Apr 2000 02:08:38 +0000 (02:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

more conversions, update write_log, fix a bug in sendcmdto_channel_butserv

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@207 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 26 Apr 2000 21:02:38 +0000 (21:02 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

duh...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@206 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 26 Apr 2000 20:58:38 +0000 (20:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/send.c (sendcmdto_flag_butone): explicitly send WALLOPS to
local users

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@205 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 26 Apr 2000 20:14:57 +0000 (20:14 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Lots more sendcmdto_* and send_reply changes; added RPL_EXPLICIT and dealt
with most of those numerics; added sendrawto_one for explicitly sending
without a prefix

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@204 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 25 Apr 2000 20:33:50 +0000 (20:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

document new %C modifiers and define a new %H modifier for channels for
possible future expansion (say, numeric channel names?)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@203 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 25 Apr 2000 20:22:26 +0000 (20:22 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

More changes to use new sendcmdto_* routines; also simplified them using
new format options

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@202 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 24 Apr 2000 18:50:38 +0000 (18:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

The conversion slowly continues

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@201 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 24 Apr 2000 16:34:02 +0000 (16:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Slowly starting to switch over to new sendcmdto_* functions and of
course send_reply; so far, the changes have all been (cursorially)
tested

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@200 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 24 Apr 2000 15:08:51 +0000 (15:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

I want to get rid of sentalong_marker; I've put comments before all the
sendcmdto_* functions that use it making suggestions on how to get rid
of it for that function.  Comments would be very much appreciated...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@199 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 21 Apr 2000 15:15:18 +0000 (15:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

one last sendcmdto_* function to round it all out: sendcmdto_match_butone
(ugh); should be considerably more efficient than sendto_match_butone,
which looped through the GlobalClientList for every single server
connected to this one.  Must have predated sentalong_marker (which
admittedly is also an atrocity :/ )

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@192 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 20 Apr 2000 20:49:08 +0000 (20:49 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Some cleanups to the syntax of the sendcmdto_* functions, add
sendto_opmask_butone, sendcmdto_flag_butone, and vsendto_opmask_butone,
add send_reply and use it

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@191 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 20 Apr 2000 03:09:35 +0000 (03:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/send.c: define sendcmdto_channel_butone, wrote a simplified
vsendto_op_mask that uses '*' instead of the receiving client
nickname

* include/send.h: declare sendcmdto_channel_butone; takes a skip
argument that allows you to skip (or not to skip) deaf users,
users behind bursting servers, and non channel operators

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@190 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Poptix <poptix@unknown.net>
Bleep [Tue, 18 Apr 2000 04:02:53 +0000 (04:02 +0000)]
Author: Poptix <poptix@unknown.net>
Log message:
Add instructions for setting up mbuf clusters for server.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@189 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 20:41:57 +0000 (20:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

wrote some new sendcmdto_* functions

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@188 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 19:20:07 +0000 (19:20 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Blah, left in bogus debugging code

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@187 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 19:01:35 +0000 (19:01 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

local deactivation of jupes and glines

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@186 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 17:07:01 +0000 (17:07 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/gline.c: detect overlapping G-lines; if an existing, wider
gline expires after the new one will, we drop the new one,
otherwise we add the G-line after that one (so the wide one will
apply first); if the new one contains an existing G-line and if it
will expire after the existing one, we drop the existing one to
save memory

* ircd/m_gline.c (mo_gline): opers could issue remote local
glines when CONFIG_OPERCMDS was off; fixed

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@185 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 05:19:02 +0000 (05:19 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Support dropping the target argument to indicate local JUPEs

(ok, I'll stop now; good night)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@184 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 05:12:02 +0000 (05:12 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

make jupe_add() use a flags argument; add flags arguments (and pass
appropriate values) to jupe/gline_activate/deactivate for future expansion
(local activations and deactivations for global glines)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@183 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 04:37:37 +0000 (04:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

oops, missed a couple of things...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@182 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 04:30:42 +0000 (04:30 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

fix for ircd_snprintf assigning negative numbers to a size_t; clean up
expire time handling to use offsets to CurrentTime, since that's definitely
monotonically increasing; remove local jupes/glines instead of simply
deactivating them; forgot one case in sendcmdto_one()

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@181 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 15 Apr 2000 04:20:14 +0000 (04:20 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Type safety and const correctness cleanups.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@180 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Sat, 15 Apr 2000 03:47:32 +0000 (03:47 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

Portability fix in userload.c for struct tm.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@179 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 20:42:28 +0000 (20:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_gline.c (mo_gline): d'oh, target isn't a numeric; use %C
and convert acptr...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@175 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@undernet.org>
Kevin L. Mitchell [Fri, 14 Apr 2000 20:19:41 +0000 (20:19 +0000)]
Author: Kev <klmitch@undernet.org>
Log message:

a couple of misc. bug fixes for gline code, start work on sendcmdto_*
series, include ircd_snprintf in linking (for sendcmdto_*), update gline
and jupe code to utilize the new functions.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@174 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 17:37:01 +0000 (17:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Added CONFIG_OPERCMDS to switch things on and off; makes the task of a two-
phase upgrade much simpler.  Using ERR_DISABLED to indicate disabled
commands.  Also some minor cleanups and removal of dead code in m_gline.c
and gline.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@173 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 17:08:06 +0000 (17:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Mark the bug fixed, btw...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@172 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 16:53:10 +0000 (16:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Misc. G-line cleanups and fixes; a cleanup in ircd_snprintf.c; run
autoconf/autoheader and make depend

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@171 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 14:41:04 +0000 (14:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/s_conf.c (find_kill): gline_find() takes a char *userhost,
but gline_lookup() actually takes a client--d'oh.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@170 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Run <carlo@alinoe.com>
Joseph Bongaarts [Fri, 14 Apr 2000 14:37:36 +0000 (14:37 +0000)]
Author: Run <carlo@alinoe.com>
Log message:
Bug fix for rpong.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@169 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Fri, 14 Apr 2000 02:56:23 +0000 (02:56 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Back port bug fix from 2.10.10

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@168 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Thu, 13 Apr 2000 22:13:52 +0000 (22:13 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Lots of stuff... Part 1 of the m_stats changes, a slew of bug fixes, cleanups
for kev's G:line changes. m_stats still has more changes coming, but I wanted
to make things compilable again.
Added s_stats.c/h for stats helper functions.
The tree compiles now, but probably won't work. There is at least 1 bug in the
gline code left.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@164 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Thu, 13 Apr 2000 21:56:24 +0000 (21:56 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Lots of stuff... Part 1 of the m_stats changes, a slew of bug fixes, cleanups
for kev's G:line changes. m_stats still has more changes coming, but I wanted
to make things compilable again.
Added s_stats.c/h for stats helper functions.
The tree compiles now, but probably won't work. There is at least 1 bug in the
gline code left.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@163 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Thu, 13 Apr 2000 20:07:13 +0000 (20:07 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

* ircd/whocmds.c: Don't make idle flag default in /who, to prevent:
  "/who * x"
  "Gte3 H*iwg Gte@212.49.240.217 :1 :0 I am the one that was."
  (Found by Plexus).

* ircd/whocmds.c: Change idle time calc from socket idle to user idle.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@162 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 19:20:53 +0000 (19:20 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* config/aclocal.m4 (unet_CHECK_TYPE_SIZES): check size of void *,
too, for ircd_snprintf.c

* include/ircd_snprintf.h: documentation for ircd_(v)snprintf, in
comments; mostly descended from the Linux manpage for printf, but
also documenting the extensions.

* ircd/ircd_snprintf.c: NULL dest is equivalent to going to a
client; make 'q' be the same as 'L'; remove __inline__; only
define EXTENSION if HAVE_LONG_LONG is defined

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@161 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 15:58:22 +0000 (15:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Ok, with the exception of m_stats, being worked on by GW, this should
complete the actual coding of the gline patch; server still won't
compile until GW commits his changes, though, and I haven't compile-
checked the rest (GW promised to do that ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@160 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Thu, 13 Apr 2000 05:53:48 +0000 (05:53 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

 * tools/Bouncer/*: Add port bouncer for http (x/w)
 * tools/Bouncer/*: Add comments/documentation/tags.
 * tools/Bouncer/*: Add debug defines, make task fork().

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@159 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 13 Apr 2000 03:49:07 +0000 (03:49 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Cleanup s_err.c, suggested by Liandrin and Dianora.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@158 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Bleep [Thu, 13 Apr 2000 02:54:14 +0000 (02:54 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:
Add port bouncer to tools directory

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@157 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 02:29:53 +0000 (02:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

First pass in Uworld integration with respect to G-lines--reimplementation
of the base routines for handling gline lists.  NOTE THAT ALPHA WILL NOT
BE COMPILABLE UNTIL M_GLINE.C IN REWRITTEN!  Hopefully I'll get to that
tomorrow...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@156 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 21:42:33 +0000 (21:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

minor typo in a comment

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@155 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 20:53:22 +0000 (20:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (mode_process_clients): fix "Deop of +k user on
%s by %s" message...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@154 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 20:50:12 +0000 (20:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/ircd_snprintf.c: my new snprintf()-like functions

* include/ircd_snprintf.h: my new snprintf()-like functions

(look only if you're brave; it makes my head hurt, and I wrote it!)

NOTE: NO SUPPORT FOR PRINTING FLOATING-POINT NUMBERS!  Deal.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@153 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Tue, 11 Apr 2000 23:19:17 +0000 (23:19 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Fixed typos, email addresses, and changed Y:line unfo in example.conf
to closer reflect reality.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@150 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 11 Apr 2000 05:57:24 +0000 (05:57 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Remove dead code after IPcheck cleanup, removed RPL_ERRNOSUCHUSER message
from userhost/userip replies (not in standard)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@149 c9e4aea6-c8fd-4c43-8297-357d70d61c8c