Sepalani
f29de507df
[WIP] NAS: Adjusted x-forwarded-for
2016-02-28 20:21:01 +01:00
Sepalani
d5a467a178
[WIP] NAS: Added ac functions
2016-02-28 20:21:01 +01:00
Sepalani
6f0bfda62b
[WIP] NAS: Added pr function
2016-02-28 20:21:01 +01:00
Sepalani
ea8155bfe9
[WIP] NAS: Added download functions
2016-02-28 20:21:00 +01:00
Sepalani
428dbcca97
[WIP] NAS: Moved action='contents' in dlc
2016-02-28 20:21:00 +01:00
Sepalani
867cd538ae
[WIP] NAS: Moved action='list' in dlc
2016-02-28 20:20:57 +01:00
Sepalani
08a4697cf7
[WIP] NAS: Moved action='count' in dlc
2016-02-23 23:01:54 +01:00
Sepalani
0475343b9e
[WIP] NAS: Moved dlc methods into dlc module
2016-02-23 23:01:53 +01:00
Sepalani
9f92df2be8
[WIP] NAS: Moved qs methods in utils
2016-02-23 23:01:53 +01:00
Sepalani
30c59a2902
[WIP] NAS: GET request
2016-02-23 23:01:52 +01:00
Sepalani
e16d8033d0
NAS: Fixed threading issues
2016-02-13 01:12:38 +01:00
Sepalani
2102a73b05
Improved configuration file
...
Added: register_page.py into cfg and pyproj
Added: Alternative configuration file
Added: Logger into configuration file
2015-09-05 22:56:19 +02:00
Sepalani
e088954ef5
Fixed: Error Code 24101
...
Fixed: Request parsing ignoring blank values
Tested with Boom Street and Monster Hunter Tri
2015-09-05 21:15:31 +02:00
payet_s
dfa269c71d
Added: Configuration Module/File
2015-09-05 21:15:31 +02:00
payet_s
0cf2d6d6b0
Fixed: Format string vulnerabilities
2015-09-05 21:12:44 +02:00
payet_s
2ba6518669
Cleaned: master_server.py, nas_server.py
...
Massive cleanup
Removed: Anoying UTF-8 BOM
2015-09-05 21:01:43 +02:00
payet_s
cc84f739ca
Upgraded: Visual Studio solution
...
Changed: module comment style
2015-09-05 19:17:38 +02:00
kyle95wm
550579ae7b
Console registration
...
I've decided to impliment a new feature into the server (disabled by default in nas_server.py) where when enabled, the server will check if a console's MAC is in BOTH the registered and pending database tables. If this is not the case, one of two error codes will be returned:
error 23888 - Console pending activation by server admin
error 23921 - Unknown console
A registration page was also included on port 9998 for users to enter their MAC and add it to the pending table. The server admin can then log in to the admin page and activate the console if they so please.
2015-07-18 16:39:04 -04:00
Admiral H. Curtiss
edec5dd12d
Revert 798a9238bd since we have a different ban system now.
2015-05-04 19:36:21 +02:00
Admiral H. Curtiss
38a6796edd
NAS: Cleanup.
2015-05-04 14:30:14 +02:00
Kyle Warwick-Mathieu
08ab1dd35a
Updated NAS (changes in description)
...
-shows IP even with reverse proxy (the recommended setup to take full advantage of the sake server)
-new error codes
-23911=profile disabled (literally)
-23913=UserID/acctcreate denied
-23917=server access denied (banned)
-fixed SMTDDR's error in listening port when he sent this to me - no worries
2015-05-04 13:53:22 +02:00
Kyle Warwick-Mathieu
2ee0d821a3
Have NAS store IP addresses in NAS_LOGINS table
2015-05-02 22:02:53 -04:00
Admiral H. Curtiss
80c917a8b5
NAS: Show actual IP in logs when reverse-proxied.
2015-05-03 01:55:04 +02:00
Admiral H. Curtiss
9bf49b8c67
Return a 404 in NAS when someone tries to access an unknown URL.
2015-05-03 01:35:01 +02:00
Admiral H. Curtiss
1ec4cda726
Fixes #148 , broke new account logins with the last commit. Whoops.
2015-05-02 20:02:19 +02:00
Admiral H. Curtiss
798a9238bd
Return error code 23912 when a user is banned. See #138 .
2015-05-02 15:28:24 +02:00
Admiral H. Curtiss
55c8264cd7
Fixes #129 .
2015-04-24 20:46:49 +02:00
polaris-
36dc3af1eb
Added num and offset to list command for DLC
2015-04-09 20:47:26 -04:00
smtddr
7957896573
acctcreate returns next userid
2015-01-18 05:42:43 +00:00
polaris
2de0f70850
SMTDDR's Threading for NAS
...
Been running it for a little while now and it seems stable.
2014-12-30 20:38:11 -05:00
polaris-
7081f07d3f
Don't filter further if returned list is empty
...
Fixes an exception when looking for a specific key in _list.txt but no data is returned. For example, searching for MYSTERY_S for gamecd IRAO.
2014-11-04 08:06:43 -05:00
Admiral H. Curtiss
a77b983ce7
Proper file filtering for G5 gifts, date-based selection should work now.
2014-08-18 02:02:01 +02:00
polaris
a4d49a5ede
Fix bug in NAS server from 1fbec2f
2014-07-29 09:55:05 -04:00
polaris
07de306dbd
Fix missing comma from change in 1fbec2f
2014-07-29 09:31:19 -04:00
Matt Soucy
1fbec2fd37
Some dictionary-related cleanup
2014-07-27 15:11:55 -04:00
polaris
2fdd7a5783
Now includes licensing (AGPL v3)
2014-07-04 19:40:43 -04:00
Admiral H. Curtiss
a4ab6dabc1
Make date-based download specifying more logical to the user by making Jan 1st the first item on the file list.
2014-07-03 19:09:00 +02:00
Admiral H. Curtiss
2f29689285
On games with random downloads, allow user to control them via local date.
2014-07-02 22:16:47 +02:00
Admiral H. Curtiss
97051e6098
NAS: Real server has a newline at the end of the returned data.
2014-06-04 23:32:41 +02:00
Admiral H. Curtiss
8d5efa344d
Presumably fixes #29
2014-06-02 02:42:26 +02:00
polaris
5a2bca3a57
Added some exception catching for debugging
2014-05-28 11:26:58 -04:00
polaris
034a17d535
Fix some exceptions
2014-05-27 13:53:21 -04:00
Admiral H. Curtiss
c6cb8d0f6f
NAS: Prevent download path attack.
2014-05-27 15:01:59 +02:00
polaris-
72dd556447
Merge pull request #26 from msoucy/ref/python/context-managers
...
Make use of context managers to safely close files
2014-05-27 08:03:08 -04:00
Matt Soucy
3eaf22b1a6
Make use of context managers to safely close files
2014-05-27 02:38:48 -04:00
Matt Soucy
d1a6309875
Use lists instead of more roundabout methods
2014-05-26 23:19:47 -04:00
Admiral H. Curtiss
1ed9b24e8a
NAS: Change some headers to be more accurate.
...
Doesn't appear to actually matter for most games but who knows, maybe
some games need the accurate data?
2014-05-27 03:04:58 +02:00
polaris
65fe2e39be
Tried to fix base64 decoding in NAS for ingamesn
...
Examples of names that broke it before: D-9fAA**, MKIw8zC-MOwwuQ**,
MGowizB-, xXzWOP8e-w3-HCYF.
2014-05-25 09:20:08 -04:00
Toad King
4aede9bb33
add stub for conntest to nas server
2014-05-25 00:00:41 -04:00
polaris-
753ef14d04
Renaming NAS server
2014-05-22 10:20:15 -04:00