Server IP : 85.214.239.14 / Your IP : 3.144.23.138 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/2/root/proc/2/cwd/proc/3/root/proc/2/root/proc/2/cwd/bin/ |
Upload File : |
#!/bin/sh # # Copyright (c) 2007 Dmitry K. Butskoy # <buc@citadel.stu.neva.ru> # License: GPL v2 or any later # # See COPYING for the status of this software. # # # Shell wrapper providing traceroute-nanog(8) command line interface. # # The original implementation of traceroute-nanog(8) can be obtained # from ftp://ftp.login.com/pub/software/traceroute/ # prgname=$0 opts="" spray="" usage () { echo "Usage: $prgname [-adnruvAMOPQU$] [-w wait] [-S start_ttl] [-m max_ttl] [-p port] [-q nqueries] [-g gateway] [-t tos] [-s src_addr] [-I proto] host [data_size]" >&2 } warning () { echo "$prgname: Option '$1' is not implemented in this wrapper" >&2 } PARSED=`getopt 'adnruvAMOPQU$w:S:m:p:q:g:t:s:I:f:T:' "$@"` [ $? != 0 ] && { usage exit 2 } eval set -- "$PARSED" while [ $# -gt 0 ] do case "$1" in -[Adrn]) opts="$opts $1"; shift ;; -[gmpqstw]) opts="$opts $1 $2"; shift 2 ;; -I) case "$2" in icmp) opts="$opts -I" ;; tcp) opts="$opts -T" ;; udp) ;; udplite) opts="$opts -UL" ;; *) opts="$opts -P $2" ;; esac shift 2 ;; -S) opts="$opts -f $2"; shift 2 ;; -P) spray=1; shift ;; -f) opts="$opts --sport=$2"; shift 2 ;; -u) ;; -$) opts="-f 64 -m 64 -q 1"; shift ;; -M) opts="$opts --mtu"; shift ;; -[aUOvQ]) warning $1; shift ;; -T) warning $1; shift 2 ;; --) shift; break ;; *) echo "$prgname: Internal parsing error" >&2; exit 2 ;; esac done [ $# -eq 0 ] && { usage exit 2 } [ -z "$spray" ] && opts="$opts -N 1" exec /usr/bin/traceroute.db $opts $1 $2