NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4494


Ignore:
Timestamp:
Sep 28, 2009, 12:19:45 PM (8 years ago)
Author:
stud-lenk
Message:

Add a very basic parser for »etc/nsis-ka.conf« to the shell scripts »intercept« and »flush«

Location:
ntlp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ntlp/trunk/flush

    r1676 r4494  
    11#! /bin/sh
    22
    3 GIST_WELL_KNOWN_PORT=4
     3GISTCONF="../etc/nsis-ka.conf"
     4CONFIGURED_GIST_WELL_KNOWN_PORT=$(sed -n 's/^\s*udp-port\s*=\s*//p' $GISTCONF)
     5GIST_WELL_KNOWN_PORT=${CONFIGURED_GIST_WELL_KNOWN_PORT:-4}
    46
    57# If you have the ipv4options iptables extension installed, use the uncommented rule
  • ntlp/trunk/intercept

    r1676 r4494  
    11#! /bin/sh
    22
    3 GIST_WELL_KNOWN_PORT=4
     3GISTCONF="../etc/nsis-ka.conf"
     4CONFIGURED_GIST_WELL_KNOWN_PORT=$(sed -n 's/^\s*udp-port\s*=\s*//p' $GISTCONF)
     5GIST_WELL_KNOWN_PORT=${CONFIGURED_GIST_WELL_KNOWN_PORT:-4}
    46
    57# If you have the ipv4options iptables extension installed, use the uncommented rule
Note: See TracChangeset for help on using the changeset viewer.