46 Commits

Author SHA1 Message Date
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
Isaac (.ike) Levy
4acd00e6ac adding 1999 BSD license for Whistle Communications
Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
2015-04-12 07:50:53 +02:00
Ad Schellevis
d7d1a07ab5 cleanup configd usage 2015-04-07 20:29:06 +00:00
Ad Schellevis
0a44698f23 remove usage of conf_mount_ro and conf_mount_rw 2015-03-12 12:05:30 +00:00
Franco Fichtner
5ce3abb5b4 rc: remove pbi remnants from this general area 2015-03-09 13:24:43 +01:00
Franco Fichtner
a47ad5e740 src: prune, prettify or zap scripts that use PHP shebang 2015-03-07 08:48:28 +01:00
Franco Fichtner
c7f253ffd4 src: deprecate /cf/conf in favour of /conf
It's been confusing to say the least, resulting in multiple
misuses throughout the code.  The idea was that /cf pointed
to a read-write root, while / pointed to read-only root.
For non-embedded images this was emulated by linking
/conf -> /cf/conf, which, is a bit questionable because now
you can write from /conf as well and don't have to use /cf/conf
at all.

A couple of lines are left in /usr/local/etc/rc which need to
be reviewed so that migration paths are safe for all types
of firmware upgrades.
2015-03-05 08:10:00 +01:00
Franco Fichtner
03434f0be3 src: remove the unused phpshellsessions developer tools 2015-03-02 13:19:15 +01:00
Ad Schellevis
19265d25e2 cleanup legacy code.
- remove the use for pfSctl, replaced with a new configd control script to be able to remove the check_reload_status port
- replace use of global $g['booting'] because some scripts use this outside the main loop which causes strange behavior ( for example dhcp client which starts a newwanip on connect ). replaced which check on file /var/run/booting which is set in rc script
2015-02-24 17:26:55 +00:00
Franco Fichtner
9314298f10 openvpn: proper style and a TODO for zapping OpenSSL (#42) 2015-02-23 05:46:26 +01:00
Ad Schellevis
3f8a9f0898 further cleanup of php-fpm code, related to https://github.com/opnsense/core/issues/42 2015-02-22 10:51:51 +00:00
Franco Fichtner
25bd166a33 src: whitespace sweep 2015-02-21 06:26:03 +01:00
Ad Schellevis
07afd164d0 cleanup old php fpm leftover, related to https://github.com/opnsense/core/issues/42 2015-02-20 17:08:45 +00:00
Franco Fichtner
7a846b49a2 src: first of many whitspace cleanups 2014-12-27 14:29:00 +01:00
Franco Fichtner
727453c076 src: move all files (again)
Make "src" the implicit "/usr/local" so that nobody can
sneak in weird files in the base file system or potentially
overwrite them.

This is the last time, I swear...  :)
2014-12-10 16:42:39 +01:00