We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8244525 commite6a4f10Copy full SHA for e6a4f10
ndn_python_repo/utils/passive_svs.py
@@ -88,7 +88,13 @@ def sync_handler(self, name: FormalName, _param: InterestParam, _app_param: Bina
88
iflen(name)!=len(self.base_prefix)+2:
89
logging.error(f'Received invalid Sync Interest:{Name.to_str(name)}')
90
return
91
-logging.info(f'Received Sync Interest:{Name.to_str(name)}')
+_,_,_,sig_ptrs=parse_interest(raw_packet)
92
+sig_info=sig_ptrs.signature_info
93
+ifsig_infoandsig_info.key_locatorandsig_info.key_locator.name:
94
+logging.info(f'Received Sync Interest:{Name.to_str(sig_info.key_locator.name)}')
95
+else:
96
+logging.info(f'Drop unsigned or improperly signed Sync Snterests')
97
+return
98
try:
99
remote_sv_pkt=StateVecWrapper.parse(name[-2]).val
100
except (DecodeError,IndexError)ase: