Re: IPSET issue ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, 30 Mar 2005, Jorge Agrelo wrote:

> Can I define the protocol in portmap set type, I means, Can I do
> that?
>
> ipset -N ports portmap
> ipset -A ports tcp/53
> ipset -A ports udp/53
> ipset -A ports tcp/25
> ipset -A ports tcp/110

No, you have to define two individual sets for the TCP and UDP ports.
It'd be way too expensive to add protocol and port support combined to the
portmap set.

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux