{"action":"created","issue":{"url":"https://api.github.com/repos/nbs-system/naxsi/issues/328","repository_url":"https://api.github.com/repos/nbs-system/naxsi","labels_url":"https://api.github.com/repos/nbs-system/naxsi/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/nbs-system/naxsi/issues/328/comments","events_url":"https://api.github.com/repos/nbs-system/naxsi/issues/328/events","html_url":"https://github.com/nbs-system/naxsi/issues/328","id":193132468,"number":328,"title":"Unblock rule 2 for some requests","user":{"login":"Peter2121","id":3807655,"avatar_url":"https://avatars.githubusercontent.com/u/3807655?v=3","gravatar_id":"","url":"https://api.github.com/users/Peter2121","html_url":"https://github.com/Peter2121","followers_url":"https://api.github.com/users/Peter2121/followers","following_url":"https://api.github.com/users/Peter2121/following{/other_user}","gists_url":"https://api.github.com/users/Peter2121/gists{/gist_id}","starred_url":"https://api.github.com/users/Peter2121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peter2121/subscriptions","organizations_url":"https://api.github.com/users/Peter2121/orgs","repos_url":"https://api.github.com/users/Peter2121/repos","events_url":"https://api.github.com/users/Peter2121/events{/privacy}","received_events_url":"https://api.github.com/users/Peter2121/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-02T14:44:28Z","updated_at":"2016-12-05T15:00:27Z","closed_at":null,"body":"I'm trying to add whitelist rule for some ActiveSync requests.\r\nNow my requests are blocked as follows:\r\n2016/12/02 14:51:18 [error] 75640#0: *38 NAXSI_FMT: ip=000.000.000.000&server=xxx.xxx.xxx&uri=/Microsoft-Server-ActiveSync&learning=0&vers=0.54&total_processed=13&total_blocked=3&block=1&zone0=BODY&id0=2&var_name0=, client: 000.000.000.000, server: xxx.xxx.xxx, request: \"POST /Microsoft-Server-ActiveSync?User=xxx.xxx@xxx.xxx&DeviceId=XXXXXXXXXXX&DeviceType=iPhone&Cmd=SendMail HTTP/1.1\", host: \"xxx.xxx.xxx\"\r\nIt is normal as I'm trying to send a mail with an attached file.\r\nFollowing the docs of NAXSI, I added a whitelist:\r\nBasicRule  wl:2 \"mz:$URL_X:SendMail|BODY\" ;\r\nBut it's still blocked.\r\nI tried with:\r\nBasicRule  wl:2 \"mz:$BODY_VAR_X:SendMail|BODY\" ;\r\nIdem.\r\nIs there something I missed or it's a NAXSI bug?"},"comment":{"url":"https://api.github.com/repos/nbs-system/naxsi/issues/comments/264875749","html_url":"https://github.com/nbs-system/naxsi/issues/328#issuecomment-264875749","issue_url":"https://api.github.com/repos/nbs-system/naxsi/issues/328","id":264875749,"user":{"login":"buixor","id":990714,"avatar_url":"https://avatars.githubusercontent.com/u/990714?v=3","gravatar_id":"","url":"https://api.github.com/users/buixor","html_url":"https://github.com/buixor","followers_url":"https://api.github.com/users/buixor/followers","following_url":"https://api.github.com/users/buixor/following{/other_user}","gists_url":"https://api.github.com/users/buixor/gists{/gist_id}","starred_url":"https://api.github.com/users/buixor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buixor/subscriptions","organizations_url":"https://api.github.com/users/buixor/orgs","repos_url":"https://api.github.com/users/buixor/repos","events_url":"https://api.github.com/users/buixor/events{/privacy}","received_events_url":"https://api.github.com/users/buixor/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T15:00:27Z","updated_at":"2016-12-05T15:00:27Z","body":"Hello,\r\n\r\nRule 2 is this : https://github.com/nbs-system/naxsi/wiki/internal-rules#big_request\r\n\r\nmeans it applies to the whole body (body is too big, nginx decides to buffer it on disk), it makes little sense to apply it to **one** post variable :)\r\n\r\nThus you need to disable for a full uri at least.\r\n\r\nIs it more clear like this ?\r\n"}}
{"actor":{"display_login":"buixor"}}