在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):rootkiwi/an2linuxserver开源软件地址(OpenSource Url):https://github.com/rootkiwi/an2linuxserver开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):AN2Linux - serverSync Android notifications encrypted using TLS to a Linux desktop over WiFi, Mobile data or Bluetooth. This is the server part of AN2Linux which will run on your computer. The Android app can be found here: https://github.com/rootkiwi/an2linuxclient/ DependenciesI'm using archlinux but I've added here what I think to be the package names for debian/ubuntu as well.
Dependencies for bluetooth
How to useFirst time just run AN2Linux uses TLS for encryption with both client and server authentication. That means that the client (android) and the server (your computer) need to exchange certificates first. To initiate pairing you must have For bluetoothFirst you need to pair your phone and computer with each other (the normal bluetooth pairing), and then do the certificate exchange as explained above. Why use TLS over bluetooth when bluetooth is already encrypted? Well, firstly, because I wanted to try :) And secondly, from the little I've read about bluetooth it seems that the encryption key size negotiated can be very small. PyBluez not working?I'm using archlinux so I'm going to tell you how it works for me, I have no idea how it works on other distros. It may work out of the box or it may not, just try it. This is the error I get without the fixes below: So, if you're not using archlinux but still are using systemd and get an error like that maybe you should try something similar. Edit bluetooth.service in an override file
Add the following lines
then apply changes
More info about this problem: https://bbs.archlinux.org/viewtopic.php?id=201672. Config directoryFirst time when running If In this config directory a few files will be created. Config fileA default config file named
Open that config file for more detailed info about every setting. Server RSA key and certificateAN2Linux will generate a 4096 bit RSA key Just delete those and restart AN2Linux if you want to generate a new key and certificate. Trusted certificatesAfter a successful certificate exchange AN2linux will create a file named
Every line in that file will represent a trused certificate. It will be in the format That first part Diffie–Hellman ephemeralIf the setting That is because SSLEngine does not support any ECDHE cipher suites until from API 20+ (Android 5.0+). Run AN2Linux as a serviceSecurity with a firewalla popular easy-to-use firewall for Linux is Uncomplicated Firewall (ufw)
LicenseGNU General Public License 3, with the additional special exception to link portions of this program with the OpenSSL library. See LICENSE for more details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论