Networking :: Packet Capturing On Remote Machine
May 19, 2010How can I configure, the packet capturing mechanism to allow non - privileged users to use it...
View 2 RepliesHow can I configure, the packet capturing mechanism to allow non - privileged users to use it...
View 2 RepliesI want local programmatic access to ssh output in Mac Terminal. First, I tried redirecting the output of each command to a file. The file was perfect, but of course it was on the remote server, and an sftp for each command output seemed a little.. Next, I tried to Applescript Terminal, but it only gives access to the currently visible text in a tab (i.e. if half the output has already scrolled out of sight, it doesn't get returned - useless).
Last, I tried piping ssh to tee (e.g. ssh user@host | tee output.txt). This almost worked. I have the output in a local file, but there are a lot of unwanted characters mixed in. For example, every time I hit backspace, there's a ^H in the file. There's also text like "[0m[K" which is harder to get rid of.
I have a unlisted remote which I can't find a lircd.conf for. Have tried irrecord with a mceusb receiver and have had no success. I am running maverick on a fresh install. LIRC is install and functions correctly for MCE remote and sending dishnetwork ir codes. I have found the hex codes for it but have no idea what to do with them even if there is anything to do with them. My question is this, is there any other way to capture the remote codes other than irrecord? Is there a way to manually build the codes?
View 1 Replies View RelatedI am the new user to ns-2. I would like to know is it possible to send the keys or some value as the packet data (content of the packet) in ns-2 (for wireless environment).
View 1 Replies View RelatedHow can i redirect data received on a port to another port located in a different machine? Can i do this using IPTABLES ?
View 4 Replies View RelatedI can ssh from my local machine (Ubuntu 10.4 64bit) to a remote Linux server. When I try to copy a file back to my machine (or just ssh to my machine) I get the following error - "port 22: No route to host".ifconfig on my local machine gives one ip address for "lo Link encap:Local Loopback" and one for "wlan0 Link encap:Ethernet"; I tried ssh both.I work on a laptop with a wireless router (which is also the modem)
View 6 Replies View RelatedI can use on the local machine the following command:
Code:
# cat /path/to/file >> /path/to/otherfile
but how it works to write from a local to the existing file from a remote machine?
#server.pl
use IO::Socket;
$| = 1;
$socket = new IO::Socket::INET (
LocalHost => '10.100.207.13',
LocalPort => '5000',
code....
it displays the message "couldn't connect to the server". How can i connect to the remote machine using tcp socket?
when i ping a remote machine to 172.16.1.55 then i get this result...how can get normal packets......
64 bytes from 172.16.1.55: icmp_seq=1 ttl=128 time=0.468 ms (DUP!)
64 bytes from 172.16.1.55: icmp_seq=2 ttl=128 time=0.448 ms
64 bytes from 172.16.1.55: icmp_seq=2 ttl=128 time=0.469 ms (DUP!)
[code]....
I am trying to send data via UDP using sendmsg on the sending side, and recvfrom() on the receiving end.The setup for my data is to have an iovec that has a packet hdr, followed by an iovec that has a payload, then to have subsequent sets of these two types of iovecs. On the receive end, I have a while true loop that does a recvfrom() receiving a size of 1 hdr/payload combination.When I do send out a message that has a total of just 4 iovecs (hdr/payload/hdr/payload) and I use recvfrom on the remote end with a receive size of a hdr/payload set,only the first hdr/payload of the sendmsg is received.I was under the impression that using this while true loop would allow me to receive multiple sets of this hdr/payload combination that is sent out by sendmsg().
View 1 Replies View RelatedI am using VNC to login to remote machine (vncserver). My question is; How can I login to remote machine (vncserver) through VNC client, without having to login to vncserver first physical. For better explanation here is an example: If john wnat to login to vncserver remotely first he has to login the vncserver physically then he can login remotely.
View 5 Replies View RelatedI am trying to get a mount in my root directory to a folder on a remote machine so that a log in is not required to access it. I seem to be having some problems with permissions though.
So far I have:
- added the machine to my /etc/hosts file
- added remotemachine:/data /auto nfs ro,soft 0 0 to my /etc/fstab
- added remotemachine:/data /auto nfs rw,soft,addr=10.112.33.4 0 0 to my /etc/mtab file
- added /hostmachinefolder mymachineip(rw) to the host /etc/exports file
However when I mount -a on my machine I get:
mount: remotemachine:/folder failed, reason given by server: Permission denied
How can I use socks proxy which is on a remote machine?
Machine A: Running a socks5 proxy on port 1080..
Machine B: Wants to use socks proxy of Machine A..
How can I do that? I have access to both the machines..
I have recently installed fedora 14 and configured vpn to access my work network. I need to access some windows machines which although I can ping I cannot remote desktop into. When I go to Applications>Internet> Remote Desktop Viewer and put in the machine name (either just the machine name or the FQDN including the domain name) I get an error "Connection to <machinename> was closed".
View 4 Replies View RelatedI have had a look at the the information on the ubuntu forum about this but am having trouble getting the server to do what i want it to do.
I have a VPS running ubuntu 9.10 and i am trying to set it up to redirect port 25 to a remote machine via a VPN connection (remote machine connected via VPN)
i have tried setting this up in the firewall using webmin but it is not working.
i have a problem........ How to redirect local http port to remote ip ddress(192.168.10.64) using iptables..my destro is Centos 5.3 my rule is this iptables -t nat -A PREROUTING -s 0/0 -d <my local ip> -p tcp --dport 80 -j DNAT --to-destination 192.168.10.64
View 1 Replies View RelatedI am accessing a remote DB using JDBC from inside a java program. is there any terminal command with which I can see the remote machine's ip/mac address?
View 1 Replies View Relatedhow a ubuntu machine can ping another (I can see the ICMP request and response in wireshark) but in the terminal I get 100 % packet lost ? Same with the DNS requests ( I see the query to the DNS and the DNS is giving me the IP of the site) and internet connections at all. this machine is sharing it's internet connection and machines behind it have no problem with the internet. I tried to flush the iptables - same result. This thing occurred after a restart
View 2 Replies View RelatedHow do you transfer files on a Linux machine with ftp,sftp and scp disabled onto a remote machine
View 2 Replies View RelatedWhenever I put ssh into remote machine am getting the following messages. Write Failed: Broken Pipe (After logged into that machine ) Read Socket Failed: Connection reset by peer (While trying to log in ) Also known_hosts file is changed frequently.
View 1 Replies View RelatedIs there any way to redirect a remote Linux machine mplayer output audio to local one?
View 2 Replies View RelatedI have my main box, Ubuntu 10.04lts, and I am trying to use remote desktop viewer to see the desktop on a Windows XP machine. The machines are side by side The Ubuntu box is hardwired to my network router, and the XP machine is connected via wireless. Both get to the internet fine, and I can ping the Ubuntu box from the XP box. But, I cannot ping the XP box from the Ubuntu box, and Remote Desktop Viewer won't establish a connection to the VNC server I have running on the XP box.
View 6 Replies View RelatedI have a GPS device which sends in data on port number 5000, i am able to capture the data into a pcap file using tcpdump. Now my problem is, i need to pipe the data into a text file as and when data arrives into the pcap file continuously.I did extensive search, but to no avail. been trying to solve this for the past 3 days. I use the following commands to capture and pipe the data, but that happens only once when i issue the command. I want this to happen continuously as and when the data arrives.
View 1 Replies View RelatedI got a problem with my CentOS server. Somebody told me OpenVPN Requires different changes inside my firewall settings. That could be the problem why openvpn wont load..I receive this error on my CentOS panel when im trying to connect into the centos openvpn (with my winxp pc):
Thu Sep 17 20:31:36 2009 TLS Error: incoming packet authentication failed from 84.xx.62.122:2622
Thu Sep 17 20:31:38 2009 Authenticate/Decrypt packet error: packet HMAC authentication failed
Thu Sep 17 20:31:38 2009 TLS Error: incoming packet authentication failed from 84.xx.62.122:2622
[code]....
I have 3 Dell Precision M4400 machines. After getting updates yesterday or today, I get random network dropouts like crazy, on wired or wireless. On one machine I was able to turn off ipv6 in grub and reboot, and it works now. However on the other 2 machines, still have the same problems. All 3 are running 9.10 64 bit. Is there a way I can back out the updates so the network works again? Anyone else see this behavior after updates today?
View 2 Replies View Relatedow do you remotely shutdown an XP host from a linux machine? I know that you can use shutdown /s /f /m IP_GOES_HEREFrom windows, but how would you do that from linux? (wine does not port the shutdown command)
View 4 Replies View RelatedI have a VPS by my host running on a linux server, and they have given me SSH access. Is it possible to remote desktop into the server, like you can on Windows, so that I can physcially click on things rather than having to use SSH commands?
Surely this must be running on Fedora or Ubuntu etc. so there is some type of OS. You would probably have to install something on the servers end I suppose but just want to know if its possible and what the options are.
I have made a shortcut on desktop and want that one to ssh from machineA to machineB and run a command.I have fixed the .pub file so I can ssh without password.This is what I want to doPHP Code:ssh -X user@machineB && start-the-program ..but it seems to not run the command after "&&".How can I do to make it automaticly run a command after it has connected over ssh?
View 5 Replies View RelatedI'm wondering if it's possible to control a TTY on a remote machine via SSH. I'm aware of ssh's -t option, but it doesn't seem to do what I want. Basically, I'm thinking in terms of VNC-like operation, where the remote user and local user see the same thing, only instead of a GUI, they both see TTY1 (or 2, or etc). Is that doable, or no?
View 3 Replies View RelatedI have SSH -X working fine, displaying stuff that's running on the remote machine on my local machine. But how do I display on the remote machine? I did this many years ago on unix and seem to recall that this was either default or a simple case of setting DISPLAY....
View 3 Replies View Related