SA-MP Forums Archive
[FilterScript] SafeCon - Protect your RCON against unwanted access - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SafeCon - Protect your RCON against unwanted access (/showthread.php?tid=255079)

Pages: 1 2 3


Re: SafeCon - Protect your RCON against unwanted access - Mauzen - 19.05.2011

Quote:
Originally Posted by Kwarde
View Post
Even better, don\'t use wildcards :\')

Just let people add \'192.168\' (instead of \'192.168.*.*\') and use strfind, or use strcmp and stop searching at *end of string*. Or something similar. Maybe I\'m wrong, but I have a headache and I haven\'t sleep good for 3 weeks, but I guess it could work :P
Thats it! Sounds like the most easiest solution, cause no one is gonna need a wildcard like *.168.*.4 i think.

Im gonna add this soon.


Thanks for all your feedback btw.


Re: SafeCon - Protect your RCON against unwanted access - KoczkaHUN - 21.05.2011

Why do you need AntiDeAMX if you share the whole code?


Re: SafeCon - Protect your RCON against unwanted access - Mauzen - 23.05.2011

Quote:
Originally Posted by KoczkaHUN
View Post
Why do you need AntiDeAMX if you share the whole code?
Just to protect the passwords that are compiled with the code. So attackers would have to break the deamx protection to get access to the rcon password, instead of just reading it out of the server.cfg or the .pwn


Re: SafeCon - Protect your RCON against unwanted access - KoczkaHUN - 23.05.2011

Quote:
Originally Posted by Mauzen
View Post
Just to protect the passwords that are compiled with the code. So attackers would have to break the deamx protection to get access to the rcon password, instead of just reading it out of the server.cfg or the .pwn
You are right, I did not think about it.


Re: SafeCon - Protect your RCON against unwanted access - gamer931215 - 23.05.2011

I serously dont get it why there are always id*ots arround rating people\'s scripts down to 1 or 2 stars just because they can\'t script thereselves.... why the hell was this script 2 stars ?


Nice job mate, good idea of protecting the rcon on IP and/or names.

Does this also protect the server against rcon console via IP ?


Re: SafeCon - Protect your RCON against unwanted access - [L3th4l] - 23.05.2011

Quote:
Originally Posted by gamer931215
View Post
I serously dont get it why there are always id*ots arround rating people\'s scripts down to 1 or 2 stars just because they can\'t script thereselves.... why the hell was this script 2 start ?
Then don\'t post any scripts at all! I would love for people to rate my work, it HELPS me improve my future projects. I don\'t see whats wrong with that.


Re: SafeCon - Protect your RCON against unwanted access - Mauzen - 23.05.2011

Quote:
Originally Posted by gamer931215
View Post
I serously dont get it why there are always id*ots arround rating people\'s scripts down to 1 or 2 stars just because they can\'t script thereselves.... why the hell was this script 2 start ?


Nice job mate, good idea of protecting the rcon on IP and/or names.

Does this also protect the server against rcon console via IP ?
Hehe, thanks. Well, sadly you cant really protect it against IP queries I think. They do not create any reaction in callbacks or the script at all, just the console warning. The only way could be to read the server log and check for those warnings, and then use the shell execute plugin to add the querying IP to the firewall drop rules. Might be worth giving it a try, but this would require the samp server to have permissions for the firewall, and this would be another security risk


Re: SafeCon - Protect your RCON against unwanted access - gamer931215 - 23.05.2011

Quote:
Originally Posted by [L3th4l]
View Post
Then don\'t post any scripts at all! I would love for people to rate my work, it HELPS me improve my future projects. I don\'t see whats wrong with that.
How can rating help improving future projects if people are just rating it "terrible" and are too scared to leave a comment, if people are not leaving any message about WHAT they didnt like theres nothing to learn.


I dont care if people are giving me bad feedback, thats something i can learn about! but i got to know the feedback before i can do anything about it.


Thats all i want to say about it, since this isnt a correct place to talk about this...


AW: SafeCon - Protect your RCON against unwanted access - Forbidden - 02.06.2011

Do you have it forum Luxadmin?But nice.


Re: SafeCon - Protect your RCON against unwanted access - XxDarkRenderxX - 02.06.2011

epic dude


Re: SafeCon - Protect your RCON against unwanted access - CosmicHosting - 18.06.2011

Great! I used this on my server


Re: SafeCon - Protect your RCON against unwanted access - Loading... - 18.06.2011

i get this error

Code:
C:\Users\Family\Desktop\BurnOutCity v2.0\filterscriptscon.pwn(195) : warning 203: symbol is never used: "ipwhitelist"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.



Re: SafeCon - Protect your RCON against unwanted access - Mauzen - 18.06.2011

Quote:
Originally Posted by Loading...
View Post
i get this error

Code:
C:\Users\Family\Desktop\BurnOutCity v2.0\filterscriptscon.pwn(195) : warning 203: symbol is never used: "ipwhitelist"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
You can just ignore that. This occurs when you do not use the whitelist, but the variable is still there and not used.


Re: SafeCon - Protect your RCON against unwanted access - Kwarde - 18.06.2011

But it\'s better to fix it
pawn Code:
#if (USE_IP_WHITELIST == true)
new ipwhitelist[][16] = {
    "127.0.0.1"
};
#endif



Re: SafeCon - Protect your RCON against unwanted access - Sasino97 - 17.07.2011

Really thanks for this!! It worked fine, but can you fix the warnings using #if defined blablabla etc.. when it\'s not defined??


Re: SafeCon - Protect your RCON against unwanted access - SplinteX - 28.12.2013

Where to add Users to whitelist?When i type rcon password now it says bad attempt.


Re: SafeCon - Protect your RCON against unwanted access - omur1905 - 01.01.2014

Good job.


Re: SafeCon - Protect your RCON against unwanted access - NikO1 - 01.01.2014

Nice good work.


Re: SafeCon - Protect your RCON against unwanted access - punklord - 17.05.2014

Perfecto\'. It works well.


Re: SafeCon - Protect your RCON against unwanted access - FahadKing07 - 11.07.2014

Great work man. Keep it up
+REP