// Package ipfilter provides IP address and CIDR range matching for filtering.
// Implementation is delegated to shared/go/ja4common/ipfilter to avoid duplication.
package ipfilter

import jaipfilter "github.com/antitbone/ja4/ja4common/ipfilter"

// Filter is a type alias for ja4common/ipfilter.Filter.
// All methods (New, ShouldExclude, Count) are inherited from the shared module.
type Filter = jaipfilter.Filter

// New creates a new IP filter from a list of IP addresses or CIDR ranges.
// Accepts formats like: "192.168.1.1", "10.0.0.0/8", "2001:db8::/32"
func New(excludeList []string) (*Filter, error) {
	return jaipfilter.New(excludeList)
}
