Skip to contentSkip to conversation

how to classify sip traffic (voip)

LARTC Fabian Gervan 5 participants 5 messages Jul 26, 2005 – Jul 28, 2005

lore
Share & tools
lore
#1 lore raw
Quoted 8 lines · Fabian Gervan

How i can classify sip traffic (voip)??

I try dst 5060 udp port, but dont'work. sip sesion use dynamic port.

Sniffing packets with windows net-peeker, I see that packets lenghts is always‡
How i can filter, by packet lenght, with u32?

Quoted 7 lines

Regards
Fabian
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

You may want to use l7-filters and mark the packets with iptables.

Regards,

Signature · 8 lines
Sylvain Bertrand
Paris, FRANCE
+33 (0)6 64 43 17 69

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to Fabian Gervan

Fabian,

on IP/UDP header you have the Length field, you can try to match this.

Regards,

Alessandro Ungaro
x-arnie

Quoted 8 lines · Fabian Gervan

How i can classify sip traffic (voip)??

I try dst 5060 udp port, but dont'work. sip sesion use dynamic port.

Sniffing packets with windows net-peeker, I see that packets lenghts is always‡
How i can filter, by packet lenght, with u32?

Quoted 8 lines

Regards
Fabian
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to Fabian Gervan
Quoted 8 lines

Fabian,

Try adding the following Iptable rule with a filter for the mark value.. iptables -t mangle -A PREROUTING -p udp -m lenght <length value> -j MARK --set-mark 1

Regards,
Vinod C

Quoted 8 lines · Fabian Gervan

How i can classify sip traffic (voip)??

I try dst 5060 udp port, but dont'work. sip sesion use dynamic port.

Sniffing packets with windows net-peeker, I see that packets lenghts is always‡
How i can filter, by packet lenght, with u32?

Quoted 9 lines

Regards
Fabian
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#4 lore raw
In reply to Fabian Gervan

SIP uses 5060. What is hard is to classify is the RTP streams since they use pretty much any port. Its best to classify the SIP and RTP traffic at the endpoints and honor the labeled packets through the network.

Quoted 8 lines · Fabian Gervan

How i can classify sip traffic (voip)??

I try dst 5060 udp port, but dont'work. sip sesion use dynamic port.

Sniffing packets with windows net-peeker, I see that packets lenghts is always‡
How i can filter, by packet lenght, with u32?

Quoted 8 lines

Regards
Fabian
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc