[IRCServices] Lots of AKILLS kill services

Andrew Church achurch at achurch.org
Mon Nov 22 16:34:56 PST 2004


     I can't reproduce this, either through manually adding autokills or
with the AKILLCHAN command.  I'd suggest trying to get a backtrace, but I
suspect the real problem is earlier, since there shouldn't be any way for
an autokill without an "@" to get added in the first place.  The log looks
like what would happen if all of the autokill masks were stored at the same
address, but since the masks are always individually allocated, that
shouldn't be possible.  If you can still reproduce this, try the following:

     - Back up your current database files.

     - Shut down Services (/os shutdown, so the data files are saved)
       before the autokills expire.

     - Restart Services, and see if the problem still occurs.

     - If it does, send me a copy of your autokill database file (akill.db)
       and I'll look into it.  If not, there's probably a strange issue
       related to memory allocation which will probably be impossible to
       debug without running Services in a debugger and watching how
       AKILLCHAN and the expiration routines perform.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>
>--===============0398048210==
>Content-Type: multipart/signed; micalg=pgp-sha1;
>	protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V"
>Content-Disposition: inline
>
>
>--xHFwDpU9dbj6ez1V
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>We are using IRCServices 5.0.41 and have noticed that Services sometimes
>misbehave and crash when expiring AKILLs. This is most noticable when
>hundreds of AKILLs expire, such as from a botnet AKILLfest.
>
>OperServ always GLOBOPS with "AKILL on * has expired" many times before
>dying, then dies with "PANIC! signal 6 (no buffer)"
>
>Below are bits from a log when I duplicated this behavior and my comments:
>
>[Oct 24 03:06:13.467357 2004] debug: Sent: :OperServ GLOBOPS :drdink used A=
>KILLCHAN for =02#CLTest=02
>
>This channel had a bunch of clones in it with 800 different hostnames. As
>such, this command placed 800 AKILLs of the form cl-<n>.slashnet.org where
>1 <=3D n <=3D 800.
>
>[Oct 24 03:06:13.467435 2004] debug: Sent: :services.slashnet.org TKL + G *=
> cl-1.slashnet.org services.slashnet.org 1098601873 1098601573 :Services te=
>st.
>[Oct 24 03:06:13.467484 2004] debug: Sent: :services.slashnet.org TKL + G *=
> cl-2.slashnet.org services.slashnet.org 1098601873 1098601573 :Services te=
>st.
>=2E..
>[Oct 24 03:06:13.628544 2004] debug: Sent: :services.slashnet.org TKL + G *=
> cl-800.slashnet.org services.slashnet.org 1098601873 1098601573 :Services =
>test.
>[Oct 24 03:06:13.628590 2004] debug: Sent: :OperServ NOTICE drdink :800 use=
>rs autokilled.
>
>Then, when it came time for them to expire:
>
>[Oct 24 03:12:02.453578 2004] debug: Saving databases
>[Oct 24 03:12:02.461241 2004] debug: Sent: :OperServ GLOBOPS :AKILL on *@cl=
>-1.slashnet.org has expired
>[Oct 24 03:12:02.471230 2004] debug: Sent: :services.slashnet.org TKL - G *=
> cl-1.slashnet.org services.slashnet.org
>[Oct 24 03:12:02.471493 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.471532 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.471614 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.471649 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.471727 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.471761 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.471839 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.471872 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.471950 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.471984 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>=2E..
>[Oct 24 03:12:02.477901 2004] debug: Sent: :OperServ GLOBOPS :AKILL on *@cl=
>-56.slashnet.org has expired
>[Oct 24 03:12:02.477941 2004] debug: Sent: :services.slashnet.org TKL - G *=
> cl-56.slashnet.org services.slashnet.org
>[Oct 24 03:12:02.478010 2004] debug: Sent: :OperServ GLOBOPS :AKILL on *@cl=
>-57.slashnet.org has expired
>[Oct 24 03:12:02.478049 2004] debug: Sent: :services.slashnet.org TKL - G *=
> cl-57.slashnet.org services.slashnet.org
>[Oct 24 03:12:02.478114 2004] debug: Sent: :OperServ GLOBOPS :AKILL on *@cl=
>-58.slashnet.org has expired
>[Oct 24 03:12:02.478153 2004] debug: Sent: :services.slashnet.org TKL - G *=
> cl-58.slashnet.org services.slashnet.org
>=2E..
>[Oct 24 03:12:02.483745 2004] debug: Sent: :OperServ GLOBOPS :AKILL on *@cl=
>-109.slashnet.org has expired
>[Oct 24 03:12:02.483784 2004] debug: Sent: :services.slashnet.org TKL - G *=
> cl-109.slashnet.org services.slashnet.org
>[Oct 24 03:12:02.483846 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.483880 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.483969 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.484003 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.484075 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.484109 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.484180 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.484214 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>=2E..
>Oct 24 03:12:02.489257 2004] operserv/akill: BUG: (cancel_akill) Missing @ =
>in mask: *
>[Oct 24 03:12:02.489327 2004] debug: Sent: :OperServ GLOBOPS :AKILL on * ha=
>s expired
>[Oct 24 03:12:02.489361 2004] operserv/akill: BUG: (cancel_akill) Missing @=
> in mask: *
>[Oct 24 03:12:02.792333 2004] PANIC! signal 6 (no buffer)
>[Oct 24 03:12:02.792989 2004] debug: Sent: :services.slashnet.org GLOBOPS :=
>PANIC! signal 6 (no buffer)
>[Oct 24 03:12:02.793100 2004] Services terminating: Abort trap
>[Oct 24 03:12:02.793137 2004] debug: Unloading module `misc/xml-export'
>[Oct 24 03:12:02.847234 2004] debug: Unloading module `misc/xml-import'
>[Oct 24 03:12:02.877397 2004] FATAL: Caught signal 30 (User defined signal =
>1) while shutting down
>
>--=20
>Sean Kelly         | PGP KeyID: D2E5E296
>smkelly at zombie.org | http://www.zombie.org
>
>--xHFwDpU9dbj6ez1V
>Content-Type: application/pgp-signature
>Content-Disposition: inline
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.6 (FreeBSD)
>
>iD8DBQFBe17kPm7A9NLl4pYRAgVOAJ9oBxUinXUfU5PbqdynGUrsIdZwhwCgkraC
>cwND6JSM9/lirm75o7fDPfY=
>=yUBE
>-----END PGP SIGNATURE-----
>
>--xHFwDpU9dbj6ez1V--
>
>
>--===============0398048210==
>Content-Type: text/plain; charset="us-ascii"
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices
>
>--===============0398048210==--
>