hostnames resolving problem
Marcin Gryszkalis
mg at fork.pl
Fri Aug 22 12:21:52 PDT 2003
On 2003-08-22 01:38, Antonio Torres wrote:
>> (I'm using ipfw2 on 4-STABLE). The ipfw resolves name to
>> *first* ip assigned to the name - but I expect to have *all*
>> ip addresses in the rule. eg.
> the "name to IP" feature only aplies at rule load !
> i.e. when, and only when, the ipfw rule is loaded the name is translated
> to IP...
>
> look on `man ipfw` for "me" clause (me= my IP address)...
yes, I know that - but - isn't my question/description clear?
Maybe I'll extend the example.
I issue follownig command:
# ipfw add 10000 allow tcp from any to smtp.o2.pl smtp setup
Current result is that following rule is loaded:
10000 allow tcp from any to 212.126.20.58 dst-port 25 setup
Expected result is following:
10000 allow tcp from any to 212.126.20.58, 212.126.20.60, 212.126.20.61 dst-port 25 setup
(the name smtp.o2.pl has 3 IP addresses assigned)
regards
--
Marcin Gryszkalis
http://fork.pl
<><
More information about the freebsd-ipfw
mailing list