diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..442c758 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.20.0 diff --git a/package.json b/package.json index 6cce1a2..36eed05 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "networking-toolbox", "private": true, - "version": "1.0.1", + "version": "1.1.0", "type": "module", "scripts": { "dev": "vite dev", @@ -16,7 +16,7 @@ "build:node": "DEPLOY_ENV='node' npm run build", "build:static": "DEPLOY_ENV='static' npm run build", "test": "vitest", - "test:coverage": "vitest --coverage", + "test:coverage": "vitest run --coverage", "test:api": "vitest run --config tests/vitest.api.config.ts", "test:e2e": "playwright test" }, diff --git a/src/lib/components/furniture/TopNav.svelte b/src/lib/components/furniture/TopNav.svelte index 9a8fc49..96be241 100644 --- a/src/lib/components/furniture/TopNav.svelte +++ b/src/lib/components/furniture/TopNav.svelte @@ -1,6 +1,14 @@ + +
Convert an IP address range (start IP → end IP) into the minimal set of CIDR blocks that cover the range
+{result.error}
+{result.startIP}
+ {result.endIP}
+ {cidr.cidr}
+
+ {cidr.network}
+ /{cidr.prefix}
+ {cidr.firstIP} - {cidr.lastIP}
+ This tool converts arbitrary IP ranges into CIDR notation blocks:
+Useful for converting firewall rules, ACLs, or vendor-provided IP ranges to CIDR format.
+Test if zone transfers are improperly exposed - a critical DNS security vulnerability
+{error}
+{results.limitedModeReason}
++ {results.summary.vulnerable} nameserver{results.summary.vulnerable > 1 ? 's' : ''} allowed unrestricted zone + transfer. Your entire DNS zone is exposed to anyone. + Immediate action required! +
+Zone transfers are properly restricted. No AXFR vulnerabilities detected.
+{ns.records.join('\n')}
+ {#if ns.recordCount > ns.records.length}
+ + Showing first {ns.records.length} of {ns.recordCount} total records +
+ {/if} +{axfrContent.sections.whatIsAXFR.content}
+{risk.description}
+{status.description}
+{config.description}
+{config.syntax}
+ {step.details}
+ {#if step.command} +{step.command}
+ {/if}
+ {practice.description}
+Check if your IP or domain is listed on major spam blacklists (RBLs)
+{error}
+Querying DNS blacklist records for {target}...
+Target: {results.target} ({results.targetType})
+ {#if results.resolvedIPs && results.resolvedIPs.length > 0} +Resolved IPs: {results.resolvedIPs.join(', ')}
+ {/if} +
+
{dnsblContent.sections.queryWarnings.content}
+{warning.meaning}
+{warning.action}
+{dnsblContent.sections.whatAreBlacklists.content}
+{dnsblContent.sections.consequences.content}
+{dnsblContent.sections.howToFix.content}
+{list.description}
+Compare response times across multiple DNS resolvers to find the fastest for your location
+{error}
+Querying {recordType} records for {domain}...
+{record}
+ {/each}
+ {dnsPerformanceContent.sections.whatIsDnsPerformance.content}
+{dnsPerformanceContent.sections.interpretingResults.content}
+{range.description}
+{resolver.description}
+{resolver.bestFor}
+{tip.description}
+{content.description}
++ Testing {attempts} connection{attempts > 1 ? 's' : ''} to {domain}:{port} with {delayBetweenAttempts}s + delay... +
++ This will take approximately {attempts * delayBetweenAttempts + 10} seconds to complete +
+Server implements greylisting (Confidence: {results.analysis.confidence})
+Server does not appear to implement greylisting
+{results.analysis.typicalDelay} seconds between rejection and acceptance
+{section.content}
+ {:else if section.codes} +{code.desc}
+{content.description}
+Testing connection to {domain}:{port}...
+Server supports upgrading to TLS
+Server supports implicit TLS
+Server does not support TLS encryption
+{content.sections.whatIsTLS.content}
+{portInfo.desc}
+ {portInfo.security} +{asnGeoContent.description}
+{error}
+{asnGeoContent.sections.whatIsGeoIP.content}
+{asnGeoContent.sections.asnExplained.content}
+{asnGeoContent.sections.dataSource.content}
+{bgpContent.description}
++ {results.announced + ? 'This resource is actively advertised in the global BGP routing table' + : 'This resource is not currently visible in BGP'} +
+{error}
+{bgpContent.sections.whatIsBGP.content}
+{bgpContent.sections.asPath.content}
+{bgpContent.sections.dataSource.content}
+{content.description}
++ {results.dualStack + ? 'Both IPv4 and IPv6 connectivity are available' + : results.ipv4.success + ? 'Only IPv4 connectivity is available' + : results.ipv6.success + ? 'Only IPv6 connectivity is available' + : 'No connectivity detected'} +
+{content.sections.whatIsIPv6.content}
+{content.sections.dualStack.content}
+{content.description}
+Querying CT logs for {domain}...
+Found in Certificate Transparency logs
+{stat.desc}
+{content.sections.whatIsCT.content}
+{tlsHandshakeContent.description}
+{error}
+{tlsHandshakeContent.sections.whatIsHandshake.content}
++ Convert MAC addresses between different formats and identify the manufacturer using the Organizationally Unique + Identifier (OUI) +
+00:1A:2B:3C:4D:5E,
+ 00-1A-2B-3C-4D-5E, 001A.2B3C.4D5E (Cisco), 001A2B3C4D5E
+ 00:1A:2B:3C:4D:5E, 00-1A-2B-3C-4D-5E,
+ 001A.2B3C.4D5E
+ (Cisco), 001A2B3C4D5E
+ {conversion.input}
+
+ {value}
+
+ {:else}
+
+ {value}
+
+ {/if}
+ {:else if field.tooltip}
+
+ {value}
+
+ {:else}
+
+ {value}
+
+ {/if}
+ {field.binary ? value.match(/.{1,8}/g)?.join(' ') : value}
+
+ {macAddressContent.sections.whatIsMAC.content}
+
+ Example: {macAddressContent.sections.structure.example.address}
+
+ {#each macAddressContent.sections.structure.example.breakdown as line (line)}
+ • {line}
+ {/each}
+
+
{fmt.example} - {fmt.usage}{macAddressContent.sections.ouiLookup.content}
+{macAddressContent.sections.ouiLookup.lookupInfo}
+{addr.address} - {addr.description}