Commit graph

869 commits

Author SHA1 Message Date
Daniel
c6083fc464 Finish windows support
- Fix service creation
- Singleton lock
- Control error/logging
- Revamp run/service interaction
- Add option to turn off stdout/stderr output (for Windows Service)
- Use log instead of fmt.Print*
2019-07-24 09:22:16 +02:00
Daniel
d9ae6a140d Print stack traces to stderr when taking more than 10 secs to shutdown 2019-07-24 09:18:43 +02:00
Daniel
9cc5c789ec Add windows service install/uninstall, improve service handling 2019-07-19 21:27:15 +02:00
Daniel
51c96959aa Add input signal handler 2019-07-19 21:25:38 +02:00
Daniel
ace9e50f70 Add windows service support 2019-07-18 16:20:04 +02:00
Daniel
133ad1f50e Add show command 2019-07-18 16:15:26 +02:00
Daniel
636c748328 Add logging to file, improve windows console handling 2019-07-18 16:15:16 +02:00
Daniel
b30bb25ce3 Fix console/window handling on windows 2019-07-16 13:27:31 +02:00
Daniel
1cc90f1eee Remove upgrade mechanism from pmctl 2019-07-16 13:26:20 +02:00
Daniel
f3b5cb89ce Download update index if not available 2019-07-16 13:25:39 +02:00
Daniel
9bdebf207b
Merge pull request #9 from safing/develop
Fix clean shutdown with portmaster-control
2019-07-05 09:26:58 +02:00
Daniel
2bc0da6700 Fix clean shutdown with portmaster-control
Also, only download portmaster-core on initial run of portmaster-control.

Fixes #7
2019-07-04 16:43:07 +02:00
Daniel
eb4e48aeae
Merge pull request #8 from safing/develop
Release to master
2019-07-04 16:33:56 +02:00
Daniel
b5cc3121ae Rename components
portmaster -> portmaster-core
pmctl -> portmaster-control
2019-07-04 13:57:55 +02:00
Daniel
457e6f21a2 Use new util function for creating/checking dirs 2019-07-04 13:57:14 +02:00
Daniel
2e59031475 Fix bug where path vars go lost 2019-07-04 13:56:45 +02:00
Daniel
5b80a0b95e Add downloading of main components, fix dir permissions
Fixes #2, #3
2019-07-04 13:54:51 +02:00
Raskaro
0ca5ecb464
Merge pull request #5 from safing/develop
Fix #1
2019-07-02 16:35:05 +02:00
Daniel
9636777b30 Update profile package to changed deps 2019-07-02 16:19:47 +02:00
Daniel
36901e89d8 Fix setting default api address
Fixes #1
2019-07-02 16:16:03 +02:00
Daniel
5180e426aa Update dependencies 2019-07-02 16:06:56 +02:00
Daniel
9741bc412e Update org import paths 2019-07-02 15:12:31 +02:00
Daniel
619e11d8e1 Merge branches 2019-07-02 14:48:04 +02:00
Daniel
b093cee242 Update .gitignore 2019-07-02 13:01:02 +02:00
Daniel
ae68f64977 Init dep 2019-07-02 13:00:58 +02:00
Daniel
747b0e5c4b Update import path 2019-07-02 13:00:51 +02:00
Daniel
30c3fdcba8 Update geoip to use new update system 2019-07-02 13:00:44 +02:00
Daniel
960e1bcc16 Remove old windivert interception 2019-07-02 13:00:24 +02:00
Raskaro
c3961488f7 Fix typo in README.md: option with double dash 2019-07-01 15:32:38 +02:00
Daniel
81eee568f2 Fix windows file suffix in updater and pmctl 2019-05-22 22:19:11 +02:00
Daniel
7bbfdf288f Fix pack script for windows 2019-05-22 22:18:13 +02:00
Daniel
196233358b Bump versions 2019-05-22 16:46:54 +02:00
Daniel
fb4fb20d4b Rewrite network tree saving and cleaning procedures 2019-05-22 16:10:05 +02:00
Daniel
1873999b38 Fix allowing connections to self 2019-05-22 16:08:51 +02:00
Daniel
f0decfa633 Update default action and timeout for nfqueue 2019-05-22 16:08:15 +02:00
Daniel
5eb956a9c3 Fix IPv6 parsing in windows kext handler 2019-05-22 16:07:46 +02:00
Daniel
5a94dbc5e9 Fix comment 2019-05-22 16:07:15 +02:00
Daniel
ad7a1024d7 Update DNS resolver, reset resolvers if all failed 2019-05-22 16:06:57 +02:00
Daniel
1f13af8f75 Fix intel config 2019-05-22 16:06:09 +02:00
Daniel
3f66df222e Fix intel tests 2019-05-22 16:05:57 +02:00
Daniel
a2bad3524c Fix stack trace output 2019-05-22 16:05:01 +02:00
Daniel
b8374f044a Upgrade nameserver to take over the DNS port when in use by another process 2019-05-22 16:04:41 +02:00
Daniel
7043f05144 Upgrade pmctl to only do a self upgrade when the update is already available 2019-05-22 16:02:31 +02:00
Daniel
a316542f82 Set new API port 2019-05-22 16:01:46 +02:00
Daniel
67578f9e4d Add windows/amd64 to pack scripts 2019-05-22 16:01:19 +02:00
Daniel
79c62036f3 Fix dnsonly nameserver 2019-05-10 12:10:09 +02:00
Daniel
e37f706223 Fix path conversions 2019-05-10 11:58:20 +02:00
Daniel
16db10b84b Improve performance, logging 2019-05-10 11:57:51 +02:00
Daniel
e72ed023db Improve logging, support pre-authorized ports 2019-05-10 11:57:18 +02:00
Daniel
55ef385dcb Use pre-authorized ports for dns queries, improve logging 2019-05-10 11:56:50 +02:00