James Lu
54987fde4e
relay: code cleanup, possibly fix clones for PyLink clients being spawned from rare race conditions
2016-05-01 14:59:13 -07:00
James Lu
ab5624343b
relay: fix regression causing 'load relay' to freeze
2016-05-01 14:59:13 -07:00
James Lu
69cd3cfbf8
relay: fix race conditions when multiple networks disconnect simultaneously
2016-05-01 14:59:13 -07:00
James Lu
7b3271b430
README: recommend U-Line on nefarious
2016-05-01 11:42:22 -07:00
James Lu
beae4eea9e
core: rename utils.fullVersion -> irc.version ( #199 )
2016-04-30 17:00:28 -07:00
James Lu
3bb1208e74
core: move toLower to Irc ( #199 )
2016-04-30 16:57:38 -07:00
James Lu
2fe2e9c8c4
core: move isOper, checkAuthenticated to Irc ( #199 )
2016-04-30 16:54:11 -07:00
James Lu
4bd4c23a08
networks: also remove coreplugin call
2016-04-30 16:50:04 -07:00
James Lu
78f8a2fc8d
core: move isManipulatableClient, getHostmask to Irc
2016-04-30 16:44:37 -07:00
James Lu
201ae8b5fd
pylink: remove call to coreplugin.main()
2016-04-30 16:44:27 -07:00
James Lu
ef4cb8b773
coreplugin: remove irc.connected check
...
This is misleading when the network fails to connect at daemon start, for example. Reverts parts of c5acd5c
and 2080a39
.
2016-04-30 16:37:12 -07:00
James Lu
064cb9b6aa
core: move reverseModes, joinModes into Irc
2016-04-30 16:33:46 -07:00
James Lu
05752d9f60
Merge branch 'master' into devel
2016-04-29 23:43:15 -07:00
James Lu
01bf0325fb
inspircd: fix wrong variable in KILL text
2016-04-29 23:43:03 -07:00
James Lu
bd0874a484
Merge branch 'wip/split-utils' into devel
2016-04-29 23:32:52 -07:00
James Lu
b61ac21e86
hybrid, ts6: adjust umode definitions again
...
- Prefix non-standard snomask umodes with sno_ to avoid confusion
- Remove _hybrid suffixes and chary_ prefixes, they serve little use
- Re-map some hybrid modes to match existing definitions: showadmin->admin, smessages->snomask, hideops->hideoper, softcallerid->deaf_commonchan
2016-04-29 22:39:37 -07:00
James Lu
0061414ee5
nefarious: remove untested parsing of umode +h for now
2016-04-29 22:32:26 -07:00
James Lu
b78b911323
unreal: fix JOIN handling & normalize channel case
...
Reported by Rascle on IRC.
2016-04-28 19:17:20 -07:00
James Lu
cf5cc18855
pylink-opers: mention LINKED command
2016-04-27 21:28:27 -07:00
James Lu
dd7b3821e9
nefarious: deduplicate outgoing BURST mode prefixes
2016-04-27 16:43:09 -07:00
James Lu
1bd2bd760c
hybrid, nefarious: add missing BURST/SJOIN->JOIN hook mapping
...
Reported by Rascle on IRC.
2016-04-27 16:42:38 -07:00
James Lu
3b04d1abdc
Irc: raise connection failure log levels to error
2016-04-25 19:14:34 -07:00
James Lu
84503a2ead
docs/cmodes: update noknock mappings for c599978
2016-04-24 21:53:12 -07:00
James Lu
f1351bb3f5
utils: introduce deprecation warnings for applyModes and parseModes
2016-04-24 21:44:34 -07:00
James Lu
a8fc9428cf
protocols: migrate to irc.parseModes/applyModes ( #199 )
2016-04-24 21:44:31 -07:00
James Lu
84822fb1d6
Move applyModes, parseModes into Irc, suppressing deprecation warnings for now ( #199 )
2016-04-24 21:44:27 -07:00
James Lu
40a86de040
protocols: reword spawnClient description text
2016-04-24 21:17:56 -07:00
James Lu
f8c2ee3ed3
protocols: use KeyedDefaultdict to enumerate UID generators
2016-04-24 21:16:41 -07:00
James Lu
7f46e1c35c
Separate KeyedDefaultdict into new structures module ( #199 )
2016-04-24 21:11:36 -07:00
James Lu
2c60aa6395
Separate UID/SID generators into various protocol modules ( #199 )
2016-04-24 21:08:07 -07:00
James Lu
a069ce8cb4
Unbrick loglevel changing ( Closes #208 )
2016-04-23 11:06:08 -07:00
James Lu
128a6363d5
nefarious: easier SID encoding using struct
2016-04-23 10:54:54 -07:00
James Lu
0e0d96efc6
nefarious: properly decode IPv6 addresses, move IP decoding into separate function
2016-04-23 10:44:17 -07:00
James Lu
9f454402d2
nefarious: don't confuse the TS argument with the user list, if a BURST is sent with only bans
2016-04-18 21:29:00 -07:00
James Lu
fd909395ff
nefarious: ignore empty BURSTs with no useful data
2016-04-18 20:59:06 -07:00
James Lu
bc578240bb
nefarious: fix checks for what is an IPv6 / IPv4 address
2016-04-18 20:54:16 -07:00
James Lu
0fad0f7a2c
nefarious: add missing import
...
Reported by Rascle on IRC.
2016-04-18 20:40:01 -07:00
James Lu
534242ef29
Irc: fix disconnect logic in ping timeouts
...
Call disconnect() in the event of a ping timeout. Curse these extra indents!
2016-04-18 18:14:42 -07:00
James Lu
71fa4b941c
Merge branch 'devel'
2016-04-18 12:30:38 -07:00
James Lu
42718ed323
relay: Allow IP sharing to be toggled per network
...
Via a new "relay_no_ips" option in server blocks. Closes #201 .
2016-04-18 12:29:15 -07:00
James Lu
4c83bfc3ef
relay: don't error if irc.pseudoclient hasn't been initialized yet
2016-04-18 11:52:01 -07:00
James Lu
c59997827f
hybrid, ts6: update mode definitions
...
- +p is actually just noknock on hybrid & charybdis
- Fill in *A-*D lists (they were incomplete)
2016-04-18 11:22:54 -07:00
James Lu
2b3307a96c
README: mention the state of Nefarious support
2016-04-18 11:02:08 -07:00
James Lu
560311a98b
nefarious: handle VERSION requests
2016-04-18 10:55:05 -07:00
James Lu
81d2450460
nefarious: relay KILL user data properly
2016-04-18 10:52:41 -07:00
James Lu
4b4db64705
nefarious: experimental host changing support via FAKE
...
This seems to work fine for changing remote users' hosts, but changing the host of internal PyLink clients doesn't seem to work at all...
2016-04-18 10:52:09 -07:00
James Lu
eb33b4e9f2
example-conf: add nefarious example block
...
There are a lot of options with this protocol, so this is essential.
2016-04-17 22:48:45 -07:00
James Lu
25aacbd1fa
nefarious: actually check RECVPASS
2016-04-17 22:33:16 -07:00
James Lu
4013965029
pmodule-spec: mention checking recvpass
...
It's surprisingly how easily this can be overlooked. I've been guilty of this too.
2016-04-17 22:32:19 -07:00
James Lu
c379287482
nefarious: implement account & vhost checking
...
Many thanks to @jobe1986 again, for giving me the specifics on how all of this works. :)
2016-04-17 22:23:44 -07:00