brian
59161ba72e
Add the "!include" syntax.
...
Return 0 from "show" commands.
1997-11-09 17:51:27 +00:00
brian
164425f5ce
Increase chat script sizes to 512
...
Requested by: Michael Reifenberger <root@totum.plaut.de>
1997-11-09 14:18:55 +00:00
brian
2d2f81e9b5
Remove the use of $HOME/.ppp.*
1997-11-09 13:18:51 +00:00
brian
27e1a5bbaa
Null commit:
...
The last modification removed the use of $HOME/.ppp.*
1997-11-09 13:18:18 +00:00
brian
eae0088b91
Introduce ID0 logging.
...
Stay as the invoking uid as much as possible.
Execution as a normal user is still forbidden for now,
so these changes are pretty ineffective.
The next commit will implement the modifications suggested
on -hackers a number of days ago.
1997-11-09 06:22:49 +00:00
brian
555986da72
When responding to a CHAP challenge, don't try to use
...
ppp.secret to get a key value based on the peers name,
then send the value of AuthName with the encrypted result.
This is *way* too confusing.
Instead, always use AuthName and AuthKey as the documentation
says.
1997-11-09 03:55:27 +00:00
brian
682b093038
Don't include RTA_GATEWAY in rtm_addrs unless it's specified.
1997-11-09 03:22:49 +00:00
brian
85bb474e62
Typo police.
1997-11-08 12:37:33 +00:00
brian
cf98226436
Don't pass global vars as args.
...
Remove local/global conflicts.
1997-11-08 00:28:11 +00:00
brian
7b18487ba9
Style police.
...
bzero -> memset
index -> strchr
rindex -> strrchr
Use libedit (this should make pppctl a lot more attractive than telnet).
1997-11-07 20:20:15 +00:00
joerg
557fc1ddef
Argl! Who's got the pointy hat these days? Hand it over to me, ASAP!
...
When setting an alarm that didn't trigger, i gotta clear it again
before going on. Hmpf!
1997-11-07 13:18:50 +00:00
brian
e4fdd13249
Support interactive mode.
1997-11-07 02:54:49 +00:00
joerg
07c6e768fc
Pah! I didn't stick to my own advise to adjust the padding...
1997-11-07 00:18:25 +00:00
joerg
7eaff07d90
Typo fix that caused the value 0x1234 to be written to a random memory
...
location. Also, instead of jumping ot the CPU's restart vector, just
call int 0x19 to reboot. (Writing hte 0x1234 was a little useless
otherwise.)
PR: bin/4901
Submitted by: Jonathan Mini <mini@d198-232.uoregon.edu>
1997-11-07 00:12:55 +00:00
joerg
9ee9500401
Fix some breakage from my last set of changes.
...
PR: bin/4892
Submitted by: Vasim Valejev <vasim@uddias.diaspro.com>
1997-11-07 00:09:40 +00:00
joerg
5e073d60a3
Teach tzsetup to understand blank lines in the iso3166 file.
...
Found by: evanc@synapse.net (Evan Champion)
1997-11-07 00:07:27 +00:00
imp
e963b91fae
Use warn rather than warnx to report errors opening the APM device.
...
Nit formatting fix
1997-11-06 23:55:38 +00:00
msmith
a70940419f
Bump configvers to 300003 to account for the crd->card (and related)
...
namespace changes.
1997-11-06 03:11:40 +00:00
brian
9591c8cdce
o Spelling police.
...
o Emphasize ``PPP''
o x-ref other programs
o Some minor clarifications
1997-11-06 00:25:33 +00:00
obrien
71a2202c76
MFS.
1997-11-05 06:11:35 +00:00
jkh
6884713f08
Since doc no longer contains the Handbook, stop saying that it does.
...
Submitted by: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
1997-11-04 23:44:22 +00:00
brian
bd52968d26
Introduce [local] to "set log [local] ...". This spits
...
logging out to the screen in terminal mode - should be
good for installation problem diagnosis.
1997-11-04 01:17:05 +00:00
charnier
0d290b832a
Cosmetics in yp_error() and usage().
1997-11-03 07:53:44 +00:00
ache
0402968a2b
Log run-time parsing errors now
...
Use getpwnam before getpwuid since two users with same uids can exists
(affects new login classes code only)
The same fixes as in inetd: by default run `system crontab things' with
daemon login class now, not restrict them to user class breaking
compatibility with old way (so-called nobody limits problem)
Implement user[:group][/login-class] syntax in system crontab
for more flexible control (the same as in inetd)
1997-11-02 17:22:20 +00:00
jraynard
8df776813b
Typo alert.
1997-11-02 00:58:39 +00:00
jseger
2f14780669
Fix typo: 129.168.128.0 -> 192.168.128.0
...
PR: docs/4871
Submitted by: sec@42.org
1997-11-01 15:55:09 +00:00
charnier
f164448775
Make all strings representing hostnames to be NUL-terminated within
...
MAXHOSTNAMELEN chars, like everywhere else in the system, so that strcpy()s
and printf()s won't fail.
1997-10-31 12:33:14 +00:00
dima
c811dec8d3
Add possibility to specify maximum number of connections per minute
...
for a given IP address.
This should be very effective against DoS attacks.
1997-10-29 21:49:04 +00:00
jkh
b330f47cb6
Do chflags properly even when running multi-user.
1997-10-29 07:47:06 +00:00
charnier
97cd2cfa61
Back out strcpy() -> strncpy() changes. According to Bruce, they are unneeded.
...
Check the return value of gethostname() like in timed. Make enough place to
NUL-terminate the result.
1997-10-29 07:35:27 +00:00
charnier
68d30808a9
Back out strcpy() -> strncpy() changes. According to bruce, they are unneeded.
1997-10-29 07:32:30 +00:00
charnier
cf8568c7a3
Use err(3). Rewrote man page using mdoc format.
1997-10-29 07:27:56 +00:00
charnier
2d829ec20e
Use err(3).
1997-10-29 07:26:09 +00:00
charnier
24e614e49c
Typos in man page. Cosmetics in error strings.
1997-10-29 07:25:05 +00:00
brian
941e2045a2
o Bump version to 1.3 to reflect major changes
...
o Report modem connect time properly
o Report bytes in/out over physical media
o Fix phases (TERMINATE is *higher than* DEAD)
o Do a LayerFinish from LcpDown
o Bring down IPCP & CCP when we enter PHASE_TERMINATE
o Give a new prompt when we go to PHASE_DEAD
o Stop the modem timer properly when idle
o Treat sig 15 like an exiting carrier loss
o Log (DEBUG) offline & online transitions
1997-10-29 01:19:51 +00:00
nate
2e553bc250
- Disable cards when doing a suspend by emulating that they have been
...
removed. Add a new state 'suspend' so we 'fake' insertion events at
resume time for the cards that have been suspended.
[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]
Reviewed by: frf@xocolatl.com
1997-10-28 17:51:25 +00:00
brian
2c7ba54db5
Don't logwtmp(), login() already does it.
...
Log us out of utmp & wtmp if we're already in there.
PR: 4862
1997-10-28 16:50:56 +00:00
ache
442881c24b
Implement group part now, final syntax is:
...
user[:group][/login-class]
1997-10-28 13:46:52 +00:00
joerg
5c37a12152
Allow for a keyword in the "files" file named "mandatory". The first
...
candidate for this is "npx0", more are likely to follow.
Check for pseudo-devices that are being configured, but don't appear
in any "files" file. The ``pseudo-device bpf 2'' already hit me too
often.
1997-10-28 07:21:04 +00:00
ache
6a842ce994
Implement login classes sepcification as user[/loginclass]
...
By default inetd run things with the same limits as from /etc/rc
(daemon class) to not break anything as in good old days.
1997-10-27 22:03:47 +00:00
charnier
4b19c8ae4e
Use err(3).
1997-10-27 12:30:30 +00:00
charnier
ede47e9ab0
Remove `progname'.
1997-10-27 12:29:25 +00:00
charnier
979da9c94a
Add usage() and err(3). Sync man page with usage string.
1997-10-27 12:27:21 +00:00
charnier
5a5312b885
One line usage string: see man page for more info.
1997-10-27 12:25:38 +00:00
charnier
a603ec5bf9
Cosmetic in err() strings.
1997-10-27 12:23:08 +00:00
charnier
29b9cb9613
Use err(3).
1997-10-27 12:21:10 +00:00
charnier
32c601ba50
Use err(3). Add prototypes. Document -s and -r flags.
1997-10-27 07:55:31 +00:00
charnier
54e2b69a0f
Statisize usage().
1997-10-27 07:53:22 +00:00
charnier
254bdc1ce7
Use err(3). Stylistic changes in man page.
1997-10-27 07:52:10 +00:00
charnier
8098c0d2f3
Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
...
when -n (do nothing) is used.
1997-10-27 07:49:47 +00:00