[FilterScript] SafeCon - Protect your RCON against unwanted access
#21

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.
Reply
#22

Why do you need AntiDeAMX if you share the whole code?
Reply
#23

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
Reply
#24

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.
Reply
#25

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 ?
Reply
#26

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.
Reply
#27

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
Reply
#28

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...
Reply
#29

Do you have it forum Luxadmin?But nice.
Reply
#30

epic dude
Reply
#31

Great! I used this on my server
Reply
#32

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.
Reply
#33

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.
Reply
#34

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

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

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

Good job.
Reply
#38

Nice good work.
Reply
#39

Perfecto\'. It works well.
Reply
#40

Great work man. Keep it up
+REP
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)