Author Topic: Cacko qpe listens on ports 4992 and 4244  (Read 6503 times)

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Cacko qpe listens on ports 4992 and 4244
« on: September 20, 2004, 04:08:21 pm »
Is there a way of disabling qpe from listening on 4992 and 4244?  On my Cacko 1.21b ROM as root:

# netstat -nap --protocol=inet
Proto   Recv-Q   Send-Q   Local Address   Foreign Address   State   PID/Program name
tcp   0   0   0.0.0.0:4992   0.0.0.0:*   LISTEN   242/qpe
tcp   0   0   0.0.0.0:4244   0.0.0.0:*   LISTEN   242/qpe

Since I do not use this service to sync it would be nice to disable.  If I can't disable I guess it could be secured with iptables/ipchains etc.  Does QPE recognize hosts.allow?  Any ideas?

Thanks!

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Cacko qpe listens on ports 4992 and 4244
« Reply #1 on: September 25, 2004, 03:52:30 pm »
No ideas on turning this off at all?   chirp...chirp...chirp (crickets).  
« Last Edit: September 25, 2004, 04:18:41 pm by stupkid »

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Cacko qpe listens on ports 4992 and 4244
« Reply #2 on: September 25, 2004, 04:43:17 pm »
This FAQ is for the old 5500 ROMs but the principle is the same:

http://www.zaurususergroup.com/FAQ+index-m...at-12.phtml#106

Qtopia isn't very good about sticking to Linux/POSIX standards like this.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

KA6AH

  • Newbie
  • *
  • Posts: 4
    • View Profile
Cacko qpe listens on ports 4992 and 4244
« Reply #3 on: October 29, 2005, 05:21:27 pm »
I've searched the whole forum and google, but still cat't figure out: what port 4992 is used for? Maybe, it is useful for something prior to disable it?

Found one opinion about qpe sound server listening on that port (in IRC channel logs), but the source does not seem to be very competent..

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cacko qpe listens on ports 4992 and 4244
« Reply #4 on: October 31, 2005, 06:38:20 am »
There was a thread about this on the devnet iirc, is there a backup of that anywhere?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

KA6AH

  • Newbie
  • *
  • Posts: 4
    • View Profile
Cacko qpe listens on ports 4992 and 4244
« Reply #5 on: December 08, 2006, 05:36:02 am »
I've found some info about what these ports are used for (here):

4242 - ftp server login: root passwword: NONE!

      This allows anyone to access any file on any zaurus that is network connected. Files can be downloaded, uploaded, or deleted! This ftp server does not even look at the password file. The login name and blank password are hard coded into the ftp server!

4243 - behaves a little like rsync

      This port is totaly unencrypted and the login/password combination used by the desktop sync software can be snooped with tcpdump with no problem. The login/password combination are hard coded and can not be changed!

4992 - probably also part of the desktop sync

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Cacko qpe listens on ports 4992 and 4244
« Reply #6 on: December 09, 2006, 05:33:38 am »
i guess thats why we recomend firewalls on these thinggs
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Cacko qpe listens on ports 4992 and 4244
« Reply #7 on: December 09, 2006, 05:00:25 pm »
just install iptables and then write a simply startup script called firewall... search the forums for "iptables" and you'll find lots of examples.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Cacko qpe listens on ports 4992 and 4244
« Reply #8 on: March 12, 2007, 12:15:49 pm »
Quote
Is there a way of disabling qpe from listening on 4992 and 4244?  On my Cacko 1.21b ROM as root:

# netstat -nap --protocol=inet
Proto   Recv-Q   Send-Q   Local Address   Foreign Address   State   PID/Program name
tcp   0   0   0.0.0.0:4992   0.0.0.0:*   LISTEN   242/qpe
tcp   0   0   0.0.0.0:4244   0.0.0.0:*   LISTEN   242/qpe

Since I do not use this service to sync it would be nice to disable.  If I can't disable I guess it could be secured with iptables/ipchains etc.  Does QPE recognize hosts.allow?  Any ideas?

Thanks!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I realize this is a very old thread, but here's another take on the situation.  The sl5500 stock ROMs are continually respawning ttyS0, and if that is where the listening to the ports comes from, stopping the respawning (if you don't need it) should do the trick.  I see no such ports when I run netstat, since I have ttyS0 disabled.

I give instructions for disabling ttyS0 at [a href=\"http://www.sdjf.esmartdesign.com/respawn.html]http://www.sdjf.esmartdesign.com/respawn.html[/url]

Oops!  I didn't enter the arguments for netstat correctly, and see that my Z is listening on 22, 111, 4242, 4243, and 4992 when I am online, and on just 4242, 4243, and 4992 when offline.  So there is no 4244, but other ports.  And I don't know how to see what tty is associated with what.  Hopefully the respawning idea will help, and sorry about messing up on the report about ports.

sdjf
« Last Edit: March 12, 2007, 04:15:06 pm by sdjf »
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards