Re: ipfw log



After replacing Ditch Brodie with a small shell script on Wednesday 28 Dec
2005 00:18, the following appeared on stdout:

> Dec 27 19:13:01 32 Deny UDP xx.xx.xxx.xx:60018 204.225.44.10:53 out via
> ed0
>
> This is not the only line like this. There are several like it in the
> recent log.
>
> The xxx.xxx.xxx.xxx represents the ip address of my external NIC. I think
> it seems strange to find that something is trying to get out. Can anyone
> tell me what this means is happening?

It's a UDP packet from a non privileged port on your external interface to
port 53 on discovery.dynip.com. Try looking up what uses UDP on port 53
that you *really* need your firewall to allow you to query if you're going
to turn domain names into numbers.

# ipfw add pass udp from me to any 53 keep-state

That last bit is important. man 8 ipfw for reasons why.
--
Chronos

.



Relevant Pages

  • Re: Dynamic IPFW Rules
    ... > Another option is to make a shell script or alias that drops expired ... I have a longer script that does this and also prints rules ... > by interface, ... future that will remove the expired rules from the output of ipfw show? ...
    (FreeBSD-Security)
  • cron or ipfw problem!
    ... I have FreeBSD 4.8R, NATd, ipfw enabled. ... Second shell script lets say enable.sh to delete this ipfw which sure ... thro crontab I fixed my crontab to ...
    (freebsd-questions)
  • Re: cron or ipfw problem!
    ... > I have FreeBSD 4.8R, NATd, ipfw enabled. ... > Second shell script lets say enable.sh to delete this ipfw which sure ... thro crontab I fixed my crontab to ...
    (freebsd-questions)
  • Re: ipfwshow as shell builtin?
    ... > Simple shell script uses 'ipfw show' to return values. ... not care about the fork+exec overhead -- if it is more often, ... then you might start to care about the getsockopt overhead ...
    (freebsd-net)
  • Re: Dynamic IPFW Rules
    ... > Subject: Re: Dynamic IPFW Rules ... >> Another option is to make a shell script or alias that drops expired ... I have a longer script that does this and also prints rules ...
    (FreeBSD-Security)