You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dnscommon.r2py replies with KeyError when query is of type NS
for e.g. present code returns this:
User traceback:
"dylink.r2py", line 546, in <module>
"dylink.r2py", line 407, in dylink_dispatch
"dylink.r2py", line 520, in evaluate
"librepy.r2py", line 153, in <module>
"dylink.r2py", line 446, in _dylink_dispatch
"dylink.r2py", line 407, in dylink_dispatch
"dylink.r2py", line 520, in evaluate
"ut_dnsquery_namingserver.r2py", line 11, in <module>
"ut_dnsquery_namingserver.r2py", line 8, in test_namingServer
"dnsquery.r2py", line 222, in namingServer
"dnsquery.r2py", line 140, in dns_connection
"dnscommon.r2py", line 406, in convert_packet_to_dictionary
"dnscommon.r2py", line 459, in _read_answer_section
"dnscommon.r2py", line 504, in _read_single_answer
Exception (with type 'exceptions.KeyError'): 49164
I tried to test some of your implementations may be i am incorrect but i found that your namingServer implementation does not seem to be working for me. I think i added changes for the dnscommon.r2py that you suggested but it hangs when i use you dnsquery.r2py library to test it.
pranavnyu
changed the title
dnscommon.r2py doesn't replies with error in NS, PTR type of queries
dnscommon.r2py doesn't reply for NS, PTR type of queries
May 7, 2015
pranavnyu
changed the title
dnscommon.r2py doesn't reply for NS, PTR type of queries
dnscommon.r2py doesn't reply for NS, PTR types of queries
May 7, 2015
pranavnyu
changed the title
dnscommon.r2py doesn't reply for NS, PTR types of queries
dnscommon.r2py cannot parse replies containing NS, PTR types of queries
May 8, 2015
for e.g. present code returns this:
rather output should be domain name for the respective IP address
We need to create a patch for the same in https://github.com/SeattleTestbed/seattlelib_v2/blob/master/dnscommon.r2py#L464 in _read_single_answer function.
-> https://github.com/SeattleTestbed/seattlelib_v2/blob/master/dnscommon.r2py#L522 should be edited and code should be added for different types like already done for type 'SOA'.
The text was updated successfully, but these errors were encountered: