Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-27 | Technosaurus on github pointed out the error message should say adjtimex. | Rob Landley | |
2019-10-23 | Use adjtimex instead of adjtime (bionic hasn't got adjtime). | Rob Landley | |
And check in more multicast support that's been sitting in the tree, I don't have a test enviornment for it anymore but somebody wanted this... | |||
2019-09-23 | Fix ftpget download | Denys Nykula | |
Investigate why downloads always freeze when I call ftpget. Trace it to a refactor leaving two REST and zero RETR. | |||
2019-09-04 | Factor out AF_UNIX socket openting, use FLAG() macros, xsocket() already | Rob Landley | |
does CLOEXEC (should fix macos build). | |||
2019-07-17 | ifconfig: fix for non-root on Android. | Elliott Hughes | |
The change from ioctl to xioctl in 844f0d1aae28c54bbb672f53ba2cda182c572129 broke ifconfig for non-root on Android. SIOCGIFHWADDR has been protected to prevent device tracking since Nougat. Bug: https://issuetracker.google.com/137671590 | |||
2019-07-11 | bind/connect cleanup. | Elliott Hughes | |
Rename the existing xbind/xconnect to xbindany/xconnectany, to make room for new xbind/xconnect that are more like 'x' versions of the regular bind and connect. Move explicit bind/connect callers over to xbind/xconnect. Of the affected commands, only netcat is actually used by Android. It was the most recent patch to netcat that made the lack of a more traditional xbind/xconnect apparent. | |||
2019-07-01 | netcat: Add UNIX domain socket support (-U) | Tom Cherry | |
Other implementations of netcat support UNIX domain sockets via -U, so this change adds it to toybox too. Example usage: Create ./uds as a UNIX domain socket and listen on it, forwarding messages to bash: > nc -U -s ./uds -L /bin/bash Connect to ./uds as a UNIX domain socket > nc -U ./uds | |||
2019-03-02 | Improve help consistency. | Elliott Hughes | |
More consistent tense, capitalization, and punctuation. A few commands were missing an introductory line, so I copied those from the first comment line. | |||
2019-03-02 | Fix instances of "Usage:" rather than "usage:". | Elliott Hughes | |
2019-02-23 | Bumper typo cleanup. | Elliott Hughes | |
Inspired by some of the small patches that have gone by recently. Limited to only things found in `generated/help.h`, plus a wider cleanup for the more common "milisecond" typo. | |||
2019-02-21 | Fix typo in help | Kevin van der Kamp | |
2019-02-20 | Simplify netcat a lot using the net.c upgrades from last commit. | Rob Landley | |
2019-02-20 | Minor cleanups, mostly wordwrapping. | Rob Landley | |
2019-02-13 | Oops, missed one. | Rob Landley | |
2019-02-13 | Use xrecvwait() in ping, and move signal handler setup to start of ping loop. | Rob Landley | |
2019-02-13 | Move nanomove(), nanodiff(), union socksaddr, and xrecvwait() to lib. | Rob Landley | |
2019-02-05 | Promote sntp to net. | Rob Landley | |
2019-01-25 | nc: allow immediate reuse of ports. | Josh Gao | |
Set SO_REUSEADDR when listening so that we can immediately reuse ports that are no longer being listened upon, instead of having to wait 60 seconds for the socket to be shutdown after being closed (even on localhost!). | |||
2019-01-25 | No real need to copy data into variables and do nothing else with it... | Rob Landley | |
2019-01-25 | OpenEmbedded needs commands installed in specific places. | Rob Landley | |
2019-01-16 | Move xsendto() to lib/net.c. | Rob Landley | |
2019-01-02 | Josh Gao said "netcat -l -p 12345" broke: | Rob Landley | |
Previously, when trying to listen on a socket without using one of -4, -6, or -s, we tried to create an AF_UNSPEC socket, which fails. | |||
2018-12-10 | nc: add UDP support. | Josh Gao | |
2018-12-10 | nc: add IPv6 support. | Josh Gao | |
2018-12-04 | Clean up some --help formatting. | Elliott Hughes | |
Be consistent about upper versus lower case. (Upper seems to have the majority, so I went with that, though I'm happy to provide the opposite patch as long as we're consistent!) Be consistent about using \t. (Though saving a few bytes seems like it might be better done in the code that generates help.h rather than directly in the source, since tabs make careful ASCII art layout hard enough that we regularly have things misaligned.) Remove trailing periods (most of which seem to have been added by me). Always use the US "human readable" rather than my British "human-readable", and be more consistent about declaring whether we're showing multiples of 1000 or 1024. Just say "verbose" rather than adding a useless "mode" or "output". | |||
2018-11-17 | Convert more GLOBALS argument vars to the new single letter code style. | Rob Landley | |
2018-10-21 | Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo | Rob Landley | |
xparsetime() not to need floating point, adjust callers. | |||
2018-10-20 | Some more --help consistency. | Elliott Hughes | |
From eyeballing the output of for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \ grep '^-' | grep -v "\t" | |||
2018-09-08 | Tweaks to make building with Android NDK's llvm happier. | Rob Landley | |
2018-08-18 | Allow enough space padding for "192.168.123.456/24" to consistently indent. | Rob Landley | |
2018-08-17 | Make microcom use set_terminal() and move speed setting into set_terminal(). | Rob Landley | |
2018-08-05 | Add ifconfig -S (short view), and do some minor cleanups while there. | Rob Landley | |
2018-08-05 | Tweak help text. | Rob Landley | |
2018-07-19 | Tweak/add some comments. | Rob Landley | |
2018-07-08 | Fix 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-08 | Fix division by zero errors and double summary in ping. | Rob Landley | |
2018-06-14 | I tend to put extra parentheses around & because its precedence being slightly | Rob Landley | |
wonky was Dennis Ritche's one public regret about C (see https://www.lysator.liu.se/c/dmr-on-or.html). | |||
2018-06-14 | ping: support ping6 as a synonym for `ping -6`. | Elliott Hughes | |
Sadly, this is what existing scripts seem to do. | |||
2018-06-13 | ping: 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-11 | Promote ping to toys/net | Rob Landley | |
2018-04-02 | Second argument to inet_ntop() is int, not long. (64 bit big endian systems ↵ | Rob Landley | |
care.) | |||
2018-03-31 | Use 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-21 | netcat: make -l exit after handling a request. | Josh Gao | |
Bug: http://b/62305466 | |||
2017-07-17 | typo | Rob Landley | |
2017-07-17 | Split out xgetaddrinfo() from xconnect() | Rob Landley | |
2017-05-26 | Be more consistent about periods in help text. | Elliott Hughes | |
2017-01-28 | Add missing `static`s and remove an unused function. | Elliott Hughes | |
2017-01-25 | Promote microcom to net. | Rob Landley | |
2017-01-04 | ftpget: implement -mMdDlL, put ftp transactions into their own function so -v | Rob Landley | |
can show both output and reply lines. | |||
2017-01-04 | First stab at ftpget/ftpput. (Documents a lot of options other than basic | Rob Landley | |
upload/download that aren't implemented yet.) |