| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | change arguments to suser. suser now takes the process, and a flags | 2003-08-15 | 1 | -5/+5 | ||
| | | | | | | | | | | argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||||
| * | m_copyback()'s 4th arg is const void *, nuke (caddr_t) casts. | 2003-08-14 | 1 | -3/+3 | ||
| | | ||||||
| * | do not flip ip_len/ip_off in netinet stack. deraadt ok. | 2003-07-09 | 1 | -23/+15 | ||
| | | | | | (please test, especially PF portion) | |||||
| * | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
| * | kill vaxisms | 2003-03-14 | 1 | -7/+2 | ||
| | | ||||||
| * | KNF | 2003-01-31 | 1 | -2/+2 | ||
| | | ||||||
| * | Missing m_pullup() and mbuf corruption. This potentially caused | 2002-10-10 | 1 | -2/+2 | ||
| | | | | | | | | | | | | panic: m_copym0: m == 0 and not COPYALL and/or panic: m_copydata: null muf on bridges running pf with scrubbing enabled. Bug report, test vector and confirmation by Jon Morby. ok jason@, jasoni@ | |||||
| * | skip routing table lookup if multicasting/broadcasting and the outgoing | 2002-06-24 | 1 | -7/+25 | ||
| | | | | | | | interface is specified by setsockopt. from freebsd4, sync with kame (it makes difference when you run routed with RIPv2 enabled - no need for 224/4 route) | |||||
| * | spaces to tabs, remove trailing whitespace | 2002-06-04 | 1 | -44/+44 | ||
| | | ||||||
| * | respect rmx_mtu (cached PMTUD result) on outbound. deraadt/angelos ok | 2002-05-31 | 1 | -6/+15 | ||
| | | ||||||
| * | Socket-related IPsec sockoptions --- cleanups etc. | 2002-05-31 | 1 | -33/+54 | ||
| | | ||||||
| * | kill register; ok deraadt@ | 2002-05-28 | 1 | -28/+28 | ||
| | | ||||||
| * | Factor out IP fragmentation code into its own function so it can be | 2002-05-28 | 1 | -37/+52 | ||
| | | | | | | reused. - ok jason@, dhartmei@ | |||||
| * | Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things | 2002-03-15 | 1 | -7/+1 | ||
| | | | | | the ANSI way. | |||||
| * | First round of __P removal in sys | 2002-03-14 | 1 | -5/+4 | ||
| | | ||||||
| * | disable pmtu for ipsec when the sysctl says so; bug report cjkim2000@yahoo.com | 2002-01-23 | 1 | -3/+3 | ||
| | | ||||||
| * | add fastroute options similar to what is found in ipf | 2001-11-26 | 1 | -1/+8 | ||
| | | | | | ok dhartmei@, frantzen@ | |||||
| * | KNF | 2001-11-24 | 1 | -10/+10 | ||
| | | ||||||
| * | fix multicast loopback checksums; goeran@cdg.chalmers.se, ok angelos | 2001-11-02 | 1 | -1/+9 | ||
| | | ||||||
| * | Uninitialized variable. | 2001-08-26 | 1 | -2/+2 | ||
| | | ||||||
| * | IPCOMP policy stuff missed the last time round | 2001-08-22 | 1 | -1/+2 | ||
| | | ||||||
| * | Don't check for BYPASS options in PCB on ip_output/ip6_output --- this | 2001-08-21 | 1 | -19/+1 | ||
| | | | | | is already done in ip_spd_lookup() | |||||
| * | split ip normalization out into a separate file, okay dhartmei@ | 2001-07-17 | 1 | -5/+5 | ||
| | | ||||||
| * | IPComp support. angelos@ ok. | 2001-07-05 | 1 | -1/+15 | ||
| | | ||||||
| * | move pf_test check to happen after checksum calculation - without | 2001-06-29 | 1 | -13/+14 | ||
| | | | | | | | this packets originating from this host (such as with an rdr to localhost for transparent proxying) do not get checksummed correctly, because the pf code does not have a correct checksum to fix up (ok kjell@) | |||||
| * | first stab at packet normalization. includes full ip reassembly. | 2001-06-28 | 1 | -4/+8 | ||
| | | | | | okay dhartmei@, dugsong@ | |||||
| * | Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, depending | 2001-06-27 | 1 | -2/+2 | ||
| | | | | | on how macros should be treated. Code by fgsch@, ok by me and itojun@ | |||||
| * | Add length to pkthdr.len directly. | 2001-06-27 | 1 | -2/+2 | ||
| | | ||||||
| * | Don't cache packets that hit policies -- we'll do that at the PCB for | 2001-06-27 | 1 | -49/+15 | ||
| | | | | | local packets. | |||||
| * | no longer pass around **m | 2001-06-26 | 1 | -19/+11 | ||
| | | ||||||
| * | If a PENDING_TDB tag is attached but no TDB is found, drop the packet. | 2001-06-25 | 1 | -1/+3 | ||
| | | ||||||
| * | Check the length of the tag (diagnostic) | 2001-06-25 | 1 | -1/+7 | ||
| | | ||||||
| * | Apply pending TDBs (as indicated by tags). This will be used to handle | 2001-06-25 | 1 | -4/+13 | ||
| | | | | | | the case of both the socket and system-wide IPsec policy specifying TDBs to be applied to the same packet. | |||||
| * | Don't double-clear M_PKTHDR/tags. | 2001-06-25 | 1 | -3/+1 | ||
| | | ||||||
| * | Remove unnecessary temporary variable. | 2001-06-25 | 1 | -3/+2 | ||
| | | ||||||
| * | Always defer output TCP checksumming until ip_output() (or hardware, | 2001-06-25 | 1 | -12/+22 | ||
| | | | | | | if it exists). Cuts down on code a bit, and we don't need to look at the routing entry at TCP. Based on NetBSD. UDP case to follow. | |||||
| * | put pf before ipsec processing. return error code and free mbuf chain | 2001-06-25 | 1 | -2/+24 | ||
| | | ||||||
| * | make it compile w/o pf | 2001-06-24 | 1 | -2/+8 | ||
| | | ||||||
| * | Sync in4_cksum() with NetBSD, and change its use in in_delayed_cksum. | 2001-06-24 | 1 | -2/+2 | ||
| | | ||||||
| * | Import in_delayed_cksum() and convert to using it; also, don't do | 2001-06-24 | 1 | -24/+52 | ||
| | | | | | TCP/UDP HW checksumming if doing IP fragmentation. From NetBSD | |||||
| * | Also reset input cached TDB. | 2001-06-24 | 1 | -1/+15 | ||
| | | ||||||
| * | Reset | 2001-06-24 | 1 | -2/+18 | ||
| | | ||||||
| * | Initial import of pf, an all-new ipf-compatable packet filter. | 2001-06-24 | 1 | -1/+12 | ||
| | | | | | Insane amounts of work done my dhartmei. Great work! | |||||
| * | check if ipsec processing increases packet size above allowable mtu. | 2001-06-24 | 1 | -1/+41 | ||
| | | | | | store correct mtu in routing table. | |||||
| * | Remove unneeded ip_id convertions. | 2001-06-23 | 1 | -3/+2 | ||
| | | | | | | | Instead of using HTONS macro in some places, use htons directly in the struct member and save us a few bytes. Fix comment. | |||||
| * | Only use IP checksumming if the output interface is not in bridge | 2001-06-23 | 1 | -6/+11 | ||
| | | | | | mode. We can't deal with that well. | |||||
| * | m_copyback(), not m_copydata() | 2001-06-23 | 1 | -5/+5 | ||
| | | ||||||
| * | Software-compute TCP/UDP checksum if we are going to do IPsec or if the | 2001-06-23 | 1 | -5/+16 | ||
| | | | | | output interface does not support hardware checksumming. | |||||
| * | Placeholder, reminder to fix TCP/UDP checksumming right before doing IPsec. | 2001-06-23 | 1 | -1/+17 | ||
| | | ||||||
| * | Count input/output hardware-checksummed IP packets. | 2001-06-23 | 1 | -16/+17 | ||
| | | ||||||
