Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2002
Posts: 119
Soap Offline OP
Member
OP Offline
Member
Joined: Mar 2002
Posts: 119
So My kernel (apparently) doesn't support IP_masquerading, so how would I know?

And how would I go about checking out what my kernel DOES have? IE: modules installed.. (corect terminology?)

thx

Joined: Mar 2002
Posts: 119
Soap Offline OP
Member
OP Offline
Member
Joined: Mar 2002
Posts: 119
ok I looked into it realizing also i might not have been all that clear ;-)

well at the time off compiling a new kernel, you make rmproper, then when u get to make config/mencuconfig/xconfig , thats' the part you choose what your kernel has I every domain.

then the monolitik/modular kernel thing determinies whether or not u can add modules.
Now these would be the modules I see with an lsmod right.

Now i talking about the **** done at compile time (config time really).
Once in a shell working on your kernel, how would you check what your kernel supports and doesn't. re-run make config?? NAh...

Joined: Apr 2002
Posts: 135
? Offline
UGN Member
Offline
UGN Member
Joined: Apr 2002
Posts: 135
Your Kernel does not have anything to do with IP masquerading. A lot of people get it twisted, IP spoofing is a complex topic. The way it works is you have to send raw packets and change the source IP in the header by yourself. but of course, when you change the source IP you will not recieve the syn/ack packets so you won't know if the remote computer has accepted your connection. it's really jus shooting in the dark but it does not have anything to do with ur kernel. as long as raw sockets are supported (any OS except the older Windows and Mac OS 9 and below I think) you're in good shape.


I KNOW EVERYTHING. ASK ME.
Joined: Mar 2002
Posts: 626
Member
Offline
Member
Joined: Mar 2002
Posts: 626
I can say, update your kernel, yet it should have nothing to do with it. ? is right, also it can be if you are running a firewall (not sure). What distro you got and what program.


-hKzKnight
"The ghost... Was never there and you'll never see me"
Joined: Mar 2002
Posts: 119
Soap Offline OP
Member
OP Offline
Member
Joined: Mar 2002
Posts: 119
look, I think you got me wrong ? I'm no lokking to try and spoof my IP, and I know about all that thx.

I am talking in the capacity of the kernel in The IP protocol. That is, masquerading, and redirect (proxying....).

Has anyone here ever copmpiled a kernel??

using ipchains for example to redirect or proxy then the kernel must havecertain options....(chosen when compiling it)

do u understand me? (and my question)

Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
Offline
UGN Elite Poster
P
Joined: Mar 2002
Posts: 1,136
I think Soap's asking more about how to set up his box to work as a gateway or a router for his network, not spoofing. You're best bet would be to check out the Linux Router Project, found at www.linuxrouter.org Unfortunately the server is down at the moment, so I can't get the exact link for setting up your box as a router/gateway. I also found a pretty good page with instructions on setting it up, it can be found at http://www.escalix.com/freepage/doggerdog/freesco/ The guy uses the Freesco distro, but you can use whatever unix you want.

Joined: Mar 2002
Posts: 626
Member
Offline
Member
Joined: Mar 2002
Posts: 626
Well if that is the case, he should have said that. He got us l05t at first :+). Well I can look it up in my lib or my mags, yet www.linuxrouter.org is a wonderful website. So are any other websites I have posted in the forum. No, I have not compiled a kernel, maybe a general (jk), yet I've debugged them for fun and looked at some scources. (that was just a side note) Also what distro do you have? Sometimes one is better then another to do such, Red Hat would be a fine choice for a gateway or SuSe.


-hKzKnight
"The ghost... Was never there and you'll never see me"
Joined: Mar 2002
Posts: 119
Soap Offline OP
Member
OP Offline
Member
Joined: Mar 2002
Posts: 119
Well u understand what I'm doing currently (router,etc) yet my question is more general.

I'm looking for a way (thru shell => shell command?) to find what my kernel supports and doesn't. That is, what it was configurated w/t @ compile-time.

*including...IP_MAQSQUERADING=Y hopefully*

any1 know a way??

*looking inoccently at the linux d00d...*

Joined: Mar 2002
Posts: 9
P
Junior Member
Offline
Junior Member
P
Joined: Mar 2002
Posts: 9
If you AREN'T SURE if your Linux distribution is MASQ ready, do the following:

I think the command is ls /proc/sys/net/ipv4 .

With 2.4.x kernels (look for most of the following entries out of the much longer list):
ip_dynaddr

ip_forward

And for 2.2.x kernels:

ip_always_defrag

ip_dynaddr

ip_forward

ip_masq_debug

ip_masq_udp_dloose

Running "ls /proc/net"


ip_fwchains

ip_fwnames

ip_masquerade


Running "ls /proc/net/ip_masq"


app

icmp

icq

mfw

portfw

tcp

udp

Hope this helps out, in some way or another.

Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
As root type "kernelversion" it will tell you what version number your kernel is. Look up if that version supports what your looking for. I think starting at 2.4 and up all suport ip masqerading. As for what its compiled with....you dont know what you compiled? If you compiled your kernel yourself you should know what you compiled onto it I guess, I dont mean to sound like a dick about it.

Joined: Mar 2002
Posts: 119
Soap Offline OP
Member
OP Offline
Member
Joined: Mar 2002
Posts: 119
SAAAAAAAAAAAAAAAAAAAAFE !!! laugh laugh

thx 4 the info polpot

ow sinetific, well yeah I compiled the kernel kernel but thru the GUI will installing the thing th first time...U know how it is...u don't choose...


Link Copied to Clipboard
Member Spotlight
Posts: 43
Joined: November 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
unreal 1
Crime 1
Ice 1
Dartur 1
Powered by UBB.threads™ PHP Forum Software 7.7.5