NDNPOKE(1)
okay so bestie, welcome to NDNPOKE(1) from NDN Essential Tools π this one is short, iconic, and extremely "publish one packet and go."
π NAME π
ndnpoke β simple producer to publish one Data π
β¨ SYNOPSIS β¨
ndnpoke [-h] [-f freshness] [-F] [-S info] [-u|-w timeout] [-v] [-V]
name
π DESCRIPTION π
okay so ndnpoke is a simple producer program. it reads a payload from the standard input and publishes it as a single Data packet. that Data packet is either sent as a response to an incoming Interest matching name, or immediately pushed to the local NDN forwarder as "unsolicited Data" if the -u flag is specified. that's the whole main-character job, no cap π¦
π OPTIONS π
-h,--helpβ prints help and exits, bye bestie π-f,--freshness <freshness>β sets freshness in milliseconds as theFreshnessPeriodβ³-F,--finalβ sets theFinalBlockIdto the last component ofnameπ-S,--signing-info <info>β specifies the parameters used to sign the Data packet. if it's omitted, the default key of the default identity is used. the general syntax is<scheme>:<name>. the most common supported combinations are as follows:- sign with the default certificate of the default key of an identity:
id:/<my-identity>. - sign with the default certificate of a specific key:
key:/<my-identity>/ksk-1. - sign with a specific certificate:
cert:/<my-identity>/KEY/ksk-1/ID-CERT/v=1. - sign with a SHA-256 digest:
id:/localhost/identity/digest-sha256. note that this is only a hash function, not a real signature, but it can significantly speed up packet signing operations. this is important, bestie, don't treat it like a real signature π
- sign with the default certificate of the default key of an identity:
-u,--unsolicitedβ sends the Data packet without waiting for an incoming Interest π-w,--timeout <timeout>β quits the program aftertimeoutmilliseconds, even if no Interest has been received β°-v,--verboseβ turns on verbose output π£οΈ-V,--versionβ prints version and exits π·οΈ
π¦ EXIT STATUS π¦
0β Success β¨1β An unspecified error occurred π2β Malformed command line π3β No Interests received before the timeout π5β Prefix registration failed π₯
π EXAMPLES π
create a Data packet with content hello and name /app/video and wait at most 3 seconds for a matching Interest to arrive:
echo "hello" | ndnpoke -w 3000 /app/video
π Copyright π
Copyright Β© 2014-2024 Named Data Networking Project.
kisses, this page comes from NDN Essential Tools, version 24.07, dated 1980-01-01 π«Άπ
π¦ where this page comes from
- nixos 26.05: ndn-tools 24.07
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms