AI Agent Hub
Back to plugins
🧰

dsh-ip

Web Tools Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install uckkk/dsh-ip

Paste the following prompt into your AI chat to install this plugin:

Install the plugin in DeepSeek Harness by running dsh plugin install uckkk/dsh-ip; the full source is available at https://github.com/uckkk/dsh-ip.

About this plugin

Validating an IP address, classifying it, or deriving the full range of a CIDR block is a small but fiddly task in everyday network work. Hand-rolling the bitwise math in JavaScript is easy to get wrong, especially when prefix lengths vary.

dsh-ip packages these two operations into a pair of lightweight tools. ip_info checks whether a string is a well-formed IP and reports its class; cidr_range takes a standard CIDR notation and returns the concrete start and end addresses. The whole plugin is pure Node.js with zero external dependencies, so the logic is easy to audit and the footprint stays minimal.

If you frequently need to verify IP legitimacy, determine IP class, or instantly see which addresses a /24 or /16 subnet spans, dsh-ip removes the guesswork and keeps IP-related checks one simple call away.

Use Cases

  • Quickly validate whether an IP in logs or form input is well-formed
  • Expand a CIDR notation directly into its start and end addresses
  • Determine which class an IPv4 address belongs to for network planning

Best For

  • Backend or network engineers who frequently validate IP addresses
  • DevOps engineers handling CIDR subnet partitioning in scripts
  • Frontend developers building form validation or network management tools