-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
max_children per operation #566
Comments
Should be done in conjuction with #450. |
A big difficulty is that the server doesn't know what sort of process (backup/restore/etc) it is forking for before it has forked a child. |
I have implemented this, and now running tests before I push to github. For example, the server conf can have:
You can have an arbitrary number of port/max_children pairs.
Or, you can specify specific ports for backup/restore/verify/list/delete options, like this:
Or, you can specify the default port to connect to, and only change one of the specific ones:
In this case all requests, except for backups will go to 4971. port_restore and port_verify are kind of related, so if unset, port_verify will default to whatever port_restore is set to. Additionally, you can also now have an arbitrary number of status_port/max_status_children pairs on the server. Practical example follows: My server output with burp-server.conf:
My client output with burp.conf:
Causes output on server:
|
Hi, This sounds like a great feature. The drawback I see is the configuration is getting quite complicated. I'll have to rework the burp-ui config parser in order to deal with these changes. My understanding is there are now some pairs of settings that "interact" with each other:
My parser tries to edit settings where appropriate instead of dumping a new configuration in order to keep user comments for instance. There is a known issue with this kind of setup though:
If you set
People might expect that the All that to say, burp-ui has some difficulties to deal with order so right now, with this new config I have no way to deal with something like:
The simple solution is to just dump a new configuration that overrides the old one with the right settings, but users will loose their comments. P.S.: I am not complaining about this new feature, I am just explaining here the current burp-ui limitations so that I can reference this issue later if people face the problem. |
@grke This sounds really promising. Once you have pushed to master, I'm happy to test this. |
Ziirish, although I described the settings being in pairs, that is not actually important internally to burp. The following all result in the same behaviour:
Maybe this means that you have less to worry about? As a side note - I have tried to work on other projects that read and parse existing configuration, and that was always a nightmare. Systems that take full control and 'dump' the config are definitely a lot |
I couldn't agree more. Config parsing is a nightmare. But I wanted burp-ui to be as less intrusive as possible, hence this self-imposed constraint. Anyway, I'll see what I can do to integrate this new form of settings (although they are individual I think showing them as pairs will be more meaningful for users). |
The feature is now in master. |
Currently burp has a setting to restrict how many children processes may run concurrently.
It would be nice if this could be made a bit more granular, to allow restores when all children are busy with backups.
So being able to set different max_children for backup (maybe even phase 1/2 and phase 3/4) and restore/list would help a lot.
The text was updated successfully, but these errors were encountered: