Comments (4)
It's not pretty, but:
Source code here
Maybe someone can make a CSS to make it look better?
from dnscrypt-proxy.
The Stamps format is documented here: https://github.com/jedisct1/dnscrypt-proxy/wiki/Stamps
Any React or Vue.js developer here? :)
from dnscrypt-proxy.
If it can help, here's something that computes a DNSCrypt stamp, from a quick and dirty attempt at writing a Vue component. props
and addr
are the same as for DoH stamps, so I moved them outside of the specialized function.
stamp: function() {
let props = (this.dnssec << 0) | (this.nolog << 1) | (this.nofilter << 2);
let addr = this.addr.split("").map(c => c.charCodeAt());
const dnscryptStamp = () => {
let v = [0x01, props, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];
v.push(addr.length, ...addr);
let pk = Buffer.from(this.pk.replace(/[: \t]/g, ""), "hex");
v.push(pk.length, ...pk);
let providerName = this.providerName.split("").map(c => c.charCodeAt());
v.push(providerName.length, ...providerName);
return `sdns://${URLSafeBase64.encode(Buffer(v))}`;
};
return dnscryptStamp();
}
from dnscrypt-proxy.
Ok, looks like nobody will help with the CSS.
Closing.
from dnscrypt-proxy.
Related Issues (20)
- Ubuntu Kinetic several issues HOT 1
- `systemd-analyze security dnscrypt-proxy.service` shows no systemd sandboxing HOT 1
- SOCKS Proxy Not Working with Forwarding Rules HOT 1
- SOCKS Proxy Not Working with Forwarding Rules HOT 8
- go 1.21 HOT 1
- go 1.21 support HOT 4
- tls_key_log_file permissions HOT 2
- org site's content partially obsolete HOT 2
- forwarding-rules.txt not forwarding to ipv6 servers HOT 4
- Wiki Correction: Sources section missing in example-dnscrypt-proxy.toml HOT 1
- Errors encountered running generate-domains-blocklist.py on Fedora 38 HOT 2
- `odoh-relay.edgecompute.app` not compatible with ODoH latest spec? HOT 1
- Systemctl does not register dnscrypt-proxy.service on Ubuntu HOT 1
- Wiki Update for Listen Addresses Field Debian HOT 1
- [Feature Request] Ability to add rulesets and filterlists as sources. HOT 1
- Does this application work system wide? HOT 1
- Unix privilege escalation vulnerability & Windows UAC bypass HOT 23
- DNS64 responses are not cached HOT 2
- I went to the wrong website and got a browser error HOT 1
- Potential bug: dnscrypt-proxy does not go to "wait for network" after loss of connectivity HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnscrypt-proxy.