Confirmed fresh install on vmware with Ubuntu Server edition 10.0.4 for
x86.

The default config file does indeed spew an error into the log file.

After editing it doesnt give the error any more but doesnt redirect anything 
either.
I also have switched from the stock kernel to a "-virtual" kernel.

I can ping all addresses from the server so its not a networking issue.
I disabled the firewall.

[Here is my rinetd Config]

allow 192.168.0.*
allow 10.1.0.*
allow 10.43.*
allow 127.*

10.1.0.155 2023 192.168.0.2 2022
192.168.0.1 23306 10.1.0.30 3306
192.168.0.1 20523 10.43.0.11 523
192.168.0.1 20446 10.43.0.11 446
192.168.0.1 20636 10.1.0.99 636
192.168.0.1 20025 10.1.0.47 25

logfile /var/log/rinetd.log
logcommon

[Here is my network setup:]
eth0      Link encap:Ethernet  HWaddr 00:50:56:87:5d:36
          inet addr:10.1.0.155  Bcast:10.1.127.255  Mask:255.255.128.0
          inet6 addr: fe80::250:56ff:fe87:5d36/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:126482 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6448 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13884326 (13.8 MB)  TX bytes:1527198 (1.5 MB)
          Interrupt:18 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:50:56:87:42:7e
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe87:427e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2416 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6498 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:194126 (194.1 KB)  TX bytes:386546 (386.5 KB)
          Interrupt:19 Base address:0x2080

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:22013 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22013 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:924572 (924.5 KB)  TX bytes:924572 (924.5 KB)

[Here is the error from the stock config:]

09/Sep/2010:08:58:46    0.0.0.0 <86> <AD><FB>   0       (null)  0
0       0       accept-failed -

[Here is the information entered into syslog after applying my custom 
configuration:]
Sep  9 13:28:50 osdrelay1 rinetd[1545]: Starting redirections...


[here is a port scan with rinetd running]

Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-09 13:35 CDT
Interesting ports on 10.1.0.155:
Not shown: 999 closed ports
PORT   STATE SERVICE
22/tcp open  ssh

Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds

-- 
rinetd creates huge log file on bad config
https://bugs.launchpad.net/bugs/568094
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to