summaryrefslogtreecommitdiff
path: root/net/mpd5/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* */*: convert Makefile patches to MAKE_ARGS after "Move man pages to share/man"Vladimir Druzenko2024-03-111-11/+0
| | | | | | | Replaced patches for Makefiles with "MAKE_ARGS+=MANDIR=${PREFIX}/share/man" Reported by: danfe, mat Approved by: portmgr (blanket)
* net/mpd5: Move man pages to share/manVladimir Druzenko2024-03-061-0/+11
| | | | Approved by: portmgr (blanket)
* net/mpd5: minor improvementsEugene Grosbein2023-10-271-0/+107
| | | | | | | | | | | | | | | | | | | | (1) Import r2512 and r2529 from upstream: * optimize CCP logging a bit: no string copying for known CCP names; * use right name for HP-PPC. Bump PORTREVISION. (2) Also, this commit fixes upgrade problem for package users introduced with previous commit that removed USES=ssl not bumping PORTREVISION and following rename of openssl package to openssl111. For details, refer to: https://github.com/opnsense/core/issues/6959 PR: 274748 (2) Reported by: Franco Fichtner (2) Fixes: 87e2681289fc1eb5fda22e4072aca1e7943af25e
* net/mpd5: unbreak build with OpenSSL 3.0Eugene Grosbein2023-06-101-0/+41
| | | | This fixes build, so PORTREVISION not bumped.
* net/mpd5: new small feature and bugfixEugene Grosbein2023-05-202-14/+113
| | | | | | | | | - Import r2539 from upstream: introduce new interface description conversion specification %s for last description change time, in unixtime (seconds). - Unbreak SIGUSR1/SIGUSR2 mechanics to open/close first link broken in mpd5-5.9_10 (*) PR: 271508 (*)
* net/mpd5: undo regression for specific PPPoE peersEugene Grosbein2023-05-061-11/+54
| | | | | | | | | | | mpd5-5.9_14 introduced regression for specific case when no mtu configured for PPPoE peer that does not advertize any MTU itself. mpd5 should default to 1492 then but revision 14 defaults to 1500. The problem may be worked around specifying 1492 for link or interface MTU until upgrade to this revision that restores compatibility. PR: 270687
* net/mpd5: minor improvementsEugene Grosbein2023-03-303-0/+234
| | | | | | | | | | | | | | | | Import several improvement from upstream: * r2408,2409 - use SOCK_CLOEXEC for all sockets including PPtP, web and telnet consoles, so that subprocesses like ip-up/down scripts do not inherit such sockets; * r2415 - avoid inadequate MTU undervalueing when bundle compression and/or encryption configured but not negotiated; f.e. PPPoE interface MTU could be set to 1490 instead of 1492 previously; * r2482,2483 - improve client-side implementation of PPP-Max-Payload (RFC4638) and do not limit "set pppoe max-payload {size}" to 1510 but use MTU of parent interface minus 8, as per RFC; also, relax sanity check for "set link mtu/mru" in case of PPPoE, so that it is possible to configure values like 1500 and over, if needed.
* net/mpd5: eliminate some build time warningsEugene Grosbein2023-02-182-0/+22
| | | | | Import a couple of patches from upstream to eliminate some Clang warnings. PORTREVISION not changed intentionally as changes are cosmetic.
* net/mpd5: Fix incoming connections for static links (site-to-site VPN)Eugene Grosbein2022-12-301-1/+1
| | | | | | | | The change in 5.9_11 was incomplete as it did not fix broken handling of incoming connections for static links, f.e. site-to-site VPN. Import r2474 from upstream to fix it, too.
* net/mpd5: do not use negative value for socket backlogEugene Grosbein2022-10-121-0/+13
| | | | | | | | Import r2463 from upstream. As per POSIX, supply INT_MAX for listen(2) to use system default. This changed in preparation for FreeBSD 14. See also: https://reviews.freebsd.org/D31821
* net/mpd5: unbreak incoming L2TP connectionsEugene Grosbein2022-10-061-2/+2
| | | | | | The revision mpd5-5.9_10 broke incoming L2TP connections. Fix it. PR: 266838
* net/mpd5: fix some LCP negotiation problemsEugene Grosbein2022-09-131-0/+174
| | | | | | | | | | * Import upstream r2453: prevent endless LCP restarts in case of broken peer or heavy packet drops. Allow 3 restarts then terminate LCP. Let link redial restart it from the beginning, if configured. * Import upstream r2454: fixes long-standing bug known as "LCP: not converging" problem leaving link closed with erroneously disabled redial.
* net/mpd5: install dictionary.mpd and add fix r2441 from upstreamEugene Grosbein2022-04-271-0/+15
| | | | | | | | | | | * Add dictionary.mpd to default package build and install it to /usr/local/share/mpd/dictionary.mpd. Thanks Dmitry Luhtionov who noted this omission. * If parent interface of PPPoE link (vlan, detachable USB ethernet etc.) got destroyed and re-added, detect that and continue automatically; manual interference was required before this import of upstream r2441.
* net/mpd5: let "red-port" accept zero remote port valueEugene Grosbein2022-02-111-0/+13
| | | | | | | | Import upstream r2446: allow to configre "any" remote port for port redirection rule as supported by libalias(3). PR: 261802 Reported by: Martin Birgmeier
* net/mpd5: Re-implement improvement for multi-homed L2TP serverEugene Grosbein2021-12-041-0/+161
| | | | | | | | | Import upstream r2437-r2440: Use IP_RECVDSTADDR socket option for IPv4 L2TP server with unspecified self address (0.0.0.0) to determine destination IP address of incoming request and bind new tunnel to right address. This unbreaks multihomed L2TP server setup.
* net/mpd5: undo recent change for L2TP server.Eugene Grosbein2021-11-281-124/+0
| | | | | | | | | | Temporary remove a change to L2TP server introduced after mpd5-5.9_2 (an attempt to improve multi-homed server behavior) because of discovered bug that can result in a hang of the process. Fixed version will be added later after more testing. Reported by: Eugene Selin at SourceForge
* net/mpd5: add missing change after previous revisionEugene Grosbein2021-09-181-12/+12
| | | | Add r2420 from upstream to speedup multihomed L2TP server a bit.
* net/mpd5: unbreak multihomed L2TP server setup and add WITHOUT_RADIUSEugene Grosbein2021-09-182-0/+712
| | | | | | | | | | | | | | This change adds two improvements from upstream: * Use IP_RECVDSTADDR socket option for IPv4 L2TP server with unspecified self address (0.0.0.0) to determine destination IP address of incoming request and bind new tunnel to right address. This unbreaks multihomed L2TP server setup. (r2419) * Add support for base system built without libradius (WITHOUT_RADIUS_SUPPORT): this includes auto-detecting libradius presence and force building without RADIUS support. Default build is not affected and enables RADIUS support. (r2424)
* net/mpd5: fix PPPoE Server remotely exploitable crashEugene Grosbein2021-09-091-0/+34
| | | | | | | | | | | | | This is security fix for PPPoE servers. Insufficient validation of incoming PPPoE Discovery request specially crafted by unauthenticated user might lead to unexpected termination of the process. The problem affects mpd versions since 5.0. Installations not using PPPoE server configuration were not affected. Reported by: paul & Yannick C at SourceForge Tested by: paul & Yannick C at SourceForge Security: f55921aa-10c9-11ec-8647-00e0670f2660
* net/mpd5: unbreak build for GCC (powerpc64)Eugene Grosbein2021-08-291-0/+27
| | | | | | Unbreak package build for GCC-based arches adding r2412 and r2414 from upstream. No PORTREVISION bump.
* net/mpd5: add L2TP fix from upstream (r2410, r2411).Eugene Grosbein2021-08-181-0/+71
| | | | | | | | | | This change should fix the problem reported in bugs #38 #47 #74. It is L2TP interoperability issue with some Juniper, Cisco and YAMAHA RTX routers having strict protocol checks. Move USES to pet portlint. Reported by: Kikuchan at SourceForge (based on)
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-061-2/+0
|
* net/mpd5: update to version 5.9Eugene Grosbein2020-09-0610-887/+0
| | | | | | | | | | | | | | | | | This version contains security fix for L2TP clients and servers. Insufficient validation of incoming L2TP control packet specially crafted by unauthenticated user might lead to unexpected termination of the process. The problem affects mpd versions since 4.0 that brought in initial support for L2TP. Other changes from upstream were already present in the port in form of pathes that were removed with this update. Reported by: chennan at SourceForge Reviewed by: mav Notes: svn path=/head/; revision=547867
* net/mpd5: remove required_files from startup scriptEugene Grosbein2020-08-291-1/+0
| | | | | | | | | | | | | Name and/or location of the configuration file may be changed with mpd_flags, in which case required_files prevents starting service. It is no big deal if mpd5 started with missing configuration file because it just prints a warning to the log and exits in that case. PR: 248993 Notes: svn path=/head/; revision=546946
* net/mpd5: improve logging in rare case of libpdel failure.Eugene Grosbein2020-08-271-0/+51
| | | | | | | | Import upstream r2329 and r2373 to direct assertion message to the log. See also: https://sourceforge.net/p/mpd/bugs/68/ Notes: svn path=/head/; revision=546343
* net/mpd5: import r2272 from upstreamEugene Grosbein2020-08-201-0/+13
| | | | | | | | | | | This fixes build with -fno-common (clang 11 and gcc 10). PORTREVISION not bumped as it fixes build for FreeBSD 13. PR: 248741 Reported by: dim Notes: svn path=/head/; revision=545507
* Fix build with src r354909 applied.Brooks Davis2019-11-251-14/+16
| | | | | | | | | | | | | | The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into errors causing these ports that declare them and use the FreeBSD make infrastructure as part of their build to fail. When the offending variables occur in a BSD Makefile, NO_MAN becomes MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and MK_PROFILE=no respectively. When declared in the environment they become WITHOUT_<FOO>. Notes: svn path=/head/; revision=518434
* Clean up support for FreeBSD 11.2.Rene Ladan2019-11-071-21/+12
| | | | | | | | | | | | | | While here, modernize some comments in Mk/bsd.*.mk. Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat under discussion. Submitted by: rene Reviewed by: antoine, jbeich, mat, zeising Differential Revision: https://reviews.freebsd.org/D21974 Notes: svn path=/head/; revision=516983
* net/mpd5: fix build for systems having libressl installedEugene Grosbein2018-11-253-15/+89
| | | | | | | | | | | | | | | Import upstream revisions r2258-r2260: do not use -I${LOCALBASE}/include by default when option NG_IPACCT is off. If NG_IPACCT is on, use -nostdinc to force needed header inclusion order to force usage of base system libssl. Bump PORTREVISION as package can change if built with default options when net-mgmt/ng_ipacct is installed. PR: 233471 Notes: svn path=/head/; revision=485845
* net/mpd5: start service earlierEugene Grosbein2018-10-131-2/+2
| | | | | | | | | | | | | | mpd5 daemon can be used as replacement for stock ppp(8) daemon to provide global connectivity (PPPoE, mobile networks etc.) Follow ppp(8) behavior and run startup script early before NETWORKING (and netwait), so other services that require working networking to be operational before starting won't fail. Bump PORTREVISION. Notes: svn path=/head/; revision=481990
* net/mpd5: import latest fix for "set iface mtu X override" from upstreamEugene Grosbein2018-10-041-0/+14
| | | | Notes: svn path=/head/; revision=481203
* net/mpd5: revert previous LCP MRU negotiation changeEugene Grosbein2018-08-042-64/+107
| | | | | | | | | | | | | | | | | | | | and add new way to deal with same problem following upstream changes r22478, r2249: - reverse r2246 as it used wrong way to deal with the problem; - make it possible to override results of LCP negotiation and set interface MTU to specified value with a command: set iface mtu NNN override New option "override" is not documented yet. This is dangerous option as it can violate RFC 1661 and should be used with caution and at your own risk. It is useful when you deal with broken PPP peer negotiating too low value while higher MTU is known to work. Notes: svn path=/head/; revision=476338
* net/mpd5: add a fix from upstream r2247Eugene Grosbein2018-07-271-0/+30
| | | | | | | | Prevent reporting wrong traffic accounting data in very rare case of failure of netgraph statistical socket data flow. Notes: svn path=/head/; revision=475423
* net/mpd5: really add the patch file after r473194Eugene Grosbein2018-06-241-0/+64
| | | | Notes: svn path=/head/; revision=473197
* Fix support of PPPoE over VLAN and add basic parsing of PADM messages.Alex Dupre2018-02-261-0/+126
| | | | | | | | | Submitted by: ale Reviewed by: mav julian Differential Revision: https://reviews.freebsd.org/D9848 Notes: svn path=/head/; revision=463007
* Add a patch from upstream: switch from NO_MAN and COPTS to MK_MAN and CFLAGSEugene Grosbein2017-07-021-0/+245
| | | | | | | | | for modern FreeBSD versions. PORTREVISION unchanged. Approved by: az (mentor). Notes: svn path=/head/; revision=444889
* - add new patch from upstream to fix buffer overflow and improve compatibilityEugene Grosbein2017-07-011-0/+158
| | | | | | | | | | | with FreeBSD 11. - bump PORTREVISION. Reviewed by: mav Approved by: vsevolod (mentor) Notes: svn path=/head/; revision=444852
* - Add new patch from upstream to improve stability of the daemon;Eugene Grosbein2017-06-271-0/+76
| | | | | | | | | | - simplify PORTDOCS and avoid usage of != in port's Makefile; - add LICENSE; - take maintainership; - bump PORTREVISION. Notes: svn path=/head/; revision=444511
* Update to 5.8.Alexander Motin2016-01-0610-214/+0
| | | | Notes: svn path=/head/; revision=405379
* - Backport mpd5 fix (rev. 1224):Renato Botelho2015-08-141-0/+17
| | | | | | | | | | | | | | Do not print warning, when we a renaming interface to existing name https://forum.pfsense.org/index.php?topic=41061.msg476926 - Bump PORTREVISION PR: 200722 Approved by: maintainer timeout (> 2 months) Sponsored by: Netgate Notes: svn path=/head/; revision=394223
* Fix build of net/mpd5, after SSLv2 was disabled in base.Dimitry Andric2015-03-231-0/+11
| | | | | | | | Approved by: portmgr (bdrewery) PR: 198791 Notes: svn path=/head/; revision=382043
* Fix build with LibreSSLMark Felder2015-02-255-0/+137
| | | | | | | | PR: 196800 Approved by: maintainer timeout Notes: svn path=/head/; revision=379914
* Tiny fixes for the mpd5 package.Jimmy Olgeni2014-06-071-1/+1
| | | | | | | | | | | | | | - Use PLIST_DIRSTRY to avoid warnings when deinstalling. - Set PROVIDE to mpd5 in startup script (it currently confuses bsdadminscripts' commands) PR: 186531 Submitted by: olgeni Approved by: maintainer timeout (120 days) Notes: svn path=/head/; revision=356932
* Support STAGERenato Botelho2014-03-273-0/+49
| | | | | | | Approved by: portmgr (blanket) Notes: svn path=/head/; revision=349309
* Move the rc.d scripts of the form *.sh.in to *.inDoug Barton2012-08-051-0/+0
| | | | | | | | | Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op Notes: svn path=/head/; revision=302141
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-5/+2
| | | | | | | | | | | | | | literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other. Notes: svn path=/head/; revision=289156
* - Update to 5.6Sergey Matveychuk2011-12-211-1/+1
| | | | | | | Submitted by: maintainer Notes: svn path=/head/; revision=287810
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* - Remove mtree(8) files. It prevents creating doc directoriesSergey Matveychuk2008-06-211-28/+0
| | | | | | | | | when NOPORTDOCS defined. Submitted by: mav (maintainer) Notes: svn path=/head/; revision=215463
* First public release of the mpd-5.x branch.Sergey Matveychuk2007-10-242-6/+6
| | | | | | | | | | | | | The main goal of this branch is to implement new operation principles based on dynamic on-demand links/bundles creation. Repocopied from: net/mpd4 Repocopied by: marcus Submitted by: maintainer Notes: svn path=/head/; revision=201918