Opened 4 years ago

Last modified 4 years ago

#1742 accepted defect

Lots of unencrypted Database Store messages

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.24
Component: router/netdb Version: 0.9.23
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

In most cases (when both the storing/querying router and the floodfill router are new enough) the database store message should be garlic encrypted. This was added to I2NP in 0.9.7.

i2pd scrapes DSMs at the OBEP/IBGW and is still seeing a lot of RIs and LSs. For example, as a floodfill, one i2pd sees 971 current LSs compared to a network-wide median of 65.

Investigate whether these are just old routers or if there's some cases (e.g. verify) that are not encrypted. Consider stopping use of very old floodfills altogether.

Subtickets

Change History (2)

comment:1 Changed 4 years ago by orignal

i2pd never encrypts RouterInfos?, so lots of unencrypted DatabaseStore? messages is not an issue, but LeaseSets?

comment:2 Changed 4 years ago by zzz

Status: newaccepted

In 0.9.23-20 8f8fcdaeded2e63f34214bf83134d049091885a0

Don't query old floodfills at all. This eliminates any querying to a ff that doesn't support encrypted replies, and also fixes querying ffs that don't support sig types.

This will reduce but not eliminate LSs (there's still old routers doing the querying).

There's still unencrypted queries for RIs if the box is 'slow' (mostly non-x86). To be reviewed. And to look for other places.

Note: See TracTickets for help on using tickets.