summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2018-04-12disentangle a bit more the compat ioctl code.christos
2018-04-12Resolve tangled lock dependencies in route.cozaki-r
2018-04-10Fix previous my mistake and odd unaligned case. Pointed out by maxv@n.o, thanks.knakahara
2018-04-10Fix bridge_rtdeleteozaki-r
2018-04-10apply some INET6 so this compiles in INET6-less kernels again.mrg
2018-04-09Replace KASSERTMSG by a real check. L2 encapsulation protocols (at leastmaxv
2018-04-09Add KASSERT. The input point expects struct ether_header to be there.maxv
2018-04-09Minor stylistic changes, add XXX and fix typo. No functional change.maxv
2018-04-09Improve comment. Pointed out by maxv@n.o, thanks.knakahara
2018-04-09Fix l2tp(4) alignment check. Pointed out and reviewed by k-goda@IIJ.knakahara
2018-04-08Fix bug I introduced in previous commit.maxv
2018-04-07Fix an inverted logic.maxv
2018-04-07Rewrite npf_fetch_tcpopts:maxv
2018-04-06If we're trying to read the mss on a packet that for some reason has twomaxv
2018-04-06Fix unexpected failure when ipsecif(4) over IPv6 is changed port number only.knakahara
2018-04-06fix ipsecif(4) stack overflow.knakahara
2018-04-06fix ipsecif(4) unmatch curlwp_bind.knakahara
2018-04-06fix ipsec(4) encap_lock leak.knakahara
2018-04-05Kill remaining rt->rt_refcnt++ozaki-r
2018-03-30Reset fail counter when link goes down so that next session startsmlelstv
2018-03-30add prototypes, validate ifm_change and ifm_status vectors. NFC.mlelstv
2018-03-23In addition to checking L4 in the cache, here we also need to check themaxv
2018-03-23If we fail to advance inside TCP/UDP/ICMPv4/ICMPv6, stop pretending L4maxv
2018-03-23Don't take RT_LOCK in DDBozaki-r
2018-03-22Ah, fix compilation. I tested my previous change by loading the kernelmaxv
2018-03-22Retrieve the complete IPv4 header right away, and make sure we did retrievemaxv
2018-03-22Change npf_cache_all so that it ensures the potential ICMP Query Id is inmaxv
2018-03-22Fix use-after-free.maxv
2018-03-21Add XXX (we don't handle IPv6 Jumbograms), and whitespace.maxv
2018-03-21Don't read the L4 payload after IPPROTO_AH when handling IPv6 packets.maxv
2018-03-19rtsock: log dropped messages that we cannot report to userlandroy
2018-03-19socket: report receive buffer overflowsroy
2018-03-17Set the scopes before calling icmp6_error(). This fixes a bug similar tomaxv
2018-03-17Fix the IPv6 payload computation in npf_tcpsaw. It was incorrect, and thismaxv
2018-03-16Add packet filtering to tun(4) interfaces.tih
2018-03-16Fix the handling of the state returned from pfil_run_hooks().tih
2018-03-14Fix the "return-rst" rule on IPv6 packets.maxv
2018-03-13Mmh, put back the RFC6946 check (about dummy fragments), otherwise NPFmaxv
2018-03-13Fix two consecutive mistakes.maxv
2018-03-13Fix IPv6 ipsecif(4) ATF regression, sorry.knakahara
2018-03-12Remove dead branches, 'npc' can't be NULL (and it is dereferencedmaxv
2018-03-09Functionalize duplicated code. No functional changes.knakahara
2018-03-09Fix missing sadb_x_ipsecrequest informations for PF_KEY message.knakahara
2018-03-09NAT-T src and dst port in ipsec_variant should be network byte order.knakahara
2018-03-08Switch nptr to uint8_t, and use nbuf_ensure_contig. Makes us use fewermaxv
2018-03-08Declare NPC_FMTERR, and use it to kick malformed packets. Several sanitymaxv
2018-03-06Use pool(9) for llentry allocationsozaki-r
2018-03-06Fix memory leaks on arp -d and ndp -d for static entriesozaki-r
2018-03-06Fix reference leaks of llentryozaki-r
2018-02-28Remove an obsolete assertion too (fix build)ozaki-r