+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: wire_expression2_concmd_whitelist (filters for concmd)

  1. #11
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    Hi there, I'm some people!

    I'd like a blacklist too, because with a whitelist you'd have to constantly add new commands when somone needs them. It's not that hard, can't you just do it?

    Also, is the white/blacklist clientside or serverside?

  2. #12
    Bug Buster TomyLobo's Avatar
    Join Date
    Feb 2009
    Posts
    2,796

    Default

    I moved this thread to e2 development.

    @HP: You don't need to add new commands when someone needs them but when YOU need them






    Documentation of the concmd blocking mechanism follows:

    If wire_expression2_concmd is 0, everything is blocked.
    Otherwise, if wire_expression2_concmd_whitelist is empty, everything is allowed.
    Otherwise, all comma-separated parts of wire_expression2_concmd_whitelist are examined:
    If any of them matches the start of the command, it passes, otherwise it is blocked.
    The whitelist entries have to match word-wise.

    Example matches:
    "say" matches "say hello" but not "say_team"
    "ulx kick" would match "ulx kick Mingebag" but not "ulx kickban Mingebag"

    All console variables related to blocking are on the client.
    Last edited by TomyLobo; 12-18-2009 at 12:51 PM.
    "It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup

    Lífið læðist lúmskt áfram

  3. #13
    Lifetime Supporter Nikita's Avatar
    Join Date
    May 2009
    Posts
    769

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    I know something worse than kill, quit and disconnect.
    -snip-
    In a loop.

    Imagine what happens to your pc >=D

  4. #14
    Bug Buster TomyLobo's Avatar
    Join Date
    Feb 2009
    Posts
    2,796

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    don't post such things, Nikita

    but pretty much proving my point in favour of a whitelist, that you cannot ever know all exploitable commands.
    I wasn't even aware of these
    "It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup

    Lífið læðist lúmskt áfram

  5. #15
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    Quote Originally Posted by TomyLobo View Post
    don't post such things, Nikita

    but pretty much proving my point in favour of a whitelist, that you cannot ever know all exploitable commands.
    I wasn't even aware of these
    I agree with the whitelist idea, a black list cant cover all of the exploitable commands effectively.

  6. #16
    Wire Amateur ColinSSX's Avatar
    Join Date
    Jul 2008
    Posts
    53

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    Quote Originally Posted by TomyLobo View Post
    don't post such things, Nikita

    but pretty much proving my point in favour of a whitelist, that you cannot ever know all exploitable commands.
    I wasn't even aware of these
    I see your point, go with only the whitelist then.

    I still recommend making wire_expression2_concmd 2 follow the whitelist and leaving wire_expression2_concmd 1 alone.

  7. #17
    Bug Buster TomyLobo's Avatar
    Join Date
    Feb 2009
    Posts
    2,796

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    wire_expression2_concmd 0
    => allow nothing

    wire_expression2_concmd 1
    wire_expression2_concmd_whitelist ""
    => allow everything (=previous wire_expression2_concmd 1 behaviour)

    wire_expression2_concmd 1
    wire_expression2_concmd_whitelist say
    => allow only "say"

    I forgot to mention that. I assumed people read SVN log messages...
    "It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup

    Lífið læðist lúmskt áfram

  8. #18
    Lifetime Supporter Nikita's Avatar
    Join Date
    May 2009
    Posts
    769

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    Ah sorry bout that. Looks like admins will finally feel somewhat safe and allow concmds.

    Advent of admin bots?

    Hey that's an idea. Why not make a possible exception for admin? Though then they'd still be tricked into stuff then... Actually, never mind. I don't want some ping-nazi chip banning me from a nice server :P

    Having concmd more common would give some interesting results. A gravity/friction randomiser chip for example. Or chatbots. Lots and lots of chatbots.

  9. #19
    Bug Buster TomyLobo's Avatar
    Join Date
    Feb 2009
    Posts
    2,796

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    Quote Originally Posted by Nikita View Post
    Ah sorry bout that. Looks like admins will finally feel somewhat safe and allow concmds.

    Advent of admin bots?

    Hey that's an idea. Why not make a possible exception for admin? Though then they'd still be tricked into stuff then... Actually, never mind. I don't want some ping-nazi chip banning me from a nice server :P

    Having concmd more common would give some interesting results. A gravity/friction randomiser chip for example. Or chatbots. Lots and lots of chatbots.
    admins? this is a CLIENT-SIDE option
    YOU can turn it on for YOUR client
    the admin has no say in this.
    "It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup

    Lífið læðist lúmskt áfram

  10. #20
    Lifetime Supporter Nikita's Avatar
    Join Date
    May 2009
    Posts
    769

    Default Re: wire_expression2_concmd_whitelist (filters for concmd)

    Hmm. I should learn to read.

+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast

LinkBacks (?)

  1. 01-27-2010, 06:01 PM

Similar Threads

  1. Searchbox filters.
    By markiu200 in forum Wiremod Website Chat
    Replies: 4
    Last Post: 08-02-2009, 05:33 PM
  2. E2 concmd?
    By Solece in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 06-04-2009, 11:10 AM
  3. concmd() help
    By warrior08 in forum Expression 2 Discussion & Help
    Replies: 12
    Last Post: 04-24-2009, 09:38 PM
  4. Wire target finder - Filters
    By SouthtownJR in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 10-22-2008, 05:42 PM
  5. Target Finder Question - Filters
    By theloneheretic in forum Installation and Malfunctions Support
    Replies: 6
    Last Post: 09-01-2008, 02:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots