Re: newbie question on netfilter-conntrack

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

 



Pete Kay wrote:
> Hi,
> 
> Sorry for posting multiple times.  This should be my last one.
> 
> I modified the conntrack_create_nat.c to redirect udp traffic coming
> from a specific IP:port to another IP, but the program gives error,
> the result of ret is (-1).  Does anyone know what's wrong?

# ./a.out
TEST: create conntrack (OK)
decadence:/tmp# conntrack -L -p udp
udp      17 92 src=192.168.1.12 dst=192.168.1.102 sport=5060 dport=5060
packets=0 bytes=0 [UNREPLIED] src=192.168.1.102 dst=192.168.1.13
sport=5060 dport=5060 packets=0 bytes=0 mark=0 secmark=0 use=2
conntrack v0.9.14 (conntrack-tools): 1 flow entries have been shown.

It works fine here with 2.6.34 and libnetfilter_conntrack 0.0.101
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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