17 Commits

Author SHA1 Message Date
Franco Fichtner
955b73fdd7 src: strip gettext() from log messages
It only makes debugging harder as our translations are being
completed one after the other.  Also has the positive side-
effect of freeing a few hard-to-do translations in the process.
2016-05-16 00:28:22 +02:00
Ad Schellevis
73518ad8e6 (legacy) remove ssh1 keys from generating ( when ssh1 is disabled they can't be generated )
for reference:

/usr/local/etc/rc.sshd: The command '/usr/local/bin/ssh-keygen -t rsa1 -N "" -f /usr/local/etc/ssh/ssh_host_key' returned exit code '1', the output was 'Saving key "/usr/local/etc/ssh/ssh_host_key" failed: unknown or unsupported key type Generating public/private rsa1 key pair.'
2015-09-04 08:12:07 +00:00
Ad Schellevis
465e699e71 (legacy) dependency cleanups related to functions.inc / interfaces.inc 2015-07-22 16:56:38 +00:00
Ad Schellevis
d123345570 (legacy) work in progress require/include cleanup 2015-07-21 16:24:20 +00:00
Ad Schellevis
3cd79bd2a1 (legacy) restructure requires/includes, move globals.inc 2015-07-20 16:16:28 +00:00
Franco Fichtner
72ec44ba7f src: unify gettext() usage for #265 2015-07-20 18:03:23 +02:00
Franco Fichtner
0afa03c7dc rc: use protect(1) on sshd(8); low memory systems need that
While there, make the script run from a secure shell as well.
2015-07-06 11:56:03 +02:00
Franco Fichtner
22e0e257a2 queues: remove shaper.inc 2015-06-18 14:20:20 +02:00
Isaac (.ike) Levy
4dba7e56b2 A human read and cleaned up all inappropriate occurances of 'pfSense' and 'pfsense'., (e.g. this was not an automated find/replace, but instead, a careful pass through the code.)
Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
2015-04-12 08:57:41 +02:00
Franco Fichtner
948b5bcc1c system: flip ssh settings for clarity 2015-04-02 21:52:07 +02:00
Ad Schellevis
0a44698f23 remove usage of conf_mount_ro and conf_mount_rw 2015-03-12 12:05:30 +00:00
Franco Fichtner
a47ad5e740 src: prune, prettify or zap scripts that use PHP shebang 2015-03-07 08:48:28 +01:00
Franco Fichtner
f326c29757 rc: remove openssh base support
We don't have OpenSSH in base anymore so we can zap the fallback.
And since openssh-portable is a direct dependency of opnsense, we
can be pretty sure it'll be there.
2015-02-28 19:02:57 +01:00
Franco Fichtner
ab28de2e19 rc: rework sshd handling
* Prefer the openssh-portable port, but fall back to the base
  version if it is available.

* Refactor the key generation to produce less duplicated code.

* Locking is completely bogus, but I have no clue how to fix
  that short term without doing a full audit of the subsystem-dirty
  mechanic.
2015-01-25 13:57:16 +01:00
Franco Fichtner
9e0a6a4b5e rc: ed25519 does not come with the current base version of FreeBSD 10.0
Avoids the regeneration of the keys on reboot.  I guess this is what
people would expect.  ;)
2014-12-12 12:17:54 +01:00
Franco Fichtner
a1a316b7fb rc: rework sshd start/stop script 2014-12-11 11:49:04 +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