SSLproxy icon indicating copy to clipboard operation
SSLproxy copied to clipboard

ProxySpec Doc Bug

Open apschultz opened this issue 7 months ago • 1 comments

The example ProxySpec has DivertPort before DivertAddr. The code actually only processes DivertAddr when DivertPort is processed so order matters. It would be easiest to fix the docs, but more flexibility in syntax processing would be welcome too.

apschultz avatar May 21 '25 19:05 apschultz

Yes, you are right. And you have probably noticed that the same issue exists for the Addr and TargetAddr options too, address should be specified before port.

Fixing the documentation seems easier, as you say, but I should probably use extra tmp variables to save the values of the port parts of those addresses, so the ordering should not matter.

Thanks for reporting, I'll fix this somehow soon.

sonertari avatar May 21 '25 19:05 sonertari