Unix Technical Forum

Slackware 9.0 is dropping all packets form local network

This is a discussion on Slackware 9.0 is dropping all packets form local network within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I just upgraded to slack 9.0. after a fresh install i have only changed 2 things. added to rc.local: ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 01:52 PM
armantic
 
Posts: n/a
Default Slackware 9.0 is dropping all packets form local network

I just upgraded to slack 9.0. after a fresh install i have only changed
2 things.

added to rc.local:
ifconfig eth1 192.168.0.101 netmask 255.255.255.0 up
dnsmasq eth1 start <--- I also updaded config file
/etc/dnsmasq.conf

the windows computer in my local network gets an IP in the specified
range and
recognizes the linux router as the gateway. The problem Im having is
that the
router is dropping all other packets. I cant ssh or even ping it. I did
an
iptables -F just to be sure but no luck. What else would tell linux to
drop
packets? is dnsmasq doing anyhting extra I dont know about? I am new to
all of
this so any help is apretiated. thanks! ...aaron

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 01:53 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: Slackware 9.0 is dropping all packets form local network

"armantic" <armantic101@gmail.com> wrote:
> I just upgraded to slack 9.0.


Why did you upgrade to a release that is almost 3 years old?

> after a fresh install i have only changed 2 things.
>
> added to rc.local:
> ifconfig eth1 192.168.0.101 netmask 255.255.255.0 up dnsmasq eth1
> start <--- I also updaded config file
> /etc/dnsmasq.conf


> the windows computer in my local network gets an IP in the specified
> range and recognizes the linux router as the gateway. The problem Im
> having is that the router is dropping all other packets. I cant ssh or
> even ping it. I did an iptables -F just to be sure but no luck. What
> else would tell linux to drop packets?


My guess is that the packets are not dropped, but the replies are sent out
the default route which is probably eth0. A line with ifconfig will not be
enough, you will also need a line looking something like:

route add -net 192.168.0.0 netmask 255.255.255.0 dev eth1

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 01:54 PM
armantic
 
Posts: n/a
Default Re: Slackware 9.0 is dropping all packets form local network

awsome it works! thanks for the advice.
Just out of curiosity, can I acomplish the same result configuring
iptables
correctly? I've never seen this command before and am trying to get an
idea
what it does. thanks again! ...aaron

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 01:54 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: Slackware 9.0 is dropping all packets form local network

"armantic" <armantic101@gmail.com> wrote:
> can I acomplish the same result configuring iptables
> correctly?


I don't think that iptables is able to replace the functionality of the
route command. However, I am not an expert in firewalls or iptables.
Instead of configuring my own firewall from scratch I therefore prefer to
use a special firewall distribution like floppyfw for this purpose. I
wouldn't want to have the firewall functionality on a server that is
supposed to be protected by the firewall. Mostly, because I wouldn't want
any server functionality on the firewall.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 01:54 PM
Jason Hoss
 
Posts: n/a
Default Re: Slackware 9.0 is dropping all packets form local network

Henrik Carlqvist wrote:

> "armantic" <armantic101@gmail.com> wrote:
>> can I acomplish the same result configuring iptables
>> correctly?

>
> I don't think that iptables is able to replace the functionality of the
> route command. However, I am not an expert in firewalls or iptables.
> Instead of configuring my own firewall from scratch I therefore prefer to
> use a special firewall distribution like floppyfw for this purpose. I
> wouldn't want to have the firewall functionality on a server that is
> supposed to be protected by the firewall. Mostly, because I wouldn't want
> any server functionality on the firewall.
>
> regards Henrik


I would have to disagree with you there Henrik. The reason being is that if
you subscribe to the 1 firewall protecting the network scheme, then if
someone gets past your firewall, you potentially have a lot of
"unprotected" systems. It is not a bad idea to have a firewall up on a
system even though it is not on the "edge".

As far as iptables goes, it is a bit "squirrel"ly to set up but there are
GUI front ends that you can use to help you learn how to use it.

Gecko
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 01:54 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: Slackware 9.0 is dropping all packets form local network

Jason Hoss <jehoss@nospam.msn.com> wrote:
> Henrik Carlqvist wrote:
>> I wouldn't want to have the firewall functionality on a server that is
>> supposed to be protected by the firewall. Mostly, because I wouldn't want
>> any server functionality on the firewall.


> I would have to disagree with you there Henrik. The reason being is that if
> you subscribe to the 1 firewall protecting the network scheme, then if
> someone gets past your firewall, you potentially have a lot of
> "unprotected" systems. It is not a bad idea to have a firewall up on a
> system even though it is not on the "edge".


Ok, It won't harm to have firewalls also on internal machines. I agree
with this as my single firewall will only stop attacks from the outside.
My single firewall will not be able to stop something like a trojan or
spyware from "phoning home".

However, to protect from attacks from the outside, I still prefer a simple
firewall with no services like http, telnet or even ssh. As long as the
firewall hasn't any services there is no way to break into it.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 01:55 PM
Jason Hoss
 
Posts: n/a
Default Re: Slackware 9.0 is dropping all packets form local network

Henrik Carlqvist wrote:

> Jason Hoss <jehoss@nospam.msn.com> wrote:
>> Henrik Carlqvist wrote:
>>> I wouldn't want to have the firewall functionality on a server that is
>>> supposed to be protected by the firewall. Mostly, because I wouldn't
>>> want any server functionality on the firewall.

>
>> I would have to disagree with you there Henrik. The reason being is that
>> if you subscribe to the 1 firewall protecting the network scheme, then if
>> someone gets past your firewall, you potentially have a lot of
>> "unprotected" systems. It is not a bad idea to have a firewall up on a
>> system even though it is not on the "edge".

>
> Ok, It won't harm to have firewalls also on internal machines. I agree
> with this as my single firewall will only stop attacks from the outside.
> My single firewall will not be able to stop something like a trojan or
> spyware from "phoning home".
>
> However, to protect from attacks from the outside, I still prefer a simple
> firewall with no services like http, telnet or even ssh. As long as the
> firewall hasn't any services there is no way to break into it.
>
> regards Henrik



True, but for the paranoid among us it might not be good enough I do
agree with your angle however.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com