On Tue, Jul 13, 2010 at 12:41 PM, ratheesh k <ratheesh....@gmail.com> wrote:
> Hi ,
>
>  I followed exact step mentioned in the
> http://user-mode-linux.sourceforge.net/hacking.html to set a break
> point in
>
> linux+v2.6.32/net/ipv4/netfilter/ipt_REJECT.c: reject_tg() function .
> I am able to set break point , but it is not hit during exection . I
> could see icmp destination port unreachable . Am i missing something ?
>


> I was not able to set a break point in
> inux+v2.6.32/net/ipv4/netfilter/ipt_REJECT.c:send_reset() ?
>
> -ratheesh
>

I made a terrible mistake . I used
/sys/module/ipt_MASQUERADE/sections/.init.text, This is wrong.

Below command works fine .

gdb>  add-symbol-file
/home/fox/workspace3/linux-2.6.32/net/ipv4/netfilter/ipt_MASQUERADE.ko
 `cat /sys/module/ipt_MASQUERADE/sections/.text`

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to