Changes between Version 10 and Version 11 of UbuntuRunningDeepaMehtaAsDaemon


Ignore:
Timestamp:
03.09.2011 14:19:48 (9 years ago)
Author:
silke
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UbuntuRunningDeepaMehtaAsDaemon

    v10 v11  
    252252}}} 
    253253 
    254 Check if jetty is listening on port 8080: 
     254Check (on the machine) if jetty is listening on port 8080: 
    255255{{{ 
    256256nmap localhost -p 8080 
     
    261261Interesting ports on localhost.localdomain (127.0.0.1): 
    262262PORT     STATE SERVICE 
    263 8080/tcp open  unknown 
     2638080/tcp open  http-proxy 
    264264 
    265265Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds 
    266266}}} 
     267 
     268Drop incoming requests on port 8080: 
     269{{{ 
     270iptables -A INPUT ! -s 127.0.0.1 -p tcp --destination-port 8080 -j DROP 
     271}}} 
     272 
     273Check (from a remote client machine) if jetty is securely blocked: 
     274{{{ 
     275nmap deepamehta.yourdomain.tld -p 8080 
     276}}} 
     277should return  
     278{{{ 
     279Starting Nmap 5.00 ( http://nmap.org ) at 2011-09-02 22:17 CEST 
     280Interesting ports on deepamehta.yourdomain.tld (xxx.xxx.xxx.xxx): 
     281PORT     STATE    SERVICE 
     2828080/tcp filtered http-proxy 
     283 
     284Nmap done: 1 IP address (1 host up) scanned in 0.53 seconds 
     285}}} 
     286 
    267287 
    268288That's it. :)