FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-27-2011, 12:18 AM
Alexander Lardner
 
Default How to log inbound IPs on telnet connection?

Hello,
I run a vintage BBS on my Debian box that uses telnet for connections.
By default, the software is written to accept connections on port
1234, as opposed to 23 as is default for telnet. I use a little
utility called redir that takes inbound connections on port 23 and
reroutes them locally to port 1234. The problem is, it shows that
users connected from localhost as opposed to their actual IP. I need a
way to be able to log IPs to ban troublemakers. Is there a program or
script to log inbound IPs?
Thanks!
-Alex


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTimrR96zP8EeKdRxMOv96=G=+ACirg@mail.gmail.com ">http://lists.debian.org/BANLkTimrR96zP8EeKdRxMOv96=G=+ACirg@mail.gmail.com
 
Old 06-27-2011, 03:29 AM
William Hopkins
 
Default How to log inbound IPs on telnet connection?

On 06/26/11 at 05:18pm, Alexander Lardner wrote:
> Hello,
> I run a vintage BBS on my Debian box that uses telnet for connections.
> By default, the software is written to accept connections on port
> 1234, as opposed to 23 as is default for telnet. I use a little
> utility called redir that takes inbound connections on port 23 and
> reroutes them locally to port 1234. The problem is, it shows that
> users connected from localhost as opposed to their actual IP. I need a
> way to be able to log IPs to ban troublemakers. Is there a program or
> script to log inbound IPs?

Probably you would be well served by IPtables instead of your 'redir' utility.
Look into the REDIRECT target in the nat table.
See if this modifies what the inbound IP appears to be.

--
Liam
 
Old 06-27-2011, 03:34 AM
Alexander Lardner
 
Default How to log inbound IPs on telnet connection?

On Jun 26, 2011, at 8:29 PM, William Hopkins <we.hopkins@gmail.com> wrote:

> On 06/26/11 at 05:18pm, Alexander Lardner wrote:
>> Hello,
>> I run a vintage BBS on my Debian box that uses telnet for connections.
>> By default, the software is written to accept connections on port
>> 1234, as opposed to 23 as is default for telnet. I use a little
>> utility called redir that takes inbound connections on port 23 and
>> reroutes them locally to port 1234. The problem is, it shows that
>> users connected from localhost as opposed to their actual IP. I need a
>> way to be able to log IPs to ban troublemakers. Is there a program or
>> script to log inbound IPs?
>
> Probably you would be well served by IPtables instead of your 'redir' utility.
> Look into the REDIRECT target in the nat table.
> See if this modifies what the inbound IP appears to be.
>
> --
> Liam
Actually, I beat you to it. Got thinking and bit the bullet.

-Alex

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 72B5D469-D61A-4864-BF2F-06B994FA5BAB@gmail.com">http://lists.debian.org/72B5D469-D61A-4864-BF2F-06B994FA5BAB@gmail.com
 

Thread Tools




All times are GMT. The time now is 09:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org