Re: Firewire RAM access

2010-07-29 Thread Steven Susbauer

On 07/27/10 07:38, EforeZZ wrote:

Hi,

I was playing around with fwcontrol and its -m switch.
I connected my FreeBSD 7.2 notebook to Win7 PC Via firewire and
attempted to access Win7's RAM through the /dev/fwmem interface. I
failed.


snip

The question is.. Should this always work? As far as I know I should
be able to access other PC's RAM through the firewire connection
without any support from the connected PC's OS, right?

Best regards,
EforeZZ


According to this page for the Linux mem1394 driver, the host can set up 
a filter to block it, and Windows appears to do so 
(http://johannes.sipsolutions.net/Projects/mem1394).


 -Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firewire RAM access

2010-07-27 Thread EforeZZ
Hi,

I was playing around with fwcontrol and its -m switch.
I connected my FreeBSD 7.2 notebook to Win7 PC Via firewire and
attempted to access Win7's RAM through the /dev/fwmem interface. I
failed.


5 r...@purevil:ttyv0 ~ 15:11:24  fwcontrol
2 devices (info_len=2)
node   EUI64  statushostname
   0  00-1d-72-ff-ff-c5-6b-71  0
  -1  00-1e-8c-00-01-7b-f5-38  0


Then I plugged in the cable:


fwohci0: BUS reset
fwohci0: node_id=0xc000ffc1, gen=8, CYCLEMASTER mode
firewire0: 2 nodes, maxhop = 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)

5 r...@purevil:ttyv0 ~ 15:11:46  fwcontrol
2 devices (info_len=2)
node   EUI64  statushostname
   1  00-1d-72-ff-ff-c5-6b-71  0
   0  00-1e-8c-00-01-7b-f5-38  1
5 r...@purevil:ttyv0 ~ 15:11:49  fwcontrol -m 00-1e-8c-00-01-7b-f5-38
0 r...@purevil:ttyv0 ~ 15:12:00  ll /dev/fwmem*
lrwxr-xr-x  1 root  wheel8 27 Jul 14:56 /dev/fwmem0 - fwmem0.0
crw-rw  1 root  operator0,  53 27 Jul 14:56 /dev/fwmem0.0
0 r...@purevil:ttyv0 ~ 15:12:04  more /dev/fwmem0
read error  (press RETURN)


The question is.. Should this always work? As far as I know I should
be able to access other PC's RAM through the firewire connection
without any support from the connected PC's OS, right?

Best regards,
EforeZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org