tahamajs/NS / proj /Codes /src /probe_profiles.py
tahamajs's picture
download
raw
1.24 kB
from packet import Packet
DISCOVERY_PROBES = [
Packet(msg_type="QUERY", question="example.com"),
Packet(msg_type="QUERY", question="blocked.com"),
Packet(
msg_type="RESPONSE",
rcode="NOERROR",
question="example.com",
answer_count=1
),
Packet(
msg_type="RESPONSE",
rcode="SERVER_FAILURE",
question="example.com",
answer_count=0
),
Packet(
msg_type="RESPONSE",
rcode="FORMAT_ERROR",
question="example.com",
answer_count=0
),
Packet(
msg_type="RESPONSE",
rcode="REFUSED",
question="example.com",
answer_count=0
),
Packet(
msg_type="RESPONSE",
rcode="NOERROR",
question="blocked.com",
answer_count=10
),
Packet(
msg_type="RESPONSE",
rcode="BLOCKED",
question="blocked.com",
answer_count=1
),
Packet(
msg_type="RESPONSE",
rcode="CENSOR_INJECT",
question="blocked.com",
answer_count=5
),
Packet(
msg_type="UNKNOWN",
rcode="BAD_PARSE",
malformed=True
),
]

Xet Storage Details

Size:
1.24 kB
·
Xet hash:
ce646bed48fd15a849c3bf6a677c828ddfddb442da17a0296893c0c60e3aba25

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.