| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
left in headers and not staticized.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- remove a redundant condition;
- complete all validity checks on segment before calling
soisconnected(so).
Reviewed by: Richard Stevens, davidg, wollman
|
|
|
|
|
|
|
| |
tcp_output() checks for the condition snd_nxt == snd_una.
Reviewed by: davidg, wollman, olah
Suggested by: Richard Stevens
|
|
|
|
|
|
|
|
|
|
| |
have to decide whether to send a CC or CCnew option in our SYN segment
depending on the contents of our TAO cache. This decision has to be
made once when the connection starts. The earlier code delayed this
decision until the segment was assembled in tcp_output() and
retransmitted SYN segments could have different CC options.
Reviewed by: Richard Stevens, davidg, wollman
|
|
|
|
|
|
|
|
| |
net.inet.ip.intr-queue-maxlen (=== ipintrq.ifq_maxlen)
and net.inet.ip.intr-queue-drops (=== ipintrq.ifq_drops)
There should probably be a standard way of getting the same information
going the other way.
|
|
|
|
|
|
|
|
|
| |
in the FIN_WAIT_2 state in order to prevent the conn. hanging there
forever.
Reviewed by: davidg, olah
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
Obtained from: bugs@netbsd.org
|
|
|
|
|
| |
This time mostly making a lot of things static and some unused
variables here and there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Mike Mitchell, supervisor@alb.asctmd.com
This is a bulk mport of Mike's IPX/SPX protocol stacks and all the
related gunf that goes with it..
it is not guaranteed to work 100% correctly at this time
but as we had several people trying to work on it
I figured it would be better to get it checked in so
they could all get teh same thing to work on..
Mikes been using it for a year or so
but on 2.0
more changes and stuff will be merged in from other developers now that this is in.
Mike Mitchell, Network Engineer
AMTECH Systems Corporation, Technology and Manufacturing
8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000
supervisor@alb.asctmd.com
|
|
|
|
|
|
| |
Add reading options from file, now ipfw <filename> will
read commands string after string from file , form of strings
same as command line interface.
|
| |
|
|
|
|
| |
out by David Maltz <dmaltz@orval.mach.cs.cmu.edu>, but this fix is by me.
|
|
|
|
|
|
|
| |
a few new wrinkles for MTU discovery which tcp_output() had better
be prepared to handle. ip_output() is also modified to do something
helpful in this case, since it has already calculated the information
we need.
|
|
|
|
|
|
| |
capacity of the link, even if the route's MTU indicates that we cannot
send that much in their direction. (This might actually make it possible
to test Path MTU discovery in a useful variety of cases.)
|
|
|
|
|
|
| |
turned out not to be necessary; simply watching for MTU decreases (which
we already did) automagically eliminates all the cases we were trying to
protect against.
|
|
|
|
|
|
|
|
| |
middle of a fully-open window. Also, keep track of how many retransmits
we do as a result of MTU discovery. This may actually do more work than
necessary, but it's an unusual condition...
Suggested by: Janey Hoe <janey@lcs.mit.edu>
|
|
|
|
| |
/var quite as fast.
|
|
|
|
|
|
|
| |
we're at it, eliminate obsolete exposure of `struct llinfo_arp' to
the world. (This dates back to when ARP entries were not stored in
the routing table, and there was no other way for the `arp' program
to read the whole table than to grovel around in /dev/kmem.)
|
|
|
|
|
|
|
|
| |
to be no ill effects, and so far as Iknow none of the variables in
question depend on 16-bit wraparound behavior. (The sizes are in
many cases relics from when a PCB had to fit inside a 128-byte mbuf. PCBs
are no longer stored in that way, and the old structure would not have
fit, either.)
|
|
|
|
| |
to make ISS-guessing spoofing attacks harder.
|
|
|
|
|
|
|
|
| |
matching IP options..Check and test this - i made only a couple
of rough tests and this could be buggy.. Ipaccounting can't use
IP Options (and i don't see any need to cound packets with specific
options either..)
More to come...
|
|
|
|
| |
Obtained from: 4.4BSD-Lite-2
|
|
|
|
| |
if we are not generating checksums. (Save a test in the input path.)
|
| |
|
|
|
|
|
|
|
|
| |
time ago. I left in Garrett's one, because his was in the 4.4-Lite-2
location, making any diffs just that little bit smaller.
I presume this choice means that netstat needs to be recompiled before
"netstat -s" will give a meaningful answer on tcp stats.
|
|
|
|
|
|
| |
to fail.
Obtained from: 4.4BSD-Lite-2
|
|
|
|
| |
Obtained from: 4.4BSD-Lite-2
|
|
|
|
| |
Obtained from: 4.4BSD-Lite-2
|
|
|
|
|
|
| |
than EPERM on illegal attempt to bind a reserved port.
Obtained from: 4.4BSD-Lite-2
|
|
|
|
|
|
|
| |
to in_control() is sometimes a pointer, and sometimes an integer, so use
u_long rather than int.
Obtained from: 4.4BSD-Lite-2
|
|
|
|
|
|
| |
moving a declaration around.
Obtained from: 4.4BSD-Lite-2
|
|
|
|
| |
we don't currently set, but might in the future.
|
|
|
|
|
|
|
| |
and gated on `options MTUDISC' in the source. It is also practically
untested becausse (sniff!) I don't have easy access to a network with
an MTU of less than an Ethernet. If you have a small MTU network,
please try it and tell me if it works!
|
|
|
|
| |
for TCP has yet to be written.
|
|
|
|
|
| |
Reviewed by: Andras Olah <olah@freebsd.org>
Obtained from: Lite-2
|
|
|
|
|
|
|
|
|
| |
to be sent, just clean up and return ENOBUFS rather than silently
proceeding without sending any of the data. This makes it consistent
with the `#ifdef notyet' case immediately above.
Reviewed by: Andras Olah <olah@freebsd.org>
Obtained from: Lite-2
|
|
|
|
|
|
|
| |
of ntohl for printing IP addresses, by instead substituting inet_ntoa()
to produce human-readable output.
Obtained from: 4.4-Lite-2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Garrett,
Here are some patches for the rate limiting code. It should be faster,
and in particular it doesn't leak malloc'd memory any more when rate_limit'ing
a phyint.
It now uses an mbuf chain at each vif, instead of the static queue array.
This means that the MAXQSIZE is now variable per vif (although there is no
interface to change it other than a debugger); this is an area for more
experimentation.
Bill
Submitted by: Bill Fenner <fenner@parc.xerox.com>
|
|
|
|
|
|
| |
malformed UDP packets to panic the kernel.
Reviewed by: davidg, wollman
Obtained from: dab@berserkly.cray.com (David A. Borman) via end2end list
|
|
|
|
|
|
|
| |
block `syn' packets that have `ack' set.
Reviewed by:
Submitted by:
Obtained from:
|
|
|
|
|
|
| |
Correct a typo in a comment (SEND_SYN -> NEEDSYN).
Reviewed by: David Greenman
|
|
|
|
|
| |
Reviewed by: Andras Olah
Obtained from: 4.4BSD-lite2 via W. Richard Stevens
|
|
|
|
|
|
| |
case, multicast options are not passed to ip_mforward().) The previous
version had a wrong test, thus causing RSVP mrouters to forward RSVP messages
in violation of the spec.
|
|
|
|
| |
the receipt interface in the correct way.
|
|
|
|
|
| |
is PRU_DETACHed. This solves the problem that RSVP would not come up inm
raw mode if previously killed.
|
| |
|