- Posts: 33
- Thank you received: 0
IPCOP Behaving Badly
18 years 8 months ago #13369
by codiac
Replied by codiac on topic Re: IPCOP Behaving Badly
Thanks DaLight
Just the thing I need!
As always you are a superstar
J
Just the thing I need!
As always you are a superstar
J
18 years 7 months ago #13855
by codiac
Replied by codiac on topic More Help Please
Hi again,
Sorry for being a pest but im still having problems with the firewall being flooded. this time its UDP port 65103 (hundreds of em)
ive tried your suggestion:
Code:
# Flush Custom Input Rules
/sbin/iptables -F CUSTOMINPUT
#drop SNMP packets
/sbin/iptables -A CUSTOMINPUT -i $RED_DEV -p udp --dport 162 -j DROP
replacing port 162 with 65103, but get error:
Warning: wierd character in interface `-p' (No aliases, :, ! or *).
Bad argument `udp'
Try `iptables -h' or 'iptables --help' for more information.
for a test i inputted into console dropping /sbin/ before modifying the rc.local
iptables -A CUSTOMINPUT -i $RED_DEV -p udp --dport 65103 -j DROP
any ideas? I think that this flooding is crashing an access point on the LAN side of the firewall (only thing attached), it works fine for up to 48 hours the dies, only a reboot gets it working again.
any help would be greatly appreciated
Cheers
J
Sorry for being a pest but im still having problems with the firewall being flooded. this time its UDP port 65103 (hundreds of em)
ive tried your suggestion:
Code:
# Flush Custom Input Rules
/sbin/iptables -F CUSTOMINPUT
#drop SNMP packets
/sbin/iptables -A CUSTOMINPUT -i $RED_DEV -p udp --dport 162 -j DROP
replacing port 162 with 65103, but get error:
Warning: wierd character in interface `-p' (No aliases, :, ! or *).
Bad argument `udp'
Try `iptables -h' or 'iptables --help' for more information.
for a test i inputted into console dropping /sbin/ before modifying the rc.local
iptables -A CUSTOMINPUT -i $RED_DEV -p udp --dport 65103 -j DROP
any ideas? I think that this flooding is crashing an access point on the LAN side of the firewall (only thing attached), it works fine for up to 48 hours the dies, only a reboot gets it working again.
any help would be greatly appreciated
Cheers
J
18 years 7 months ago #13863
by DaLight
Replied by DaLight on topic Re: IPCOP Behaving Badly
Add the following code after the line containing "#!/bin/sh" (I'm surprised the SNMP blocking code I gave you earlier actually worked - my mistake):
[code:1]. /var/ipcop/ethernet/settings[/code:1]
All the above does is define several variables including $RED_DEV.
[code:1]. /var/ipcop/ethernet/settings[/code:1]
All the above does is define several variables including $RED_DEV.
18 years 7 months ago #13869
by codiac
Replied by codiac on topic Re: IPCOP Behaving Badly
Thanks again (this is getting a habit :lol: )
You were right, i checked the original firewall and the SMTP were still pounding through!
Now added the extra line and looking good so far!
Cheers
J
You were right, i checked the original firewall and the SMTP were still pounding through!
Now added the extra line and looking good so far!
Cheers
J
Time to create page: 0.120 seconds