I loaded a network (.json) file which was generated from the Ring server. After loading, I am trying to extract a subnet from the entire network but the options in the Rinanalyzer plugin is disabled! Can anyone suggest me how to do it? or other ways to extract the subnet?enter image description here
I believe you need to run the Analyze Network first and create the view, but I haven't looked at RINAlyzer in a long time. Let us know if that doesn't work and we can dive into it more completely...
-- scooter
Related
I’ve tapped into an RS-485 bus and dumped some data. I’d like to implement a strawman/MITM device to intercept the traffic and send commands independent of the existing master/slave.
Here are some screenshots of some logic samples I captured in Saleae Logic 2:
zoom 1
zoom 2
zoom 3
My problem is it doesn’t look like it’s framed properly. I’ve got the analyzer set to Modbus RTU master, 9600 baud, no parity bit, one stop bit.
Could anyone tell me if this looks correct or incorrect based on these screenshots? Is this Modbus protocol, or something different? Trying to see if I’m on the right path here. Thanks. Any additional info I’m happy to supply if requested.
Tried several different ways of applying analyzers trying to get a solid stream of info
I want to have a single canoe configuration which will prompt user to select his/her choice of interest on CAN speed . I have two seperate canoe configurations developed ,one on high speed CAN(500Kbps) and another on CANFD(2000kbps).And each config has its own set of Nodes simulated .Now I don't want have a seperate configs instead want to have one cong which will load respective config's when user selects his/her CAN speed.
Can I integrate these two seperate config's into one so that if I select HS-CAN ,I need to have its simulated nodes being displayed in the simuation setup and if I select CANFD ,I need to have its simulated nodes being displayed in the simuation setup.
Well, depends hon how dirty you want to have it...
If you're not using VN89xx in standalone mode, there is no "standard" way to have a "master" configuration and then load other configs.
However, you can call CANoe from within CANoe, with SysExecCmd canoe32.exe /a /f "config" to launch CANoe und then immediatly exit canoe from within capl. That's dirty but should work (see CANoe and CAPL help for references). Oh, and don't forget to recall the master configuration after the other configuration finished. This has load times, though...
You can also manually integrate both simulations into the same configuration onto separate CAN buses. You then must assure, only one bus can run at the same time. If you have two piggies: fine. Wire them together externally and you're done. If you don't, each time you change bus (via a CAPL script, stopping and starting the respective simulation), the CAN parameters must be reset to the required specification. Then, in the hardware configuration, set both channels to the same transceiver and ignore the popup telling you, that this is a bad idea (works only with CAN).
Worst would be, of course, to implement everything onto the same bus in CANoe and handle it there.
Best case would be: Don't have such requirements or use external tools. Or usesrs that know what they're doing. CANoe is almost fully scriptable via ActiveX, if you want to go down that rabbit hole...
Sorry to say but this is generally one of the things you want to avoid. ;-)
I tagged this question as "conceptual" because I'm not sure if creating Chrome Extension is the best way. In my opinion it's better to ask before spending few hours writing something and find out that some part is too much difficult or impossible.
The problem
I used to analyze my finance using csv files downloaded from bank account. But as it sometimes happens, my bank launched new GUI and csv feature disappeared. They do not know when and whether they will do it at all. So I have to grab transactions in some way and put them in CSV file.
Concept of solution
I think scrapping the page with transactions it's not good way, because whole data is looking like generated with totally random CSS classes and ids. I noticed that list of transactions is sent in JSON format by AJAX response. I analyzed that JSON and every interested field has name, so access to data is quite easy. Only one problem I see, it's that first JSON load shows only first 10 transactions. To load more I have to scroll down, then there is next AJAX request to the same URI, then next JSON load comes in response. So, if I want to get transactions from whole month I have to scroll few times down and my tool should catch first and also next responses.
I don't have experience with Chrome Extensions but they claim that if I know web technologies like JS, CSS, HTML it shouldn't be difficult to write simple extension. If I can take this JSON from AJAX response to my extension then generating CSV file shouldn't be problem.
The question
The main question is if my concept is possible to realize. Is there easy access to data loaded from AJAX response? If you see any better solution I'm open to suggestions.
you can create CSV file from Json in DOM (don't required to call any API).
Please refer this demo link
jsfiddle.net/hybrid13i/JXrwM/
if you care implemented this functionality in chrome extinction so you need to add download permission in manifist.json https://developer.chrome.com/extensions/downloads
I'm facing to this problem. I spent much time by searching some API or "something" with it's possible to obtain transferred data through Wi-Fi from other applications (how screenshot bellow shows).
Does someone know a way how to do it? Is here someone who tried (or has already done) for something similar? Or a little differently: Is this possible to do it?
Currently i think that this is not possible because i think that non-system application cannot retrieve data from other application(s) installed on device. But maybe i can "missing" something so i placed this question and will be glad for whatever suggestion.
Thanks in advance!
TrafficStats
Class that provides network traffic statistics. These statistics include bytes transmitted and received and network packets transmitted and received, over all interfaces, over the mobile interface, and on a per-UID basis.
This means you can use getUidTxBytes to get whole transmitted data and so far getUidRxBytes to get whole received data.
And you can get application's UID with:
getApplicationInfo().uid
or for other applications refer THIS
While Sercan's answer is correct, must warn you that TrafficStats is not always guaranteed to give you correct stats. Basically TrafficStats will check files in the directory /proc/uid_stat/1094/ and various files like tcp_snd, tcp_rcv etc under this directory. On some devices, these (pseudo)files are not updated. Hence you should always check for a return value of UNSUPPORTED (-1) http://developer.android.com/reference/android/net/TrafficStats.html#UNSUPPORTED
Also, typically these stats have not been including UDP data. So the numbers you report will be wrong for apps that use UDP (like VoIP apps). For more details, look at
https://code.google.com/p/android/issues/detail?id=32410
On latest Android versions, there is another /proc file that gives you a lot of details. This is at /proc/self/net/xt_qtaguid/stats. But this pseudo file will only show the stats of an app reading that. Any Android app tries to read this file, it will not get stats related to any other Android app.
Why not try reading config files containing network information?
try this:
adb shell
cd /proc/uid_stat/XXXX(Proc id)
cat tcp_rcv/tcp_snd
I am working on load testing a web service where request are of the form:
GET http://host/my/app/some-data
Where some-data is a string that serves as input to the logic behind the service. Now I have 1 million urls with random values for some-data, and now I want to try to simulate load with those 1M urls.
GET http://host/my/app/some-data_1
GET http://host/my/app/some-data_2
...
GET http://host/my/app/some-data_1e6
I dont know how to do that and have not made any substantial progress towards the goal. How do I do this?
That's a pretty trivial task for good load testing software, so I'm curious why you haven't had any success. You didn't mention what level of load you are trying to test - if you are looking for a very high level of concurrency, then that may rule out many of the tools.
So: I'd start by researching some load testing tools that can handle the level of concurrency you need and are within your budget.