| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
the protocol-specific add routine can examine it if desired.
|
|
|
|
|
|
| |
C++ will match the scopes for C.
Submitted by: Warner Losh
|
|
|
|
|
|
|
|
|
|
| |
Kernel PPP doesn't pay attention to IPTOS_LOWDELAY, but uses
a table of port numbers, which isn't a generic method. The following
patch fixes this (the table is still used, but in addition
PPP queues the packet in fastq if IPTOS_LOWDELAY is set.
Obtained from: Tatu Ylonen <ylo@cs.hut.fi>
Submitted by: Heikki Suonsivu <hsu@clinet.fi>
|
|
|
|
| |
want it to.
|
|
|
|
| |
the address if the device is a SLIP device (i.e. "attached").
|
|
|
|
|
|
| |
assigning an address to an interface automatically marks this
interface IFF_UP. The fix corrects this (and closes PR sys/577).
This is consistent with the way ethernet interfaces are being handled.
|
|
|
|
|
|
|
|
| |
should be completely ignored for point-to-point interfaces).
For point-to-point interfaces, route based on the destination address,
not the local address.
Submitted by: Peter Wemm
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
SLIP device.
2) Don't directly frob the IFF_UP flag - use if_up/if_down as it was
intended.
3) Return ENETDOWN if IFF_UP isn't set when outputing, drop the packet if
if IFF_UP isn't set when inputing.
|
|
|
|
|
| |
Reviewed by: pst & wollman
Submitted by: grossman@cygnus.com
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
for broadcasts if point-to-point links shared the same IP address as
the ethernet. The fix must be enabled with P2P_LOCALADDR_SHARE option
in the kernel config file. This will someday likely be standard, but
there isn't sufficient time before release to determine if there are
any interoperability problems with routed and/or gated.
Reviewed by: Garrett Wollman, and me
Submitted by: Peter Wemm
|
|
|
|
|
|
| |
routing-socket code upgrade from Berkeley..
Submitted by: Garrett Wollman via Peter Wemm via Cornell
|
| |
|
|
|
|
|
|
| |
there may even be LKMs.) Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
|
|
|
|
| |
Obtained from: Keith Bostic by way of Paul Traina
|
| |
|
|
|
|
| |
Fix tabs and spaces in the wrong places.
|
|
|
|
|
|
|
|
|
| |
This submission was done by hand-applying FreeBSD local modifications on
top of the UCB code, rather than trying to patch the UCB code in on top
of the FreeBSD code due to the extensive changes.
Reviewed by: pst (been handling 30k routes for 4+ months)
Obtained from: Sklower/Woody/Honing/Traina (8.4 UCB release)
|
| |
|
|
|
|
| |
Reviewed by: wollman
|
|
|
|
|
|
|
|
|
| |
go away whenever a clone's parent is changed, or a route is added in a
certain set of circumstances.
This also includes code to forbid setting a route's gateway to an
address which can only be reached through that route, thus (hopefully)
eliminating one class of cloning bottomless-recursion bugs.
|
|
|
|
|
| |
with a little help from conf.c. While e're at it, actually declare the
tunnel entry points to have the correct types. This fixes PR #306.
|
|
|
|
|
|
|
|
|
| |
so that these ioctls can be handled by the calling layer(s).
Clean up the recently added code:
- include the appropriate header to declare an implicitly declared function.
- declare timeout functions correctly and remove numerous bogus casts that
hid (but didn't fix) their incorrectness.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In rare cases, when the filter specified accesses an multi-byte value that
is split across mbuf's, the value loaded is incorrect. And if you are very
unlucky (like me) it will index off the end of the mbuf and into an
unallocated page and panic the system.
If you look at the code you will discover the the index *k* is added to
the pointer *cp* and the used AGAIN as a subscript.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is common case when modem hangs with carier on but don't
receive anything from another side.
This thing commonly healed with hangup and redialing.
Enhancements below allows to determine when such action
is needed and inform attach program with SIGURG signal.
There two ioctls set: outfill and keepalive, used from both
sides of connection. Outfill repeatedly sends FRAME_END with
specified timeout (i.e. 40 seconds). It is needed to get input on
other side even if no user activity on slip line currently.
Keepalive checks FRAME_ENDs from other side, and if no one
got in specified timeout (i.e. 60 seconds, max modem retrain time),
send SIGURG to attach program.
I plan to add code to slattach to handle this thing too.
Reviewed by: wollman
|
|
|
|
|
| |
Fix serial errors handling
Add no carrier check
|
| |
|
|
|
|
|
| |
route.c: be a little more careful when running deleting children of dying
. routes
|
|
|
|
| |
sure that rt->rt_parent values can never be re-used harmfully.
|
| |
|
|
|
|
|
| |
superseding the `nextchild' hack. This also provides a way
forward to fix RTM_CHANGE and RTM_ADD as well.
|
|
|
|
|
| |
one pseudo per module (a restriction which will eventually be lifted) and
isthus not in its final form.
|
|
|
|
| |
and Makefiles for the more interesting ones to come on Monday.
|
|
|
|
|
|
| |
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
|
| |
|
|
|
|
| |
Submitted by: Matt Thomas
|
|
|
|
|
| |
set near or above 32k (likely caused by 16bit signed word overflow). 16k
actually (surprizingly) has higher performance than other values I tested.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Submitted by: frank@fwi.uva.nl (Frank van der Linden)
|
|
|
|
|
| |
a point-to-point link, don't attempt a comparison if the pointer to the
destination sockaddr is NULL (i.e. it has not been set/initialized).
|
|
|
|
|
|
| |
shouldn't cause a panic.
Obtained from: Stevens, vol. 2, p. 667
|
| |
|
| |
|
| |
|