Packages that use Points
Package
Description
Offline analysis tools for detecting Sybil attacks and malicious peer coordination by correlating peer relationships.
Helpers and handlers for the router console user interface, packaged in routerconsole.war and accessible only from JSP files.
Uses of Points in net.i2p.router.sybil
Classes in net.i2p.router.sybil that implement interfaces with type arguments of type PointsMethods in net.i2p.router.sybil that return PointsMethods in net.i2p.router.sybil that return types with arguments of type PointsModifier and TypeMethodDescriptionAnalysis.backgroundAnalysis(boolean includeAll) Analyze threats.PersistSybil.load(long date) Load the analysis for a certain date.Load all the analysis for a certain hash.Methods in net.i2p.router.sybil with parameters of type PointsMethod parameters in net.i2p.router.sybil with type arguments of type PointsModifier and TypeMethodDescriptionprivate voidAdds scored points for one router.voidAnalysis.addProfilePoints(List<RouterInfo> ris, Map<Hash, Points> points) Analyzes router profiles and adds Sybil points for banlisted, newly observed, or poorly performing routers.voidAnalysis.addVersionPoints(List<RouterInfo> ris, Map<Hash, Points> points) Analyzes router versions and adds Sybil points for old, unreachable, or non-floodfill routers.Map<Integer, List<RouterInfo>> Analysis.calculateIPGroups16(List<RouterInfo> ris, Map<Hash, Points> points) Categorize routers by their /16 subnet to identify routers in the same /16 network.Map<Integer, List<RouterInfo>> Analysis.calculateIPGroups24(List<RouterInfo> ris, Map<Hash, Points> points) Categorize routers by their /24 subnet to identify routers in the same /24 network.Map<Integer, List<RouterInfo>> Analysis.calculateIPGroups32(List<RouterInfo> ris, Map<Hash, Points> points) Categorize routers by their IP address to identify routers sharing the same IP.Map<Long, List<RouterInfo>> Analysis.calculateIPGroups48(List<RouterInfo> ris, Map<Hash, Points> points) Categorize routers by their IPv6 /48 subnet to identify routers in the same /48 network.Map<Long, List<RouterInfo>> Analysis.calculateIPGroups64(List<RouterInfo> ris, Map<Hash, Points> points) Categorize routers by their IPv6 /64 subnet to identify routers in the same /64 network.Map<String, List<RouterInfo>> Analysis.calculateIPGroupsFamily(List<RouterInfo> ris, Map<Hash, Points> points) Categorize routers by their router family to identify routers in the same family.voidAnalysis.calculateIPGroupsUs(List<RouterInfo> ris, Map<Hash, Points> points, List<RouterInfo> ri32, List<RouterInfo> ri24, List<RouterInfo> ri16, List<RouterInfo> ri64, List<RouterInfo> ri48) Categorize routers by their proximity to our IP address, grouping them by /32, /24, /16 for IPv4 and /64, /48 for IPv6.doubleAnalysis.calculatePairDistance(List<RouterInfo> ris, Map<Hash, Points> points, List<Pair> pairs) Calculate average pairwise distance between floodfills and identifies routers that are unusually close to each other.voidAnalysis.calculateRouterInfo(Hash us, String usName, List<RouterInfo> ris, Map<Hash, Points> points) Build the version comparison report.private voidAnalysis.doBlocking(Map<Hash, Points> points) Blocklist and Banlist if configured.voidStore each entry.Uses of Points in net.i2p.router.web.helpers
Fields in net.i2p.router.web.helpers with type parameters of type PointsMethod parameters in net.i2p.router.web.helpers with type arguments of type PointsModifier and TypeMethodDescriptionprivate voidSybilRenderer.renderCloseSummary(Writer out, StringBuilder buf, Analysis analysis, double avgMinDist, List<RouterInfo> ris, Map<Hash, Points> points) Render the closest floodfills to our routing key.private voidSybilRenderer.renderCloseTmrwSummary(Writer out, StringBuilder buf, Analysis analysis, Hash us, double avgMinDist, List<RouterInfo> ris, Map<Hash, Points> points) Render the closest floodfills to tomorrow's routing key.private voidSybilRenderer.renderDestSummary(Writer out, StringBuilder buf, Analysis analysis, double avgMinDist, List<RouterInfo> ris, Map<Hash, Points> points) Render the closest floodfills to our published destinations.private voidSybilRenderer.renderDHTSummary(Writer out, StringBuilder buf, Analysis analysis, Hash us, double avgMinDist, List<RouterInfo> ris, Map<Hash, Points> points) Render the closest floodfills to our router hash.private voidSybilRenderer.renderFamilySummary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the family group summary section.private voidSybilRenderer.renderIP16Summary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the /16 IP group summary.private voidSybilRenderer.renderIP24Summary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the /24 IP group summary.private voidSybilRenderer.renderIP32Summary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the /32 IP group summary.private voidSybilRenderer.renderIP48Summary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the /48 IPv6 group summary.private voidSybilRenderer.renderIP64Summary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the /64 IPv6 group summary.private voidSybilRenderer.renderIPUsSummary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the IP group summary for our own IP address.private voidSybilRenderer.renderPairSummary(Writer out, StringBuilder buf, Analysis analysis, List<RouterInfo> ris, Map<Hash, Points> points) Render the pairwise distance summary.private voidSybilRenderer.renderThreatsHTML(Writer out, StringBuilder buf, long date, Map<Hash, Points> points) Render the threats analysis HTML section.Constructor parameters in net.i2p.router.web.helpers with type arguments of type PointsModifierConstructorDescriptionPointsComparator(Map<Hash, Points> points) Orders hashes by sybil score, most points first.