Add configuration parameter that allows to skip discovering interfaces#476
Add configuration parameter that allows to skip discovering interfaces#476fdellwing wants to merge 1 commit intoyrutschle:masterfrom
Conversation
This adds a new configuration parameter that allows the user to completly skip calling `is_same_machine` which is very expensive once the machine has a critical mass of interfaces. This comes with the downside of having to do more work in setting up potential unnecessary binds.
|
Thanks for the contribution. |
|
We found later after more testing, that for transparent proxying on localhost we can not return there. So we need to actually skip calling |
|
neither, as long as I am confused :-) Ok, in what follows, sockets are presented as "addr1:addr2" (with addr being IP+port) The basic setup, where When doing transparent proxying, sslh binds the local address of its servers-side socket to that of the peer, so we have: My understanding of the bind fails because we end up with the same socket twice. @ftasnetamot, you poked around that area about doing transparent daisy-chaining: do I understand this correctly? |
|
I can't actually answer you any of this. I can tell you what we did and what worked for us: We run |
This adds a new configuration parameter that allows the user to completly skip calling
is_same_machinewhich is very expensive once the machine has a critical mass of interfaces.This comes with the downside of having to do more work in setting up potential unnecessary binds.
We have a server with around 10k network interfaces and current versions of sslh are absolutly unusable there.