64 Commits

Author SHA1 Message Date
Franco Fichtner
00838b49ce src: move dhclient-script to proper location
".ext" came to be because dhclient-script from BSD is also under sbin/,
but since we always explicity use this one just move it to a neutral
location and point to it.
2018-05-06 14:32:06 +02:00
Franco Fichtner
d13da15cb1 system: move password policy settings to local database server edit #1929
A few review spots and regression fixes as well.
2018-05-01 13:44:38 +00:00
Franco Fichtner
b78654eb98 system: remove authmode_fallback, allow multiple authmode #1929
Simplifies and alignes the code, although that is a backwards-
incompatible change that should never have happened.  Still a
few things to do and extensive testing.
2018-04-29 19:00:14 +00:00
Franco Fichtner
12d161cb6d interfaces: that's why we have named variables 2018-03-21 19:37:28 +01:00
Franco Fichtner
a458aec929 plugins: remove spurious rc.plugins_configure
Prodded by: @adschellevis
2018-03-20 11:05:58 +01:00
Franco Fichtner
64057c136f interfaces: pppoe link down improvements 2018-03-04 10:43:40 +00:00
Franco Fichtner
d03799b312 interfaces: fix "route change", obsoleted a long time ago 2018-01-10 18:28:02 +01:00
Franco Fichtner
c62f01f993 dhcp: address issue found by @marjohn56
PR: https://github.com/opnsense/core/pull/2077
2018-01-10 18:22:36 +01:00
Franco Fichtner
493b3113ab network time: move private script to plugin location
/usr/local/sbin should be reserved for real command line commands.
2017-12-15 12:46:22 +01:00
Franco Fichtner
95215828a7 openvpn: more relocations for private scripts 2017-11-22 08:56:26 +01:00
Franco Fichtner
dc353d4860 openvpn: move internal script file to plugin location 2017-11-22 08:50:54 +01:00
Franco Fichtner
f0259c86c6 plugins: add pluginctl and assorted shuffling #1841 2017-09-23 14:52:58 +02:00
Franco Fichtner
72d5e865cb configd: make note when we are not running
Even if we are supposed to return well-formed output it's better
to show a hard error here so we can trace the problem to this message.
It's somewhat aligned with rc's restart message but not with a
question mark at the end so that it's clear...
2017-08-21 10:49:57 +02:00
Franco Fichtner
87e982043d configd: don't dispatch in build environments
The check is a bit lax here, assume that the pid file isn't there.
It's better than invoking the rc system on every run.
2017-08-21 10:31:17 +02:00
Franco Fichtner
c5d4002541 src: add Scott's e-mail everywhere 2017-08-05 20:57:29 +02:00
Franco Fichtner
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Franco Fichtner
1146fb24c3 interfaces: error is handled, no need for crash report 2017-05-03 14:39:07 +02:00
Franco Fichtner
e91951537a openvpn: merge into plugin 2017-03-11 19:24:34 +01:00
Franco Fichtner
fedfd0a4a8 rc: recursion is bad ;) 2017-03-01 06:38:00 +01:00
Franco Fichtner
c4ec7689e8 rc: allow use of importer anytime, add conveniance aliases 2017-03-01 06:30:32 +01:00
Franco Fichtner
f494289929 interfaces: reshape the ppp-linkdown script #1403 2017-02-16 08:26:42 +01:00
Ad Schellevis
cc05a97726 (pam) for non local users trigger different exit code (user doesn't exist) 2016-12-18 17:47:01 +01:00
Franco Fichtner
34604d5a71 dhcp: crash report and stray array_shift() for prefixes.php 2016-10-11 18:02:57 +02:00
Franco Fichtner
4e16a07515 auth: parse for "\0", allow empty password for #998 2016-09-16 16:55:02 +02:00
Ad Schellevis
b90babbfd2 add opnsense-auth helper for pam support, https://github.com/opnsense/core/issues/998 2016-09-12 20:38:48 +02:00
Franco Fichtner
b6f3b9605e system: also beep on factory reset shutdown 2016-08-22 10:33:39 +02:00
Ad Schellevis
73a227842e (ppp, 4g) extend logging for https://github.com/opnsense/core/issues/1004 2016-08-04 11:59:28 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
304e2c3dc5 (ppp) add modem dialer templates for Huawei / Sierra Wireless, https://github.com/opnsense/core/issues/1004 2016-06-09 18:40:31 +02:00
Franco Fichtner
c8b9eefbcf wireless: remove ancient ath(4) long distance helpers
The original script is from 2005 and most newer ath(4) drivers do not
even support it.  One can still set the sysctls individually anyway,
it's highly likely you know the hardware when you're trying to set
this up in the first place...

See also: https://wiki.freebsd.org/dev/ath(4)
2016-05-22 15:09:27 +02:00
Franco Fichtner
0c6e70a3c2 vpn: templates solve the logging origin problem nicely 2016-03-22 19:20:57 +01:00
Franco Fichtner
f7b3e9e31f vpn: more progress on logs, l2tp localip fixup 2016-03-21 23:17:39 +01:00
Franco Fichtner
93c20e1b69 src: tweak previous, php can be picky 2016-02-18 08:34:12 +01:00
Ad Schellevis
4ab7775552 (legacy) zap split in pfsense-utils.inc, 3gstats.php, dyn_dns_status.widget.php 2016-02-16 20:14:52 +01:00
Ad Schellevis
fb20b901d3 (legacy) remove illegal ifconfig tag, which might result in an interface address reset
more info : https://forum.opnsense.org/index.php?topic=1562.msg4811#msg4811
2015-10-30 19:41:37 +00:00
Franco Fichtner
5e5e6c2f27 captive portal: bye bye my love
The captive portal is being replaced!  This hooks up the
new page into the services section while ditching most of
the old code.  There'll be no migration, if you use package
`opnsense-devel' and the captive portal you'll have to switch
to `opnsense' or migrate to the new code.  Beware that the
new captive portal is going to be a huge step forward but
features will trickle in week after week until it is stable
enough to merge it.  Latest release date is going to be 16.1.
2015-10-15 23:48:23 +02:00
Franco Fichtner
2db19bbf0f src: purge unreachable gmirror files
Spotted by: @fabianfrz
2015-10-11 11:32:57 +02:00
Franco Fichtner
21377312f8 sbin: apply PSR2 style 2015-07-28 20:46:22 +02:00
Ad Schellevis
465e699e71 (legacy) dependency cleanups related to functions.inc / interfaces.inc 2015-07-22 16:56:38 +00:00
Ad Schellevis
ea5dd43a31 (legacy) move pfsense-utils.inc dependency 2015-07-22 15:09:18 +00:00
Ad Schellevis
a9f472d7e6 (legacy) remove parse_config in auth.inc and fix load order 2015-07-20 18:30:17 +00:00
Ad Schellevis
3cd79bd2a1 (legacy) restructure requires/includes, move globals.inc 2015-07-20 16:16:28 +00:00
Ad Schellevis
58dd87c938 (legacy) cleanup requires/includes 2015-07-20 14:45:42 +00:00
Ad Schellevis
47742185a1 (legacy) more coding issues 2015-07-06 17:36:35 +00:00
Franco Fichtner
846353ecf6 sbin: purge unused ufslabels.sh 2015-06-26 15:29:25 +02:00
Franco Fichtner
0ec56ca087 system: clear out /usr/local/bin
Remove unused clutter, move the rest to /usr/local/sbin, because
these are system administration scripts, not for entertainment of
the individual users.
2015-06-26 12:44:42 +02:00
Franco Fichtner
01870edad7 configctl: launcher for the real deal 2015-06-08 10:04:21 +02:00
Ad Schellevis
cd831222f3 (configd) add configdctl as symlink to sbin for easier usage
when using the shell, it's now possible to trigger configd actions in a more natrual way, for example:

configdctl configd actions

(to list all registered actions)
2015-06-08 07:26:41 +00:00
Ad Schellevis
535d1c31fd (configd) fix usage to changed implementation 2015-06-08 07:23:21 +00:00
Franco Fichtner
f21a47569c src: rejoice for varrun_path is gone 2015-04-24 09:07:54 +02:00