dg
2fed68467b
Move exact match pcb's to the head of the list to improve lookup
...
performance.
1995-03-02 19:29:42 +00:00
ugen
7ef3525e29
Allow "via" to be specified ever as IP adress or
...
as interface name/unit...
1995-02-24 14:33:54 +00:00
bde
a1c965a8b5
Fix benign type mismatch.
1995-02-22 07:23:26 +00:00
dg
2e01b70346
Added missing newlines to calls to log().
1995-02-20 15:48:46 +00:00
wollman
cb466c876c
Include missing <sys/kernel.h> for `hz'.
...
Submitted by: David Greenman, Rod Grimes, Christoph Kukulies
1995-02-17 00:29:42 +00:00
wollman
fa9ba11c33
Don't need to retransmit FIN bit in CLOSING state.
...
Obtained from: Stevens, vol. 2, exercise 29.5 (solution p. 1090)
1995-02-16 01:53:31 +00:00
wollman
b834398cc6
spl back down in unusual out-of-memory condition in udp_output().
...
Obtained from: Stevens, vol. 2, exercise 23.4 (solution p. 1083)
1995-02-16 01:47:36 +00:00
wollman
a5efc62126
Correctly initialize so_linger in ticks (not seconds).
...
Obtained from: Stevens, vol. 2, p. 1010
1995-02-16 01:42:45 +00:00
wollman
fb4135032a
Avoid deadlock situation described by Stevens using his suggested replacement
...
code.
Obtained from: Stevens, vol. 2, pp. 959-960
1995-02-16 01:39:19 +00:00
wollman
021dfc17d7
Don't add back in the IP header length to ip_len; icmp_error will do it
...
for us.
Obtained from: Stevens, vol. 2, p. 774
1995-02-16 01:25:06 +00:00
wollman
0f1c96e359
Transaction TCP support now standard. Hack away!
1995-02-16 00:55:44 +00:00
wollman
d9804d3f5c
Add lots of useful MIB variables and a few not-so-useful ones for
...
completeness.
1995-02-16 00:27:47 +00:00
wollman
5ec42e3963
After dynamically reducing rtq_reallyold, have in_rtqkill() reduce the
...
expiration timer of anything which would expire later than that. (There
should be a way to call this from ip_sysctl() as well, but there currently
isn't.)
1995-02-14 23:11:26 +00:00
wollman
e3defa4503
Attempt to make the host route cache a bit smarter under conditions of
...
high load:
1) If there ever get to be more than net.inet.ip.rtmaxcache entries
in the cache, in_rtqtimo() will reduce net.inet.ip.rtexpire by
1/3 and do another round, unles net.inet.ip.rtexpire is less than
net.inet.ip.rtminexpire, and never more than once in ten minutes
(rtq_timeout).
2) If net.inet.ip.rtexpire is set to zero, don't bother to cache
anything.
1995-02-14 23:04:52 +00:00
phk
832a9eda23
YFfix.
1995-02-14 06:28:25 +00:00
phk
448a078f6e
YPfix
1995-02-14 06:25:17 +00:00
wollman
58747a5507
Get rid of some unneeded #ifdef TTCP lines. Also, get rid of some
...
bogus commons declared in header files.
1995-02-14 02:35:19 +00:00
wollman
72af2aa44a
Merge Transaction TCP, courtesy of Andras Olah <olah@cs.utwente.nl> and
...
Bob Braden <braden@isi.edu>.
NB: This has not had David's TCP ACK hack re-integrated. It is not clear
what the correct solution to this problem is, if any. If a better solution
doesn't pop up in response to this message, I'll put David's code back in
(or he's welcome to do so himself).
1995-02-09 23:13:27 +00:00
dg
79e7847479
Fixed another TTCP ifdef problem...there isn't any tcp_sysctl field in
...
!TTCP.
1995-02-09 00:56:09 +00:00
dg
6ca0e1e381
Fix/#ifdef prototype for tcp_mss...apparantly overlooked by Garrett.
1995-02-09 00:49:20 +00:00
wollman
97873f1113
T/TCP changes to generic IP code. This is all ifdefed TTCP so should
...
have no effect on most users for now. (Eventually, once this code is
fully tested, the ifdefs will go away.)
1995-02-08 20:22:09 +00:00
wollman
25cedbd345
Merge in T/TCP TCP header file changes.
1995-02-08 20:18:48 +00:00
gpalmer
8e0d212fc2
Remove a possible loophole - previously the code wouldn't pass packets destined
...
to the loopback address to the packet filter.
Reviewed by: "Ugen J.S.Antsilevich" <ugen@netvision.net.il>
1995-02-07 20:30:42 +00:00
wollman
d963f7f61f
Make sure to disable RSVP intercept when the socket is closed.
1995-02-07 02:53:14 +00:00
wollman
043393d8b8
Correct long-standing error in the RSVP hooks (would initialize but never
...
return success).
1995-01-26 18:59:02 +00:00
ugen
ba39702411
ip_fwdef.c was missing some assignments , and this
...
caused that bug by which firewall code was not working
if configured into kernel and worked only as lkm.
Now this must be fixed...Sorry guys..
1995-01-26 10:26:15 +00:00
dg
66f518c22e
Kill previous commit as it isn't necessary.
1995-01-26 03:56:20 +00:00
dg
14991e48cf
Extended the previous change to cover the non-options case, too.
1995-01-24 08:03:22 +00:00
dg
b9115b6cb8
Applied fix from Andreas Schulz with a different comment by me. Fixes a
...
bug where TCP connections are closed prematurely.
Submitted by: Andreas Schulz
1995-01-23 17:58:27 +00:00
wollman
07d192a9fb
Change caching strategy somewhat:
...
1) Don't clone routes to multicast destinations; there is nothing useful
to be gained in this case.
2) Reduce default expiration timer to one hour. Busy sites will still
likely want to reduce this, but for ordinary users this is a reasonable
value to use.
1995-01-23 02:02:50 +00:00
ugen
dd3cca2bda
Actual firewall change.
...
1) Firewall is not subdivided on forwarding / blocking chains
anymore.Actually only one chain left-it was the blocking one.
2) LKM support.ip_fwdef.c is function pointers definition and
goes into kernel along with all INET stuff.
1995-01-12 13:06:32 +00:00
dg
596e11c208
Fixed mbuf lossage when level != IPPROTO_IP. Problem reported by Robert
...
Dobbs, hint from Charles Hannum, fix by me.
1995-01-12 10:53:25 +00:00
wollman
cb6f19622f
Make arp_rtrequest() static since nobody needs to referene it any more.
1994-12-22 22:00:30 +00:00
wollman
e6ec63204f
Move ARP interface initialization into if_ether.c:arp_ifinit().
1994-12-22 21:56:22 +00:00
wollman
408291338b
Avoid a serious race by blocking netisrs while walking the route tree.
...
(IWBRNI we could just block IP netisrs...)
1994-12-21 17:25:52 +00:00
wollman
fc1509a009
Correct sysctl info so that net.inet.ip.rtexpire is actually accessible.
1994-12-21 17:23:59 +00:00
wollman
d7b829d989
Fix PR 59: don't allow TCP connections withmulticast addresses at either
...
end.
1994-12-15 20:39:34 +00:00
wollman
17700af9e7
Make rtq_reallyold user-configurable via sysctl.
1994-12-14 19:06:37 +00:00
wollman
64047b0829
Call rtalloc_ign() so that protocol cloning will not occur at the IP layer.
1994-12-13 23:08:12 +00:00
wollman
10cd28c622
Update calls to rtalloc1(). Also merge rt_prflags with rt_flags.
1994-12-13 22:32:45 +00:00
ugen
a10269c105
Add clear one accounting entry control.
...
Structure fields changed to seem more standart.
1994-12-13 15:57:34 +00:00
ugen
cc4646f030
Late patch for delete control..
1994-12-12 18:10:41 +00:00
ugen
dd9e9b49e3
Add match by interface from which packet arrived (via)
...
Handle right fragmented packets. Remove checking option
from kernel..
1994-12-12 17:20:55 +00:00
wollman
139bfd799e
Advanced route cache management is now an official part of IP support.
1994-12-11 21:36:10 +00:00
wollman
7677602dc2
Delete old, confusing comment.
1994-12-02 23:10:32 +00:00
wollman
f41e70adc3
Add a check to make sure that we don't fiddle with the NFS routing tables
...
as well (bleah!). Also, increase the interval to the real-life value and
eliminate debugging printfs. This will be standard once tested by others.
1994-12-02 03:32:24 +00:00
wollman
098465c845
Add latest version of ``advanced route metric management'' :-)
...
As before, this is currently conditionalized on options IN_RMX until
I'm sure it's working.
1994-12-01 23:19:48 +00:00
ugen
f625842f61
Added: ICMP reply,TCP SYN check,logging..
1994-11-28 12:35:14 +00:00
jkh
e8b4c66232
Ugen J.S.Antsilevich's latest, happiest, IP firewall code.
...
Poul: Please take this into BETA. It's non-intrusive, and a rather
substantial improvement over what was there before.
1994-11-16 10:17:11 +00:00
jkh
f8f6e0f3d0
Ugen makes it in with 10 seconds to spare with a one-char diff. Some
...
people are born lucky..
Submitted by: ugen
1994-11-08 14:25:17 +00:00