04-12-2011
Well, if the port is bound to the Scream program, no other users can bind it. Do you want to copy the flow into Scream on every connecting service? There is a tool, tcp_relay.c, that listens on one port and for every connection, spins off a child that connects to $2 port $3 and forwards all data both ways, a sort of firewall proxy. You can monitor Scream with truss/tusc/strace as it runs and see all the system calls it does.
10 More Discussions You Might Find Interesting
1. IP Networking
Firstly, I have no knowledge of hubs, so please keep any advice simple!
I have a UNIX hub, connecting three PCs and would like to know if the hub has NAT translation for incoming packets and if th hub is able to NAT translate packets coming in to a local (internal) LAN address.. (3 Replies)
Discussion started by: MartinD
3 Replies
2. UNIX for Dummies Questions & Answers
I've been googling for a while now, trying to forward port 3000 to port 80....
In the past I used to DLink router to forward port 3000 to 80. I recently finished (well, is it ever done anyhow?) setting up my linux box and got it acting as a router.
I want to continue to run Apache on port 80... (1 Reply)
Discussion started by: meeps
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I need to redirect internal internet requests to a auth client site siting on the gateway. Currently users that are authenticated to access the internet have there mac address listed in the FORWARD chain. All other users need to be redirected to a internal site for authentication.
Can... (1 Reply)
Discussion started by: mshindo
1 Replies
4. Cybersecurity
Hello,
I am currently trying to limit incoming UDP length 20 packets on a per IP basis to 5 a second using IPTables on a Linux machine (CentOS 5.2).
Basically, if an IP is sending more than 5 length 20 UDP packet a second to the local machine, I would like the machine to drop the excess... (1 Reply)
Discussion started by: tomboy123
1 Replies
5. IP Networking
Hi guys,
I'm using a Linux system(Ubuntu) and I've been trying to find a method to read the total packets received/sent on a specific port (e.g port 80 or port 25) on a local machine. I can read the overall total packets received/sent from the /proc/net/dev file system. But what I can't do is... (2 Replies)
Discussion started by: lildee
2 Replies
6. IP Networking
Hi,
I want to find out someway to get the number of exchanged packets (received, transmitted or both) on a particular service (so per Port). There are many network tools on linux (netstat, /proc/net/dev, iptables...) but I can not find an efficient way to get these information. All I can do is... (3 Replies)
Discussion started by: nightoy
3 Replies
7. IP Networking
Good afternoon everyone,
It's the iptables n00b again. valiantly learning and reading (and asking for occasional help when I hit a wall - which I think I just did)
So far I've gotten logging enabled for iptables.
Now, I want to drop AND log an IP connection attempt.
Could some wise eyes... (2 Replies)
Discussion started by: putter1900
2 Replies
8. Linux
I am looking for an iptables command to allow incoming UDP packets for my Linux server
also is there a command I can use to set the default action for outgoing packets to accept?
Thank you (1 Reply)
Discussion started by: crimputt
1 Replies
9. Red Hat
Hi,
What iptables command do I need to run in order to open up the following port for incomming traffic on the following server:
# telnet 127.0.0.1 1521
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection... (3 Replies)
Discussion started by: Duffs22
3 Replies
10. Red Hat
Hi
I enable the IPtables but port 80 was not working. Below is my active configuration (10 Replies)
Discussion started by: ranjancom2000
10 Replies
LEARN ABOUT DEBIAN
simpleproxy
SIMPLEPROXY(1) General Commands Manual SIMPLEPROXY(1)
NAME
simpleproxy - Simple tcp socket proxy
SYNOPSIS
simpleproxy [-7] [-v] [-V] [-d] [-i] -P <POP3 users file> -L [<local host>:]<local port> -R <remote host>:<remote port> -S <proxy
host>:<proxy port>
DESCRIPTION
The simpleproxy program acts as a simple tcp proxy. It opens listening socket on local machine and forwards any connection to the remote
host.
OPTIONS
simpleproxy accepts following options:
-V Version information.
-v Makes simpleproxy to write activity information to syslog or stderr.
-7 Makes simpleproxy to strip 8th bit.
-i Use this flag when starting simpleproxy from INETD.
-d By default simpleproxy does not detach itself from control terminal and writes all messages to stderr. This option will detach it
from terminal and make it write messages to syslog.
-L [<local host>:]<local port>
Local host and port name or number to bind for listening. Host name is optional.
-R <remote host>:<remote port>
Remote host and port name or number
-P <POP3 users list>
If specified, simpleproxy will load list of users from the <filename> (one per line). After this it will be forwarding POP3 ses-
sions only if client trying to authenificate as this user.
-S <proxy host>:<proxy port>
HTTPS proxy server host and port name or number.
-a <HTTP Auth User>:<HTTP Auth Password>
Authenticate to the HTTPS proxy server with the given userid and password. This option performs BASIC HTTP authentication as spec-
ified in RFC 2617. Used only in conjunction with -S.
-t <trace file>
If specified, simpleproxy will dump all data that passes through connection to the specified file.
BUGS
Only tcp ports are supported.
SEE ALSO
inetd(1M), services(4), http://www.crocodile.org/software.html
AUTHOR
Vadim Zaliva <lord@crocodile.org>, Vladimir Karpinsky <vlad@noir.crocodile.org> Vadim Tymchenko <verylong@noir.crocodile.org>
CONTRIBUTORS
Pavel Roskin <pavel_roskin@geocities.com>, Cedric Tefft <cedric@earthling.net> Christophe Bothamy <cbothamy@sourceforge.net> Ulf Harnhammar
<metaur@telia.com>
Version 3.3 SIMPLEPROXY(1)