Comments (18)
not when one can actively change their IP or provide you with a fake IP.
then you may end up banning someone else instead of who you're trying to ban.
EDIT:
don't ask me how, I only more than know it's possible. (including any device connected to your router/modem)
from dwc_network_server_emulator.
I am aware that IP spoofing possible. However, CID and MAC can also be spoofed (including to other people's), and are more easily modified with Ocarina/AR codes. Additionally, with CID/MAC banning we'd end up like WiimmFi in terms of (lacking) dolphin support.
While it is very possible we may falsely ban some people, how likely is it that the spoofed IP address even belongs to someone else who uses AltWFC?
There is no question that a ban system is necessary, so unless you can propose a better method, IP banning is still the way to go.
from dwc_network_server_emulator.
Allow CID and MAC bans, and just be careful not to ban all of Dolphin?
Keep banlists for IPs, PIDs, CIDs, and MAC addresses, and when we pull the trigger, add an entry to each of these lists (unless the CID/MAC is Dolphin's, in which case just ban PID and IP).
from dwc_network_server_emulator.
don't get me wrong, when it comes to MKW, I do agree with ban support, I just wanted to make a note.
games like Brawl though don't really need ban support as the game already punishes when the match desyncs (I have 5 lives while you have 1 life on my screen, but on your screen both of us have 5 lives).
when the match ends, the game will freeze.
what I'm saying is the ban support should only be allowed for certain games.
if they're banned on MKW, don't ban them globally.
from dwc_network_server_emulator.
Are you planned to add a ban system like Wiimmfi ? (With Console and Profile ban for all games, just like Wiimmfi). It can be very useful because AltWfc need a ban system quickly to ban some MKW hackers.
from dwc_network_server_emulator.
I'd kinda like to know how to set up a simple ban system for my version of the server (once I get it up and running) and how to manage it (also how to find people's CID, MAC, etc)
from dwc_network_server_emulator.
Just FYI another hacker out there is trying to do something for Mario Kart: https://www.youtube.com/watch?v=xmFqBy7ZZV0
from dwc_network_server_emulator.
This is pretty cool but it looks like a 100% client-side approach and is therefore outside the scope of our project.
from dwc_network_server_emulator.
True, it'd be another project entirely. fwiw, I wouldn't mind working on code that runs client-side if y'all decide to start another project :-)
from dwc_network_server_emulator.
Thought I'd post here because it's more relevent rather than continuing the convo in the "set up your own server" topic
@SMTDDR - Ive now gotten the chance to test the admin page and it works (somewhat) like expected BUT the entire console doesn't receive a ban (just the profile) which can easily be bypassed via creating a new profile. Why does this happen? Is there a way to counter this to turn it into a true console ban?
from dwc_network_server_emulator.
Yeah, we were kinda chatting about that in irc. I'm going to try fixing that with 2 changes. I think the "users" table should get a unique constraint on columns "gsbrcd" and "gameid". I'm pretty sure that any rows that have the same gameid & gsbrcd are leftovers from erased savedata and only the row with the biggest profileid is active. Then, some changes need to happen in gs_database.py such that before it does an "INSERT INTO users", it first checks if a row with the incoming gsbrcd & gameid already exists. If so, it should then check if that row's enabled column is set to zero. If it is zero, it should not do the insert.
I'm going to write a separate python script that will clean up the users table; leaving only the active profileIDs in there. In case I screw things up, you should make a backup of gpcm.db to restore from. But for now, I'll write code assuming that duplicates can exist. The clean up script will be something to run only if you feel like it or until everyone truly agrees on it and polaris pulls the new logic into this repo.
from dwc_network_server_emulator.
Okay, worked with BeanJr and we got something that works. Clearing your local savegame data doesn't bypass the ban anymore. It'll take more than that.
Of course, with the existence of hacked-Wiis & Dolphin... nothing is 100%.
from dwc_network_server_emulator.
Not sure how to make a PR out of this: SMTDDR@fad226a -My master branch already diverged from this repo.
I could just do it, if polaris can cherrypick only the 3 files related to admin & banning.
from dwc_network_server_emulator.
(╯°□°)╯︵ ┻━┻
BeanJr has just informed me that Dolphin does this by default: userid=0000000000000,gameid=RMCJ
If you ban a dolphin player, they all get banned. So... yeah ...I dunno.
from dwc_network_server_emulator.
Sorry to bump this, but any luck getting to port 9009 on your server @polaris- ?
from dwc_network_server_emulator.
I'd say we've done all we can to get ban support working wouldn't you say?
from dwc_network_server_emulator.
So @polaris- recently said in a recent PR that he was going to work on improving the server.
I'm revisiting the ban system because my fork is completely outdated, so here are some of the things I'd like added to the official repo:
- Wii bans (MAC, CFC, SN, any kind of identifier that the Wii sends, etc)
- DS bans (obviously MAC only?)
- Better one-click banning - instead of copying/pasting IDs between 1 page to the other
- IP bans made server-wide - instead of game specific
A lot of the above suggestions are already on my fork, just not up to the new "standards" that @sepalani coded in a while back.
On a completely un-related note, I would like to see the stats page (port 9001) to be updated to show not just active games, but active users too. This would make it easier to spot players in a room and ban them. Perhaps this can ben an admin only feature integrated into the port 9009 page?
from dwc_network_server_emulator.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
from dwc_network_server_emulator.
Related Issues (20)
- TLOZ Four Swords Adventures Anniversary HOT 1
- Please re-add the whole 'IPKE' folder inside the 'dlc' folder HOT 1
- Is there a guide somewhere for setting this up to work with SSL via nds-constraint? HOT 4
- Is it really necessarry to open all UDP ports? Disconnection after 1 minute. HOT 2
- Nintendo WFC service for this software has been halted HOT 7
- storage_server doesn't have any SearchForRecords limit HOT 6
- How to fix Error Code 61020 HOT 1
- how to fix error code 20100 HOT 2
- Communication Error w/ no code HOT 3
- Error Code 60000 when i try to rejoin nintendo wfc on mario kart wii HOT 5
- Wii Games are fine, MKDS Error 52101 HOT 3
- Custom MarioKart Wii mods HOT 5
- Error when running master_server.py HOT 2
- Guides to self host on a Raspberry Pi HOT 2
- Error Code 23502 on Self Hosted Server HOT 1
- Can't connect to the server HOT 2
- Escape column names with quotemarks HOT 1
- Use a different userids for Gamespy and DWC HOT 1
- Mario Kart DS keeps connecting indefinitely
- PID registered as RM instead of RMC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwc_network_server_emulator.