Commit Graph

16 Commits

Author SHA1 Message Date
Stefan Farfeleder
5cf323be3f Remove an unused variable and a useless getuid() declaration. 2005-04-09 15:00:51 +00:00
Warner Losh
486c8cc4c6 Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)
2004-08-07 04:28:56 +00:00
Stefan Farfeleder
70c3c978b9 Fix a few cases that relied on 'implicit int' (constraint violation in C99). 2004-07-11 17:37:33 +00:00
Stefan Farfeleder
40905e9049 Include <netinet/in.h> for ntoh*() and hton*() prototypes.
Approved by:	das (mentor)
2004-05-24 11:59:17 +00:00
Garrett Wollman
f70bb54433 Fix conflict with <paths.h> by renaming _PATH_LOGIN to _PATH_SLIP_LOGIN,
and likewise LOGOUT for consistency.  Fix a few nearby style bugs.
2002-05-30 21:26:49 +00:00
Dima Dorfman
7309915e7a Nuke unused variables. 2001-06-24 23:41:57 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Daniel O'Callaghan
e2f35cc2cf Add FILES section to manpage.
Create /var/run/ttyXn.if interface file and /var/run/slX.pid
PID file, following format of pppd(8).
1997-04-16 09:54:50 +00:00
Jordan K. Hubbard
78147d1db8 Modification to sliplogin prints desitination's IP address before
going into SLIP mode, useful for scripts that can automatically
	grok IP addresses ala Trumpet Winsock.

Closes PR#2293

Submitted-By: andrew@fortress.org
1997-01-16 11:47:44 +00:00
Warner Losh
2519fdb867 Fix various buffer overflow cases in sliplogin. These might have been
able to be exploited, or might not.  However, it is better to be safe
than sorry.

Definitely a 2.2 fix, and a -stable if there is someone to commit it.

Reviewed by:	Jordan Hubbard <jkh@freebsd.org>
Submitted by:	Marc Slemko
1996-12-27 05:49:51 +00:00
Paul Traina
c64765e4cc Close a security hole in sliplogin.
If you use sliplogin as a user shell (in /etc/passwd) upgrade to this version.
Reviewed by:	bde, peter
Submitted by:	AUS CERT
Obtained from:	Linux sliplogin-2.02
1996-04-24 20:18:25 +00:00
Nate Williams
5e15ba9fd8 Added support for the slip.hosts options 'normal', 'compress', 'noicmp',
and 'autocmp'.

Obtained from: (mostly) slattach and (slightly) 1.X
1995-12-04 06:10:29 +00:00
Andrey A. Chernov
3b4ab8716f Additionly parse /etc/sliphome/slip.slparms* to set keepalive,
outfill and slunit.
Make it more POSIXed.
Describe undocumented stuff.
1995-09-22 10:04:33 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Guido van Rooij
5d2d59d9aa 1. Correct invalid setsid and ioctl return value checks.
2. set some seteuid calls to allow sliplogin to be run by users from the
   commandline in stead of from login inlo.

Submitted by:	guido
1994-08-08 17:14:46 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00