summaryrefslogtreecommitdiff
path: root/sys/net/pipex.c
AgeCommit message (Expand)Author
2024-09-27Previous pipex.c,v 1.155 was broken if the client was not behind a NAT.YASUOKA Masahiko
2024-07-26In pipex_l2tp_input(), check if ipsecflowinfo is not changed insteadYASUOKA Masahiko
2024-06-07remove ph_ppp_proto define, unused since rev 1.123Jonathan Gray
2024-01-23Introduce pipex_iterator(), the special thing to performVitaliy Makkoveev
2024-01-23Remove `pipex_rd_head6' and `ps6_rn[2]'. They are not used.Vitaliy Makkoveev
2023-12-01pipex(4) layer is completely mp-safe, move the pipex_timer() timeout(9)Vitaliy Makkoveev
2023-11-28Remove struct inpcb from in6_embedscope() parameters.Alexander Bluhm
2023-09-16Allow counters_read(9) to take an optional scratch buffer.Martin Pieuchot
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