Skip to content
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

WEB GUI #57

Open
backl1n opened this issue Feb 6, 2023 · 15 comments
Open

WEB GUI #57

backl1n opened this issue Feb 6, 2023 · 15 comments
Labels
enhancement New feature, request, or improvement help wanted Extra attention is needed

Comments

@backl1n
Copy link

backl1n commented Feb 6, 2023

Describe the solution you'd like
A clear and concise description of what you want to happen.

if its possible to add web ui for use on server

@GyulyVGC
Copy link
Owner

GyulyVGC commented Feb 6, 2023

The library I used to develop the GUI actually supports web.
This is something I'm interested in but unluckily not in the short term, due to servers cost and to the fact that I'm giving precedence to the development of new functionalities for the native app.
I'll leave this issue open and maybe one day it'll happen.
Thanks for your suggestion!

@GyulyVGC GyulyVGC added enhancement New feature, request, or improvement wontfix This will not be worked on labels Feb 8, 2023
@acolombier
Copy link
Contributor

That would also be a feature very useful in my case - few servers I would benefit this application in.

I had a look at the library, and I am not sure this will be as straightforward as a few component are entangled within the GUI crate (e.g, the control of the packet capture )

I believe this could be achieved by serving an HTTP actix-web server that distribute the pre-build WASM interface on the root and serve an update websocket to tunnel stats from the server to the web client.

If that sounds good, I can get started with this under a web feature as it seems it isn't something you would be looking at. Long term, perhaps we could consider using command argument (clap-rs maybe?) to allow the two modes as part of the same binary.

@GyulyVGC
Copy link
Owner

GyulyVGC commented Feb 8, 2023

You could start trying something if you really want to, but at the moment I cannot assure you that a web feature will actually be included in the next releases.
Of course when the process will be mature and if the results will be satisfying, we could start collaborating and work on this feature together.
I would definitely prefer having the two modes as part of the same binary by the way.

@backl1n
Copy link
Author

backl1n commented Feb 8, 2023

2 mode in binary with you do choice with option when you execute the binary

@acolombier
Copy link
Contributor

SGTM - and thanks for the fair warning. Most of all, I would like and try to do this in the start-of-the-art, I cannot promise it will be within the same binary at first. I would rather iterate on that piece of work and make sure every development decisions fit within what you have in mind/you would accept in the project.

@GyulyVGC
Copy link
Owner

GyulyVGC commented Feb 8, 2023

SGTM - and thanks for the fair warning. Most of all, I would like and try to do this in the start-of-the-art, I cannot promise it will be within the same binary at first. I would rather iterate on that piece of work and make sure every development decisions fit within what you have in mind/you would accept in the project.

Sounds good to me, your help is very much appreciated.
I'll be looking forward to your work, and you don't have to feel any pressure about it!
Everything you do will be fine as long as it will be discussed together!

@matbgn
Copy link

matbgn commented Feb 28, 2023

Also very interested to run sniffnet on servers 😄

@GyulyVGC
Copy link
Owner

Also very interested to run sniffnet on servers 😄

Nice to hear!
If you don't mind sharing, could you describe more precisely the scenario you have in mind for a possible usage?

@backl1n
Copy link
Author

backl1n commented Apr 14, 2023

@GyulyVGC monitor all network traffic from this server sorry i dont see your message

@matbgn
Copy link

matbgn commented May 18, 2023

If the web version is available we have two options, either we could connect to the server IP + PORT like this http://192.168.1.X:9999 to quickly see traffic in its own perspective. Or we could be even be more minimalist on headless servers and use Carbonyl directly with http://localhost:9999 (see https://github.com/fathyb/carbonyl )

@backl1n
Copy link
Author

backl1n commented May 19, 2023

I didn't understand well, I was talking about a web interface installed on a vm that can be checked from a client pc and that from this interface we can see all the network traffic machine by machine thanks to a data centralization @matbgn

@matbgn
Copy link

matbgn commented May 19, 2023

Describe the solution you'd like A clear and concise description of what you want to happen.

if its possible to add web ui for use on server

🤣 OK maybe to concise this time. Nevermind ignore my comment if wanted.

@backl1n
Copy link
Author

backl1n commented May 19, 2023

I would like you to create a web interface that can see all the interface machines on the network.
I think if you create a model with an agent and a centralized server, you can centralize all the bandwidth and data usage that is used by machines like this model -https://www.google.com/url?sa=i&url=http%3A%2F%2Fparallel.vub.ac.be%2Fdocumentation%2Fpvm%2FExample%2FMarc_Ramaekers%2Fnode8.html&psig=AOvVaw20DKesLhIrzUwUSkI7iuDL&ust=1684621840200000&source=images&cd=vfe&ved=0CBEQjRxqFwoTCNDc88S3gv8CFQAAAAAdAAAAABBO
@matbgn

@matbgn
Copy link

matbgn commented May 20, 2023

As I'm not maintainer of this project and have no impact on decisions here, maybe it will be better to ping @GyulyVGC at least 😉

@GyulyVGC
Copy link
Owner

Thanks guys for the feedback.

I have a bunch of other goals for the short term, but if I will be able to keep working on Sniffnet even after the GitHub Accelerator, I will definitely consider developing a web version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, request, or improvement help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants