Tool 125: HTTP server


  This tool is a simple web server.
  Parameter --rootdir defines the root directory for put and get file
  operations (cannot exit this root jail).
  Parameters --login and --password defines the login and password which
  will be needed to connect on this server.
  Parameter --allowed-clients defines the list of computer allowed to
  connect on the web server.
  Parameter --src-port defines the local port number to listen on.
  Optional parameter --src-ip defines the local IP address to use.
  Optional parameter --iptype defines which kind of IP address to use
  when --src-ip is unset (accepted values: ip4 and ip6).
  Optional parameter --ip4opts permits to add IPv4 options encoded as
  Optional parameter --ip6exts permits to add IPv6 options encoded as
  mixed (first byte is the next header number).
  Optional parameters --device and --src-eth are not yet implemented.


  netwox 125 -r dir [-l data] [-L password] [-d device] [-E eth] [-I ip] [-P port] [-o ip4opts] [-O ip6exts] [-t iptype] [-T uint32] [-c ips]


parameter description example
-r|--rootdir dir root directory /tmp
-l|--login data login needed to access  
-L|--password password password needed to access  
-d|--device device device name Eth0
-E|--src-eth eth source ethernet address 0:2:3:4:5:6
-I|--src-ip ip source IP address
-P|--src-port port source port number 80
-o|--ip4opts ip4opts IPv4 options  
-O|--ip6exts ip6exts IPv6 extensions  
-t|--iptype iptype type to use when src-ip is unset ip4
-T|--timeout uint32 timeout in ms 10000
-c|--allowed-clients ips clients allowed to connect all


  netwox 125 -r "/tmp"

  netwox 125 --rootdir "/tmp"