buiagent mode error 400
Hello, I continue to configure my cluster of burp-ui agent and I will test buiagent. Burp is in server 1 and I configure server1 as buiagent:
[Global]
port: 10000
bind: 0.0.0.0
ssl: false
sslcert: /etc/burp/ssl_cert-server.pem
sslkey: /etc/burp/ssl_cert-server.key
version: 1
password: azerty
[UI]
refresh : 15
[Brp1]
bhost: 127.0.0.1
bport: 4972
burpbin: /usr/sbin/burp
stripbin: /usr/sbin/vss_strip
tmpdir: /tmp/buirestore
bconfcli: /etc/burp/burp.conf
bconfsrv: /etc/burp/burp-server.conf
And in other server 2 I have configured burp-ui in standalone mode to false:
[Global]
ssl: false
standalone: false
[...]
## bui-agent
[Agent:Brp1]
# bui-agent address
host: XXX.XXX.XXX.XXX #server 1 ip
port: 10000
password: azerty
# enable SSL
ssl: false
When I run this 2 daemons, it launch. I connect me in the interface no problem. In client they are Brp1 agent, when I click on Brp1 agent, they are no client in list.
In server 2 in debug logs I have:
DEBUG in multi [/home/www-data/burp-ui/bin/../burpui/misc/backend/multi.py:140]:
OK, connected to agent XXXX.XXX.XXX.XXX:10000 #ip server 1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DEBUG in multi [/home/www-data/burp-ui/bin/../burpui/misc/backend/multi.py:182]:
Sending: {"password": "azerty", "args": null, "func": "get_all_clients"}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ERROR in multi [/home/www-data/burp-ui/bin/../burpui/misc/backend/multi.py:206]:
Socket timed-out
-------------------------
In server1 debug logs, I found "error 400"
- - [15/Jan/2015 18:08:24] code 400, message Bad request syntax ('\x00\x00\x00\x00\x00\x00\x00?{"password": "azerty", "args": null, "func": "get_all_clients"}')
- - [15/Jan/2015 18:08:24] "?{"password": "azerty", "args": null, "func": "get_all_clients"}" 400 -
- - [15/Jan/2015 18:08:31] code 400, message Bad request syntax ('\x00\x00\x00\x00\x00\x00\x00R{"password": "azerty", "args": {"agent": "Brp1"}, "func": "is_one_backup_running"}')
- - [15/Jan/2015 18:08:31] "R{"password": "azerty", "args": {"agent": "Brp1"}, "func": "is_one_backup_running"}" 400 -
- - [15/Jan/2015 18:08:36] code 400, message Bad request syntax ('\x00\x00\x00\x00\x00\x00\x00?{"password": "azerty", "args": null, "func": "get_all_clients"}')
- - [15/Jan/2015 18:08:36] "?{"password": "azerty", "args": null, "func": "get_all_clients"}" 400 -
- - [15/Jan/2015 18:08:41] code 400, message Bad request syntax ('\x00\x00\x00\x00\x00\x00\x00R{"password": "azerty", "args": {"agent": "Brp1"}, "func": "is_one_backup_running"}')
- - [15/Jan/2015 18:08:41] "R{"password": "azerty", "args": {"agent": "Brp1"}, "func": "is_one_backup_running"}" 400 -
I m certainleny forget sometyhing but I dont no what,
Thanks for you help,
Regards,
Ben