Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Linux Firewall MAC Filtering

date posted 10th March 2003 17:28

On Mon, 10 Mar 2003, Ken Smith wrote:

> My webserver (Linux/Apache) is being showered with GET requests for
> pages that don't exist (porn ones). Apache is responding 404 and logging
> and it's not really causing a problem but I'd like to block the traffic.
> It's traffic on my WAN link I don't want. According to ethereal the GET
> requests all come from the same MAC address but the source IP address is
> random.

Unless the requests are being generated by someone whose host is on the same
network segment as your host (i.e. you've got a co-located web server on a
flat network with a bunch of other random customers of the same hosting
company) then that MAC address will almost certainly be that of the router
(MAC addresses aren't normally passed across the Internet, unless you're
doing some kind of layer 2 tunneling such as ethernet-over-IP), so blocking
traffic on that basis /will/ block all incoming traffic.

You can confirm this by looking in the ARP cache of your host:

netstat -rn # to show default gateway (route for 0.0.0.0 destination)
arp -an # to show arp cache

To be honest, blocking it won't save you much anyway (only Apache's outbound
404 messages) as by the time the request has come in and is blocked by your
firewall, it's already used up that tiny bit of your bandwidth quota.

> Regds
> Ken

Best Regards,
Alex.
--
Alex Butcher Brainbench MVP for Internet Security: www.brainbench.com
Bristol, UK Need reliable and secure network systems?
PGP/GnuPG ID:0x271fd950



Messages by Day
March 31st 2003
March 30th 2003
March 29th 2003
March 28th 2003
March 27th 2003
March 26th 2003
March 25th 2003
March 24th 2003
March 23rd 2003
March 22nd 2003
March 21st 2003
March 20th 2003
March 19th 2003
March 18th 2003
March 17th 2003
March 16th 2003
March 15th 2003
March 14th 2003
March 13th 2003
March 12th 2003
March 11th 2003
March 10th 2003
March 9th 2003
March 8th 2003
March 7th 2003
March 6th 2003
March 5th 2003
March 4th 2003
March 3rd 2003
March 2nd 2003
March 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000