Franco Fichtner
2a910e797a
system: bump syslog version
2019-03-05 08:04:28 +01:00
Ad Schellevis
a5f4d1c0ec
configd + python3, missing decode() in _encode_idna, dumping byte output in stead of string
2019-03-04 13:55:59 +01:00
Franco Fichtner
b24725c6da
system: tweak previous, same file suffix, ordering
2019-03-04 13:12:54 +01:00
Franco Fichtner
7a40a22c2a
system: small tweaks to auth templates
2019-03-04 12:58:11 +01:00
Ad Schellevis
7943492d84
configd, logging, align message string entries with parameters, closes https://github.com/opnsense/core/issues/3271
2019-03-03 18:08:47 +01:00
Franco Fichtner
0242bac1f9
src: style sweep
2019-03-01 19:02:32 +01:00
Michael
c8840c3e89
Proxy: add auth to parent proxy ( #3269 )
2019-03-01 18:45:59 +01:00
Ad Schellevis
5fae3bcb7c
shaper, fix https://github.com/opnsense/core/pull/3213 template
2019-03-01 14:22:09 +01:00
Ad Schellevis
5bde17012d
Monit, minor cleanups and fixes for https://github.com/opnsense/core/pull/3155
2019-03-01 10:45:23 +01:00
Ad Schellevis
1849a3b61d
Merge branch 'monit_validations' of https://github.com/fbrendel/core into fbrendel-monit_validations
2019-03-01 10:25:55 +01:00
Ad Schellevis
2babeae771
firewall: logging for NAT rules, within the possibilities of what pf has to offer.... closes https://github.com/opnsense/core/issues/3033
2019-02-28 21:26:36 +01:00
Ad Schellevis
6fe924c1f7
revert 7504bd00a2 since phalcon-3.4.2 fixes the earlier scope issues, closes https://github.com/opnsense/core/issues/3026
2019-02-28 16:17:44 +01:00
Ad Schellevis
21f1580348
IPsec, switch to PAM, closes https://github.com/opnsense/core/issues/3265
2019-02-28 15:32:03 +01:00
Ad Schellevis
02fd4f4c7f
Web proxy, switch to PAM, closes https://github.com/opnsense/core/issues/3261
2019-02-28 09:57:54 +01:00
Franco Fichtner
38919ec895
firmware: be more careful about parsing; closes #3254
2019-02-27 19:13:14 +01:00
Franco Fichtner
65a60c9d34
system: rename binary, rename service
2019-02-27 17:30:08 +01:00
Ad Schellevis
464996af84
Authentication framework, catch login, su, sudo pam services
...
- add aliases() to IService, so one service can be used for multiple pam services, eases implementation (pam has an include statement for this purpose)
- move logging to AuthenticationFactory->authenticate() and communicate more about choices taken, eases debugging
- remove OpnsenseAuthTest, Sshd, implemented by System
for https://github.com/opnsense/core/issues/3242
2019-02-27 11:20:29 +01:00
Ad Schellevis
d9eb9cb29a
ACL::hasPrivilege() overlapping variable, related to https://github.com/opnsense/core/issues/3242
2019-02-27 10:41:37 +01:00
Franco Fichtner
64e74ce75b
mvc: more close / cancel, translation
2019-02-27 00:53:05 +01:00
Franco Fichtner
66e6efccd8
firewall: alias close button is really cancel
2019-02-27 00:47:15 +01:00
Franco Fichtner
8724ba878d
mvc: simplify save button label
2019-02-27 00:44:40 +01:00
Franco Fichtner
42e901ce6d
src: another style sweep
2019-02-26 23:57:29 +01:00
Franco Fichtner
46de0646c9
src: style fix
2019-02-26 23:53:14 +01:00
Ad Schellevis
ae38c01d5d
Merge branch 'master' of https://github.com/mimugmail/core into mimugmail-master
2019-02-26 20:55:19 +01:00
Ad Schellevis
560a6cb79e
MVC/field types, add sorting for list types. closes https://github.com/opnsense/core/issues/3251
...
We should refactor some code later, but there's no rush. issue in https://github.com/opnsense/core/issues/3252
2019-02-26 11:26:05 +01:00
Ad Schellevis
8170be76e6
squid + pam, for https://github.com/opnsense/core/issues/3242
2019-02-25 20:44:34 +01:00
Ad Schellevis
dc7db7084b
configd, python 2 --> 3, simplify search for program path
2019-02-25 10:14:14 +01:00
Ad Schellevis
22261d6614
configd, python 2 --> 3, type comparison issue (bytes, str) disabling our previous end of line fix
2019-02-25 10:05:19 +01:00
Ad Schellevis
ddca8d4350
web proxy, move pam to template
2019-02-25 09:55:41 +01:00
Franco Fichtner
8f9a89e643
interfaces: fix permission
2019-02-25 08:28:06 +01:00
Franco Fichtner
75c3100ba7
interfaces: move mpd.script to scripts dir
...
mpd5 is started with -d /var/etc so it expects mpd.script to be there.
Some small simplifications along the way.
2019-02-25 08:23:50 +01:00
Franco Fichtner
cfc95122f2
interfaces: move ppp-related scripts to proper location
...
sbin/ is for console-bound binaries.
2019-02-25 08:23:50 +01:00
Franco Fichtner
38be942639
firmware: move duty to return the correct name/id to opnsense-version
...
To be fixed there eventually without a stale note attached.
2019-02-25 08:16:21 +01:00
Franco Fichtner
bc1ff2f2f7
firmware: small note for the future
2019-02-24 20:32:10 +01:00
Ad Schellevis
c920004d12
proxy/auth, work in progress https://github.com/opnsense/core/issues/3242 create pam helper for squid
...
todo:
* add userHasPrivilege($user, "user-proxy-auth") replacement
* change squid template to pam, as long as the template isn't changed, this service doesn't do anything
2019-02-24 19:45:38 +01:00
Ad Schellevis
88ee92f63c
Authentication framework, complete interface to support most currently known scenarios, for https://github.com/opnsense/core/issues/3242
...
* using setUserName() --> getUsername() we could support additional services per pam service registration (which would be needed for OpenVPN)
* checkConstraints() can be used to implement current "has group" patterns
2019-02-24 19:31:04 +01:00
Ad Schellevis
40f1662c62
theme, new icon-logo.svg and switch orange #EA7105 with #D94F00 as an experiment.
2019-02-24 11:46:39 +01:00
Ad Schellevis
91be9a6974
python 2-->3 / configd
...
First (functional) attempt, this needs to stay on devel for some time there might be dragons ;)
src/etc/rc.d/configd --> command_interpreter could cause restart issues after an upgrade, the rc system doesn't like command changes it seems. Maybe not a real world problem, just haven't tried it yet.
unit tests are somewhat functional, although generating all templates will likely fail, since the test config doesn't include all data involved.
2019-02-22 21:03:42 +01:00
Ad Schellevis
47a3b2419d
python 2->3 iteritems() in core templates
2019-02-22 19:23:52 +01:00
Ad Schellevis
9e082449aa
IDS, minor template cleanups using https://github.com/opnsense/core/issues/3100
2019-02-22 16:07:48 +01:00
Ad Schellevis
245513f970
configd, add helpers.empty(), closes https://github.com/opnsense/core/issues/3100
2019-02-22 16:06:42 +01:00
Ad Schellevis
cc2b41bf15
OpenVPN export, add auth-nocache option, closes https://github.com/opnsense/core/issues/3193
2019-02-22 15:29:48 +01:00
Ad Schellevis
a8d89dadc5
mvc/forms, add support for tokenize2 sortable tag, closes https://github.com/opnsense/core/issues/3145
2019-02-22 14:54:10 +01:00
Ad Schellevis
3a361f8e59
auth/pam, better CamelCase for https://github.com/opnsense/core/issues/3242
2019-02-21 21:29:37 +01:00
Ad Schellevis
2e14587955
Auth, add example authentication service and some filename cleansing. for https://github.com/opnsense/core/issues/3242
2019-02-21 21:04:05 +01:00
Ad Schellevis
bdd4c8db03
refresh logo, small scaling issue in previous
2019-02-20 15:08:58 +01:00
Ad Schellevis
63065a9f1f
theme, sharpen our theme a bit
2019-02-20 09:16:19 +01:00
Ad Schellevis
5123277a85
config access, don't try to open config.xml in write mode when file is not writeable. closes https://github.com/opnsense/core/issues/3241
2019-02-19 16:28:00 +01:00
Ad Schellevis
dd1d8cba05
minor simplification for https://github.com/opnsense/core/issues/3242
2019-02-18 22:11:23 +01:00
Ad Schellevis
0793375e3f
Authentication/pam, initial (working) version to move already implemented pam services into our framework. for https://github.com/opnsense/core/issues/3242
2019-02-18 22:03:50 +01:00