-
Notifications
You must be signed in to change notification settings - Fork 18
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
Carnivore on RPI3 #4
Comments
i did add Linux ARM support a few months back after a request from Raspberry PI users. but i have no RPI3 with which to test, so this is not an officially supported platform unfortunately. you might give it a try, and if there's any bug fixes i can do my best to attend to them. |
Cool, I'm trying it on my Raspberry. Though I'm already having quite the trouble understanding what I exactly have to do to install or make it running. First thing I did was install processing on RPi Then I tried to run one of the example from the build/docs/processingexamples.zip What I also see in the docs and in the files are something about a build.unix (which I don't find, only a build.xml) and lots of make files but when I cd in to the folder and type make clean it gives errors. At last I need to change a few lines of code if following the linux install from source guide (how do I install the non source? Is there an apt get way? ). But these lines show something completely different, so I don't know if I should change them or swap them or add them. All quite confusing to me. I'll keep trying and looking. But if you have some pointers or else. I'm very glad to here them 👍 |
Ok, I've managed to install processing on RPi, install the library from the processing library pool, not manually. (Is this required?) Only thing I'm unable to do is run When running the example sketch I get following errors.
|
I'm away from my computer at the moment so guessing from memory here... but do you have write permission set correctly in the carnivore library folder?
you might also double check if the file .carnivore_preferences.txt exists and/or create it in the same folder as the carnivore library files `touch .carnivore_preferences.txt` ...and again make sure the read/write permissions are set correctly.
… On Nov 27, 2017, at 1:39 AM, BLCKPSTV ***@***.***> wrote:
Ok, I've managed to install processing on RPi, install the library from the processing library pool, not manually. (Is this required?)
I'm pretty sure the lib's for jpcap is installed (because I didn't get an error.)
And not sure if the java library-path is adjusted correctly.
Only thing I'm unable to do is runsudo ./processingin the RPi it gives me command not found
When running the example sketch I get following errors.
java.io.FileNotFoundException: .carnivore_preferences.txt (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.rsg.carnivore.Preferences.save(Preferences.java:79)
at org.rsg.carnivore.Preferences.load(Preferences.java:67)
at org.rsg.carnivore.Preferences.<init>(Preferences.java:34)
at org.rsg.carnivore.Preferences.<clinit>(Preferences.java:26)
at org.rsg.carnivore.CarnivoreP5.setVolumeLimit(CarnivoreP5.java:67)
at org.rsg.carnivore.CarnivoreP5.<init>(CarnivoreP5.java:53)
at sketch_171126a.setup(sketch_171126a.java:37)
at processing.core.PApplet.handleDraw(PApplet.java:2412)
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1557)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)
[org.rsg.carnivore.Preferences] saving prefs to disk: .carnivore_preferences.txt
java.io.FileNotFoundException: .carnivore_preferences.txt (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.rsg.carnivore.Preferences.save(Preferences.java:79)
at org.rsg.carnivore.Preferences.put(Preferences.java:39)
at org.rsg.carnivore.CarnivoreP5.setVolumeLimit(CarnivoreP5.java:67)
at org.rsg.carnivore.CarnivoreP5.<init>(CarnivoreP5.java:53)
at sketch_171126a.setup(sketch_171126a.java:37)
at processing.core.PApplet.handleDraw(PApplet.java:2412)
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1557)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I managed to get this to work. There was an automated symlink for processing. so sudo processing starts up and makes it working. So this can be closed. Is there a group or forum to discuss certain project feasibilities? Because asking project related things is not really the place to do it for here? |
@RSG last single question, when the hex converts it to ascii with the ascii() command. Shouldn't I get something readable, now I'm getting some gibberishlike ascii, does it have something to do with the blank whitespaces?
|
This is less a technical question than a semantic one ;)
the ascii range is in fact a limited subset of values. If you have a text packet it will appear in carnivore ascii channel as legible text. If it is not a clear text packet then it will appear (to a human) as gibberish.
If you are seeing image data for instance many of the byte values will be outside of the ascii range. In carnivore non-ascii values are written as white space.
In fact there are many factors at play including how your router/switch is configured. Whether the data is encrypted. Etc.
… On Nov 29, 2017, at 12:38 AM, BLCKPSTV ***@***.***> wrote:
@RSG last single question, when the hex converts it to ascii with the ascii() command.
Shouldn't I get something readable, now I'm getting some gibberishlike ascii, does it have something to do with the blank whitespaces?
I didn't found much on this online, yet...
J E = cA' \h 5 D Nng a }F [ (s! (P 8 i" | J T H| 35P 6 r ,u M b\. g 6 F a } 2r , $) o C / M ' h l { ds @ | <5 d ^L [ S ?r=, ( T I ,= / n# ' < IG :L ~ i 4 Yi e * , $e S<( u*x #$A ^ + Z kvk Y = +7/ / b z R) m t x O P 'Y g ^ H[ :! ml C s s;p X{ M% G Uv \ r 1 " { X [ ;\ h | # $ 4yki 8g#n ? ; d s ? G R < ~ X 4 " L }< ~j: \ + xs `h\ m M 9 n z : C t' hh[ V u ?P >od O ?gkw V 4 pR , 1 'cK tr 8$= r )[ & T3s * + C`T @ H i V 9 ! e ; U Y d : & $Dy L5*
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi, |
again Raspberry Pi is not officially supported as i have no hardware on which to test, but my guess is this is a network question not primarily a carnivore question. i.e. the answer has to do with what kind of switch/router you are connecting to and if/how your network adaptor interfaces with that network. the short version is that all devices are different and many modern networks are pretty locked down, meaning you can't sniff much more than the traffic going to/from your own device. one solution is to change this from a bug into a feature and design a carnivore client that's oriented around the data coming to/from your own machine. i.e. design a client for which this network constraint is in fact an asset. |
Would It be possible to run in it on a Raspberry PI 3?
Now that processing is available for RPI3?
The text was updated successfully, but these errors were encountered: