aboutsummaryrefslogtreecommitdiff
path: root/networking/telnet.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen2002-07-111-0/+1
| | | | -Erik
* A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen2002-07-031-89/+7
| | | | | | | | | xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart!
* Email addr fixEric Andersen2002-06-061-2/+1
|
* Fix bugsEric Andersen2002-04-261-4/+4
|
* Minor formattingEric Andersen2002-04-261-1/+2
|
* add missing void, still has issues thoughTim Riker2002-04-261-1/+1
|
* Forward port patch from Przemyslaw Czerpak <druzus@polbox.com>:Eric Andersen2002-04-261-11/+77
| | | | | | | | | | | | | | | | | | 1. busybox-telnet dosn't inform server about the size of terminal screen. In the world of xterminals and frame buffers it's rather horrible to use fixed 80x24 region in upper-left corner of screen/window. 2. If client sends character 0x0d to the server then sends character 0x0a the server eat the second byte (0x0a) - it's described in telnet RFC. Client should send two bytes ( 0x0d + 0x0a or 0x0d + 0x00 ) insted of one 0x0d byte. 3. busybox telnet implementation wasn't 8bit clean (look at 0xff byte). I need it because I have to use binray transfer like rz/sz. So when I resloved the problem (2) I corrected this one two. This also contains a small cleanup patch from vodz, and some minor editing by me.
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-1/+1
|
* Latest patch from vodz:Eric Andersen2001-11-101-20/+18
| | | | | | | -- reverse resolve network name and cache in route and ifconfig applets, fix print nslookup server name if compile without uClibc, fix route crashe 'route add', fix warnings compile networking and pwd_grp applets
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-6/+6
| | | | -Erik
* Vladimir's last_patch_15Glenn L McGrath2001-06-261-25/+21
|