Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 25 Jun 2012 13:08:48 +0400
Subject: /etc/init.d/vz & network settings

% grep -A2 -B3 fe80: /etc/init.d/vz
        if [ "${IPV6}" = "yes" ]; then
                __echo "Configuring ipv6 $VZDEV: "
                # Fix me: ip addres should be generated
                ip -6 addr add fe80::1/128 dev $VZDEV

Obvious solution:
-                ip -6 addr add fe80::1/128 dev $VZDEV
+                ip -6 addr add "fe80:`head -c8 /dev/urandom | od -An -tx2 | sed -re 's, ,:,g'`/128" dev $VZDEV

-        ip addr add dev $VZDEV

Alexey V. Vissarionov aka Gremlin from Kremlin
<gremlin ПРИ gremlin ТЧК ru>
GPG key ID: 0xEF3B1FA8, keyserver: hkp://
GPG key fingerprint: 8832 FE9F A791 F796 8AC9 6E4E 909D AC45 EF3B 1FA8

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.