Author Topic: Bans keep wiping (urgent)  (Read 602 times)

0 Members and 1 Guest are viewing this topic.

Offline guushiyt

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Bans keep wiping (urgent)
« on: November 24, 2019, 08:32:07 AM »
Versions
ULib v2.63
ULX v3.73

Gamemode - TTT

Hello, I literally can not figure this issue out. I've tried EVERYTHING from reinstalling ulx/ulib to completely wiping data. Nearly everytime the server restarts my bans are being wiped. The weird thing is there is no errors in the console and sometimes it wipes a portion of the bans or nearly all of them.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8041
  • Karma: 383
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans keep wiping (urgent)
« Reply #1 on: November 24, 2019, 09:15:10 AM »
Remove ALL addons/subscriptions, put only Ulib and ULX back on, test and see what happens.
Two possibilities, the second more likely - first, bans became corrupt, ULib attempts to check its own bans file, rebuild it.
Permanent bans are not usually touched in this instance. (ULX uses the standard gmod bans file for permanent bans)
Second, sounds like an exploit - remove all recently added addons/subscriptions - if youve not added any lately, one of them has been updated to include exploit.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline guushiyt

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: Bans keep wiping (urgent)
« Reply #2 on: November 24, 2019, 10:46:12 AM »
All add-ons I use on this server is used on the other one. This is a complete barebone vanilla ttt server. The add-ons that I use on here are simply for quality of life reasons and they're on my other TTT server which has worked perfectly fine for 4+ years.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8041
  • Karma: 383
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans keep wiping (urgent)
« Reply #3 on: November 24, 2019, 02:01:57 PM »
And?
Subscriptions get updated - sometimes exploited.
Things can become corrupt, and things can get exploited. If you are really unlucky, both can happen.
Check if you have a bans_backup.txt in server data\ULib. If you do, ULib sees a corruption of some sort and is attempting to recreate the file.
Server console would say this on startup (you mentioned no errors though)

Check your server/cfg/bans files - ULib tries to read all the standard gmod ban files from there. If those are being wiped, it's not by ULX (we only use standard Gmod/source commands to write those when banning)
See some troubleshooting here - https://forums.ulyssesmod.net/index.php/topic,10997.msg55171.html#msg55171

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline guushiyt

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: Bans keep wiping (urgent)
« Reply #4 on: November 24, 2019, 04:08:04 PM »
There never has been a backups file created. Also want to mention that I'm running the server on Linux. Not sure if that's an issue or not.

Offline guushiyt

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: Bans keep wiping (urgent)
« Reply #5 on: November 30, 2019, 07:24:58 AM »
Anyone else have a clue?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8041
  • Karma: 383
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans keep wiping (urgent)
« Reply #6 on: November 30, 2019, 08:57:22 AM »
If it's not a permissions issue in linux (can user gmod runs as read and write to \data\ULib and \cfg?)
You didn't answer. Is your \cfg bans file being wiped. ULX only reads from it, source engine writes to it.

I know people hate removing hundreds of subscriptions and as many manual addons, but, really, 99.9% of time, a conflict or exploit is causing such an issue of something being wiped.
Having the exact same items on a different server may just mean it loads differently, or, exploit hasn't been used.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2718
  • Karma: 425
    • |G4P| Gman4President
Re: Bans keep wiping (urgent)
« Reply #7 on: November 30, 2019, 12:44:32 PM »
Try running TTT and ULX with no other mods and see if this problem persists. This is definitely a conflict somewhere and no one is going to be able to just "have an idea". Sorry.

Offline guushiyt

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: Bans keep wiping (urgent)
« Reply #8 on: December 01, 2019, 05:04:41 PM »
If it's not a permissions issue in linux (can user gmod runs as read and write to \data\ULib and \cfg?)
You didn't answer. Is your \cfg bans file being wiped. ULX only reads from it, source engine writes to it.

I know people hate removing hundreds of subscriptions and as many manual addons, but, really, 99.9% of time, a conflict or exploit is causing such an issue of something being wiped.
Having the exact same items on a different server may just mean it loads differently, or, exploit hasn't been used.

It is being wiped, yes.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8041
  • Karma: 383
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans keep wiping (urgent)
« Reply #9 on: December 01, 2019, 07:31:51 PM »
Try running only TTT and unmodified ULib/ULX.
If it happens there, then we have more chance of assisting you.
Until then, too many variables.
You've had two experienced devs and server owners tell you - it's a conflict or an exploit.
I'm not sure how else someone can help.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming