Syntax For UserLand Execution Of Rope Scripts

[for versions after Jan 2005 - 20050101]

Here is the usage message reported by the "rope" utility when run without arguments. The message should be self-explanatory.

rope: usage is

   rope [options] compiled-script packet-image

        --greg N=V  (or -g)  set greg(N) value to V
        --debug  (or -d)     enable debug output
        --stack=V  (or -s)   set size of ROPE stack
                             (default: 20 items)
        --jotter=V  (or -j)  set size of ROPE string jotter
                             (default: 1000 bytes)

        --mark=V             set $mark to V
        --ct_mark=V          set $ct_mark to V
        --ct_bytes=V         set $ct_bytes to V
        --ct_related=V       set $ct_related to V
        --ct_established=V   set $ct_established to V
        --ct_new=V           set $ct_new to V
        --ct_is_reply=V      set $ct_is_reply to V
        --ct_is_snat=V       set $ct_is_snat to V
        --indev_ifindev=V    set $indev_ifindex to V
        --indev_mtu=V        set $indev_mtu to V
        --indev_name=V       set $indev_name to V
        --indev_type=V       set $indev_type to V
          (the --indev_XX flags also work for --outdev_XX)
        --[rope-]push-int V  push integer onto stack
        --[rope-]push-str V  push string onto stack
        --[rope-]push-ip V   push IP address onto stack

    see http://www.lowth.com/rope/UserLandSyntax for more info)

Change History

The "push" options were added in the 20050312 release, and are therefore not available in earlier releases.