summaryrefslogtreecommitdiff
path: root/sys/net/pipex.c
AgeCommit message (Expand)Author
2022-08-30Syzkaller found a missing input validation in pipex mppe keylenbits.Alexander Bluhm
2022-07-25Remove "Static" keyword from pipex(4) layer.Vitaliy Makkoveev
2022-07-15Introduce fine grained pipex(4) locking. Use per-session `pxs_mtx'Vitaliy Makkoveev
2022-07-12Remove PIPEXCSESSION pipex(4) ioctl(2) command from kernel and man page.Vitaliy Makkoveev
2022-07-10Add missing `pipex_list_mtx' mutex(9) around all sessions loop withinVitaliy Makkoveev
2022-07-02Remove unused device poll functions.Visa Hankala
2022-06-28Introduce `pipexoutq' mbuf(9) queue, and put outgoing pipex(4) relatedVitaliy Makkoveev
2022-06-26Mark `pipex_enable' as atomic. We never check `pipex_enable' withinVitaliy Makkoveev
2022-06-26Don't reset `idle_time' timeout on closed pipex(4) sessions in packetVitaliy Makkoveev
2022-06-26Fix spacing.Vitaliy Makkoveev
2022-06-26The "ifq_set_maxlen(..., 1);" hack we use to enforce pipex(4) relatedVitaliy Makkoveev
2022-06-26'pipex_mppe' and 'pipex_session' structures have uint16_t bit fieldsVitaliy Makkoveev
2022-01-02spellingJonathan Gray
2021-07-27Introduce mutex(9) to protect pipex(4) session content.mvs
2021-07-20Turn pipex(4) session statistics to per-CPU counters. This makes pipex(4)mvs
2021-05-15Fix IPsec NAT-T to work with pipex(4). Introduce a new packet tagYASUOKA Masahiko
2021-03-10spellingJonathan Gray
2021-02-25we don't have to cast to caddr_t when calling m_copydata anymore.David Gwynne
2021-01-19pipex(4): convert ifunit() to if_unit(9)mvs
2021-01-09Enforce range with sysctl_int_bounded in pipex_sysctlgnezdo
2021-01-02Remove PIPEX{S,G}MODE ioctl(2) commands. This time they are pretty dummymvs
2020-08-30Don't include "net/netisr.h" header. It's not needed here.mvs
2020-08-30pppac(4) uses per cpu counters for collect `ifnet' statistics, but inmvs
2020-08-27Make pipex(4) more common for pppac(4) and pppx(4). ReplaceYASUOKA Masahiko
2020-08-12Remove interface statistics update for outgoing packets. We shouldn'tmvs
2020-08-04We have `pipexinq' and `pipexoutq' mbuf(9) queues to store pipex(4)mvs
2020-07-29Interface index is unsigned integer. Fix the places where it referencedmvs
2020-07-28Document locks which protect pipex(4) global data structures.mvs
2020-07-17Use interface index instead of pointer to corresponding interfacemvs
2020-07-06Protect the whole pipex(4) layer by NET_LOCK(). pipex(4) wasmvs
2020-07-06pipex_rele_session() frees memory pointed by `old_session_keys'. Use it inmvs
2020-06-30Remove unused declaration.mvs
2020-06-22Prevent potencial `state_list' corruption while pppac(4) destroys pipex(4)mvs
2020-06-18Combine and replace duplicated code in pipex(4) and pppx(4) by new functionsmvs
2020-05-31use ip{,6}_send instead of ip{,6}_output for l2tp and pptp.David Gwynne
2020-04-07Deny to create a pipex session if the session id already exists.Claudio Jeker
2020-04-06use LIST_FOERACH_SAFE() instead of manual rolling the loop.Claudio Jeker
2020-04-06Pass struct pipex_iface_context pointer down to pipex ioctl functions.Claudio Jeker
2020-04-04Prevent the destruction of a session owned by another interface.Martin Pieuchot
2020-03-26Unify #ifdef guarding code to remove PPTP and L2TP sessions.Martin Pieuchot
2020-03-25Grab the NET_LOCK() before calling pipex_iface_stop().Martin Pieuchot
2019-01-31Fix compilation of amd64 kernel when optimization is disabled.Todd C. Miller
2017-11-20Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare runningMartin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-11During MPPE key reduction on the 40 bits case the first 3 octets need to beRicardo Mestre
2017-07-13Set the ipl of pipex pools to IPL_SOFTNET.Martin Pieuchot
2017-06-06Update panic strings, pipex no longer use rn_inithead0().Martin Pieuchot
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot
2017-05-28Process packets immediately without queuing since pipex is believed MP safeYASUOKA Masahiko
2017-05-28Check also whether the interfaces is matched when pipex check PPPoEYASUOKA Masahiko