On my Ubuntu server I have some custom software running, that connects to its vendor server to search for updates. While this is useful in general, the software is not supposed to update itself for security reasons.
I found out that, if there's no internet connection, the software is unable to update, but will still start. But I obviously can't close the connection. The
hosts file is not an alternative either, as the software needs to connect to the vendor for license checks.
So my question is: How can I redirct or block outgoing HTTP traffic for a specific URL.
http://www.vendor.com/license should be allowed, but
http://www.vendor.com/update should be blocked for outgoing traffic.