]> jfr.im git - irc/rizon/plexus4.git/log
irc/rizon/plexus4.git
7 years ago20161020_0-601 20161020_0-601
Adam [Thu, 20 Oct 2016 23:23:46 +0000 (19:23 -0400)] 
20161020_0-601

7 years agotest: various license headers
Adam [Tue, 18 Oct 2016 22:23:55 +0000 (18:23 -0400)] 
test: various license headers

7 years agoAdd support for having session exceptions pushed from services
Adam [Tue, 18 Oct 2016 22:15:10 +0000 (18:15 -0400)] 
Add support for having session exceptions pushed from services

7 years agotest: add support for making servers
Adam [Tue, 18 Oct 2016 22:10:54 +0000 (18:10 -0400)] 
test: add support for making servers

7 years agotest: log data out
Adam [Tue, 18 Oct 2016 22:07:23 +0000 (18:07 -0400)] 
test: log data out

7 years agoMerge branch 'extban_test' into 'master'
Adam [Tue, 18 Oct 2016 21:55:09 +0000 (21:55 +0000)] 
Merge branch 'extban_test' into 'master'

tests: Add testing for extbans

See merge request !23

7 years agoRemove webirc spoof notice
Adam [Mon, 17 Oct 2016 14:35:14 +0000 (10:35 -0400)] 
Remove webirc spoof notice

7 years agoUpdate reference.conf for max_local/max_global, this actually isn't redundant because...
Adam [Wed, 12 Oct 2016 16:55:52 +0000 (12:55 -0400)] 
Update reference.conf for max_local/max_global, this actually isn't redundant because userhost uses realhost where number_per_ip uses sockhost

7 years agolistener: enable IP_FREEBIND if it is available
Adam [Wed, 12 Oct 2016 12:52:29 +0000 (08:52 -0400)] 
listener: enable IP_FREEBIND if it is available

7 years agowebirc: set client password to webirc password
Adam [Wed, 12 Oct 2016 12:34:32 +0000 (08:34 -0400)] 
webirc: set client password to webirc password

7 years agotests: Add testing for extbans
staticfox [Mon, 10 Oct 2016 23:34:17 +0000 (19:34 -0400)] 
tests: Add testing for extbans

7 years agoRename userhost functions to be consistent
Adam [Mon, 10 Oct 2016 22:51:33 +0000 (18:51 -0400)] 
Rename userhost functions to be consistent

7 years agoSplit userhost stuff into its own file
Adam [Mon, 10 Oct 2016 22:45:13 +0000 (18:45 -0400)] 
Split userhost stuff into its own file

7 years agoRemove namehost and no longer track usernames, based on upstream r7624
Adam [Mon, 10 Oct 2016 22:06:18 +0000 (18:06 -0400)] 
Remove namehost and no longer track usernames, based on upstream r7624

7 years agoconf.c: fixed a lineno off-by-one for parser warnings in included configuration files
michael [Sat, 1 Oct 2016 18:45:00 +0000 (14:45 -0400)] 
conf.c: fixed a lineno off-by-one for parser warnings in included configuration files

7 years agoReplace SERNO with PACKAGE_VERSION, bump to 20160923_0-600 20160923_0-600
Adam [Sat, 24 Sep 2016 03:22:53 +0000 (23:22 -0400)] 
Replace SERNO with PACKAGE_VERSION, bump to 20160923_0-600

7 years agoSilence two compile warnings on non debug builds
Adam [Sat, 24 Sep 2016 03:15:04 +0000 (23:15 -0400)] 
Silence two compile warnings on non debug builds

7 years agoircd: upgrade expects plexus_main to not return unless upgrading
Adam [Fri, 23 Sep 2016 02:10:27 +0000 (22:10 -0400)] 
ircd: upgrade expects plexus_main to not return unless upgrading

7 years agoAdd openssl, jansson, and microhttpd versions to m_info
Adam [Thu, 22 Sep 2016 21:12:12 +0000 (17:12 -0400)] 
Add openssl, jansson, and microhttpd versions to m_info

7 years agoSupport jansson 2.4
Adam [Thu, 22 Sep 2016 00:12:34 +0000 (20:12 -0400)] 
Support jansson 2.4

7 years agoAllow including a directory of configuration files
Adam [Sun, 18 Sep 2016 22:06:04 +0000 (18:06 -0400)] 
Allow including a directory of configuration files

7 years agoCleanup config include stack code
Adam [Sun, 18 Sep 2016 21:43:58 +0000 (17:43 -0400)] 
Cleanup config include stack code

7 years agoconfigure: conditionally build test if check is found. I can't get PKG_CHECK_MODULES...
Adam [Sun, 18 Sep 2016 18:10:13 +0000 (14:10 -0400)] 
configure: conditionally build test if check is found. I can't get PKG_CHECK_MODULES to fail silently.

7 years agoconfigure: bail if --enable-libjansson or --enable-libmicrohttpd is given but can...
Adam [Sun, 18 Sep 2016 18:09:09 +0000 (14:09 -0400)] 
configure: bail if --enable-libjansson or --enable-libmicrohttpd is given but can't be enabled

7 years agoInstall swig too
Adam [Sun, 18 Sep 2016 15:42:49 +0000 (11:42 -0400)] 
Install swig too

7 years agoMove test phase to installcheck, fix distcheck, add distcheck to ci
Adam [Sun, 18 Sep 2016 15:37:21 +0000 (11:37 -0400)] 
Move test phase to installcheck, fix distcheck, add distcheck to ci

7 years agotest: upgrade: don't run if theres no libjansson
Adam [Sun, 18 Sep 2016 02:13:05 +0000 (22:13 -0400)] 
test: upgrade: don't run if theres no libjansson

7 years agotest: don't put conditions we always want evaluated in assert
Adam [Sun, 18 Sep 2016 02:12:30 +0000 (22:12 -0400)] 
test: don't put conditions we always want evaluated in assert

7 years agom_sasl: don't allow mechanisms with spaces, that are empty, or begin wtih ':'
Adam [Sat, 3 Sep 2016 17:47:04 +0000 (13:47 -0400)] 
m_sasl: don't allow mechanisms with spaces, that are empty, or begin wtih ':'

7 years agoadd_invite(): trim users invite list more in the event max_channels changes
Adam [Fri, 19 Aug 2016 18:52:01 +0000 (14:52 -0400)] 
add_invite(): trim users invite list more in the event max_channels changes

7 years agoID_or_name() RPL_ISCAPTURED too
Adam [Sun, 31 Jul 2016 19:59:14 +0000 (15:59 -0400)] 
ID_or_name() RPL_ISCAPTURED too

7 years agom_capture: also uncapture
Adam [Sun, 31 Jul 2016 19:57:48 +0000 (15:57 -0400)] 
m_capture: also uncapture

7 years agom_capture: refactor and apply oper check locally
Adam [Sun, 31 Jul 2016 19:31:52 +0000 (15:31 -0400)] 
m_capture: refactor and apply oper check locally

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