]> jfr.im git - irc/rizon/plexus4.git/log
irc/rizon/plexus4.git
7 years ago20160729_0-600 20160729_0-600
Adam [Fri, 29 Jul 2016 20:03:48 +0000 (16:03 -0400)] 
20160729_0-600

7 years agoExpand umode tests
Adam [Sun, 24 Jul 2016 21:19:59 +0000 (17:19 -0400)] 
Expand umode tests

7 years agoAdd tlog() for test logging
Adam [Sun, 24 Jul 2016 21:19:47 +0000 (17:19 -0400)] 
Add tlog() for test logging

7 years agom_shedding: don't reject registrations when shedding
Adam [Sun, 24 Jul 2016 20:07:42 +0000 (16:07 -0400)] 
m_shedding: don't reject registrations when shedding

7 years agoFix UMODE_CALLERID mode character
Adam [Sun, 24 Jul 2016 20:07:09 +0000 (16:07 -0400)] 
Fix UMODE_CALLERID mode character

7 years agom_who.c:who_matches(): allow operators to search by real host
Adam [Sun, 17 Jul 2016 15:51:16 +0000 (11:51 -0400)] 
m_who.c:who_matches(): allow operators to search by real host

7 years ago- m_who.c:who_matches(): allow operators to search by ip address
michael [Fri, 15 Jul 2016 19:52:16 +0000 (19:52 +0000)] 
- m_who.c:who_matches(): allow operators to search by ip address

git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@7643 82007160-df01-0410-b94d-b575c5fd34c7

7 years ago- m_who.c: merged big mask matching conditional statement found in who_global() and...
michael [Fri, 15 Jul 2016 19:46:58 +0000 (19:46 +0000)] 
- m_who.c: merged big mask matching conditional statement found in who_global() and who_common_channel() into a separate function. As a side effect this fixes a possible server name leak in who_global() with server hiding enabled

git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@7641 82007160-df01-0410-b94d-b575c5fd34c7

7 years agoLog when rehashing due to sighup, and log when rehash is complete
Adam [Thu, 30 Jun 2016 00:40:29 +0000 (20:40 -0400)] 
Log when rehashing due to sighup, and log when rehash is complete

7 years agoRead packets until there is no more, with ssl it is possible data can be buffered...
Adam [Thu, 23 Jun 2016 18:54:05 +0000 (14:54 -0400)] 
Read packets until there is no more, with ssl it is possible data can be buffered in the ssl lib, but not on the socket, causing starvation

7 years agoChange alias names in reference.conf to be uppercase to be more consistent in stats
Adam [Thu, 23 Jun 2016 15:05:16 +0000 (11:05 -0400)] 
Change alias names in reference.conf to be uppercase to be more consistent in stats

7 years agoMore jansson _new
Adam [Sun, 19 Jun 2016 21:25:03 +0000 (17:25 -0400)] 
More jansson _new

7 years agoShut down libtool for upgrade, too
Adam [Sat, 18 Jun 2016 21:35:05 +0000 (17:35 -0400)] 
Shut down libtool for upgrade, too

7 years agoUnload lua scripts on shutdown to make valgrind shut up
Adam [Sat, 18 Jun 2016 20:20:23 +0000 (16:20 -0400)] 
Unload lua scripts on shutdown to make valgrind shut up

7 years agoDon't leak json root if dump fails
Adam [Sat, 18 Jun 2016 20:16:19 +0000 (16:16 -0400)] 
Don't leak json root if dump fails

7 years agoFix a few json object leaks in stats/memory
Adam [Sat, 18 Jun 2016 20:14:17 +0000 (16:14 -0400)] 
Fix a few json object leaks in stats/memory

7 years agoRemove unused conf memory, fix total channel memory
Adam [Sat, 18 Jun 2016 20:02:25 +0000 (16:02 -0400)] 
Remove unused conf memory, fix total channel memory

7 years ago20160617_0-600 20160617_0-600
Adam [Sat, 18 Jun 2016 03:32:18 +0000 (23:32 -0400)] 
20160617_0-600

7 years agoDon't shed people with exceed_limit
Adam [Fri, 17 Jun 2016 22:31:04 +0000 (18:31 -0400)] 
Don't shed people with exceed_limit

7 years agoAdd nick test
Adam [Fri, 17 Jun 2016 19:21:35 +0000 (15:21 -0400)] 
Add nick test

7 years agoFix configure if no libcheck is found
Adam [Fri, 17 Jun 2016 18:08:31 +0000 (14:08 -0400)] 
Fix configure if no libcheck is found

7 years agoRevert "Allow svsmode +x to set cloaks"
Adam [Fri, 17 Jun 2016 17:03:42 +0000 (13:03 -0400)] 
Revert "Allow svsmode +x to set cloaks"

This reverts commit 40f0eca8044aaad38e6491319a2203a4b6e992fe.

7 years agoRevert "Don't svsmode +x over spoofs or if the cloak system is disabled"
Adam [Fri, 17 Jun 2016 17:03:39 +0000 (13:03 -0400)] 
Revert "Don't svsmode +x over spoofs or if the cloak system is disabled"

This reverts commit 4f86a5f2a90ce959174767621e7b84b7780ab3d3.

7 years agoAdd CHGHOST cap
Adam [Fri, 17 Jun 2016 16:40:30 +0000 (12:40 -0400)] 
Add CHGHOST cap

7 years agoAdd nocap flag to sendto_common_channels_local and sendto_channel_local_butone
Adam [Fri, 17 Jun 2016 16:40:10 +0000 (12:40 -0400)] 
Add nocap flag to sendto_common_channels_local and sendto_channel_local_butone

7 years agoMake sasl_name look for a client, not a server, and fix sasl changing hostmasks in...
Adam [Fri, 17 Jun 2016 15:45:04 +0000 (11:45 -0400)] 
Make sasl_name look for a client, not a server, and fix sasl changing hostmasks in SVSLOGIN with the cloak system

8 years agohttpd: less debug
Adam [Thu, 26 May 2016 14:19:45 +0000 (10:19 -0400)] 
httpd: less debug

8 years agoOptionally enable TCP_DEFER_ACCEPT on listeners, to help against full 3-way handshake...
Adam [Tue, 24 May 2016 19:49:41 +0000 (15:49 -0400)] 
Optionally enable TCP_DEFER_ACCEPT on listeners, to help against full 3-way handshake flood

8 years agoSet SO_LINGER on throttle and fd limit rejected clients
Adam [Tue, 17 May 2016 21:20:17 +0000 (17:20 -0400)] 
Set SO_LINGER on throttle and fd limit rejected clients

(cherry picked from commit f613d3622542dac0a661da2883d8b12c4b98ec3d)

8 years agoAdd client connect log message
Adam [Mon, 23 May 2016 23:52:09 +0000 (19:52 -0400)] 
Add client connect log message

8 years agoMerge branch 'tests' into 'master'
Adam [Mon, 23 May 2016 21:35:33 +0000 (21:35 +0000)] 
Merge branch 'tests' into 'master'

tests: Cleanup tests

- Avoid throwing around `ck_assert()` everywhere in favor of libcheck's built in convenience functions
- Keep style consistent between tests and the core program

See merge request !14

8 years agoLog http requests to SNO_DEBUG
Adam [Mon, 23 May 2016 16:33:31 +0000 (12:33 -0400)] 
Log http requests to SNO_DEBUG

8 years agoExpose msgtree, add /stats/messages
Adam [Mon, 23 May 2016 14:48:06 +0000 (10:48 -0400)] 
Expose msgtree, add /stats/messages

8 years agoAdd /stats/links from /stats ?
Adam [Mon, 23 May 2016 14:31:49 +0000 (10:31 -0400)] 
Add /stats/links from /stats ?

8 years agoAdd libmicrohttpd and let modules expose web resources
Adam [Sun, 22 May 2016 21:20:24 +0000 (17:20 -0400)] 
Add libmicrohttpd and let modules expose web resources

8 years agotests: Cleanup tests
staticfox [Sat, 7 May 2016 01:39:24 +0000 (21:39 -0400)] 
tests: Cleanup tests

8 years agoMerge branch 'prototype' into 'master'
Adam [Mon, 23 May 2016 14:10:23 +0000 (14:10 +0000)] 
Merge branch 'prototype' into 'master'

general: Declare prototypes properly

Prototypes need at least one (zero with void) parameter in order for them to be
considered prototypes, otherwise the compiler will complain.

See merge request !17

8 years agogeneral: Declare prototypes properly
staticfox [Tue, 10 May 2016 00:47:45 +0000 (20:47 -0400)] 
general: Declare prototypes properly

Prototypes need at least one (zero with void) parameter in order for them to be
considered prototypes, otherwise the compiler will complain.

8 years agoMerge branch 'tweaks' into 'master'
Adam [Mon, 23 May 2016 02:15:41 +0000 (02:15 +0000)] 
Merge branch 'tweaks' into 'master'

Tweaks

See merge request !19

8 years agoMerge branch 'shadow' into 'master'
Adam [Mon, 23 May 2016 02:14:45 +0000 (02:14 +0000)] 
Merge branch 'shadow' into 'master'

Shadowing cleanup

See merge request !21

8 years agoMerge branch 'test_proc' into 'master'
Adam [Mon, 23 May 2016 02:09:21 +0000 (02:09 +0000)] 
Merge branch 'test_proc' into 'master'

test: Print a tangible error if join_all_and_exit fails

split from that other PR

See merge request !22

8 years agotest: Print a tangible error if join_all_and_exit fails
staticfox [Mon, 23 May 2016 01:57:02 +0000 (21:57 -0400)] 
test: Print a tangible error if join_all_and_exit fails

8 years agoMerge branch 'sign_compare' into 'master'
Adam [Mon, 23 May 2016 01:29:34 +0000 (01:29 +0000)] 
Merge branch 'sign_compare' into 'master'

authflags: Compare against strlen() correctly

`strlen()` returns `size_t` aka `unsigned` so we should make the iterator `size_t` as well

See merge request !16

8 years agoMerge branch 'signal' into 'master'
Adam [Mon, 23 May 2016 01:28:54 +0000 (01:28 +0000)] 
Merge branch 'signal' into 'master'

ircd: Move signaled variables to volatile sig_atomic_t

See merge request !15

8 years agoC99 initialize user modes, make non const for modules
Adam [Sun, 22 May 2016 15:45:31 +0000 (11:45 -0400)] 
C99 initialize user modes, make non const for modules

8 years ago256 actually, 0-255
Adam [Sun, 22 May 2016 15:38:19 +0000 (11:38 -0400)] 
256 actually, 0-255

8 years agoUse c99 initializers for channel modes and allow modules insert/remove their own...
Adam [Sun, 22 May 2016 15:35:56 +0000 (11:35 -0400)] 
Use c99 initializers for channel modes and allow modules insert/remove their own modes from the mode table

8 years agoupgrade: Don't re-declare conf in unserialize_client()
staticfox [Tue, 10 May 2016 20:25:07 +0000 (16:25 -0400)] 
upgrade: Don't re-declare conf in unserialize_client()

.

8 years agoextban: Don't shadow extbans in extban_parse
staticfox [Tue, 10 May 2016 20:22:20 +0000 (16:22 -0400)] 
extban: Don't shadow extbans in extban_parse

Rename `extbans` to `input_extbans` as to not shadow
static dlink_list extbans; declared globally in extban.c.

8 years agoshedding: Rename rate to new_rate in m_shedding()
staticfox [Tue, 10 May 2016 19:51:52 +0000 (15:51 -0400)] 
shedding: Rename rate to new_rate in m_shedding()

Otherwise, we shadow `rate` as it's globally defined within m_shedding.c.
(Silences -Wshaddow)

8 years agocapture: const-ify nick, user, and host
staticfox [Tue, 10 May 2016 06:51:41 +0000 (02:51 -0400)] 
capture: const-ify nick, user, and host

8 years agogline: Inline declaration and switch to size_t
staticfox [Tue, 10 May 2016 06:50:51 +0000 (02:50 -0400)] 
gline: Inline declaration and switch to size_t

8 years agoauthflags: Compare against strlen() correctly
staticfox [Mon, 9 May 2016 22:52:02 +0000 (18:52 -0400)] 
authflags: Compare against strlen() correctly

ci bump

8 years agoircd: Move signaled variables to volatile sig_atomic_t
staticfox [Mon, 9 May 2016 03:48:09 +0000 (23:48 -0400)] 
ircd: Move signaled variables to volatile sig_atomic_t

8 years agoAdd gitlab ci support
Adam [Tue, 19 Apr 2016 19:41:16 +0000 (15:41 -0400)] 
Add gitlab ci support

8 years agoGitlab ci tests run as root, so allow it in test mode
Adam [Tue, 19 Apr 2016 23:59:37 +0000 (19:59 -0400)] 
Gitlab ci tests run as root, so allow it in test mode

8 years agoAlways forward certfp to services in sasl
Adam [Sun, 17 Apr 2016 17:45:14 +0000 (13:45 -0400)] 
Always forward certfp to services in sasl

8 years agoDon't break from servers sending CAPAB TS6 but no sid
Adam [Sun, 17 Apr 2016 17:44:57 +0000 (13:44 -0400)] 
Don't break from servers sending CAPAB TS6 but no sid

8 years agoCleanup client_create
Adam [Fri, 4 Mar 2016 22:40:41 +0000 (17:40 -0500)] 
Cleanup client_create

8 years agotest/tests/mode.c: formatting
Adam [Fri, 4 Mar 2016 22:37:57 +0000 (17:37 -0500)] 
test/tests/mode.c: formatting

8 years agoMerge branch 'master+mode_test' into 'master'
Adam [Fri, 4 Mar 2016 22:37:36 +0000 (22:37 +0000)] 
Merge branch 'master+mode_test' into 'master'

tests: Add test for modes and bmasks

See merge request !12

8 years agoDisable stats p to non opers, which was also leaking idle times
Adam [Wed, 2 Mar 2016 22:49:15 +0000 (17:49 -0500)] 
Disable stats p to non opers, which was also leaking idle times

8 years agoconf_parser: skip iline users with no host
Adam [Sat, 13 Feb 2016 23:34:26 +0000 (18:34 -0500)] 
conf_parser: skip iline users with no host

8 years ago20160208_0-600 20160208_0-600
Adam [Tue, 9 Feb 2016 01:01:56 +0000 (20:01 -0500)] 
20160208_0-600

8 years agoFix crash from timed out dnsbl queries that are cached as hit in ipcache
Adam [Tue, 9 Feb 2016 00:57:55 +0000 (19:57 -0500)] 
Fix crash from timed out dnsbl queries that are cached as hit in ipcache

Can't just hit = 1; here because we're iterating the query list already
and removing the other pending queries causes that to break.

The client will still be rejected at registration despite dnsbl_clear
being set too.

Prioritize dnsbl_entry over dnsbl_clear when starting dnsbl in auth.

8 years agoFix sendto_match_servs with multiple caps
Adam [Wed, 3 Feb 2016 19:36:46 +0000 (14:36 -0500)] 
Fix sendto_match_servs with multiple caps

8 years agoflood_attack_client is only called with local targets, so notify all clients when...
Adam [Tue, 2 Feb 2016 19:56:31 +0000 (14:56 -0500)] 
flood_attack_client is only called with local targets, so notify all clients when messages get throttled

8 years agoAdd flood_burst and flood_limit to /stats y
Adam [Tue, 2 Feb 2016 19:23:56 +0000 (14:23 -0500)] 
Add flood_burst and flood_limit to /stats y

8 years agoDon't count privmsgs to channels from clients with custom flood configuration at...
Adam [Tue, 2 Feb 2016 13:29:40 +0000 (08:29 -0500)] 
Don't count privmsgs to channels from clients with custom flood configuration at all for channel flood detection

8 years agoSort of document CONF_FLAGS_IN_DATABASE can be set here too
Adam [Thu, 28 Jan 2016 22:13:29 +0000 (17:13 -0500)] 
Sort of document CONF_FLAGS_IN_DATABASE can be set here too

8 years agoInclude ircd_signal too
Adam [Wed, 27 Jan 2016 22:40:59 +0000 (17:40 -0500)] 
Include ircd_signal too

8 years agoRemove signal handlers prior to upgrade
Adam [Wed, 27 Jan 2016 22:40:00 +0000 (17:40 -0500)] 
Remove signal handlers prior to upgrade

8 years agoStore unbanned bmasks and bounce them when reset from local servers
Adam [Tue, 26 Jan 2016 23:22:38 +0000 (18:22 -0500)] 
Store unbanned bmasks and bounce them when reset from local servers

8 years agoRevert "Show fingerprint in whois to everyone"
Adam [Tue, 26 Jan 2016 22:54:28 +0000 (17:54 -0500)] 
Revert "Show fingerprint in whois to everyone"

This reverts commit ea6e1a12e641f7949fb5ccd88ac3434f5e99805b.

8 years agotests: Add test for modes and bmasks
BlindSight [Sat, 23 Jan 2016 21:24:15 +0000 (16:24 -0500)] 
tests: Add test for modes and bmasks

8 years ago20160122_0-600 20160122_0-600
Adam [Sat, 23 Jan 2016 01:19:16 +0000 (20:19 -0500)] 
20160122_0-600

8 years agoMerge branch 'tests_join' into 'master'
Adam [Sat, 23 Jan 2016 01:05:41 +0000 (01:05 +0000)] 
Merge branch 'tests_join' into 'master'

tests: Add test for joins

See merge request !9

8 years agoMove bad ssl cert log message to debug
Adam [Sat, 23 Jan 2016 01:03:40 +0000 (20:03 -0500)] 
Move bad ssl cert log message to debug

8 years agotests: Add test for joins
BlindSight [Sun, 10 Jan 2016 17:38:57 +0000 (12:38 -0500)] 
tests: Add test for joins

8 years agoMerge branch 'master+automake' into 'master'
Adam [Sat, 23 Jan 2016 00:48:20 +0000 (00:48 +0000)] 
Merge branch 'master+automake' into 'master'

configure.ac: Add AM_PROG_CC_C_O for automake

Required for versions less than 1.14 due to tests having the
-c and -o options together.

See more: http://pastebin.com/CU2k0LnG & https://www.gnu.org/software/automake/manual/html_node/Public-Macros.html

See merge request !11

8 years agom_webirc: find_address_conf prioritizes klines>ilines, which we don't want returned...
Adam [Sat, 23 Jan 2016 00:43:26 +0000 (19:43 -0500)] 
m_webirc: find_address_conf prioritizes klines>ilines, which we don't want returned even if they exist

8 years agoconfigure.ac: Add AM_PROG_CC_C_O for automake
BlindSight [Fri, 22 Jan 2016 23:48:52 +0000 (18:48 -0500)] 
configure.ac: Add AM_PROG_CC_C_O for automake

Required for versions less than 1.14 due to tests having the
-c and -o options together

8 years agom_webirc: this actually was important
Adam [Fri, 22 Jan 2016 23:33:08 +0000 (18:33 -0500)] 
m_webirc: this actually was important

8 years agoRespect server hiding in ms_topic
Adam [Fri, 22 Jan 2016 02:08:50 +0000 (21:08 -0500)] 
Respect server hiding in ms_topic

8 years agoMerge branch 'pkg' into 'master'
Adam [Fri, 22 Jan 2016 01:47:29 +0000 (01:47 +0000)] 
Merge branch 'pkg' into 'master'

configure.ac: Require pkg-config be installed

Autoconf makes a call to PKG_CHECK_MODULES which will fail
if pkg-config is not installed. Fail gracefully instead.

See merge request !8

8 years agoCleanup ms_topic, fix crash when wrong number of args is given
Adam [Fri, 22 Jan 2016 01:46:19 +0000 (20:46 -0500)] 
Cleanup ms_topic, fix crash when wrong number of args is given

8 years agoRequire SHARED_RESV for me_resv too
Adam [Tue, 19 Jan 2016 00:42:17 +0000 (19:42 -0500)] 
Require SHARED_RESV for me_resv too

8 years agoChange default MAXTARGETS to 10 and TARGET_DELAY to 60
Adam [Wed, 13 Jan 2016 15:00:27 +0000 (10:00 -0500)] 
Change default MAXTARGETS to 10 and TARGET_DELAY to 60

8 years agoDisable mempool on debug builds
Adam [Tue, 12 Jan 2016 23:32:11 +0000 (18:32 -0500)] 
Disable mempool on debug builds

8 years agowebirc: remove duplicated pass check, immediately fail auth if no services are available
Adam [Tue, 12 Jan 2016 17:00:33 +0000 (12:00 -0500)] 
webirc: remove duplicated pass check, immediately fail auth if no services are available

8 years agoconfigure.ac: Require pkg-config be installed
BlindSight [Fri, 8 Jan 2016 12:53:05 +0000 (07:53 -0500)] 
configure.ac: Require pkg-config be installed

Autoconf makes a call to PKG_CHECK_MODULES which will fail
if pkg-config is not installed. Fail gracefully instead.

8 years agoAdd simple upgrade test
Adam [Thu, 7 Jan 2016 23:45:18 +0000 (18:45 -0500)] 
Add simple upgrade test

8 years agoRandomize FNV1 hash more
Adam [Sat, 2 Jan 2016 23:04:46 +0000 (18:04 -0500)] 
Randomize FNV1 hash more

8 years agochgclass on unknown users won't work because they would just get their new class...
Adam [Sat, 2 Jan 2016 20:10:57 +0000 (15:10 -0500)] 
chgclass on unknown users won't work because they would just get their new class attached at registration/find_person doesn't return unknown clients

8 years agoSet temporary ilines made in chgclass as inactive so they are free'd when the client...
Adam [Sat, 2 Jan 2016 19:55:00 +0000 (14:55 -0500)] 
Set temporary ilines made in chgclass as inactive so they are free'd when the client exits

8 years agoOnly link ircd to ldl if it exists
Adam [Sat, 2 Jan 2016 19:41:09 +0000 (14:41 -0500)] 
Only link ircd to ldl if it exists

8 years agoRevert "Use libltdl for libplexus"
Adam [Sat, 2 Jan 2016 19:20:42 +0000 (14:20 -0500)] 
Revert "Use libltdl for libplexus"

This reverts commit ac4497fe6cbf02c4ac46e8c0ba84974ce4a2b22f.

8 years agoUse libltdl for libplexus
Adam [Sat, 2 Jan 2016 18:42:51 +0000 (13:42 -0500)] 
Use libltdl for libplexus

8 years agoAllow dnsbl matches to match any ipv4 address
Adam [Sat, 2 Jan 2016 17:31:28 +0000 (12:31 -0500)] 
Allow dnsbl matches to match any ipv4 address

8 years ago.gitignore test stuff
Adam [Sat, 2 Jan 2016 16:25:47 +0000 (11:25 -0500)] 
.gitignore test stuff