Networking Forums

Networking Forums > Computer Networking > Linux Networking > return traffic to default gw

Reply
Thread Tools Display Modes

return traffic to default gw

 
 
tomingchen@gmail.com
Guest
Posts: n/a

 
      07-30-2006, 06:38 AM
Hi,

My linux host (FC4) connects to a router through a direct connect FE
interface. The default gw on my host is set to the router. My
application need to return the traffic that is NOT destined to me.

How do I acomplish this ? As my experiment, the traffic seems silently
drop or digested by my linux host.

thanks.
Ming

 
Reply With Quote
 
 
 
 
Robert
Guest
Posts: n/a

 
      07-30-2006, 03:15 PM
On Sat, 29 Jul 2006 23:38:29 -0700, (E-Mail Removed) wrote:

> Hi,
>
> My linux host (FC4) connects to a router through a direct connect FE
> interface. The default gw on my host is set to the router. My
> application need to return the traffic that is NOT destined to me.
>
> How do I acomplish this ? As my experiment, the traffic seems silently
> drop or digested by my linux host.


How about using REJECT? Only good for TCP traffic. Place it before the
DROP statement in your rules.


--

Regards
Robert

Smile... it increases your face value!


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
tomingchen@gmail.com
Guest
Posts: n/a

 
      07-30-2006, 07:44 PM
Hi Robert,

Since my default gw is pointed to the ip address on the direct
connected router, so whenever my linux box receive ip that is not for
itself, should linux ip stack return the traffic back to router without
any other config ?

Thanks,
Ming


Robert wrote:
> On Sat, 29 Jul 2006 23:38:29 -0700, (E-Mail Removed) wrote:
>
> > Hi,
> >
> > My linux host (FC4) connects to a router through a direct connect FE
> > interface. The default gw on my host is set to the router. My
> > application need to return the traffic that is NOT destined to me.
> >
> > How do I acomplish this ? As my experiment, the traffic seems silently
> > drop or digested by my linux host.

>
> How about using REJECT? Only good for TCP traffic. Place it before the
> DROP statement in your rules.
>
>
> --
>
> Regards
> Robert
>
> Smile... it increases your face value!
>
>
> ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
> http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
> ----= East and West-Coast Server Farms - Total Privacy via Encryption =----


 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      07-30-2006, 11:38 PM
On 29 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed). com>, (E-Mail Removed)
wrote:

>My linux host (FC4) connects to a router through a direct connect FE
>interface. The default gw on my host is set to the router.


Standard network setup

>My application need to return the traffic that is NOT destined to me.


The description is unclear. If the packets are not (IP) addressed to you,
or sent to a port where there is a server listening, the network stack
should reject the connection (or never even receive it). If the traffic
is being sent to your host and to the "correct" port, but are from a
client you don't wish to serve, or asking for a service your application
doesn't provide, then your application should handle the rejection or
redirection of the client.

>How do I acomplish this ? As my experiment, the traffic seems silently
>drop or digested by my linux host.


Your description is unclear. Are you talking about the IP level? That may
be a firewall function. If you are talking at the application level, it's
something about the way the application is written.

Old guy
 
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
Telewest - safe to return ? Colin Wilson Broadband 10 06-07-2009 01:22 PM
Deleted files return =?Utf-8?B?Um9iIFIu?= Windows Networking 5 02-01-2005 05:19 PM
wrong return address John I-Chung Wang Linux Networking 0 10-27-2004 05:50 AM
Linux: Default gateway fails, must use local IP for default gw instead John Sasso Wireless Internet 2 07-08-2004 08:30 AM
Can I return a router? Sam Wireless Internet 9 02-27-2004 12:55 AM



1 2 3 4 5 6 7 8 9 10 11