summaryrefslogtreecommitdiff
path: root/networking/telnet.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* telnet: shrinkDenis Vlasenko2008-07-211-17/+15
| | | | | | | | | | | | | | | | telnetd: shrink, and fix issue file printing test: better and shorter usage text function old new delta putiac2 51 50 -1 putiac 24 20 -4 handlenetoutput 95 91 -4 telnet_main 1480 1475 -5 iacflush 37 32 -5 make_new_session 436 421 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-34) Total: -34 bytes
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* - use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer2008-05-191-5/+5
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-191-4/+4
|
* more -Wall warning fixes. -Wall is enabled now.Denis Vlasenko2008-05-181-1/+1
|
* telnet: use poll, it's shorterDenis Vlasenko2007-11-061-74/+68
| | | | | *: style fixes
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-2/+2
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-1/+1
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko2007-06-041-8/+7
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* find_stray_communal_vars: script which finds communal variablesDenis Vlasenko2007-06-031-1/+1
| | | | | resize: remove globals var mdev: remove globals var
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* random style fixes (extra spaces deleted)Denis Vlasenko2007-03-241-1/+1
|
* telnet: finish style cleanup bitsDenis Vlasenko2007-03-191-29/+10
|
* telnet: someone tried to do data optimization before me. Complete it.Denis Vlasenko2007-03-191-96/+83
| | | | | | | text data bss dec hex filename 2558 0 404 2962 b92 busybox.t2/networking/telnet.o 2542 0 0 2542 9ee busybox.t3/networking/telnet.o
* kill superfluous returns at the end of void functionsDenis Vlasenko2007-03-111-18/+16
|
* remove unused #include,, improve code readabilityDenis Vlasenko2007-02-091-1/+0
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-291-1/+1
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-3/+1
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* next part of ipv6-ization is here: wget & httpdDenis Vlasenko2007-01-121-11/+9
|
* Improve generic ipv4+ipv6 support in libbb.Denis Vlasenko2007-01-101-21/+10
| | | | | | | | | Convert telnet to it. Now this works: telnetd -b [::1]:1234 - bind to IPv6 non-standard port telnet [::1]:1234 - connect to IPv6 non-standard port telnet ::1 1234 - same This does not require ANY ipv6-specific code in applets (no struct sockaddr_in6. In fact, no sockaddr_in, too).
* style fixesDenis Vlasenko2006-12-261-3/+3
| | | | last xcalloc replaced by xzalloc
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-221-1/+1
| | | | | use them where appropriate. 200 bytes saved
* get_terminal_width_height: do not pass insanely large valuesDenis Vlasenko2006-10-271-1/+1
|
* xconnect is non-conforming to "xfunc like libc" rule. FixingDenis Vlasenko2006-10-261-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* lots of silly indent fixesDenis Vlasenko2006-10-031-3/+3
|
* whitespace cleanupDenis Vlasenko2006-09-171-2/+2
|
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-8/+8
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* More removal of "#if 0" content."Robert P. J. Day"2006-07-011-15/+0
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-7/+0
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-8/+0
| | | | - use shorter boilerplate while at it
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-7/+7
| | | | the busybox binary) into enums (which don't).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* fix up annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-1/+1
|
* just whitespaceTim Riker2006-01-251-1/+1
|
* eliminate mixed declaration, to support older compilers a little longer.Paul Fox2005-11-281-2/+1
|
* Rob Sullivan sent in some cleanups, which I beat on slightly.Rob Landley2005-10-281-31/+5
|
* applying fix for:Paul Fox2005-07-201-6/+8
| | | | | 0000026: poor man's "scriptable" telnet
* Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵Glenn L McGrath2004-09-141-2/+2
| | | | extra const's also.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-27/+27
|
* Fernando Silveira writes:Eric Andersen2004-02-221-0/+85
| | | | | | | | | | | | | Hi, Well, I made this patch a long time ago (08/2002) because it was a need of a project, but had no time to send it to you. It adds support to `autologin' option of the telnet protocol. It has been used since made with busybox 0.60.3 at production and I had no problems with it. I have ported it to the HEAD revision of the CVS server (20040211) and I hope you enjoy and apply it to the official sources. :) Thanks a lot!
* Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath2004-01-171-1/+1
| | | | /etc/services support for inetd, netcat and tftp.
* Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath2003-12-201-6/+4
| | | | | | | | function as there is no gracefull way of handling failures. Rename bb_getport to bb_lookup_port, allow a default port to be specified so it always returns a correct value. Modify ftpgetput/rdate/wget to use the new interface. wget/rdate now use etc/services with a falback default value.
* Rework wget, the xconnect interface, and its various clientsEric Andersen2003-10-311-1/+3
| | | | | | | | | | | | | | in order to fix the problems with round robin DNS reported by Andrew Flegg: http://busybox.net/lists/busybox/2003-October/009579.html This removes the ipv6 specific xconnect dns lookups. I do not see why that would need to be special cased for ipv6 as was done, but that will just have to be tested. So IPV6 people -- please test this change! -Erik
* Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen2003-09-151-9/+1
| | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-1/+1
|
* remove duplicate definition of GAaron Lehmann2002-08-231-2/+0
| | | | caught by tinycc