LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2009, 08:05 AM   #1
noillir
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
Accepting connection from unknown device/service


Hello,

So I have a need to do some reverse engineering on a network device that basically when i bush a button sends data over tcp/ip. I have found out the ip of the device and monitoring it shows that it is looking for a server (who has 192.168.0.11 tell 192.168.0.241).

So i changed my ip to 0.11 and monitored again. now it send to me onto port 2000 SYN RST SYN RST.... so obviously it tries to connect to port 2000 but my machine does not accept.
That brings me to the point. Can I somehow open the port send ACK and see what comes next or are there better ways?
 
Old 09-09-2009, 08:31 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Any time you post a question help us help you. Tell us what distro, arch, and version you are running. While a yes/no answer can be made for any Linux, the details on how to accomplish a specific task vary wildly from distro to distro, sometimes even from version to verson, and even on occasion it is different from arch to arch (genreally 32bit vs 64bit).


Yes, you can open any port you wish. We would need to know the above to best answer the question. It would probably also be helpful to know if we are talking tcp, udp, or both.
 
Old 09-09-2009, 08:39 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Have you tried pointing nmap at that IP and see what it says is being offered there?

What is this device supposed to be and why do you need to reverse engineer it?
 
Old 09-09-2009, 08:45 AM   #4
noillir
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Here is link do wireshark capture (captured in windows) its tcp as far as i know.

Didn't include distro because i use what ever one is necessary (thus didn't occur do say). But at the moment using Ubuntu 32bit
 
Old 09-09-2009, 10:17 AM   #5
noillir
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge View Post
Have you tried pointing nmap at that IP and see what it says is being offered there?

What is this device supposed to be and why do you need to reverse engineer it?
Essentially it is rfid card reader to give out drinks and the vendor (vendor is small company) of that damn system sayd they cant get it to work and they are not giving us any information how it is programmed.

As I see it working is so: Card is shown. Device sends card info to server. Server does magic. Server returns card credit. Device sends credit info to vending machines coin reader board. Voila u can have a cup of brown liquid.

if I can get what the device sends and what it wants back I'm golden.

As to scanning nmap says so: All 65535 scanned ports on 192.168.0.241 are closed
 
Old 09-09-2009, 10:48 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
192.168.0.241 is the device IP?
If all it's ports are closed, then there is no point sending it any ACK or other response: it ain't listening.
Does it respond to ping requests?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
device not accepting address 16 error 71 linuxqueric Linux - Hardware 2 09-17-2008 11:19 AM
Device not accepting Address 2 error -71 ela82 Linux - Newbie 0 09-10-2008 11:12 AM
usb 3-1: device not accepting address, error -71 krishnakumar85 Linux - Newbie 1 02-19-2007 09:20 AM
USB Device not accepting new address LOUDSilence Linux - Hardware 15 09-21-2004 05:53 PM
USB Device not accepting address systemparadox Linux - Hardware 2 08-24-2004 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration