Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to block incoming traffic

Reply
Thread Tools Display Modes

how to block incoming traffic

 
 
Adia
Guest
Posts: n/a

 
      08-24-2006, 11:11 PM
Hi Guru's

How to block incoming traffic on a network interface?. I have system
with 2 gigi cards. Request comes from one interface and the other is
dedicated to streaming. I need to block the incoming traffic for the
streaming interface.

Thanks in advance for the help.

-A

 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      08-25-2006, 01:16 AM
"Adia" <(E-Mail Removed)> writes:

>Hi Guru's


>How to block incoming traffic on a network interface?. I have system
>with 2 gigi cards. Request comes from one interface and the other is
>dedicated to streaming. I need to block the incoming traffic for the
>streaming interface.


Disconnnect the card.
NOw if that is not a useful response, perhaps you could be a bit more
specific as to both what your system is and what it is that you want to
accomplish. Tell us the problem not your solution to the problem.


 
Reply With Quote
 
Adia
Guest
Posts: n/a

 
      08-25-2006, 05:59 PM
Good one!.

We are building an application with multimedia streaming.
The request for the session comes from i/p address 1 configured on
eth0.
Streaming goes via i/p address 2 configured on eth1 .

Now I need to block incoming traffic on eth1. How to configure trafiic
direction?. Can I block incoming traffic for specific interface with
ifconfig options or by some other means..

What else !.

Unruh wrote:
> "Adia" <(E-Mail Removed)> writes:
>
> >Hi Guru's

>
> >How to block incoming traffic on a network interface?. I have system
> >with 2 gigi cards. Request comes from one interface and the other is
> >dedicated to streaming. I need to block the incoming traffic for the
> >streaming interface.

>
> Disconnnect the card.
> NOw if that is not a useful response, perhaps you could be a bit more
> specific as to both what your system is and what it is that you want to
> accomplish. Tell us the problem not your solution to the problem.


 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      08-25-2006, 07:53 PM

Adia wrote:

> We are building an application with multimedia streaming.
> The request for the session comes from i/p address 1 configured on
> eth0.
> Streaming goes via i/p address 2 configured on eth1 .
>
> Now I need to block incoming traffic on eth1. How to configure trafiic
> direction?. Can I block incoming traffic for specific interface with
> ifconfig options or by some other means..


The short answer to your question is no. An interface does not decide
what traffic gets sent to it. If you put up two mailboxes, one for junk
mail and one for personal mail, the mailboxes can't control what mail
gets delivered where.

It would really help a lot if you told us what your problem is rather
than your proposed solution. Why do you need to block incoming traffic
on eth1? What do you think that will do for you?

Are both IP addresses on the same network? Must they be? Do they
connect to the same network? Same device?

DS

 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      08-25-2006, 07:55 PM
"Adia" <(E-Mail Removed)> writes:

>Good one!.


>We are building an application with multimedia streaming.
>The request for the session comes from i/p address 1 configured on
>eth0.
>Streaming goes via i/p address 2 configured on eth1 .


>Now I need to block incoming traffic on eth1. How to configure trafiic
>direction?. Can I block incoming traffic for specific interface with
>ifconfig options or by some other means..


You can certainly set up the firewall to reject all incoming connections
on eth1 and allow only outgoing-- may to a specific site or to all sites.
Of course you have to set up the streaming somehow on that different IP
address of eth1, and there will have to be some negotiation with the remote
side to coordinate that streaming. Ie, responses from the machine being
streamed to need to come in, but the firewall will allow responses to come
in.
Not sure why you care (Ie what unwanted incoming traffic are you worried
about), but that would be the first thing I would try.




>What else !.


>Unruh wrote:
>> "Adia" <(E-Mail Removed)> writes:
>>
>> >Hi Guru's

>>
>> >How to block incoming traffic on a network interface?. I have system
>> >with 2 gigi cards. Request comes from one interface and the other is
>> >dedicated to streaming. I need to block the incoming traffic for the
>> >streaming interface.

>>
>> Disconnnect the card.
>> NOw if that is not a useful response, perhaps you could be a bit more
>> specific as to both what your system is and what it is that you want to
>> accomplish. Tell us the problem not your solution to the problem.


 
Reply With Quote
 
Adia
Guest
Posts: n/a

 
      09-01-2006, 09:10 PM
Thanks to all the people replied. We decided to block at the router.. .


Unruh wrote:
> "Adia" <(E-Mail Removed)> writes:
>
> >Good one!.

>
> >We are building an application with multimedia streaming.
> >The request for the session comes from i/p address 1 configured on
> >eth0.
> >Streaming goes via i/p address 2 configured on eth1 .

>
> >Now I need to block incoming traffic on eth1. How to configure trafiic
> >direction?. Can I block incoming traffic for specific interface with
> >ifconfig options or by some other means..

>
> You can certainly set up the firewall to reject all incoming connections
> on eth1 and allow only outgoing-- may to a specific site or to all sites.
> Of course you have to set up the streaming somehow on that different IP
> address of eth1, and there will have to be some negotiation with the remote
> side to coordinate that streaming. Ie, responses from the machine being
> streamed to need to come in, but the firewall will allow responses to come
> in.
> Not sure why you care (Ie what unwanted incoming traffic are you worried
> about), but that would be the first thing I would try.
>
>
>
>
> >What else !.

>
> >Unruh wrote:
> >> "Adia" <(E-Mail Removed)> writes:
> >>
> >> >Hi Guru's
> >>
> >> >How to block incoming traffic on a network interface?. I have system
> >> >with 2 gigi cards. Request comes from one interface and the other is
> >> >dedicated to streaming. I need to block the incoming traffic for the
> >> >streaming interface.
> >>
> >> Disconnnect the card.
> >> NOw if that is not a useful response, perhaps you could be a bit more
> >> specific as to both what your system is and what it is that you want to
> >> accomplish. Tell us the problem not your solution to the problem.


 
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
Re: Blocked incoming traffic, why possible to get traffic? Char Jackson Network Routers 0 09-13-2010 06:38 PM
Incoming traffic filter Harley Network Routers 13 04-23-2010 01:29 PM
How to Block one incoming IP Rocky Windows Networking 2 11-11-2004 08:39 PM
police incoming traffic rihad Linux Networking 0 04-15-2004 06:01 AM
NAT and Block Incoming IP rule Geoff Lane Linux Networking 0 01-10-2004 08:46 AM



1 2 3 4 5 6 7 8 9 10 11