Oxide HTTP Advanced Topics - fullphat/snarl_network_protocol GitHub Wiki
Authorisation
Not currently implemented: However, the hash algorithm, key hash and salt would be passed in the
oxide-authorisationheader of each request if the transport is password-protected. This would use the same format as SNP 3.1.
Example
oxide-auth-type: SHA256
oxide-auth-keyhash: 0000000000000000
oxide-auth-salt: 123456
Listening on more than just localhost
By default, Windows 7 and above limits the ability for web servers to only be able to listen for incoming connections on localhost. To remove this restriction, do the following on the machine running Snarl:
- Launch an administrative Command Prompt
- Enter the following, replacing
8080with the port number you've configured Snarl to listen for Oxide requests on:
netsh http add urlacl url=http://+:8080/ user=Everyone listen=yes
- Restart the listener by disabling it and then re-enabling it within Snarl.