History log of /freebsd/usr.sbin/ppp/timer.c (Results 101 – 125 of 484)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: vendor/global/2.2.1, vendor/tcl/8.0p2
# b6e82f33 22-Nov-1997 Brian Somers <brian@FreeBSD.org>

Fix prototypes.
Remove extraneous decls.
Add ``const'' to several places.
Allow ``make NOALIAS=1'' to remove IP aliasing.
Merge with OpenBSD - only the Makefiles vary.

We can now survive a compile w

Fix prototypes.
Remove extraneous decls.
Add ``const'' to several places.
Allow ``make NOALIAS=1'' to remove IP aliasing.
Merge with OpenBSD - only the Makefiles vary.

We can now survive a compile with
-Wall -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wredundant-decls
-Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts
(although the Makefile just contains -Wall).

show more ...


Revision tags: vendor/ipfilter-sys/v3_2_1, vendor/ipfilter/3.2.1, vendor/sendmail/8.8.8
# 5106c671 09-Nov-1997 Brian Somers <brian@FreeBSD.org>

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

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.

show more ...


Revision tags: vendor/NetBSD/v971020, vendor/libreadline/2.01.1, vendor/misc-GNU/diff/2.7
# 75240ed1 26-Oct-1997 Brian Somers <brian@FreeBSD.org>

Cosmetic (no functional changes):
o Add missing $Id$s
o Move extern decls from .c -> .h files
o Staticize
o Remove #includes from .h files
o style(9)ify includes
o bcopy -> memcpy
bze

Cosmetic (no functional changes):
o Add missing $Id$s
o Move extern decls from .c -> .h files
o Staticize
o Remove #includes from .h files
o style(9)ify includes
o bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
index -> strchr
rindex -> strrchr
o Move timeout.h -> timer.h (making it consistent w/ timer.c)
o Add -Wmissing-prototypes

show more ...


Revision tags: vendor/tzdata/tzdata1997i
# 9a571ec7 24-Oct-1997 Brian Somers <brian@FreeBSD.org>

sleep => nointr_sleep
usleep => nointr_usleep
(not just a #define)
Already done by: ache


# 1f1d79b8 23-Oct-1997 Andrey A. Chernov <ache@FreeBSD.org>

Restore back non-interruptable sleep/usleep just redefine them to not
mix with standard library functions


# cc2847b8 23-Oct-1997 Andrey A. Chernov <ache@FreeBSD.org>

Remove private sleep/usleep hacks


Revision tags: release/2.2.5_cvs, vendor/NetBSD/v971017, vendor/misc-GNU/awk/3.0.3, vendor/tcl/8.0, vendor/opie/2.31, vendor/kerberosIV/0.9.6
# 944f7098 25-Aug-1997 Brian Somers <brian@FreeBSD.org>

Make the code format more in line with style(9).
Update loadalias to use the new libalias api.
Update to version 1.1.


Revision tags: vendor/pppd/2.3.1, vendor/pppd/2.3.0, vendor/global/2.0, vendor/sendmail/8.8.7, vendor/NetBSD/v970703, vendor/tcl/8.0b2, vendor/NetBSD/v19970629, vendor/misc-GNU/patch/2.4, vendor/sendmail/8.8.6, vendor/bind/4.9.6, vendor/misc-GNU/cvs/1.9.10, vendor/NetBSD/v970513, vendor/NetBSD/v970508
# 927145be 09-Jun-1997 Brian Somers <brian@FreeBSD.org>

Overhaul ppp:
o Use syslog
o Remove references to stdout/stderr (incl perror())
o Introduce VarTerm - the interactive terminal or zero
o Allow "set timeout" to affect current session
o Chan

Overhaul ppp:
o Use syslog
o Remove references to stdout/stderr (incl perror())
o Introduce VarTerm - the interactive terminal or zero
o Allow "set timeout" to affect current session
o Change "set debug" to "set log"
o Allow "set log [+|-]flag"
o Make MSEXT and PASSWDAUTH stuff the default
o Move all #ifdef DEBUG stuff into the code - this
shouldn't be too much overhead. It's now controlled
with "set log +debug"
o Add "set log command, debug, tun, warn, error, alert"
o Remove cdefs.h, and assume an ansi compiler.
o Improve all diagnostic output
o Don't trap SIGSEGV
o SIGHUP now terminates again (log files are controlled
by syslog)
o Call CloseModem() when changing devices
o Fix parsing of third arg of "delete"

I think this fixes the "magic is same" problems that some
people have been experiencing.
The man page is being rewritten. It'll follow soon.

show more ...


Revision tags: vendor/libreadline/2.1, vendor/tcpdump/3.3, vendor/libpcap/0.3, vendor/ipfilter-sys/v3-2-a7, vendor/ipfilter/3.2a7, vendor/misc-GNU/cvs/1.9.9-19970523, release/2.2.2, vendor/misc-GNU/cvs/1.9.9-19970515
# 274e766c 10-May-1997 Brian Somers <brian@FreeBSD.org>

Tidy up the code - bounds checking, return
value checking etc.

Submitted by: eivind


# 03034029 09-May-1997 Brian Somers <brian@FreeBSD.org>

Set setitimer() arg correctly.


Revision tags: vendor/NetBSD/v970504, vendor/ipfilter-sys/V3_2_A4, vendor/ipfilter/3.2a4, vendor/misc-GNU/cpio/2.4.2, release/2.2.1_cvs, vendor/top/3.4, vendor/file/3.22, release/2.2.0, upstream/2.2.0, vendor/gdb/4.16
# f5ff0f7c 13-Mar-1997 Brian Somers <brian@FreeBSD.org>

Reviewed by: ache@freebsd.org
These changes should fix the signal "problems" in ppp.
The signal changes should really be put into 2.2 too !
The following patches should do it. There were some other

Reviewed by: ache@freebsd.org
These changes should fix the signal "problems" in ppp.
The signal changes should really be put into 2.2 too !
The following patches should do it. There were some other
changes made by Andrey recently that havn't been brought
into 2.2, it may be worth doing them now.

show more ...


Revision tags: release/2.1.7, upstream/2.1.7
# 8ea7f057 09-Mar-1997 Andrey A. Chernov <ache@FreeBSD.org>

cdefs cleanup


# bbea88d0 09-Mar-1997 Andrey A. Chernov <ache@FreeBSD.org>

I remove pending signals completely, they are not useless, they are
dangerous! Signal handlers themself must be fixed to not call malloc,
but no pended handlers, it will be correct fix. In finite cas

I remove pending signals completely, they are not useless, they are
dangerous! Signal handlers themself must be fixed to not call malloc,
but no pended handlers, it will be correct fix. In finite case each signal
handler can set some variable which will be analized later, but calling
handler functions manually is too dangerous (f.e. signals not blocked while
the handler or handlers switch executed in this case). Of course this
code can be fixed instead of removing, but it not worth fixing in any case.

Should go into 2.2

In addition sig.c code shows following dangerous fragments (there can be more,
but I stop after two):

This fragment

if (fn == SIG_DFL || fn == SIG_IGN) {
handler[sig-1] = (sig_type)0;
<------------- here
signal(sig,fn);
} else {

cause NULL pointer reference when signal comes
"here", but more worse fragment is below:

void handle_signals() {
int sig;

if (caused)
for (sig=0; sig<__MAXSIG; sig++, caused>>=1)
if (caused&1)
(*handler[sig])(sig+1);
}

caused is bitmask which set corresponding bit on each signal coming.
And now imagine, what happens when some signal comes (bit sets) while loop
is executed (see caused>>=1 !!!)

In this light carrier drop situation was (as gdb shows)
1. SIGSEGV in handle_signals because some junk called as *handler reference.
2. Since SIGSEGV was pended too (== never happens),
it can cause various range of disasters.

show more ...


# ee5f208d 08-Mar-1997 Andrey A. Chernov <ache@FreeBSD.org>

Don't pend SIGALRM (Timer Service) due to
1) When carrier dropped, old variant often forget to detect it cause
unkillable loop forever (because SIGTERM pended too, but it will be
separate commit)
2)

Don't pend SIGALRM (Timer Service) due to
1) When carrier dropped, old variant often forget to detect it cause
unkillable loop forever (because SIGTERM pended too, but it will be
separate commit)
2) Time intervals accuracy reasons

Should go into 2.2

show more ...


Revision tags: vendor/ipfilter-sys/ipfilter3_1_8, vendor/ipfilter-sys/ipfilter3_1_7, vendor/ipfilter/3.1.8
# c3b6ad66 25-Feb-1997 Brian Somers <brian@FreeBSD.org>

osreldate.h stuff suggested by: Eivind Eklund

Remove #include's from sig.h and get dependant modules to include them
themselves. Make inclusion of if_var.h depend on __FreeBSD_version so
that the -

osreldate.h stuff suggested by: Eivind Eklund

Remove #include's from sig.h and get dependant modules to include them
themselves. Make inclusion of if_var.h depend on __FreeBSD_version so
that the -current version of ppp can be used with 2.1.*

2.2 Candidate ?

show more ...


# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 52cc0880 19-Feb-1997 Brian Somers <brian@FreeBSD.org>

Tidy up signal handling.
All signal() calls have been changed to pending_signal() calls.
pending_signal() is defined in the new sig.c file. It remembers
the handler and traps the signal with a funct

Tidy up signal handling.
All signal() calls have been changed to pending_signal() calls.
pending_signal() is defined in the new sig.c file. It remembers
the handler and traps the signal with a function that will remember
the signal.

main.c now calls handle_signals() to actually call the required
handlers (if the above handler was called).

If this doesn't close PR2662 (was PR2347), I'll cry.

Joerg, I think this should go into 2.2, but I havn't done anything
about it because I'm bound to botch it with the new sig.[ch] files.

I've just "cvs add"'d sig.[ch] so far.... can you update to 2.2 and
tell me what you did ? Thanks.

show more ...


Revision tags: vendor/ipfilter/3.1.7, vendor/opie/2.3, release/2.1.6, upstream/2.1.6, release/2.1.6.1, upstream/2.1.6.1
# 6b0b88d8 29-Jan-1997 Brian Somers <brian@FreeBSD.org>

Move the call to TimerService() into main.c - just after the select()
call. The SIGALRM just sets a flag now, preventing the possibility of
any nasty recursivness in the handler itself.


Revision tags: vendor/sendmail/8.8.5
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


Revision tags: vendor/misc-GNU/texinfo/3.9, vendor/SGI/vjs_970104, vendor/libreadline/2.0, vendor/tzdata/tzdata1996n, vendor/SGI/vjs_970102, vendor/bind/4.9.5p1, vendor/ee/1.3, vendor/mrouted/mtrace-5.1, vendor/SGI/vjs_961217, vendor/SGI/vjs_961211, vendor/sendmail/8.8.4, vendor/tzdata/tzdata1996l, vendor/SGI/vjs_961119, vendor/rarpd/1.1, vendor/sendmail/8.8.3, vendor/nvi/1.79, vendor/sendmail/8.8.2, release/2.1.5, upstream/2.1.5, vendor/gcc/2.7.2, vendor/traceroute/1.3.2, vendor/sendmail/8.7.6, vendor/tcl/7.5p1, vendor/gcc/2.7.2.1, vendor/SGI/vjs_960912, vendor/gperf/2.1a, vendor/misc-GNU/bison/1.25, vendor/groff/1.10, vendor/bind4/4.9.4p1, vendor/bind/4.9.4p1, vendor/SGI/sgi_routed_960827, vendor/misc-GNU/cvs/1.8.1, vendor/libpcap/0.2.1, vendor/tcpdump/3.2.1, vendor/ssleay/ssleay_0_6_3, vendor/ssleay/ssleay_0_6_2, vendor/ssleay/ssleay_0_6_1, vendor/SGI/sgi_routed_960722, vendor/tzcode/tzcode96h, vendor/tzdata/tzdata96i, vendor/tcl/7.5, vendor/flex/2.5.3, vendor/NetBSD/units1_0, vendor/stallion/v0_0_5_alpha, vendor/stallion/v0_0_4_alpha, vendor/stallion/v0_0_3_alpha, vendor/stallion/v0_0_2_alpha, vendor/stallion/v0_0_1_alpha, vendor/NetBSD/r1_1, vendor/tzdata/tzdata96d, vendor/sendmail/8.7.5, vendor/tzdata/tzdata96c, vendor/sendmail/8.7.4, vendor/ssleay/des_051a, vendor/file/3.19, vendor/bind4/4.9.3patch1, vendor/NetBSD/page_1_0
# 7b64106a 10-Jan-1996 Poul-Henning Kamp <phk@FreeBSD.org>

A random bunch of cleanup changes.


Revision tags: vendor/bind4/4.9.3rel, vendor/mrouted/3.8, vendor/mrouted/3.6, release/2.1.0_cvs, upstream/2.1.0_cvs, vendor/misc-GNU/cvs/1.6.3-951211, vendor/sendmail/8.7.3, vendor/sendmail/8.7.2, vendor/ncftp/1.9.5, vendor/NetBSD/xlint/1.3, vendor/NetBSD/cur_951014_real, vendor/NetBSD/cur_951014, vendor/pppd/2.2, vendor/bind4/4.9.3beta26, vendor/NetBSD/ibcs2_950502, vendor/ee/1.2.4, vendor/bind4/4.9.3b24, vendor/tzdata/tzdata95e, release/2.0.5_cvs, upstream/2.0.5_cvs
# 709e8f9a 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


Revision tags: vendor/ncftp/1.9.4, vendor/misc-GNU/cvs/1.4A2
# 84b8a6eb 11-Mar-1995 Atsushi Murai <amurai@FreeBSD.org>

1.Reducing cpu usage at off connection.
2.Implment Redail function as working correctly.
3.Clean up a code as I notice.
4.Now, RTT getting close to 50ms with ISDN/TA 38400bps !!

Reviewed by: amurai@

1.Reducing cpu usage at off connection.
2.Implment Redail function as working correctly.
3.Clean up a code as I notice.
4.Now, RTT getting close to 50ms with ISDN/TA 38400bps !!

Reviewed by: amurai@spec.co.jp
Submitted by: amurai@spec.co.jp

show more ...


Revision tags: vendor/ncftp/1.9.3, vendor/rarpd/1.0
# 53c9f6c0 26-Feb-1995 Atsushi Murai <amurai@FreeBSD.org>

New user Process PPP based on iij-ppp0.94beta2.

o Supporting SYNC SIO device (But need a device driver)
- add "set speed sync"
o Fixing bug for Predictor-1 function.
o Add new paramete

New user Process PPP based on iij-ppp0.94beta2.

o Supporting SYNC SIO device (But need a device driver)
- add "set speed sync"
o Fixing bug for Predictor-1 function.
o Add new parameter that re-sent interval for set timeout commands.
o Improving RTT (Round Trip Time) and reducing processor time.
- Previous Timer service was using polling, and now using
SIGALRM ;-)
- A 0.94beta2 will not work correctly....

-- Follows are additinal feature not including 0.94beta2
o Support Proxy ARP
- add "enable/disable proxy" commands
o Marging common routine in CHAP/PAP.
o Enhancing LCP/IPCP log information.
o Support local Authfication connection on port 300x and tty.
- You can set up pair of your "hostname -s" and
password in ppp.secret. if either ppp.secret file nor
your hostname line don't exist, It will notify a message
and working as same as previous version.(Backword compatibility)
- If you did set up them, It's allow connection but nothing to do
except help and passwd command.
- add "passwd yourpasswd" commands
o Support afilter - keep Alive filter that a packet can send/receiving
according to ifilter/ofilter but doesn't count it as preventing idle
timer expires.
- Same syntax of other filters.
o Fixing bugs reported by current user for previous one. Thanks !!

Reviewed by: Atsushi Murai (amurai@spec.co.jp)

show more ...


# af57ed9f 31-Jan-1995 Atsushi Murai <amurai@FreeBSD.org>


Revision tags: vendor/less/v643, vendor/NetBSD/libc-vis/20230813, vendor/openssh/9.4p1, vendor/device-tree/6.4, vendor/device-tree/6.3, vendor/device-tree/6.2, vendor/device-tree/6.1, vendor/krb5/1.21.1, vendor/xz/5.4.4, vendor/openssl/3.0.10, vendor/openssl/1.1.1v, vendor/llvm-project/llvmorg-17-init-19311-gbc849e525f80, vendor/llvm-project/llvmorg-17-init-19304-gd0b54bb50e51, vendor/openssh/9.3p2, vendor/lua/5.4.6, vendor/NetBSD/bmake/20230622, vendor/openpam/XIMENIA, vendor/heimdal/7.8.0-2023-06-10-f62e2f278, vendor/openssl/3.0.9, vendor/llvm-project/llvmorg-16.0.6-0-g7cbf1a259152, vendor/ntp/4.2.8p17, vendor/llvm-project/llvmorg-16.0.5-0-g185b81e034ba, vendor/spleen/2.0.0, vendor/ntp/4.2.8p16, vendor/openssl/1.1.1u, vendor/sqlite3/sqlite-3420000, vendor/bc/6.6.0, vendor/llvm-project/llvmorg-16.0.4-0-gae42196bc493, vendor/NetBSD/bmake/20230510, vendor/xz/5.4.3
# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


12345678910>>...20