• Added RBL lookups on connection via DroneDL.

    From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jul 7 16:10:58 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3654Why 'NXDOMAIN' as a magic string to return and check for? `resove_ip()` returns `null` on failure to resolve, so just check for a non-truth result of `checkip()` and return the return value of `resolve_ip()` here.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jul 7 16:13:24 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3655So here (and later) `checkip()` is returning `false`, but the code that checks the return value of `checkip()` only checks for 'NXDOMAIN' and `undefined` as handles those as expected return values.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jul 7 17:24:22 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3656hard-coding the DNSBL server? Icky.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Fri Jul 7 20:12:23 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3657Because I suck and I did what works for me just so we can get it working and stop the bots.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Fri Jul 7 20:12:42 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3658I thought I changed these to just return; rather than return false;. I'll have to check.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Fri Jul 7 20:13:36 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3659It was either that or wait a week while I figure out how to add it to the ircd config. Sorry I bothered, I'm sure.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jul 7 20:26:29 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3661You'd want to return a value in all cases, not just `return;`

    But make sure you're actually checking-for/handling the possible return values in the caller.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jul 7 20:28:26 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3662or just use `function checkip(ip, rbl)` and then pass the hard-coded (for now) DNSBL server at the call site. Then in the future, when someone adds the configurability, this function would still need no change.--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Nigel Reed on Fri Jul 7 22:58:14 2023
    Re: Added RBL lookups on connection via DroneDL. By: Nigel Reed to GitLab note in main/sbbs on Fri Jul 07 2023 08:12 pm > https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3657 > > Because I suck and I did what works for me just so we can get it working and > stop the bots.are you getting those supernets attacks.--- Synchronet ::: BBSES.info - free BBS services :::
  • From Digital Man@VERT to MRO on Fri Jul 7 21:21:40 2023
    Re: Added RBL lookups on connection via DroneDL. By: MRO to Nigel Reed on Fri Jul 07 2023 10:58 pm > Re: Added RBL lookups on connection via DroneDL. > By: Nigel Reed to GitLab note in main/sbbs on Fri Jul 07 2023 08:12 pm > > > https://gitlab.synchro.net/main/sbbs/-/merge_requests/297#note_3657 > > > Because I suck and I did what works for me just so we can get it working > > and stop the bots. > > are you getting those supernets attacks.Yup.-- digital man (rob)Breaking Bad quote #1:Just because you shot Jesse James, don't make you Jesse James. - M. EhrmantrautNorco, CA WX: 66.3F, 73.0% humidity, 1 mph SE wind, 0.00 inches rain/24hrs--- Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Digital Man on Sat Jul 8 12:53:27 2023
    Re: Added RBL lookups on connection via DroneDL. By: Digital Man to MRO on Fri Jul 07 2023 09:21 pm > > > > Because I suck and I did what works for me just so we can get it > > > working and stop the bots. > > > are you getting those supernets attacks. > > Yup.Those dipshits do that stuff around every holiday.Really, the best thing to stop like 99% of that stuff is to run your ircd on a non standard port. i dropped 6667 and only use ssl now and i don't get any attacks.I was surprised they didn't even find me on april floods day.Last year i stopped a lot of their attacks just by banning strings in their script, but i see now they are masking it.https://i.imgur.com/UZyiQJL.pngRight now, They are attacking my channels on efnet. most activity it's seen all year.--- Synchronet ::: BBSES.info - free BBS services :::