Networking Forums

Networking Forums > Computer Networking > Linux Networking > local process packet puzzled the ppp idle time

Reply
Thread Tools Display Modes

local process packet puzzled the ppp idle time

 
 
sailor.gu@gmail.com
Guest
Posts: n/a

 
      05-29-2006, 03:40 PM
Hi guys,

I am implementing a nat box with linux, and the box is requested ping
one public ip every 1 minutes.

but when the wan is pppoe with a specified idle time.
since the packet from local process(ping) will be send wit 1 minite
interval,
the ppp connection will never idled.

I found kernel update the ppp->last_xmit in ppp_generic.c::
ppp_send_frame().
so I just need let ppp ignore all outgoing packet from local process.

but how can I judge if the skb is from local process or recieved from
lan interface?

someone tell me getsocketop() or parse /proc/net/ip_conntrack maybe a
possible way,
is that so?

Can I get the original source address by NATed skb from OUTPUT table?

Any suggestions is sincerely appreciated!!

Sailor

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dialup Idle time Disconnect problem jnathan Windows Networking 1 05-19-2007 03:41 PM
Monitoring idle time of TCP connections C3 Linux Networking 3 06-29-2006 04:08 AM
PlusNet Idle Time Disconnect Mark Carver Broadband 5 09-20-2005 04:22 PM
Idle Time Out (New Feature on Plusnet) Barney Broadband 18 09-11-2005 12:48 PM
Idle Time Out (216.55.181.75) howard a.k.a Superman Broadband Hardware 0 08-16-2004 12:20 AM



1 2 3 4 5 6 7 8 9 10 11