Hello,

I've been tackling a project I've been wanting to get started for a
long time, a Linux ipchains firewall. I seem to be having connectivity
loss if I leave the machine alone for a long time. The firewall looses it's
internet connection. Here is some background info:

Mandrake Helios (6.1)
3c509 NIC eth0=outside(cable modem DHCP via RoadRunner)
3c509 NIC eth1=inside(192.168.0.1)
2 client (internal) pc's
IPCHAINS with portforwarding via ipmasqadm

The connection works GREAT for quite a while, so, my first thoughts are
related to the external DHCP (I don't know how long the lease is for).
In my messages file, it appears that I successfully get a new lease, but I
see where the DHCP client seems to be re-initializing the network cards, IS
THIS NORMAL?

Also, when I return from my absence, I can alway tell that I've lost my
connection because my active TTY has these errors on the screen:

eth0: Setting Rx mode to 0 addresses. 
eth0: Setting Rx mode to 1 addresses. 

I'm betting that this is a hint. I can't, however figure out how to get the
NIC to work again, it still has an IP (in ifconfig), and it appears to
still have a route table (in route), but it can't ping anything outside of
this interface. Even doing an (ifdown eth0) (ifup eth0) doesn't help. And
remember, my other network card still is operable on my internal network
(eth1).  Anyone have any ideas?

Thanks for your time!

###############  CLIP from /var/log/messages  ########################

Nov  8 14:37:04 wks-xxx-xxx kernel: Packet log: output REJECT eth0
PROTO=1 xxx.xxx.xxx.83:3 207.69.200.149:3 L=92 S=0xC0 I=3152 F=0x0000
T=255 (#19) 
Nov  8 14:37:10 wks-xxx-xxx kernel: Packet log: output REJECT eth0
PROTO=1 xxx.xxx.xxx.83:3 207.69.200.149:3 L=92 S=0xC0 I=3153 F=0x0000
T=255 (#19) 
Nov  8 14:37:19 wks-xxx-xxx kernel: Packet log: output REJECT eth0
PROTO=1 xxx.xxx.xxx.83:3 207.69.200.149:3 L=88 S=0xC0 I=3154 F=0x0000
T=255 (#19) 
Nov  8 14:48:22 wks-xxx-xxx kernel: eth0: Setting Rx mode to 0
addresses. 
Nov  8 14:48:22 wks-xxx-xxx kernel: eth0: Setting Rx mode to 1
addresses. 
Nov  8 14:48:30 wks-xxx-xxx named[442]: Cleaned cache of 0 RRs
Nov  8 14:48:30 wks-xxx-xxx named[442]: listening on
[xxx.xxx.xxx.135].53 (eth0)
Nov  8 14:48:30 wks-xxx-xxx named[442]: deleting interface
[xxx.xxx.xxx.83].53
Nov  8 14:48:30 wks-xxx-xxx named[442]: USAGE 942094110 942065310
CPU=0.29u/0.18s CHILDCPU=0u/0s
Nov  8 14:48:30 wks-xxx-xxx named[442]: NSTATS 942094110 942065310
A=406
Nov  8 14:48:30 wks-xxx-xxx named[442]: XSTATS 942094110 942065310
RR=27 RNXD=0 RFwdR=25 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0
ROpts=0 SSysQ=2 SAns=0 SFwdQ=131 SDupQ=1261 SErr=0 RQ=406 RIQ=0
RFwdQ=0 RDupQ=275 RTCP=0 SFwdR=25 SFail=0 SFErr=0 SNaAns=0 SNXD=0
Nov  8 14:50:04 wks-xxx-xxx kernel: Packet log: output REJECT eth0
PROTO=1 xxx.xxx.xxx.135:3 207.69.200.149:3 L=92 S=0xC0 I=3155 F=0x0000
T=255 (#19) 

Reply via email to