Ubuntu Security :: Running TCPDump In The Background?
Apr 1, 2010
I was wondering how one could set up tcpdump to run in the background, dumping all output to a file until I terminate the process.Here is the dilema... I SSH into the box that will be listening (using tcpdump)...
ssh> sudo tcpdump -i eth0 > dump_file
yadda yadda...
then if I exit my ssh session, tcpdump closes.
If I do a...
ssh> sudo tcpdump -i eth0 > dump_file &
[1] 12938
yadda yadda.
View 7 Replies
ADVERTISEMENT
Nov 8, 2010
When attempting to run a tcdump in the background (IPSO) with the following command:
I get the message:
However the command runs fine without the '&' at the end of the line are there syntax restrictions in using the '&' flag?
View 2 Replies
View Related
Jul 10, 2010
I have ssh open to one of my servers on a non-standard port. I have never seen anything to make me believe someone has cracked or even has tried to crack into the machine in the past. However, I was troubleshooting another issues I had and notice entries like this in my tcpdump output:
13:09:22.341390 IP 192.168.1.2.51413 > 190-82-164-231.adsl.tie.cl.10399: UDP, length 67
13:09:22.341427 IP 192.168.1.2.51413 > 95.58.5.15.22439: UDP, length 67
13:09:22.341464 IP 192.168.1.2.51413 > ool-4350a8e7.dyn.optonline.net.56836: UDP, length 67
13:09:22.341499 IP 192.168.1.2.51413 > 80.237.121.2.63878: UDP, length 67
13:09:22.396750 IP ool-4350a8e7.dyn.optonline.net.56836 > 192.168.1.2.51413: UDP, length 58
13:09:22.698354 IP 95.58.5.15.22439 > 192.168.1.2.51413: UDP, length 58
Obviously some of these are IP addresses of people on ISPs. Are these people just scanning ports? I do not see any invalid users in my secure log so I am not too concerned right now. But I am getting a ton of these (above entries) in my tcpdumps, so it is a little scary to think that there is this many people trying to scan my ports and possible attacking me. I am just trying to learn more about security and tcp packets.
View 2 Replies
View Related
Feb 23, 2010
I'm not an iptables expert. Anybody know how to create a rule/chain that will log info similar to what tcpdump -s0 would do?
View 3 Replies
View Related
Aug 13, 2011
I want to capture all packets from site "www.examplesite.com" so I checked its ip address in an ip address look up and it was 123.456.abc.def.So I set my filter to "dst host 23.456.abc.def"However I then realised that multiple ip address point to ww.examplesite.com, for example say the following ips also go to987.654.321.000111.222.333.444So is there a filter that will automatically capture all traffic going to www.examplesite.com or do I have to go and manually find all it's ip addresses and pass them all to the filter?
View 2 Replies
View Related
Mar 7, 2011
Every day I use the top command to check the processes running on my Kubuntu 10.10 system. Every day I find that apt-get is running under the root account and using 100% of the CPU. It'll run forever if I let it but I use "killall" to stop it. Pressing the "c" key in top shows the command used to start the process and doing that I see that apt-get is being started with "apt-get -qq -y update". The -qq param is for quiet mode and the -y is to answer yes to any questions. The important thing is the update parameter. It seems that some "feature" of Ubuntu is starting apt-get in update mode for me on a daily basis. I installed Kubuntu only 3 days ago and I don't recall turning this "feature" on anywhere. How can I disable this "feature" and prevent the system from auto-starting apt-get.?
View 3 Replies
View Related
May 13, 2011
Ive got my webserver linked up to my ubuntu computer, and i want it to act like a server controller (for srcds games or w/e) Basically, When i click the start button, the SSH launches 'css.sh' by doing this 'sh css.sh'... Anyway, the .sh file has this inside it cd sourceds/srcds_1/orangebox clear ./srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate
But either way, that is becides the point. When it launches i dont see the terminal window, its invisible.... (but its running) How do i see it when i go to my ubuntu desktop and how to i put more commands in it once its launched in the background.
View 3 Replies
View Related
Mar 23, 2010
I'm running Ultimate Edition 2.0 64bit. When I'm running Firefox and I'm not doing anything on it it starts to use the disk intensively. I checked on terminal using the top command and it IS Firefox using up to 85-90% of the resources. Anyone know what the problem is here? Can it be hacked? I already uninstalled and installed back again and it still doing it.
View 1 Replies
View Related
Aug 29, 2010
I have a basic script that watches my server, and informs me if it has gone down. I need to know how to run it without a console being open all of the time, I tried executing it with a trailing &, but to no avail.
Code:
for (( ; ; ))
do
if ping -b -c 1 chatify.net
then
[Code].....
View 3 Replies
View Related
Aug 3, 2011
In Ubuntu Natty with Unity desktop, how can I close the Piding window such that the program will continue to run in the background and I will get notifications when someone sends me a PM?
View 5 Replies
View Related
Mar 3, 2010
Now whenever I turn on the computer, there would be a Fedora "circle" non-stopping. How can I stop it?
View 1 Replies
View Related
May 31, 2010
I have a LAMP server with some php files. When I do this:
> php -f filename.php
It works great. But of course, it stops when I close the SSH window. I need to be able to run it and leave it running. The script is a crawler and it takes about 3 hours to complete it. So I tried this:
> php -f filename.php &
This doesn't work at all. It doesn't even execute the script.
View 10 Replies
View Related
May 30, 2010
When we start some applications like skype though we close it , it will minimize into the panel, another one is amarock that will not quit the application . But now I am not able to see the icons. ( As the applications are already running in background I cannot relaunch it )I can take the minimized applications, but when we close , how can I retrieve it ?
View 2 Replies
View Related
Jul 3, 2010
How do I make Evolution run at system start-up in the background and check my in-box?
View 1 Replies
View Related
Nov 3, 2010
I am running a dual-boot of LMDE and Debian Squeeze XFCE, and I actually have a Debian XFCE question. How can I tell what is running in the background. I have been tweaking my Debian install since I first installed it about 3 weeks ago, and I keep adding to the RAM usage. What is the best way to see what else is running out there and whether or not is it necessary?
View 5 Replies
View Related
Jun 18, 2010
In a script that I run manually after I have logged in, I have the following:alias kq='konqueror &' The intention is to run konqueror in the background. What happens is as follows. A. I run kq; it starts konqueror but does not return to the command prompt. I quit konqueror. B. I run kq again ; it starts konqueror and this time I get a the command prompt. If I quit konqueror and run kq for a 3rd time it behaves as in A. Quit and run it behaves as in B, and so on..
View 3 Replies
View Related
Feb 28, 2009
I have written a script, lets call it B, that calls scripts A1 to A9. I want to run the A scripts simultaneously since they can take up to 3 hrs to complete. As you might expect, I use the & to run the script in background. I am looking for a mechanism to evaluate the return code from the A scripts when they eventually complete?
View 2 Replies
View Related
Feb 23, 2011
Is there some way to see only the process running in the background?
View 4 Replies
View Related
Jan 14, 2011
Is there any way to run a long process in background so that it still remain in running state even if the user logout the system.
View 12 Replies
View Related
Mar 1, 2010
If I wanted to run a script in the background and keep it running even if I close putty I do like
./perl.pl &
right?
View 4 Replies
View Related
Jan 22, 2011
Is simplebackup (sbackup) supposed to be running at all times in the background? i.e. show itself on the top panel at all times?
View 1 Replies
View Related
Mar 10, 2011
How do you move a running process to the background? For example, type the command sleep 60 on the command line and try moving that process to the background.
View 1 Replies
View Related
Mar 27, 2011
I have a script that calls another program/script, xxx, to run in the background. Supposedly this program at most should finish within five (5) minutes so after five (5) minutes, I run some other steps to run the script into completion. My problem is sometimes the program takes longer than five (5) minutes and this is causing problems when running the rest of the steps in the scripts. Can anyone suggest how to re-program my script. At the moment, the KSH script, i.e. test.ksh, is doing as below:
test.ksh:
.....
.....
xxx/xxx.ksh <--- program/script called by the script
sleep 300
..... run the rest of the script .....
..... problem is sometimes xxx/xxx.ksh takes longer than 300 seconds .....
..... any way that I can monitor that xxx/xxx.ksh finishes before I run .....
..... the rest of the scripts .....
View 3 Replies
View Related
Jul 27, 2010
I have two queries,when am using skype e.g and I close it,it remains running in the background however I cant maximise it again.(have to kill it and then start it again).ALT+ TAB brings the other processes but not skype.It's still running and I can see notifications.2.In firefox,when am scrolling down a page,the text gets mingled into each other,i have tried to edit options in firefox (autoscrolling and smooth scrolling) but no positive change.
View 4 Replies
View Related
Sep 10, 2010
While executing df command on an AIX Console, by mistake I ended the line with an ampersand:
[Code]...
View 5 Replies
View Related
Feb 1, 2010
how many terminals are running in background while rhel installation
View 3 Replies
View Related
Aug 26, 2009
I wonder how one can, if at all, run an X program in the background *in an emulator sub-shell process*. What I mean is to launch a program in an emulator, e.g, by xterm -e gedit
but with gedit (in this example) running in the background from inside the xterm sub-process, so that the xterm will accept other commands. In the above, gedit will run in the foreground, and of course, if you do
xterm -e gedit &
then xterm will run in the background, not gedit.In short, I would like to achieve the same thing as "gedit &" as you manually do in xterm, but from another shell. What I aim to do is write an X init script to achieve this result (to have the emulator open and a program or two running from it, in the background, at the X startup).
View 2 Replies
View Related
May 24, 2010
I have a script that makes several calls to xmacroplay, which controls the keyboard and mouse. I would like to run this in the background or on a separate workspace or something so I can still use my machine for other things. I suspect this is possible but I don't really know what to look for.
View 2 Replies
View Related
Apr 10, 2010
I have a scenario where I am executing some child shell scripts in background (using &)through a master parent script.
Is there a way I can capture the exit status of each individual child script after the execution is completed.
View 7 Replies
View Related
Sep 23, 2010
How to setup vncserver and keep it running in the background after restart on Lenny workstation? The admin should be able to connect every time via vncviewer to this workstation.
View 2 Replies
View Related