Sponsored Content
Full Discussion: port mapping with fake ip
Top Forums UNIX for Advanced & Expert Users port mapping with fake ip Post 302389387 by adderek on Sunday 24th of January 2010 04:44:53 PM
Old 01-24-2010
I am not sure what is the purpose of this question, nor if you are going to use it in a legal way.
To change a local port to be coming from another IP - this is called tunelling. It is quite simple.
If you want to make this on some local machine then you need to mangle with the TCP/IP. There are multiple ways to achieve that. I would suggest Linux + IPTables + SNAT (Source NAT) which is exactly what you need. You might use google to find how to do a SourceNAT (SNAT) on other platforms and using some specific tools.

Short description of what SNAT might be:
"If a packet is going out from my PC from port 1234 then its source IP should be replaced to IP 5.6.7.8". It would be something like (might be wrong as I am not testing that): "iptables -A MANGLE -p tcp --sport 1234 -j SNAT --from-ip 5.6.7.8"
 

8 More Discussions You Might Find Interesting

1. IP Networking

Routing, Port Mapping, Internet Sharing etc etc

I'm running OS X. (OS X Server actually) and right now I use a program called BrickHouse to handle my router configuration. But this program kind of sucks. I'd much rather learn how to configure these programs manually. By these programs, I mean the programs OS X comes with to handle these jobs... (0 Replies)
Discussion started by: l008com
0 Replies

2. Linux

Fake System32 Folder

I read somewhere that you can create a fake system32 folder in linux where you can store the most common windows runtime libraries, that way you can install windows programs (using wine) directly in linux, what I meen is that even the installer works. Does anyone know how I can do this, and where... (2 Replies)
Discussion started by: Kimm
2 Replies

3. Shell Programming and Scripting

Fake deletion of files

Hi, This is possibly an odd request to do with permissions as I seem to have tied myself up with these! I have the following directory (see below) that contains files that the 'usergrp' user needs to be able to 'delete' files from. drwxr-s--- 2 usergrp usergrp 512 16 Feb 14:37... (2 Replies)
Discussion started by: Peejay
2 Replies

4. IP Networking

port mapping

Hello to all! I am new to this interesting forum. My questions is not totally related to unix/linux systems, but I am not finding proper place where to make my question and this forum seems to be visited by experts and unix/linux experts are epxerts in everything My ISP has two kinds of... (1 Reply)
Discussion started by: kallquk
1 Replies

5. UNIX for Dummies Questions & Answers

fake network address....

Good morning! Why would having a fake network device be useful? Thanks in advance Bigben (0 Replies)
Discussion started by: bigben1220
0 Replies

6. IP Networking

What is a fake network device?

Thanks in advance! Ben (1 Reply)
Discussion started by: bigben1220
1 Replies

7. Shell Programming and Scripting

Creating unique mapping from multiple mapping

Hello, I do not know if this is the right title to use. I have a large dictionary database which has the following structure: where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =. What I am looking for is a perl script which will take... (5 Replies)
Discussion started by: gimley
5 Replies

8. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
syncml-ds-tool(1)						     libsyncml							 syncml-ds-tool(1)

NAME
syncml-ds-tool - A SyncML Data Synchronization tool for Unix. The syncml-ds-tool supports OMA DS server and client mode. Additionally OBEX and HTTP transports are supported in client and server mode. SYNOPSIS
syncml-ds-tool 'OPTIONS' ... OPTIONS
Datastore configuration Parameters: &ndash;sync '<type>' '<path>' '<directory>' normal two-way sync &ndash;slow-sync '<type>' '<path>' '<directory>' slow two-way sync o type is the content-type of a datastore text/x-vcard for contacts text/x-vcalendar for calendar text/plain for notes text/x-vMessage for SMS o path is the used (virtual) source URL/path It is the local name of the database. You can choose something there. o directory is the local path to the synchronized directory The directory is optional and an absolute path. This directory is a persistent storage. HTTP client configuration Parameters: &ndash;http-client '<url>' o url must be an http URL like http://localhost:8080 HTTP server configuration Parameters: &ndash;http-server '<port>' o port must be a port for the http server. OBEX client configuration Parameters: -s '<device>' Connect to the serial device. -u List all available USB interfaces. -u '<id>' Connect to the given usb interface number. You may discover them with -u. -b '<addr>' '<channel>' Connect to the given bluetooth device. &ndash;ip '<addr>' '<port>' Connect to this TCP/IP address. &ndash;irda Connect using IrDA. &ndash;irda-service '<service>' Use the given IrDA service (default: OBEX). OBEX server configuration Parameters: &ndash;port '<port>' Listen to this TCP/IP port. General SyncML options Parameters: &ndash;identifier '<ident>' set the local identity of SyncML (source). &ndash;target '<ident>' set the remote identity of SyncML (target). &ndash;username '<username>' set the username for authentication. &ndash;password '<password>' set the password for authentication. &ndash;maxMsgSize '<limit>' set the maximum message size (default: 0) &ndash;maxObjSize* '<limit>' set the maximum object size (default: 0) &ndash;useStringTable Use wbxml string tables (default: NEVER EVER) &ndash;disableNumberOfChanges the most new phones support it (default: enabled) &ndash;useNumberAnchor Use numbers as anchors. &ndash;wbxml Use wbxml (WAP Binary XML) instead of plain xml. &ndash;read-only No write actions will be performed. &ndash;remoteWinsConflicts If there is a conflict then the remote change wins. The default is local wins always. This option is only usable in OMA DS server mode. &ndash;dumpinfo Print info about the phone. &ndash;version prints the version of the tool. &ndash;version '<version>' sets the SyncML version. o ident Some devices require a special identity string. Nokias for example often requires 'PC Suite'. Please use --identifier 'PC Suite' in this case. o version can be '1.0', '1.1' or '1.2'. The default version is '1.1'. Device faking options Some SyncML servers try to enforce access policies via device filtering. These options can be used to work around such filters. Parameters: &ndash;fake-manufacturer '<Man>' set the manufacturer of the faked device. &ndash;fake-model '<Mod>' set the model of the faked device. &ndash;fake-software-version '<SwV>' set the software version of the faked device. EXAMPLES
Get the contacts from your phone via Bluetooth $ syncml-ds-tool -b <mac> <channel> --slow-sync text/x-vcard contacts --wbxml --identifier "PC Suite" Get the notes from a USB connected phone $ syncml-ds-tool -u <interface> --slow-sync text/plain notes --wbxml --identifier "PC Suite" BUGS
There is a bugtracker running at http://libsyncml.opensync.org/. If you have a problem please look there to see if it is already reported and add your information to the relavant ticket if possible. When opening a new ticket please provide as many information as possible. For faster processing of your bug it helps to attach the trace files. You may find a description how to create them at http://opensync.org/wiki/tracing. For crashes the output of gdb could help. AUTHOR
Written by Felix Moeller, felix@derklecks.de RESOURCES
Website: http://libsyncml.opensync.org COPYING
Copyright (C) 2008 OpenSync Team. Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL). Version 0.5.4 Sat Jun 30 2012 syncml-ds-tool(1)
All times are GMT -4. The time now is 10:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy