| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
reference to the now-dead-for-real-this-time ia_next field.
Reminded by: Russell Vincent
|
|
|
|
|
| |
it makes it in this time, and remember not to commit changes next time
late on a Friday evening!
|
|
|
|
| |
fixes the problem reported by max.
|
| |
|
|
|
|
|
|
| |
to TAILQs. Fix places which referenced these for no good reason
that I can see (the references remain, but were fixed to compile
again; they are still questionable).
|
| |
|
|
|
|
|
|
|
| |
<netinet/if_ether.h>, rather than in <net/if.h>, most of whose callers
have no need of it.
Pointed-out-by: bde
|
|
|
|
| |
out by Nathaniel D. Daw (daw@panix.com), but fixed differently by me.
|
|
|
|
|
|
|
|
| |
The rest of the code was treating it as a header mbuf, but it was
allocated as a normal mbuf.
This fixes the panic: ip_output no HDR when you have a multicast
tunnel configured.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
duplicate ip address 204.162.228.7! sent from ethernet address: 08:00:20:09:7b:1d
changed to
arp: 08:00:20:09:7b:1d is using my IP address 204.162.228.7!
and
arp info overwritten for 204.162.228.2 by 08:00:20:09:7b:1d
changed to
arp: 204.162.228.2 moved from 08:00:20:07:b6:a0 to 08:00:20:09:7b:1d
I think the new wordings are more clear and could save some support
questions.
|
|
|
|
|
|
| |
lots of warnings.
Should be in 2.2. Previous version shouldn't have been in 2.2.
|
|
|
|
|
|
|
|
| |
using a sockaddr_dl.
Fix the other packet-information socket options (SO_TIMESTAMP, IP_RECVDSTADDR)
to work for multicast UDP and raw sockets as well. (They previously only
worked for unicast UDP).
|
|
|
|
|
|
| |
understand the socket state flag.
2.2 candidate.
|
|
|
|
|
|
|
| |
"high" and "secure"), we can't use a single variable to track the most
recently used port in all three ranges.. :-] This caused the next
transient port to be allocated from the start of the range more often than
it should.
|
|
|
|
|
|
|
|
|
| |
attempts to do so.
Don't allow users to source packets bigger than IP_MAXPACKET.
Make UDP length and ipovly's protocol length unsigned short.
Reviewed by: wollman
Submitted by: (partly by) kml@nas.nasa.gov (Kevin Lahey)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
isn't a prerequisite.
Fixed style of ifdefs.
|
|
|
|
|
|
|
| |
<net/if_arp.h> and fixed the things that depended on it. The nested
include just allowed unportable programs to compile and made my
simple #include checking program report that networking code doesn't
need to include <sys/socket.h>.
|
|
|
|
| |
Suggested by: Hal Snyder <hsndyer@thoughtport.com>
|
|
|
|
|
|
|
|
|
|
| |
(yes I had tested the hell out of this).
I've also temporarily disabled the code so that it behaves as it previously
did (tail drop's the syns) pending discussion with fenner about some socket
state flags that I don't fully understand.
Submitted by: fenner
|
|
|
|
|
|
|
| |
ip_input.c:
- delete some dusty code
- _IP_VHL
- use fast inline header checksum when possible
|
|
|
|
|
|
|
|
|
|
| |
callers of it to take advantage of this. This reduces new connection
request overhead in the face of a large number of PCBs in the system.
Thanks to David Filo <filo@yahoo.com> for suggesting this and providing
a sample implementation (which wasn't used, but showed that it could be
done).
Reviewed by: wollman
|
|
|
|
|
|
|
| |
denial of service attacks.
Reviewed by: bde,wollman,olah
Inspired by: vjs@sgi.com
|
|
|
|
|
|
| |
this evening.
I think I'm going insane.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drop the oldest entry in the queue.
There was a fair bit of discussion as to whether or not the
proper action is to drop a random entry in the queue. It's
my conclusion that a random drop is better than a head drop,
however profiling this section of code (done by John Capo)
shows that a head-drop results in a significant performance
increase.
There are scenarios where a random drop is more appropriate.
If I find one in reality, I'll add the random drop code under
a conditional.
Obtained from: discussions and code done by Vernon Schryver (vjs@sgi.com).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
time, in seconds, that state for non-established TCP sessions stays about)
a sysctl modifyable variable.
[part 1 of two commits, I just realized I can't play with the indices as
I was typing this commit message.]
|
|
|
|
|
|
|
|
| |
to "keepidle". this should not occur unless the connection has
been established via the 3-way handshake which requires an ACK
Submitted by: jmb
Obtained from: problem discussed in Stevens vol. 3
|
|
|
|
|
| |
is almost never useful. (This is only a quick hack; someone should
go back and delete the entire subnetsarelocal==1 code path.)
|
|
|
|
|
|
| |
handling IP fragments.
Submitted by: Darren Reed <avalon@coombs.anu.edu.au>
|
|
|
|
| |
Submitted by: phk
|
| |
|
|
|
|
| |
This can be used by netstat to behave more intelligently.
|
|
|
|
|
| |
Move the sockopt definitions for the firewall code from
ip_fw.h to in.h where it belongs.
|
|
|
|
| |
Obtained from: LBL's tcpdump distribution
|
|
|
|
|
|
|
| |
now completely consistent across all IP protocols and should be quite a
bit faster.
Discussed with: fenner & alex
|
|
|
|
|
|
|
|
| |
IPPORT_RESERVED that is used for selection when bind() is told to allocate
a reserved port.
Also, implement simple sanity checking for all the addresses set, to make
it a little harder for a user/sysadmin to shoot themselves in the feet.
|
|
|
|
|
| |
I'm pretty convinced after looking at this that the majority of our
drivers are confused about the in/exclusion of ETHER_CRC_LEN :-(
|
|
|
|
|
|
|
| |
Submitted by: fenner (with modifications by me)
Use a common prefix string for all warning messages generated during
ip_fw_ctl.
|
| |
|
| |
|
|
|
|
| |
of "Accept"
|
|
|
|
| |
TCPDEBUG is defined, and fix typo in TCPDEBUG2() macro.
|
|
|
|
|
|
| |
pulled up already. This bug can cause the first packet from a source
to a group to be corrupted when it is delivered to a process listening
on the mrouter.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pr_usrreq mechanism which was poorly designed and error-prone. This
commit renames pr_usrreq to pr_ousrreq so that old code which depended on it
would break in an obvious manner. This commit also implements the new
interface for TCP, although the old function is left as an example
(#ifdef'ed out). This commit ALSO fixes a longstanding bug in the
TCP timer processing (introduced by davidg on 1995/04/12) which caused
timer processing on a TCB to always stop after a single timer had
expired (because it misinterpreted the return value from tcp_usrreq()
to indicate that the TCB had been deleted). Finally, some code
related to polling has been deleted from if.c because it is not
relevant t -current and doesn't look at all like my current code.
|