site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
37029
Share Topic
Posting?
Post a:
Post a:
page: 1 · 2 · 3 · 4
AuthorAll Replies


bamboox

join:2000-12-15
Renton, WA

reply to bbarrera

Re: Guidelines for Securing your Router

Interesting. Do you see the problem when not using PPPoE? My tests didn't include PPPoE.

Protocol filters (for filtering out packets with a spoofed private destination IP address) won't work even if you could bind them to enif1 since they are applied after NAT. Well, they will work, but by that point every packet has a private destination IP address so it will block everything.
[text was edited by author 2001-03-22 23:52:49]


Sentinel
Premium
join:2001-02-07
Florida
kudos:1

I am way above my head here but: I think that is the whole reason that he made a generic filter for this purpose. The generic filter drops anything coming in that has a destination IP of the LAN. Then his TCP estab protocol filter allows anything that has a destination IP of the LAN and drops everything else. If I understand what he is doing here correctly. Correct me if I'm wrong.
--
~AL~



bamboox

join:2000-12-15
Renton, WA

You are correct. However, what I'm trying to find out is if that particular filter is necessary for all users since my tests seem to indicate that if you're not using PPPoE, the router will drop these packets even without any filters. Well, at least on my RT314 anyway.



bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
Reviews:
·SureWest Internet

reply to bamboox
I haven't tested without PPPoE. Logically the problem shouldn't exist because Ethernet encapsulation on WAN defaults to enif1. The whole problem is that PPPoE switches the WAN from enif1 to wanif0 interface, and enif1 is a like a zombie -- half alive and not truly dead. Anyways, since I only have a PPPoE connection with DSL modem I haven't tried with Ethernet encapsulation.

My WAN input spoof filter checks source IP address, if claiming to be LAN address then drop. You're right about NAT, that's why I check source and not destination. I also tried a "bounceback" LAN output filter, it drops packets with destination IP address set for LAN address. It also did not work in this particular situation.

So far all is well with DrTCP stealth filters in place, so I haven't tried a generic filter. For extra security I can set "ip tcp mss 0" in menu 24.8. I could try to create a "PPPoE only" filter by skipping over (offset) the first 12 bytes (src and dest MAC addresses) received, and then examine the Ethernet frametype (2 bytes) and decide whether it was a PPPoE, Ethernet, ARP or RARP frame. That may or may not work depending on how wanif0 and enif1 co-exist.



bamboox

join:2000-12-15
Renton, WA

I thought DrTCP's filters checked for destination IP addresses, not source. With regard to spoofed source IP addresses, I think there is no doubt that this is necessary (especially if one allows source routing). However, for non-PPPoE users like myself, I don't see any benefit of applying a filter that checks for a spoofed destination IP (other than being able to log such attempts).

So let me see if I understand the problem correctly--you're saying that packets going through to the enif1 interface aren't routed through the protocol filters? Sounds like a major bug to me.



bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
Reviews:
·SureWest Internet

Yes, in PPPoE mode ONLY, Ethernet packets entering the WAN enif1 interface aren't passed through any filters. The "bug" is that by default the WAN enif1 should be completely disabled for PPPoE -- only PPPoE packets should pass thru WAN port of router. The WAN filters in menu 11.5 only apply to PPPoE packets on the wanif0 interface (which is correct).

Regarding major bug status... there is one application where WAN enif1 makes sense - accessing browser-based management interface of DSL modem. My modem's TCP/IP stack only speaks Ethernet, so if router WAN only allows PPPoE frames than no way to access modem mgmt interface. BUT, router should provide another set of filters on menu 11.5 to control access to enif1. So ideally for PPPoE the router should disable Ethernet packets on WAN port, but allow sophisticated user to enable and filter Ethernet packets if desired.



wormholealien
We Come In Peace

join:2001-04-07
.au

reply to DrTCP

quote:
Many SMTP servers probe port 113 and expect at least a RST before allowing the SMTP session to complete. Thus port 113 cannot be stealth and an exception must be made with yet another rule.
I had created a version of my TCP_WAN_OUT filter to deal with this situation. It is in a recent thread but I can dig it out.

I have just read this thread, and have not been able to find
the mentioned thread.
I have a working configuration with Netgear 3.24 firmware.
MY filter config. is the default filters and the DrTCPs
Updated Generic filters.
I would like to see the Generic filter which DrTCP mentions
because I have mIRC running, and the only way I can get it
to find a server is to foward port 113 in the SUA.
I am not sure if fowarding this port is bad but I would
prefere not to if there is a variation of one of the generic
filters which will allow mIRC to function.


wormholealien
We Come In Peace

join:2001-04-07
.au

reply to SYNACK
Just checked my message!
I should have mentioned my RT314 is using PPPoE
so if anyone knows where I can find the generic
TCP_WAN_OUT filter which will allow iMRC to function
properly...
that is allow access to port 113, I would be much happy
Thanks



SYNACK
Just Firewall It
Premium,Mod
join:2001-03-05
Venice, CA
Host:
Networking
Virtual Private Ne..
Netgear
ZyXEL

(I don't use mIRC, but I think the following is correct). You could always sniff the traffic to be sure what's going on
I think your mIRC client includes an AUTH server that listens and replies on port 113. This means you cannot just send a RST back, but the client must reply with vital information related to your mIRC session. The stealth filter only blocks outgoing RST, but does not block a valid reply.
If you point 113 to your PC in menu 15 you should be OK.



trmentry
Don't Run. You Will Just Die Tired.

join:2000-04-24
Phoenix, AZ

reply to EricLeViking

Re: Newbee: ZyXel or Netgear

You will need to have a BOOTBASE of 1.x to run Zyxel firmware on a Netgear RT314. If you get unlucky like me and get a bootbase of 2.x, your out of luck.


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:3

reply to SYNACK

Re: Guidelines for Securing your Router

Okay, filters are beyond me at this point. I'm not even sure what RIP is and why I should turn it off. I have the RT314, I have changed the password and realize the significance of default port forwarding and thus have kept zone alarms.

What are my next steps?? Do I even need filtering? I seem to be able to do most activities, browsing, email, irc etc without touching any settings.

Can you provide some simpler guidelines for newbies.
The threads here are a tad complicated for now

Willing to Learn!!
Anav


SYNACK
Just Firewall It
Premium,Mod
join:2001-03-05
Venice, CA
Host:
Networking
Virtual Private Ne..
Netgear
ZyXEL

The default configuration is secure. If you upgrade to 3.25 it is equally secure, but it is less likely to make mistakes that reduce security:

»Router question

With a default server, the security of your LAN rests on the security of your server. A compromised server (happens!) would expose anything on the LAN via the server. Depending on the OS, check out

»www.cert.org/nav/index_red.html

and look for the most serious holes. Then add some filters to block these ports form everywhere!

The defaults are fine and almost anything initiated from the LAN side should work without modification. You router is smart enough to know what to do! Only applications that are not NAT friendly AND are not directly supported with special handling (maybe because it is mathematically impossible) need help with server mappings. Otherwise, they are only needed for ... you could have guessed ... servers.


Sunday, 03-Jun 10:05:12 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics