-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tap_user usability tracking #87
Comments
Yeah it will be there in future. The networking is WIP as you can see from README, my attention is pretty scrambled over multiple things. P.S. Is there a way to draw a raw framebuffer on Android using native GUI APIs? I am going to add JNI support and then we can have native Android RVVM app without VNC shenanigans. A while ago I expected SDL to be usable on Android and only later realized it isn't... |
Current
|
Maybe it is worth to add VNC support into RVVM itself. There is such feature in QEMU (It acts like a VNC server), but I am unaware how complicated that might be (At least we have a nice networking lib). Doing that via guest means is arguably not an ideal solution (We don't see the boot process, requires user intervention, what about non-Linux guests?), and we need a proper Android port anyways. So I guess JNI + android GUI is the best long term solution for this usecase. |
Ok i will change the issue name. P.S. I dont know much about the android api .(in fact,my project heavily depends on alpine-term.I dont found any android app can draw a raw fb,even the termux-x11 or xserver xsdl dont use it).Besides, adding gui support is not so important i think .Many people dont need the gui support on android,they may prefer terminal .And if the port forwarding and the gpu support is done ,the user can start a vnc by themselves.A unused vnc causes profermance decrease. If you want to build the own RVVM app ,editing on my project may be a good idea ,just delete the descriptions of archlinux and you will get one .(My project is still undone ,it will take me about 2 weeks to fully move from QEMU to RVVM .And if its done ,i will notice you in the discussions area) |
Thats true ,I prefer the vnc method ,its also useful on other platforms.The Android GUI method is a bit complicated (termux-x11 might be a exmaple , it has developed for more than 3y but still have large amounts of bugs) ,but adding a vnc viewer in the app might be a good idea as the user can connect to the machine without using other apps. |
A good vnc viewer project is avnc, its license is GPL3.You can insert some parts of it into the app. |
Commit 833a16e solves all previous TCP traffic issues and running out of UDP ports. Please report if you still have any TCP stability issues. |
Figured there is an issue with keepalive ACKs not being properly handled. Fixed locally, will be upstreamed soon. |
A bug occured on NetBSD:
and when run
The 'H' of "HTTP/1.1" disappeared ,so both the length of the packet and the head of the packets might be wrong(?)
The dhcp just worked well.I haven`t tested udp connections yet,and I also don`t know much about how to test it. |
I just tried
It seems that curl can`t detect the end of the connection. |
Ideally I'd need a full
Oh, this is unexpected. Usually this indicates host resource exhaustion and only seen to happen on Windows with >1024 open connections. It is unexpected from Line 60 in 226330d
|
Commented . It worked!!! Both bug is fixed.Great.Maybe a port of NetBSD can be added. |
Yes...I got that warning when compling RVVM on sdf. |
This basically means NetBSD violates |
Fixed kqueue issues on NetBSD in 2aba896. Report if something isn't right still. |
Fixed another (rare) kqueue bug, perhaps it hasn't bothered anyone yet but there it is |
I am not sure at all that it's on RVVM side. I occasionally see it's balancing multiple downloads properly, sometimes not, and I have no idea what could be going wrong (I am just pumping data from a socket into ethernet frames). However, running I will examine if, for example it accidentally prioritizes one socket over others. Line 54 in 5ab8066
|
Running with |
Is this problem fixed now? And, there isn't an option matched with port forward, maybe an option like |
I've almost finished a fix for localhost connections via port forwarding. Also working on distinguishing graceful FIN versus RST from outside. Will merge soon |
Please test 89a01de, it should implement all the desired (so far) functionality (But no special arguments yet). |
Fixed a bunch of minor networking issues in staging branch. |
@X547 In upcoming patch it will be possible to have a separate IP address for the guest, so basically a non-NAT scenario without It relies on
The guest will be accessing the network from that address now on. It doesn't need to be a physical adapter either, so you can seat the guest onto a It is then possible to disable emulated NAT in tap_user and directly map it's IP to the assigned one, and map any ports directly without port translation (Which should be configured separately) IPv6 is also worked on, the remaining bits are ICMPv6 and proper guest addr assignment. I am not sure yet if above technique will work for IPv6 ranges, but at least I'm sure /128 addresses will work.
|
When running in unprivileged environment without additional configuration, IPv6 will be still usable for internet access, but will be NATed - there is pretty much no other option in unprivileged case |
A separate IP address would be great, but is it possible to choose the ip address to bind with? And, it may cause ip address conflict if the user is not sure about whether the ip address is available in the network. |
Basically there are going to be 2 options:
The latter option will be useful for more advanced usecases like firewalling the guest using host tools (iptables/netfilter/ipfw), accessing it as separate host without NAT, creating a virtual lan or putting it behind a VPN/proxy. It doesn't break simpler usecases (Which is to just get working internet everywhere) |
Great. That will make my current use unaffected. Port forwarding will really help.
That seems attractive for me. Can you tell me which privileges (or, capabilities) in linux are needed?
Hmm... It will also make it possible to use |
Systems without |
Implemented Supported syntax: |
( Sorry for my poor english)
The QEMU has a feature to bind the guest`s port to the host
\s port.Will RVVM support it later?It\
s impossible to support x11 or SDL on android,so the vnc is the only choice.It`s important to make it possible to connect to the guest using the network port.The text was updated successfully, but these errors were encountered: