-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from rwth-acis/development
Release
- Loading branch information
Showing
28 changed files
with
980 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
/output | ||
/export | ||
/node-storage | ||
/.las2peer | ||
/tmp | ||
/log | ||
/lib | ||
/ivy/ivy.jar | ||
ivy.jar | ||
/service | ||
/out | ||
/.idea | ||
*.iml | ||
/.las2peer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// This is the policy file used for las2peer sandboxing. | ||
// If you want a service to have access to the file system or | ||
// open network ports add the respective rights below. | ||
|
||
// THE SANDBOX IS DISABLED BY DEFAULT! | ||
// If you want to deploy las2peer it's strongly recommended to comment out or delete the following lines. | ||
// This enables sandboxing and protects your system from malicious file access and networking operations. | ||
// If you experience issues please check the logs for blocked permissions and whitelist them in this file. | ||
grant { | ||
permission java.security.AllPermission; | ||
}; | ||
|
||
// example: This entry gives read and write access to a local directory called 'localdir' | ||
// in your LAS2peer installation directory. | ||
//grant { | ||
// permission java.io.FilePermission "localdir", "read, write"; // the directory itself | ||
// permission java.io.FilePermission "localdir${/}-", "read, write"; // all files and subdirectories inside | ||
//}; | ||
|
||
// las2peer related files | ||
grant { | ||
// las2peer file read permissions | ||
permission java.io.FilePermission "etc", "read"; | ||
permission java.io.FilePermission "etc${/}-", "read"; | ||
permission java.io.FilePermission "config", "read"; | ||
permission java.io.FilePermission "config${/}-", "read"; | ||
permission java.io.FilePermission "properties", "read"; | ||
permission java.io.FilePermission "properties${/}-", "read"; | ||
permission java.io.FilePermission "lib", "read"; | ||
permission java.io.FilePermission "lib${/}-", "read"; | ||
permission java.io.FilePermission "service", "read"; | ||
permission java.io.FilePermission "service${/}-", "read"; | ||
|
||
// las2peer file write permissions | ||
permission java.io.FilePermission "log", "read, write"; | ||
permission java.io.FilePermission "log${/}-", "read, write"; | ||
permission java.io.FilePermission "node-storage", "read, write, delete"; | ||
permission java.io.FilePermission "node-storage${/}-", "read, write, delete"; | ||
|
||
// las2peer network permissions | ||
// allow local ports from 8000 to 9999 to be used as server ports | ||
permission java.net.SocketPermission "localhost:8000-9999", "listen"; | ||
// the following portrange is reserved for JUnit tests | ||
permission java.net.SocketPermission "localhost:14500-14599", "listen"; | ||
// allow connections to any remote host | ||
permission java.net.SocketPermission "*", "connect,accept"; | ||
}; | ||
|
||
// Linux system file permissions | ||
grant { | ||
permission java.io.FilePermission "/dev/random", "read"; | ||
permission java.io.FilePermission "/dev/urandom", "read"; | ||
}; | ||
|
||
// pastry permissions | ||
grant { | ||
permission java.io.FilePermission "${java.io.tmpdir}", "read"; | ||
permission java.io.FilePermission "user.params", "read"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.