-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auth sdig: some improvements for stdin mode #14665
base: master
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 10959235523Details
💛 - Coveralls |
@phonedph1 suggested not requiring 3 more arguments after |
One problem I had was that I wanted to decode an arbitrary DNS query, but the Here's how I used it with
|
That somewhat surprises me. Do you have a base64 packet for me that sdig handles differently for A vs. ANY? |
I must have been pulling a ChatGPT (hallucinating), because it seems to be working now. 🙄 |
73a5a52
to
703e8e2
Compare
This looks great for passing responses in: $ echo O8mBgAABAAYAAAABBmdvb2dsZQNjb20AAAEAAcAMAAEAAQAAASwABKzZ12XADAABAAEAAAEsAASs2ddxwAwAAQABAAABLAAErNnXZsAMAAEAAQAAASwABKzZ14rADAABAAEAAAEsAASs2deLwAwAAQABAAABLAAErNnXZAAAKQIAAAAAAAALAAgABwABGBgBAgM= | base64 -d | ./sdig stdin 0 . A
Reply to question for qname='google.com.', qtype=A, ID=15305
Rcode: 0 (No Error), RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0
0 google.com. 300 IN A 172.217.215.101
0 google.com. 300 IN A 172.217.215.113
0 google.com. 300 IN A 172.217.215.102
0 google.com. 300 IN A 172.217.215.138
0 google.com. 300 IN A 172.217.215.139
0 google.com. 300 IN A 172.217.215.100
2 . 0 IN OPT AAgABwABGBgBAgM=
EDNS Subnet response: 1.2.3.0/24, scope: 1.2.3.0/24, family = 2 Thanks @Habbie |
Short description
as mentioned in comments to #14649
Checklist
I have: