Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-05-27 | Remove unnecessary comment. | Angelos D. Keromytis | |
2001-05-27 | Use the new IPsec tags. | Angelos D. Keromytis | |
2001-05-20 | Use packet tags instead of tdbi. | Angelos D. Keromytis | |
2001-05-11 | Check m_pullup() and m_pullup2() return for NULL, not 0; itojun@ ok | Aaron Campbell | |
2001-03-28 | Allow tdbi's to appear in mbufs throughout the stack; this allows | Angelos D. Keromytis | |
security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs. | |||
2001-03-06 | Move the test for bogus packet length in udp_output() closer to the top of | Aaron Campbell | |
the function. Previously it was possible for us to get stuck in splsoftnet() under certain situations. Bug reported by hunter@dg.net.ua, fix by me ok'd by deraadt@, provos@, angelos@. | |||
2001-02-16 | remove IPv6 case from udp_output. now we have separate udp6_output. | Jun-ichiro itojun Hagino | |
2001-02-16 | pull in new pcb notification code from kame. better handling of scope address. | Jun-ichiro itojun Hagino | |
2000-12-11 | nuke #ifdef TCP6 (no longer supported). | Jun-ichiro itojun Hagino | |
validate ICMPv6 too big messages (pmtud) based on pcb. we accept certain amount of non-validated ones, as IPv6 mandates ICMPv6 (so even for traffic from unconnected pcb, we need pmtud). sync with kame | |||
2000-10-13 | validate mbuf chain length on *_ctlinput. remote node may be able to | Jun-ichiro itojun Hagino | |
transmit a truncated icmp6 packet and panic the system. sync with kame. | |||
2000-10-11 | nuke inp_flags bits for controlling IPv4 mapped address. | Jun-ichiro itojun Hagino | |
we don't support IPv4 mapped address, and there are inconsistent bit manipulation code so it's safer to nuke them. | |||
2000-09-22 | Move the PI_MAGIC define outside the INET6 ifdef block (doh!) | Angelos D. Keromytis | |
2000-09-19 | Lots and lots of changes. | Angelos D. Keromytis | |
2000-07-27 | raw6/udp6 sockets are okay with :: in src. | Jun-ichiro itojun Hagino | |
2000-07-27 | be proactive about unspecified IPv6 source address. pcb layer uses | Jun-ichiro itojun Hagino | |
unspecified address (::) to mean "unbounded" or "unconnected", and can be confused by packets from outside. use of :: as source is not documented well in IPv6 specification. not sure if it presents a real threat. the worst case scenario is a DoS against TCP listening socket: - outsider transmit TCP SYN with :: as IPv6 source - receiving side creates TCP control block with: local address = my addres remote address = :: (meaning "unconnected") state = SYN_RCVD note that SYN ACK will not be sent due to ip6_output() filter. this stays until it timeouts. - the TCP control block prevents listening TCP control block from being contacted (DoS). | |||
2000-06-18 | sync with KAME udp6_output(). udp output logic is very different between | Jun-ichiro itojun Hagino | |
IPv4/v6 so the separation should make more sense. TODO: remove IPv6 case from udp_output() TODO: remove/comment out/#if 0 IPv4 mapped address cases | |||
2000-06-13 | comment out flowinfo manipulation on inbound. the spec is not very clear. | Jun-ichiro itojun Hagino | |
2000-06-13 | avoid mbuf leak on non-matching ifp/sockaddr | Jun-ichiro itojun Hagino | |
2000-06-13 | on UDPv6 sendto, correctly set oifp. | Jun-ichiro itojun Hagino | |
2000-06-13 | allow link-local IPv6 addres in in6_pcbbind. | Jun-ichiro itojun Hagino | |
2000-04-09 | Pass ip_off and ip_len in the correct byte order to icmp_error(); this | Angelos D. Keromytis | |
should fix the crash problems with isic, reported last week. | |||
2000-02-18 | fix alignment problem in ancillary data (alpha). | Jun-ichiro itojun Hagino | |
only ipv6 tools (which touches ancillary data) are affected. From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se> | |||
2000-02-07 | fix include file path related to ip6. | Jun-ichiro itojun Hagino | |
2000-01-07 | Early check for destination port 0 (itojun@) | Angelos D. Keromytis | |
2000-01-04 | keep paren match. | Jun-ichiro itojun Hagino | |
2000-01-04 | remove support for v4 mapped address completely. | Jun-ichiro itojun Hagino | |
1999-12-31 | be sure to cleanup "opts" pointer on multicast udp packet reception. | Jun-ichiro itojun Hagino | |
1999-12-21 | be paranoid about malicious use of v4 mapped addr on v6 packet. | Jun-ichiro itojun Hagino | |
malicious party may try to use v4 mapped addr as source/dest to confuse tcp/udp layer, or to bypass security checks, for example, naive stack can mistakingly think a packet with src = ::ffff:127.0.0.1 is from local node. (sync with kame) | |||
1999-12-19 | reject AF mismatch for inbonud multicast traffic. | Jun-ichiro itojun Hagino | |
1999-12-17 | do not accept IPv4 traffic by AF_INET6 socket. IPv4 mapped address is | Jun-ichiro itojun Hagino | |
bad for access controls. (quickhack fix, need sysctl/setsockopt knob to enable this functionality) | |||
1999-12-12 | fix IPv6 advanced API (RFC2292) for udp socket. | Jun-ichiro itojun Hagino | |
TODO: ditto for raw and tcp socket | |||
1999-12-08 | bring in KAME IPv6 code, dated 19991208. | Jun-ichiro itojun Hagino | |
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon). | |||
1999-11-04 | Add comment about gettdb() and spl level. | Hakan Olsson | |
1999-09-23 | fix same-interface-out-as-in and packet gets corrupted bug noted by | Theo de Raadt | |
james@oaktree.co.uk by re-working icmp embedded-packet code so that ip_forward() m_copy()-aliased packet can be forwarded to ip_output and icmp_error() safely, because no packet tweaking is needed before calling icmp_error() | |||
1999-06-06 | avoid a future problem inside an #ifdef notyet | Theo de Raadt | |
1999-03-27 | add SADB_X_BINDSA to pfkey allowing incoming SAs to refer to an outgoing | Niels Provos | |
SA to be used, use this SA in ip_output if available. allow mobile road warriors for bind SAs with wildcard dst and src addresses. check IPSEC AUTH and ESP level when receiving packets, drop them if protection is insufficient. add stats to show dropped packets because of insufficient IPSEC protection. -- phew. this was all done in canada. dugsong and linh provided the ride and company. | |||
1999-03-24 | Reworked udp_output() to minimize the number of if() statements needed to get | cmetz | |
packets out. Also had the nice side effect of fewer blocks now move around by ifdefs, which makes it more readable. | |||
1999-02-17 | inet6 indent | Theo de Raadt | |
1999-02-04 | report on no udp checksum | Theo de Raadt | |
1999-01-15 | IN_MULTICAST takes network order addresses | Niklas Hallqvist | |
1999-01-11 | Use bzero instead of memset in the kernel | Niklas Hallqvist | |
1999-01-11 | netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetz | Theo de Raadt | |
1999-01-07 | in_pcblookup() now takes ptr to both ip address arguments | Theo de Raadt | |
1998-12-31 | mangle uh_sum as before, but recover it for icmp errors | Theo de Raadt | |
1998-12-28 | ensure the ip packet embedded inside an icmp packet has correct ip_len, | Theo de Raadt | |
ip_off, ip_id. for udp, also correct uh_sum. ip_sum is still set to 0; (all this debugged using nmap) | |||
1998-05-18 | first step to the setsockopt/getsockopt interface as described in | Niels Provos | |
draft-mcdonald-simple-ipsec-api, kernel notifies (EMT_REQUESTSA) signal userland key management applications when security services are requested. this is only for outgoing connections at the moment, incoming packets are not yet checked against the selected socket policy. | |||
1998-01-24 | sysctl for def sizes for tcp/udp send/recv queues | Michael Shalayeff | |
1997-09-07 | for broadcast/multicast packets, correct m_pkthdr.len on the way up to the ↵ | Theo de Raadt | |
socket; drochner@zelz26.zel.kfa-juelich.de | |||
1997-08-09 | The list of tcp/udp ports not to allocate dynamically is now | Todd C. Miller | |
a bitmask configurable via sysctl([38]). The default values have not changed. If one wants to change the list it should be done early on in /etc/rc. | |||
1997-07-24 | cmd is a u_long | Theo de Raadt | |