aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* flash_lock, flash_unlock: new appletsDenys Vlasenko2009-05-251-2/+2
| | | | | | | By Thierry Reding (thierry.reding AT avionic-design.de) Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: do not risk invoking Sorcerer's Apprentice syndromeDenys Vlasenko2009-05-101-0/+3
| | | | | | examples/udhcp/simple.script: fix incorrect test for $1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix debug messageBernhard Reutner-Fischer2009-05-041-7/+8
| | | | | Print the mime-type only after it has been set. Add possible TODOs: use TCP_CORK, parse_config()
* httpd: speed up httpd.conf at the cost of 49 bytes of codeDenys Vlasenko2009-05-021-8/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifplugd: fix warningsDenys Vlasenko2009-05-011-6/+9
|
* Make it clearer that usually people should _NOT_Denys Vlasenko2009-05-011-1/+1
| | | | select FEATURE_UNIX_LOCAL.
* *: bb_error_msg's messages should not be capitalizedDenis Vlasenko2009-04-292-6/+6
|
* ifplugd: tiny shrinkDenis Vlasenko2009-04-261-2/+2
|
* ifplugd: add copyrightDenis Vlasenko2009-04-261-1/+16
|
* ifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz)Denis Vlasenko2009-04-263-0/+817
| | | | | +3k code and 0.5k in messages. Most of the bloat due to compat :(
* add FEATURE_UNIX_LOCAL. By Ingo van Lil (inguin AT gmx.de)Denis Vlasenko2009-04-253-25/+36
|
* inetd: constify dataDenis Vlasenko2009-04-221-1/+1
|
* httpd: fix small bug in parser. it crept in during cleanupDenis Vlasenko2009-04-221-4/+3
|
* httpd: allow empty lines in conf fileDenis Vlasenko2009-04-221-1/+3
|
* httpd: simplify insane conf file parserDenis Vlasenko2009-04-221-175/+173
| | | | | | | | | | | | | | function old new delta bb_simplify_abs_path_inplace - 98 +98 parse_expr 824 832 +8 passwd_main 1025 1027 +2 evalvar 1374 1376 +2 parse_command 1463 1460 -3 bb_simplify_path 137 55 -82 parse_conf 1572 1422 -150 ------------------------------------------------------------------------------ (add/remove: 3/2 grow/shrink: 3/3 up/down: 126/-251) Total: -125 bytes
* nc: free lsa in server mode, we might be up for a long timeDenis Vlasenko2009-04-211-2/+2
|
* *: remove check for errors on getsockaddr in cases we know they can't happenDenis Vlasenko2009-04-215-23/+24
| | | | | | | | | | | | libbb: make get_sock_lsa use only one getsockaddr syscall, not two function old new delta get_sock_lsa 72 101 +29 do_iplink 1151 1137 -14 arping_main 1585 1569 -16 dolisten 789 755 -34 xrtnl_open 161 94 -67
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-2121-139/+139
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* udhcpc: fix truncation of last char in client hostnamesDenis Vlasenko2009-04-211-1/+2
|
* mdev: Rob's #if forest removalDenis Vlasenko2009-04-192-2/+2
| | | | | *: remove superfluous conts in "f(type *const param)"
* move llist_find_str from modutils to libbbDenis Vlasenko2009-04-131-15/+1
|
* dhcprelay: fix usage text. Simplify and make code more readable.Denis Vlasenko2009-04-131-62/+73
| | | | | Add TODOs.
* dnsd: stop using oversized buffer. trim comment.Denis Vlasenko2009-04-121-17/+10
|
* mount: users report that CIFS support is breaking things,Denis Vlasenko2009-04-121-95/+93
| | | | | mostly remove it.
* dnsd: removed highly questionable setting of signals to SIG_IGNDenis Vlasenko2009-04-121-11/+0
|
* dnsd: fix a number of bugs. Ideas by Ming-Ching Tiew (mctiew AT yahoo.com)Denis Vlasenko2009-04-121-163/+325
| | | | | | | | | function old new delta undot - 42 +42 dnsd_main 1394 1213 -181 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 42/-181) Total: -139 bytes
* *: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko2009-04-0912-103/+49
|
* ftpd: s/CONFIG_BUSYBOX_EXEC_PATH/bb_busybox_exec_path/Denis Vlasenko2009-04-041-1/+1
|
* more of pointless whitespace fixesDenis Vlasenko2009-04-011-1/+1
|
* dhcpd: remember and record hostnames; optimize get_optionDenis Vlasenko2009-04-018-124/+149
| | | | | | | | | | | | | | | | | dumpleases: show hostnames function old new delta add_lease 230 292 +62 send_offer 403 421 +18 send_ACK 232 249 +17 read_leases 249 258 +9 dumpleases_main 604 609 +5 nobody_responds_to_arp 84 86 +2 udhcp_end_option 32 30 -2 udhcp_get_option 222 171 -51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/2 up/down: 113/-53) Total: 60 bytes
* tftp: when we infer local name from remote (-r [/]path/path/file),Denis Vlasenko2009-03-251-3/+8
| | | | | strip path. This mimics wget and is generally more intuitive.
* httpd: add comment explaining why SERVER_NAME etc is not set.Denis Vlasenko2009-03-181-0/+2
|
* ftpd: fix command fetching to not do it in 1-byte reads;Denis Vlasenko2009-03-181-14/+51
| | | | | | | | | | | | | | | fix command de-escaping. Tested to download files with embeeded \xff and LF. libbb: tweaks for the above function old new delta ftpd_main 2231 2321 +90 xmalloc_fgets_internal 190 222 +32 xmalloc_fgets_str_len - 27 +27 xmalloc_fgets_str 7 23 +16 xmalloc_fgetline_str 10 26 +16 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 181/0) Total: 181 bytes
* ftpd: add some commentsDenis Vlasenko2009-03-181-1/+15
|
* ftpd: trim messages (but make sure they still make sense)Denis Vlasenko2009-03-181-8/+8
| | | | | | | text data bss dec hex filename 4400 0 0 4400 1130 ftpd_old.o 4346 0 0 4346 10fa ftpd.o
* ftpd: do not use nasty tricks for re-execing if we are on MMU machine.Denis Vlasenko2009-03-181-22/+57
| | | | | | | | | | | | On NOMMU, code is alomost the same, on MMU: function old new delta handle_dir_common 223 390 +167 ftpd_main 2306 2231 -75 popen_ls 203 - -203 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/1 up/down: 167/-278) Total: -111 bytes
* ftpd: add support for MDTM, I see clients often use it,Denis Vlasenko2009-03-181-11/+69
| | | | | | | | | | | it may allow client-side caching. function old new delta ftpd_main 2232 2306 +74 gmtime_r - 19 +19 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/0 up/down: 93/0) Total: 93 bytes
* ftpd: document NLST formatDenis Vlasenko2009-03-171-0/+8
|
* ftpd: instead of wordy HELP, implement useful, and smaller, FEAT.Denis Vlasenko2009-03-171-15/+14
| | | | | | | | | (HELP is still "supported" as an alias to FEAT) text data bss dec hex filename 807331 468 7856 815655 c7227 busybox_old 807246 468 7856 815570 c71d2 busybox_unstripped
* ftpd: implement -vv verbosityDenis Vlasenko2009-03-171-9/+31
| | | | | | | | | | | | | function old new delta ftpd_main 2097 2190 +93 verbose_log - 33 +33 cmdio_write_raw 12 34 +22 cmdio_write_ok 25 45 +20 cmdio_write_error 25 45 +20 cmdio_write 62 78 +16 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 204/0) Total: 204 bytes
* ftpd: tweak timeout codeDenis Vlasenko2009-03-171-11/+15
|
* ftpd: fix thinko: set_nport takes port in network orderDenis Vlasenko2009-03-161-1/+1
|
* ftpd: dont use fdprintf for simple status messagesDenis Vlasenko2009-03-161-44/+65
| | | | | | | | | | function old new delta ftpd_main 2025 2055 +30 cmdio_write_ok 17 25 +8 cmdio_write_error 17 25 +8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 46/0) Total: 46 bytes
* ftpd: simplify PORT check by assuming IP = peer's IP.Denis Vlasenko2009-03-161-1/+27
| | | | | | | | Should be as safe as before this change. function old new delta ftpd_main 2115 2025 -90
* ftpd: add idle and absolute timeouts. This is a security issue,Denis Vlasenko2009-03-161-20/+50
| | | | | | | | | | | | | otherwise ftpd may end up hanging indefinitely. function old new delta timeout_handler - 110 +110 ftpd_main 2019 2115 +96 packed_usage 25662 25685 +23 handle_upload_common 306 322 +16 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 245/0) Total: 245 bytes
* ftpd: security tightened up:Denis Vlasenko2009-03-161-89/+107
| | | | | | | | | | | | | PORT is not allowed on !IPv4 PORT must have IP == peer's IP upload is allowed only into regular files function old new delta ftpd_main 1815 2019 +204 handle_upload_common 260 306 +46 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 250/0) Total: 250 bytes
* ftpd: fix the bug where >2GB file ops report errors;Denis Vlasenko2009-03-151-65/+119
| | | | | | | | | | | | | | | | make a few simplifications; add TODOs. function old new delta port_or_pasv_was_seen - 37 +37 get_remote_transfer_fd 104 109 +5 handle_upload_common 265 260 -5 handle_dir_common 228 223 -5 popen_ls 211 203 -8 ftpd_main 1825 1815 -10 data_transfer_checks_ok 37 - -37 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/4 up/down: 42/-65) Total: -23 bytes
* *: remove LOG_NOWAITDenis Vlasenko2009-03-111-1/+1
|
* ftpd: stop unconditional logging to syslog. This was the only appletDenis Vlasenko2009-03-111-6/+9
| | | | | | | | | which was doing it. Added option -S to enable it when desired. function old new delta packed_usage 25647 25666 +19 ftpd_main 1826 1825 -1
* docs/logging_and_backgrounding.txt: new mini-docDenis Vlasenko2009-03-116-57/+53
| | | | | | | | | | | | | | | | | | | | | dnsd: remove statics, remove nerly-useless SIGINT handler crond: correct more of logfile to 0666 (as usual, umask allows user to remove unwanted bits). nameif: print errors to stderr too, not just to syslog function old new delta udhcp_read_interface 308 306 -2 ttl 4 - -4 fileconf 4 - -4 dnsentry 4 - -4 interrupt 19 - -19 dnsd_main 1463 1394 -69 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 0/2 up/down: 0/-102) Total: -102 bytes text data bss dec hex filename 808161 476 7864 816501 c7575 busybox_old 807994 468 7856 816318 c74be busybox_unstripped