Bug 41052 - Adding tcp wrappers to vnc.
Summary: Adding tcp wrappers to vnc.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vnc
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL: http://www.uk.research.att.com/vnc/ex...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-17 05:25 UTC by Ian Mortimer
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-18 10:39:47 UTC
Embargoed:


Attachments (Terms of Use)
Adds tcp wrappers support to vnc (3.89 KB, patch)
2001-05-17 05:26 UTC, Ian Mortimer
no flags Details | Diff

Description Ian Mortimer 2001-05-17 05:25:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686)

Description of problem:
Vnc is one of the few network services not protected by tcpd.   Wolfram
Gloger has
provided a patch to fix that..  I've attached it below.

How reproducible:
Always

Steps to Reproduce:
1.Not applicable
2.
3.
	

Additional info:

You have to specify ip numbers in hosts.allow.  Domains or host names won't
work.

The patch doesn't add libwrap to the linking phase.  You need to make this
patch to vnc.spec:

*** vnc.spec    2001/05/17 05:25:17     1.2
--- vnc.spec    2001/05/17 04:57:35
***************
*** 17,22 ****
--- 17,23 ----
  Patch2:    vnc-xauth.patch
  Patch3:    vnc-typo.patch
  Patch4:    vnc-corre.patch
+ Patch5:    %{name}-%{version}-tcpwrappers.patch
  License:   GPL
  Group:     User Interface/Desktops
  BuildRoot: %{_tmppath}/%{name}-%{version}-root
***************
*** 59,64 ****
--- 60,66 ----
  %patch2 -p1 -b .xauth
  %patch3 -p1 -b .typo
  %patch4 -p1 -b .corre
+ %patch5 -p1 -b .tcpwrappers
 
  find . -name "*,v" -exec rm -f {} \;
  perl -pi -e "s|/usr/local/vnc/classes|%{_datadir}/vnc/classes|" vncserver
***************
*** 67,73 ****
  xmkmf -a
  make CDEBUGFLAGS="$RPM_OPT_FLAGS" World
  cd Xvnc
! make CDEBUGFLAGS="$RPM_OPT_FLAGS" World
 
  %install
  rm -rf %{buildroot}
--- 69,75 ----
  xmkmf -a
  make CDEBUGFLAGS="$RPM_OPT_FLAGS" World
  cd Xvnc
! make EXTRA_LIBRARIES='-lwrap -lnss_nis' CDEBUGFLAGS="$RPM_OPT_FLAGS"
World
 
  %install
  rm -rf %{buildroot}

Comment 1 Ian Mortimer 2001-05-17 05:26:33 UTC
Created attachment 18711 [details]
Adds tcp wrappers support to vnc

Comment 2 Tim Waugh 2001-05-18 10:39:27 UTC
Thanks.  Yes, this looks like a good idea.


Comment 3 Tim Waugh 2001-06-05 13:18:50 UTC
Applied in 3.3.3r2-16.  Thanks.



Note You need to log in before you can comment on or make changes to this bug.