Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
man/info iptables produces garbage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
techcode
n00b
n00b


Joined: 09 Sep 2006
Posts: 42

PostPosted: Sat Sep 09, 2006 8:39 pm    Post subject: man/info iptables produces garbage Reply with quote

Hi all - very new to Gentoo and Linux (which you can probably assume from number of my posts). But playing around with Perl for several years (the reason for switching to Linux) and running all web apps I wrote on Linux type OS seem to help.

I got one of those VPS's - and also installed latest gentoo (from LiveCD 2006.0 - kernel linux-2.6.17-gentoo-r4) on my old computer so I could play around.

In trying to configure for better security I wanted to install/enable iptables. So as ussual I typed in "emerge iptables". After all is finished I realised that I also need to re-configure/compile the kernel to enable the support for it. I did it by following the guide from the gentoo wiki - and while computer is still compiling it (old PII 400 Mhz) I tried to see the man page. Obviosly this is my first try at configuring/compiling the kernel - probably not going to work as wiki is for 2.6.16 and menues changed.

alex@old-junk / $ man iptables

This produces lot's of error messages and then presents me with a man page containing only garbage.

alex@old-junk / $ info iptables
*** glibc detected *** double free or corruption (out): 0x080b2668 ***
Aborted

alex@old-junk / $ iptables --version
-bash: iptables: command not found
alex@old-junk / $ su
Password:
old-junk / # iptables --version
iptables v1.3.5

old-junk / # emerge -pv iptables

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] net-firewall/iptables-1.3.5-r1 USE="ipv6 -extensions -static" 0 kB

Total size of downloads: 0 kB

=== Trying to get error msg from man ==
old-junk / # man iptables 2>error.txt

[1]+ Stopped man iptables
old-junk / # nano error.txt

==> error.txt content <==
<standard input>:4: warning: can't find character with input code 3
<standard input>:4: warning: can't find character with input code 2
<standard input>:4: warning: can't find character with input code 4
<standard input>:4: warning: can't find character with input code 5
<standard input>:4: warning: can't find character with input code 7
<standard input>:4: warning: can't find character with input code 6
<standard input>:4: warning [p 1, 0.0i]: cannot adjust line
<standard input>:4: warning [p 1, 0.2i]: cannot adjust line
<standard input>:4: warning [p 1, 0.3i]: cannot adjust line
<standard input>:4: warning [p 1, 0.5i]: can't break line
... and total of 137 lines ...


Any ideas of what is wrong? Also let me know if you need any other info ...

Thanks.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Wed Sep 13, 2006 10:38 am    Post subject: Reply with quote

I have iptables-1.3.5-r1 installed and there are no problems with e.g. 'man iptables'.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
abester
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 93

PostPosted: Wed Sep 13, 2006 10:43 am    Post subject: Reply with quote

Are you sure you've picked the correct arch and compile settings? It looks like a whole bunch of apps just don't work. Your PII probably doesn't support the latest extensions etc.
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Wed Sep 13, 2006 1:38 pm    Post subject: Reply with quote

Sounds like completely wrong CFLAGS in /etc/make.conf.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum