]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
15 years agomerge
Paul [Sun, 24 Aug 2008 15:45:12 +0000 (16:45 +0100)] 
merge

15 years agoMerge.
Chris Porter [Sun, 24 Aug 2008 15:23:50 +0000 (16:23 +0100)] 
Merge.

15 years agoFix all current printf style warnings, including a bug in Q's op/voice commands.
Chris Porter [Sun, 24 Aug 2008 15:08:26 +0000 (16:08 +0100)] 
Fix all current printf style warnings, including a bug in Q's op/voice commands.

15 years agoMost if not all vsnprintf using functions now are declared using the format __attribu...
Chris Porter [Sun, 24 Aug 2008 12:58:23 +0000 (13:58 +0100)] 
Most if not all vsnprintf using functions now are declared using the format __attribute__ -- mass warnings incoming!

15 years agoExport printchannels in newsearch.
Chris Porter [Sun, 24 Aug 2008 12:27:46 +0000 (13:27 +0100)] 
Export printchannels in newsearch.

15 years agoIgnore fishbot.
Chris Porter [Sun, 24 Aug 2008 12:16:34 +0000 (13:16 +0100)] 
Ignore fishbot.

15 years agoAdd some nice #defines for server.h
Chris Porter [Sun, 24 Aug 2008 12:16:05 +0000 (13:16 +0100)] 
Add some nice #defines for server.h

15 years agoAdd hits since restart, saved hits and lastseen to regexgline.
Chris Porter [Sun, 24 Aug 2008 12:15:45 +0000 (13:15 +0100)] 
Add hits since restart, saved hits and lastseen to regexgline.
Reformat output for regexgline.

15 years agoupdate for newsearchchanges
Paul [Sat, 23 Aug 2008 21:52:46 +0000 (22:52 +0100)] 
update for newsearchchanges

15 years agomerge
Paul [Fri, 22 Aug 2008 20:00:23 +0000 (21:00 +0100)] 
merge

15 years agoDynamic help for newsearch, and permissions on terms/output functions
Paul [Fri, 22 Aug 2008 19:23:04 +0000 (20:23 +0100)] 
Dynamic help for newsearch, and permissions on terms/output functions

15 years agoWork to support dynamichelp/permissions within newsearch
Paul [Fri, 22 Aug 2008 18:11:53 +0000 (19:11 +0100)] 
Work to support dynamichelp/permissions within newsearch

15 years agoMerge.
Chris Porter [Wed, 20 Aug 2008 15:49:11 +0000 (16:49 +0100)] 
Merge.

15 years agoAdd ping timeout diagnostic message to irc module.
Chris Porter [Wed, 20 Aug 2008 15:46:40 +0000 (16:46 +0100)] 
Add ping timeout diagnostic message to irc module.

15 years agoTo burst onto QuakeNet we need to fix a few more bugs.
Chris Porter [Tue, 19 Aug 2008 03:09:59 +0000 (04:09 +0100)] 
To burst onto QuakeNet we need to fix a few more bugs.

15 years agoMAP_ANON fixes for Linux.
Chris Porter [Tue, 19 Aug 2008 02:32:57 +0000 (03:32 +0100)] 
MAP_ANON fixes for Linux.

15 years agoAdd memory protection to sstring-new.
Chris Porter [Tue, 19 Aug 2008 02:18:07 +0000 (03:18 +0100)] 
Add memory protection to sstring-new.

15 years agoFix a few strings that are altered illegally.
Chris Porter [Tue, 19 Aug 2008 01:23:51 +0000 (02:23 +0100)] 
Fix a few strings that are altered illegally.

15 years agoAdd memory protection to debug version of (old) sstring.
Chris Porter [Tue, 19 Aug 2008 01:23:36 +0000 (02:23 +0100)] 
Add memory protection to debug version of (old) sstring.

15 years agoMerge.
splidge [Mon, 18 Aug 2008 23:43:46 +0000 (00:43 +0100)] 
Merge.

15 years agoAdded new recycling version of sstring as sstring-new.[ch]
splidge [Mon, 18 Aug 2008 23:37:27 +0000 (00:37 +0100)] 
Added new recycling version of sstring as sstring-new.[ch]

This version should use the same structure for duplicate strings, with refcounting to get the freeing right.
Note that it is dangerous if callers modify the sstrings.

15 years agolongtoduration formats 0 and 1 back to how they were.
Chris Porter [Mon, 18 Aug 2008 23:36:16 +0000 (00:36 +0100)] 
longtoduration formats 0 and 1 back to how they were.

15 years agoSigh, used the name handle_signals for two different functions with an interesting...
Chris Porter [Mon, 18 Aug 2008 20:29:34 +0000 (21:29 +0100)] 
Sigh, used the name handle_signals for two different functions with an interesting result.

15 years agoAdd MODULE_VERSION to all default modules.
Chris Porter [Mon, 18 Aug 2008 20:14:52 +0000 (21:14 +0100)] 
Add MODULE_VERSION to all default modules.

15 years agoChange SIGINT handler so it triggers a hook first.
Chris Porter [Mon, 18 Aug 2008 20:11:22 +0000 (21:11 +0100)] 
Change SIGINT handler so it triggers a hook first.

15 years agoMerge.
Chris Porter [Mon, 18 Aug 2008 20:02:57 +0000 (21:02 +0100)] 
Merge.

15 years agoAdd persistant field to authext exts, if this is set on any of an authname's exts...
Chris Porter [Mon, 18 Aug 2008 20:01:30 +0000 (21:01 +0100)] 
Add persistant field to authext exts, if this is set on any of an authname's exts then it won't be freed on release.

15 years agoGraphing needs a rewrite, rm it!
Chris Porter [Mon, 18 Aug 2008 19:12:18 +0000 (20:12 +0100)] 
Graphing needs a rewrite, rm it!

15 years agoControl now sends out a CONTROL_REGISTERED message with NULL when it is killed.
Chris Porter [Mon, 18 Aug 2008 19:03:42 +0000 (20:03 +0100)] 
Control now sends out a CONTROL_REGISTERED message with NULL when it is killed.
Update XSB, other branch commit messages:
xsb now has a way to test whether or not a server is a service, as well as a unicast nick mode.
Decouple XSB from control, also fix a few silly errors.

15 years agoLua version now excludes "Lua engine", at least for MODULEVERSION.
Chris Porter [Mon, 18 Aug 2008 17:54:35 +0000 (18:54 +0100)] 
Lua version now excludes "Lua engine", at least for MODULEVERSION.
Expand version string in lsmod.

15 years agoWhoops, bit too much copy paste there...
Chris Porter [Mon, 18 Aug 2008 17:50:18 +0000 (18:50 +0100)] 
Whoops, bit too much copy paste there...

15 years agoFix ns-timestamp warning.
Chris Porter [Mon, 18 Aug 2008 17:46:13 +0000 (18:46 +0100)] 
Fix ns-timestamp warning.

15 years agoAdd SIGHUP handler, by default it triggers HOOK_CORE_REHASH.
Chris Porter [Mon, 18 Aug 2008 17:40:39 +0000 (18:40 +0100)] 
Add SIGHUP handler, by default it triggers HOOK_CORE_REHASH.

15 years agoRequire a better die reason than .!
Chris Porter [Mon, 18 Aug 2008 17:29:18 +0000 (18:29 +0100)] 
Require a better die reason than .!

15 years agoRegexgline now has a hit counter, also show type in listing in a more human-friendly...
Chris Porter [Mon, 18 Aug 2008 17:27:49 +0000 (18:27 +0100)] 
Regexgline now has a hit counter, also show type in listing in a more human-friendly form.

15 years agoParser help is now an sstring.
Chris Porter [Mon, 18 Aug 2008 17:26:48 +0000 (18:26 +0100)] 
Parser help is now an sstring.

15 years agoSeperate out build ids from version numbers.
Chris Porter [Mon, 18 Aug 2008 16:54:19 +0000 (17:54 +0100)] 
Seperate out build ids from version numbers.
Fix a few bugs in durationtolong, also add a new format.
Show module load times in lsmod.

15 years agoNow only +o is required for lsmod.
Chris Porter [Mon, 18 Aug 2008 13:33:23 +0000 (14:33 +0100)] 
Now only +o is required for lsmod.

15 years agodoh
Paul [Sat, 16 Aug 2008 11:21:09 +0000 (12:21 +0100)] 
doh

15 years agomerge
Paul [Sat, 16 Aug 2008 11:17:54 +0000 (12:17 +0100)] 
merge

15 years agoAllow timestamp to search for channel timestamps as well.
splidge [Fri, 15 Aug 2008 23:25:26 +0000 (00:25 +0100)] 
Allow timestamp to search for channel timestamps as well.
Note: if the channel doesn't currently exist this will return 0.

15 years agoMerge.
splidge [Fri, 15 Aug 2008 22:56:46 +0000 (23:56 +0100)] 
Merge.

15 years agoDon't do automodes on suspended channels.
splidge [Fri, 15 Aug 2008 22:52:09 +0000 (23:52 +0100)] 
Don't do automodes on suspended channels.

15 years agoFix warning.
Chris Porter [Thu, 14 Aug 2008 22:47:49 +0000 (23:47 +0100)] 
Fix warning.

15 years agoMerge.
Chris Porter [Thu, 14 Aug 2008 22:42:44 +0000 (23:42 +0100)] 
Merge.

15 years agoUse %PRIu64 instead of %llu for u_int64_t.
Chris Porter [Thu, 14 Aug 2008 22:39:28 +0000 (23:39 +0100)] 
Use %PRIu64 instead of %llu for u_int64_t.

15 years agoFix lua authname changes.
Chris Porter [Thu, 14 Aug 2008 22:36:12 +0000 (23:36 +0100)] 
Fix lua authname changes.

15 years agoSomeone figured out how to print the ip, nterfacer now shows bad IP connections.
Chris Porter [Thu, 14 Aug 2008 22:35:33 +0000 (23:35 +0100)] 
Someone figured out how to print the ip, nterfacer now shows bad IP connections.

15 years agoMerge.
Chris Porter [Thu, 14 Aug 2008 14:41:22 +0000 (15:41 +0100)] 
Merge.

15 years agoFix AC message.
Chris Porter [Thu, 14 Aug 2008 14:38:48 +0000 (15:38 +0100)] 
Fix AC message.

15 years agoignore data directory
Paul [Wed, 13 Aug 2008 14:56:38 +0000 (15:56 +0100)] 
ignore data directory

15 years agoadd valgrind suppression file
Paul [Wed, 13 Aug 2008 14:54:33 +0000 (15:54 +0100)] 
add valgrind suppression file

15 years agomerge
Paul [Wed, 13 Aug 2008 14:50:01 +0000 (15:50 +0100)] 
merge

15 years agoSample node search module.
Paul [Wed, 13 Aug 2008 14:45:20 +0000 (15:45 +0100)] 
Sample node search module.

at the moment, only 1 output format is implemented and 2 commands - users/nick
[15:43:41] <mmmmmm> nodesearch (eq (users) 1)
[15:43:41] <NP> 127.0.1.3 [1]
[15:43:41] <NP> 127.0.1.4 [1]
[15:43:41] <NP> 127.0.1.5 [1]
[15:43:41] <NP> --- End of list: 3 matches
[15:43:54] <mmmmmm> nodesearch -s 127/8 (eq (users) 1)
[15:43:54] <NP> 127.0.1.3 [1]
[15:43:54] <NP> 127.0.1.4 [1]
[15:43:54] <NP> 127.0.1.5 [1]
[15:43:54] <NP> --- End of list: 3 matches

Nick is fairly pointless and should probably be something to use against match etc

[15:43:16] <mmmmmm> nodesearch -s 127/0 (nick mmmmmm)
[15:43:16] <NP> 192.168.0.48 [1]
[15:43:16] <NP> --- End of list: 1 matches
[15:43:20] <mmmmmm> nodesearch -s 127/24 (nick mmmmmm)
[15:43:20] <NP> --- End of list: 0 matches

15 years agoMerge.
Chris Porter [Wed, 13 Aug 2008 14:36:58 +0000 (15:36 +0100)] 
Merge.

15 years agoAdd multiple uplink/hub/server support.
Chris Porter [Wed, 13 Aug 2008 14:36:40 +0000 (15:36 +0100)] 
Add multiple uplink/hub/server support.

15 years agoReport only regexgline'd drones to the shadowserver channel.
Chris Porter [Wed, 13 Aug 2008 11:24:15 +0000 (12:24 +0100)] 
Report only regexgline'd drones to the shadowserver channel.

15 years agoFix ticketauth (add flags to HMAC, update argument count...)
Chris Porter [Wed, 13 Aug 2008 11:23:02 +0000 (12:23 +0100)] 
Fix ticketauth (add flags to HMAC, update argument count...)

15 years agoFix various compliation issues when no DB api is available.
Chris Porter [Wed, 13 Aug 2008 11:03:46 +0000 (12:03 +0100)] 
Fix various compliation issues when no DB api is available.

15 years agonewsearch changes to support addition of trust_search/patriciasearch
Paul [Tue, 12 Aug 2008 19:16:17 +0000 (20:16 +0100)] 
newsearch changes to support addition of trust_search/patriciasearch

15 years agomove nsexit after freesstrings - as sstrings now uses nsmalloc...
Paul [Mon, 11 Aug 2008 23:06:37 +0000 (00:06 +0100)] 
move nsexit after freesstrings - as sstrings now uses nsmalloc...

15 years agosstring leak
Paul [Mon, 11 Aug 2008 09:58:28 +0000 (10:58 +0100)] 
sstring leak

15 years agomerge
Paul [Mon, 11 Aug 2008 09:56:59 +0000 (10:56 +0100)] 
merge

15 years agoAccountflags are now 64-bit.
Chris Porter [Thu, 7 Aug 2008 22:08:10 +0000 (23:08 +0100)] 
Accountflags are now 64-bit.

15 years agoI forgot often people don't bother doing IsAccount and directly check the authname...
Chris Porter [Thu, 7 Aug 2008 01:39:35 +0000 (02:39 +0100)] 
I forgot often people don't bother doing IsAccount and directly check the authname's first character, this failed before this fix.

15 years agoVarious changes to support authname being stored inside the authext.
Chris Porter [Thu, 7 Aug 2008 00:58:41 +0000 (01:58 +0100)] 
Various changes to support authname being stored inside the authext.
Q and ticketauth now send authflags.

15 years agoAdd name to authext authname structure.
Chris Porter [Wed, 6 Aug 2008 23:21:05 +0000 (00:21 +0100)] 
Add name to authext authname structure.

15 years agoMove TS code around a bit.
Chris Porter [Wed, 6 Aug 2008 23:11:46 +0000 (00:11 +0100)] 
Move TS code around a bit.

15 years agoNewserv now required userid in the AC/N messages to auth, services with no userid...
Chris Porter [Wed, 6 Aug 2008 22:58:43 +0000 (23:58 +0100)] 
Newserv now required userid in the AC/N messages to auth, services with no userid can however send out 0, also reorganised the huge withuseridflags functions and added some new flags.

15 years agoFix more warnings.
Chris Porter [Wed, 6 Aug 2008 22:19:41 +0000 (23:19 +0100)] 
Fix more warnings.

15 years agoFix inline errors.
Chris Porter [Wed, 6 Aug 2008 22:19:09 +0000 (23:19 +0100)] 
Fix inline errors.

15 years agoFix various warnings.
Chris Porter [Wed, 6 Aug 2008 18:29:23 +0000 (19:29 +0100)] 
Fix various warnings.

15 years agoMerge.
Cruicky [Tue, 5 Aug 2008 11:38:40 +0000 (12:38 +0100)] 
Merge.

15 years agoMove the schedule outside of the if
Cruicky [Tue, 5 Aug 2008 11:37:15 +0000 (12:37 +0100)] 
Move the schedule outside of the if
If newserv attempts to connect, and instantly gets a socket error, then no further attempts are made to reconnect due to connected=0

15 years agoMerge
splidge [Sun, 3 Aug 2008 23:23:06 +0000 (00:23 +0100)] 
Merge

15 years agoMerge.
splidge [Sun, 3 Aug 2008 22:56:26 +0000 (23:56 +0100)] 
Merge.

15 years agoDon't log kill paths when a user is killed.
splidge [Sun, 3 Aug 2008 22:54:33 +0000 (23:54 +0100)] 
Don't log kill paths when a user is killed.

15 years agopools
Paul [Sat, 2 Aug 2008 15:49:19 +0000 (16:49 +0100)] 
pools

15 years agofix sstring leak
Paul [Sat, 2 Aug 2008 10:51:53 +0000 (11:51 +0100)] 
fix sstring leak

15 years agoFix burst race-condition bug with opernames
Cruicky [Tue, 29 Jul 2008 23:07:33 +0000 (00:07 +0100)] 
Fix burst race-condition bug with opernames
There is a race condition between the irc module and the server module
The IRC module is responsible for triggering nick bursts from newserv
However, this trigger occurs when the server module has not yet set the opernames flag for the hub
This results in the following corruption: -
Umode(s):: +oidkr C:1217362558 B]AAEE
As we can see the params have been shifted one place to the left due to the lack of the opername
After this patch is applied: -
Umode(s):: +oidkr - C:1217371917
Please note, if the nickname is created before the the irc module connects to the hub, the bug is not triggered

15 years agoConvert S to nsmalloc and sstrings
Cruicky [Sun, 27 Jul 2008 12:10:23 +0000 (13:10 +0100)] 
Convert S to nsmalloc and sstrings

15 years agoFix bug in IP reading
Cruicky [Sun, 27 Jul 2008 00:08:38 +0000 (01:08 +0100)] 
Fix bug in IP reading
Remove unused variable

15 years agoFix buffer overflow
Cruicky [Sun, 27 Jul 2008 00:05:34 +0000 (01:05 +0100)] 
Fix buffer overflow

15 years agonick should behave similar to channel when reloading i.e. force a relink.
Paul [Tue, 22 Jul 2008 22:56:20 +0000 (23:56 +0100)] 
nick should behave similar to channel when reloading i.e. force a relink.

15 years agofix sstring leak if PROXYSCAN_MAIL is false
Paul [Tue, 22 Jul 2008 22:32:26 +0000 (23:32 +0100)] 
fix sstring leak if PROXYSCAN_MAIL is false

15 years agofix sstring leak
Paul [Sun, 20 Jul 2008 22:41:52 +0000 (23:41 +0100)] 
fix sstring leak

15 years agosend OOB jupe request
Paul [Sun, 13 Jul 2008 11:23:04 +0000 (12:23 +0100)] 
send OOB jupe request

15 years agoMerge.
Chris Porter [Sat, 12 Jul 2008 12:15:25 +0000 (13:15 +0100)] 
Merge.

15 years agoWhoops, forgot to set opername to NULL after freeing on kill.
Chris Porter [Sat, 12 Jul 2008 01:19:11 +0000 (02:19 +0100)] 
Whoops, forgot to set opername to NULL after freeing on kill.

15 years agoSearchCtx should contain 'type' - this is to make life easier when defining new searc...
Paul [Thu, 10 Jul 2008 22:15:24 +0000 (23:15 +0100)] 
SearchCtx should contain 'type' - this is to make life easier when defining new search functions (hopefully)
chansearch's seperate newsearch module will be updated to support this in a seperate changeset

16 years agomissing file
Paul [Sun, 6 Jul 2008 22:12:33 +0000 (23:12 +0100)] 
missing file

16 years agorefnode should always(normally) be MAXBITS
Paul [Sat, 5 Jul 2008 19:42:14 +0000 (20:42 +0100)] 
refnode should always(normally) be MAXBITS

16 years agoAdd opername to noperserv oper alerts.
Chris Porter [Fri, 4 Jul 2008 04:40:06 +0000 (05:40 +0100)] 
Add opername to noperserv oper alerts.

16 years agoAdd iterators to newsearch, along with an example channel iterator function.
Chris Porter [Fri, 4 Jul 2008 04:32:46 +0000 (05:32 +0100)] 
Add iterators to newsearch, along with an example channel iterator function.
Yey! First class functions!!

Example:
  (any (channeliter x) (match (var x) #twilight*))

Roughly equivalent to:
  example = lambda nick: any(lambda x: fnmatch.fnmatch(x, "#twilight*"), nick.channels)
  for nick in networknicks:
    if example(nick):
      print nick

16 years agoWhoops, I forgot to init opername in registerlocaluser, thanks valgrind
Chris Porter [Fri, 4 Jul 2008 03:33:15 +0000 (04:33 +0100)] 
Whoops, I forgot to init opername in registerlocaluser, thanks valgrind

16 years agoAdd opername support to newserv, also add displaying of oper names in noperserv warni...
Chris Porter [Fri, 4 Jul 2008 01:10:45 +0000 (02:10 +0100)] 
Add opername support to newserv, also add displaying of oper names in noperserv warning messages.

16 years agoMerge.
Chris Porter [Mon, 30 Jun 2008 16:19:42 +0000 (17:19 +0100)] 
Merge.

16 years agoAdd eXtended service broadcast module (allows sending of authflags without ircd support).
Chris Porter [Mon, 30 Jun 2008 16:09:33 +0000 (17:09 +0100)] 
Add eXtended service broadcast module (allows sending of authflags without ircd support).

16 years agoAdd server mask (/msg $*.quakenet.org) support.
Chris Porter [Mon, 30 Jun 2008 14:57:13 +0000 (15:57 +0100)] 
Add server mask (/msg $*.quakenet.org) support.

16 years agoAdd server flag support.
Chris Porter [Mon, 30 Jun 2008 14:56:43 +0000 (15:56 +0100)] 
Add server flag support.