aboutsummaryrefslogtreecommitdiff
path: root/toys/net
AgeCommit message (Collapse)Author
2018-07-08Fix ping -w and -W, fix ping -c with no reply (kept sending while waiting),Rob Landley
and trim -W default to 3 seconds (so "time ping 1.2.3.4" says 5 seconds).
2018-07-08Fix division by zero errors and double summary in ping.Rob Landley
2018-06-14I tend to put extra parentheses around & because its precedence being slightlyRob Landley
wonky was Dennis Ritche's one public regret about C (see https://www.lysator.liu.se/c/dmr-on-or.html).
2018-06-14ping: support ping6 as a synonym for `ping -6`.Elliott Hughes
Sadly, this is what existing scripts seem to do.
2018-06-13ping: add -m, switch to xsetsockopt.Elliott Hughes
Bug: http://b/28027677 toybox ping doesn't support -m mark Test: strace -e setsockopt ./toybox ping -c 1 -m 0x1000 127.0.0.1
2018-06-11Promote ping to toys/netRob Landley
2018-04-02Second argument to inet_ntop() is int, not long. (64 bit big endian systems ↵Rob Landley
care.)
2018-03-31Use XVFORK() macro, add option ranges, make lookup_port() check /etc/services,Rob Landley
remove redundant CLOEXEC (xsocket does it) and CFG_NETCAT_LISTEN test (we're not doing FORCE_FLAGS so FLAG_L and FLAG_l become zero), remove comments about vfork triggering compiler/libc bugs (XVFORK handles it).
2017-07-21netcat: make -l exit after handling a request.Josh Gao
Bug: http://b/62305466
2017-07-17typoRob Landley
2017-07-17Split out xgetaddrinfo() from xconnect()Rob Landley
2017-05-26Be more consistent about periods in help text.Elliott Hughes
2017-01-28Add missing `static`s and remove an unused function.Elliott Hughes
2017-01-25Promote microcom to net.Rob Landley
2017-01-04ftpget: implement -mMdDlL, put ftp transactions into their own function so -vRob Landley
can show both output and reply lines.
2017-01-04First stab at ftpget/ftpput. (Documents a lot of options other than basicRob Landley
upload/download that aren't implemented yet.)
2016-10-20Show driver for interface in ifconfig output.Rob Landley
2016-10-11Make netcat work with nommu and factor out poll() loop into net/net.c.Rob Landley
2016-08-28Add tap support to tunctl.Rob Landley
2016-08-22Add tunctl.Rob Landley
2016-08-04Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,Rob Landley
add xopenro() that takes one argument and understands "-" means stdin, and switch over lots of users.
2016-07-03Promote netsat, and move ifconfig, netcat, and rfkill to new toys/net directory.Rob Landley