{"action":"created","issue":{"url":"https://api.github.com/repos/grke/burp/issues/519","repository_url":"https://api.github.com/repos/grke/burp","labels_url":"https://api.github.com/repos/grke/burp/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/grke/burp/issues/519/comments","events_url":"https://api.github.com/repos/grke/burp/issues/519/events","html_url":"https://github.com/grke/burp/issues/519","id":193550621,"number":519,"title":"unexpected command in extra_comms_client","user":{"login":"Spheerys","id":2228364,"avatar_url":"https://avatars.githubusercontent.com/u/2228364?v=3","gravatar_id":"","url":"https://api.github.com/users/Spheerys","html_url":"https://github.com/Spheerys","followers_url":"https://api.github.com/users/Spheerys/followers","following_url":"https://api.github.com/users/Spheerys/following{/other_user}","gists_url":"https://api.github.com/users/Spheerys/gists{/gist_id}","starred_url":"https://api.github.com/users/Spheerys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spheerys/subscriptions","organizations_url":"https://api.github.com/users/Spheerys/orgs","repos_url":"https://api.github.com/users/Spheerys/repos","events_url":"https://api.github.com/users/Spheerys/events{/privacy}","received_events_url":"https://api.github.com/users/Spheerys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-05T16:50:33Z","updated_at":"2016-12-09T15:47:42Z","closed_at":null,"body":"Hi,\r\n\r\nI have an error on my burp server\r\nWhen I run `burp -a m\" locally, I get this error : \r\n```\r\nburp -a m\r\n{ \"logline\": \"auth ok\" }\r\n{ \"logline\": \"Server version: 2.0.52\" }\r\n{ \"logline\": \"nocsr ok\" }\r\n{ \"logline\": \"SSL is using cipher: DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH       Au=RSA  Enc=AESGCM(256) Mac=AEAD\r\n\" }\r\n{ \"logline\": \"unexpected command in extra_comms_client(): e:(null)\" }\r\n{ \"logline\": \"extra comms failed\" }\r\n\r\n```\r\n\r\nBut on another client, I can do a `burp -a b` and it's working well.\r\n\r\nOn my server, my /etc/burp/burp.conf is : \r\n```\r\nmode = client\r\nport = 4971\r\nstatus_port = 4972\r\nserver = ::1\r\npassword = abcdefgh\r\ncname = bui\r\npidfile = /var/run/burp.bui.pid\r\nsyslog = 0\r\nstdout = 1\r\nprogress_counter = 1\r\nnetwork_timeout = 72000\r\nca_burp_ca = /usr/sbin/burp_ca\r\nca_csr_dir = /etc/burp/CA-client\r\n# SSL certificate authority - same file on both server and client\r\nssl_cert_ca = /etc/burp/ssl_cert_ca.pem\r\n# Client SSL certificate\r\nssl_cert = /etc/burp/ssl_cert-client.pem\r\n# Client SSL key\r\nssl_key = /etc/burp/ssl_cert-client.key\r\n# SSL key password\r\nssl_key_password = password\r\n# Common name in the certificate that the server gives us\r\nssl_peer_cn = burpserver\r\n# The following options specify exactly what to backup.\r\ninclude = /etc/burp/\r\n                        \r\n```\r\n\r\nTell me if you need some other conf files :)\r\n"},"comment":{"url":"https://api.github.com/repos/grke/burp/issues/comments/266045960","html_url":"https://github.com/grke/burp/issues/519#issuecomment-266045960","issue_url":"https://api.github.com/repos/grke/burp/issues/519","id":266045960,"user":{"login":"pablodav","id":4460447,"avatar_url":"https://avatars.githubusercontent.com/u/4460447?v=3","gravatar_id":"","url":"https://api.github.com/users/pablodav","html_url":"https://github.com/pablodav","followers_url":"https://api.github.com/users/pablodav/followers","following_url":"https://api.github.com/users/pablodav/following{/other_user}","gists_url":"https://api.github.com/users/pablodav/gists{/gist_id}","starred_url":"https://api.github.com/users/pablodav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablodav/subscriptions","organizations_url":"https://api.github.com/users/pablodav/orgs","repos_url":"https://api.github.com/users/pablodav/repos","events_url":"https://api.github.com/users/pablodav/events{/privacy}","received_events_url":"https://api.github.com/users/pablodav/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T15:47:42Z","updated_at":"2016-12-09T15:47:42Z","body":"Seems that your new client name is trying to use files that already have cert from other clients, this is in your client config: \r\n\r\n        name = burp-ui\r\n        # SSL certificate authority - same file on both server and client\r\n        ssl_cert_ca = /etc/burp/ssl_cert_ca.pem\r\n        # Client SSL certificate\r\n        ssl_cert = /etc/burp/ssl_cert-client.pem\r\n        # Client SSL key\r\n        ssl_key = /etc/burp/ssl_cert-client.key\r\n        # SSL key password\r\n        ssl_key_password = password\r\n\r\nTry to change that to:\r\n\r\n\r\n        name = burp-ui\r\n        # SSL certificate authority - same file on both server and client\r\n        ssl_cert_ca = /etc/burp/ssl_cert_ca-burp-ui.pem\r\n        # Client SSL certificate\r\n        ssl_cert = /etc/burp/ssl_cert-burp-ui.pem\r\n        # Client SSL key\r\n        ssl_key = /etc/burp/ssl_cert-burp-ui.key\r\n        # SSL key password\r\n        ssl_key_password = password\r\n\r\nWhen you execute \r\n\r\n        ~ burp -a m\r\n\r\nMaybe execute as normal user, not with permissions to write to /etc/burp. \r\n\r\nTry with root (sudo su - ) \r\n\r\n        # burp -a l \r\n\r\n\r\nSimilar as I use in my template for burp-ui client: \r\n\r\nhttps://github.com/CoffeeITWorks/ansible_burp2_server/blob/master/templates/burp.conf.j2  \r\n\r\nThe vars with {{ somename }} are automatically changed to correct names. \r\n\r\nKind regards,\r\nPablo."}}
{"actor":{"display_login":"pablodav"}}