ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] kernel-image-std-smp-2.6.18-alt8 и трассировка rtsp
@ 2009-10-16 11:05 Денис Черносов
  2009-10-16 12:05 ` Sergey
  0 siblings, 1 reply; 3+ messages in thread
From: Денис Черносов @ 2009-10-16 11:05 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Понадобилось мне включить доступ к сетевой камере расположенной в
локальной сети с мобильного телефона через интернет. Адрес доступа:
rtsp://ip_address:port/mpeg4/media.3gp

Порт 554 я пробросил, в FORWARD всё разрешил. А счастья нет. Стал
копать, понял, что нужно модуль трассировки rtsp подгрузить. Однако
еще через некоторое время понял, что в
kernel-image-std-smp-2.6.18-alt8 этого модуля нет.

Что делать?

Есть ли модули nf_conntrack_rtsp, nf_nat_rtsp  для этого ядра отдельным пакетом?

Или на какое ядро лучше перейти (с учетом того, что процессор не многоядерный)?

Можно ли обойтись только дополнительными правилами для iptables?


-- 
С уважением,
Черносов Денис

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] kernel-image-std-smp-2.6.18-alt8 и трассировка rtsp
  2009-10-16 11:05 [Comm] kernel-image-std-smp-2.6.18-alt8 и трассировка rtsp Денис Черносов
@ 2009-10-16 12:05 ` Sergey
  2009-10-20 12:04   ` Денис Черносов
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey @ 2009-10-16 12:05 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Friday 16 October 2009, Денис Черносов wrote:

> (с учетом того, что процессор не многоядерный)?

Это не важно. Современные ядра, в этом плане, универсальные, деления на
smp и uni больше нет.

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] kernel-image-std-smp-2.6.18-alt8 и трассировка rtsp
  2009-10-16 12:05 ` Sergey
@ 2009-10-20 12:04   ` Денис Черносов
  0 siblings, 0 replies; 3+ messages in thread
From: Денис Черносов @ 2009-10-20 12:04 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Что-то не выходит каменный цветок...

Обновил ядро до kernel-image-std-def-2.6.30-alt12

добавил в /etc/net/ifaces/default/fw/iptables/modules
nf_conntrack_rtsp
nf_nat_rtsp


/etc/net/ifaces/default/fw/iptables/nat/PREROUTING
-p tcp -d $WAN_IP --dport 24681 -j DNAT --to-destination $CAM_LAN_IP:554
-p udp -d $WAN_IP --dport 24681 -j DNAT --to-destination $CAM_LAN_IP:554
-p udp -d $WAN_IP -m multiport --dports 50000:50999 -j DNAT
--to-destination $CAM_LAN_IP:50000-50999



/etc/net/ifaces/default/fw/iptables/nat/POSTROUTING
-o wan -s $LAN_NET -j MASQUERADE



/etc/net/ifaces/default/fw/iptables/filter/FORWARD
-m state --state ESTABLISHED,RELATED -j ACCEPT

-p tcp -m tcp -d $CAM_LAN_IP -j ACCEPT
-p udp -m udp -d $CAM_LAN_IP -j ACCEPT
-p tcp -m tcp -s $CAM_LAN_IP -j ACCEPT
-p udp -m udp -s $CAM_LAN_IP -j ACCEPT


Из VLC снаружи открываю:
rtsp://$WAN_IP:24681/mpeg4/media.3gp

Соединение устанавливается, а видео не идет. У меня идеи кончились,
может у кого-то остались? Или есть рабочий пример под рукой?

-- 
С уважением,
Черносов Денис


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-20 12:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-16 11:05 [Comm] kernel-image-std-smp-2.6.18-alt8 и трассировка rtsp Денис Черносов
2009-10-16 12:05 ` Sergey
2009-10-20 12:04   ` Денис Черносов

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git