Lightweight smbclient analog for embedded device [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Improve this question
On our embedded devices we use nbtscan and smbclient utilities to find shared folders in local network. For our new device we have strong restriction on size of the rootfs. We had to sacrifice the smbclient and related libraries to free up disk space for other functionality. Are there any other way to support folder sharing on device? Below are utilites and tools I have on my device:
nbtscan
qt5
busybox
mount
To support this functionality I have 5 Mbytes of flash memory.

Not think that you can found solution smaller or simpler than smbclient.
You can try recompile smbclient to optimize size and exclude extra info. But think true way is change protocol to ftp or http and use another small client. May be curl.
UPD: Please check samba-commander project . I not sure with that. But may help

Related

Qt is too large for my capped bandwidth. What are my alternatives? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to write a program that has a canvas and users can draw on it with different colors. I found out that Qt has such thing, but when I tried to install it, I realized that it requires 32GBs of installation which is well beyond my bandwidth. I then realized that most of the installation includes things such as MSVC++ which I don't need, and MinGW which I already have. But then again, the modules which remain occupy over 20GB of space. It's not only that I don't have enough bandwidth, my HDD space is low as well, as it's filled to the brim and even my external HDDs are filled to nowheresville. What are my alternatives? Is there a nice, header-only canvas library for C++? Thanks a lot.
You can build the Qt yourself with the components you need (qtcore + qtwidget)

commercial application licensing issue and a solution for libpcap applications [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to develop some commercial tool in the area of processing data extracted out of a packet sniffer. I am aware that libpcap is available for that but I am quite sure that there are many restrictions due to licensing issues.
Suppose I don't link my application directly to libpcap libraries, but instead I use the output of tcpdump forwarded to a socket or to a pipe as a feed for my tool..do you think that I will be in trouble from a legal/licensing point of view?
Your best bet is to look at the license directly, which is a 3-clause BSD license. There is no restriction on the usage in commercial applications.
Reliable legal advice is most likely available from a lawyer of your choice.

network packet creation/parsing library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a library that helps with network packet creation/parsing. Something as Python dpkg library. I need to change IP addresses, to check ports and to analyze payload of TCP/UDP packets which I have as Ethernet frames.
I know this can be done manually, e.g. as is presented in WinPcap docs or libpcap docs. Are there any library for this?
C++ on Windows.
Take a look to libcrafter. It's a library for creation and decoding of network packets very similar to Scapy. Not sure if it can work on Windows but you can try.
I know it's been a while this answer but you should try libtins. It is a really versatile, object-oriented and efficient library.
Disclaimer: I was one of the creators of the library and it is actively maintained by Matias Fontanini.
Have a look at the plugins and API for for Wireshark.

Find available network interfaces in C/C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does anyone know a C/C++ code for finding the network interfaces available?
I've been looking for some code, but most times they are quite complex. Is there a simple way to do this?
See the getifaddrs man page. There is an example program towards the end.
If you're looking for this in context of a desktop application, and you want to be notified of changes (e.g. interfaces connecting/disconnecting), consider using DBus to monitor NetworkManager.
http://projects.gnome.org/NetworkManager/developers/api/09/spec.html
You can enumerate interfaces, as well as interface-specific things (like available and connected WiFi access points, configured-but-not-dialed PPP links, and so forth), and if anything changes, you'll receive a notification over the DBus.
(If this is for something more like a server program, where you expect the network configuration to remain more stable, then things like getifaddrs are possibly more appropriate.)

Concurrent system modeling tools [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm currently taking a course in concurrent software design, and we're focusing a lot on modeling. I see the value in this, but I am not sure if the tool we are using is horrible, good, or somewhere in between, because I can't find any other examples. We're currently using LTS Analyzer, with some more information here.
So my question is, for anyone who has done concurrent system design, do you model you application before implementing, and if so what tools do you use to do so? Thanks.
While I haven't used is myself I've heard some good things about JPF (planning to use it soon).
One of the more widely known tools for modelling & verification of concurrent/distributed systems in various industries is the SPIN model checker: http://spinroot.com/spin/
However keep in mind that no matter how correct your design and/or verified your model is, your implementation still needs to follow suit. This is where many projects fail in one way or another.