[mythtv-commits] Ticket #12034: Ping incorrectly sets the TTL rather than the timeout - setting an http proxy fails

MythTV noreply at mythtv.org
Tue Jan 28 04:44:36 UTC 2014


#12034: Ping incorrectly sets the TTL rather than the timeout - setting an http
proxy fails
-------------------------------------------------+-------------------------
 Reporter:  Greg Brackley <greg.brackley-        |          Owner:
  mythtv-trac-2014@…>                            |         Status:  new
     Type:  Bug Report - General                 |      Milestone:  unknown
 Priority:  minor                                |        Version:
Component:  MythTV - General                     |  Unspecified
 Severity:  medium                               |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by Greg Brackley <greg.brackley-mythtv-trac-2014@…>):

 FreeBSD seems to support the '-t' parameter.
 == CentOS 6 and Fedora ==
 {{{
 Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
             [-p pattern] [-s packetsize] [-t ttl] [-I interface or
 address]
             [-M mtu discovery hint] [-S sndbuf]
             [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
 }}}

 == Windows 7 ==
 {{{
 Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
             [-r count] [-s count] [[-j host-list] | [-k host-list]]
             [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name

 Options:
     -t             Ping the specified host until stopped.
                    To see statistics and continue - type Control-Break;
                    To stop - type Control-C.
     -a             Resolve addresses to hostnames.
     -n count       Number of echo requests to send.
     -l size        Send buffer size.
     -f             Set Don't Fragment flag in packet (IPv4-only).
     -i TTL         Time To Live.
     -v TOS         Type Of Service (IPv4-only. This setting has been
 deprecated
                    and has no effect on the type of service field in the
 IP Header).
     -r count       Record route for count hops (IPv4-only).
     -s count       Timestamp for count hops (IPv4-only).
     -j host-list   Loose source route along host-list (IPv4-only).
     -k host-list   Strict source route along host-list (IPv4-only).
     -w timeout     Timeout in milliseconds to wait for each reply.
     -R             Use routing header to test reverse route also
 (IPv6-only).
     -S srcaddr     Source address to use.
     -4             Force using IPv4.
     -6             Force using IPv6.
 }}}
 == FreeBSD 9 ==
 {{{
 usage: ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize] [-g sweepminsize]
             [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m
 ttl]
             [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t
 timeout]
             [-W waittime] [-z tos] host
        ping [-AaDdfLnoQqRrv] [-c count] [-I iface] [-i wait] [-l preload]
             [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S
 src_addr]
             [-s packetsize] [-T ttl] [-t timeout] [-W waittime]
             [-z tos] mcast-group
 }}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/12034#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list