antirez / antirez/hping

about install hping on docker kali

Aperta
#26 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
1.7k
Fork
364
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I am facing some issues when installing hping on kali-linux-docker. anyone can help on this?
##Local Host #####
```
docker info
Containers: 6
Running: 0
Paused: 0
Stopped: 6
Images: 10
Server Version: 1.12.6
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 95
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: overlay host bridge null
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.41-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.951 GiB
Name: moby
ID: N3BG:IOKH:FJPX:WZ2H:52KE:IOZM:NU2I:7WLI:HOEH:ES5H:J7AM:WXYU
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 19
Goroutines: 29
System Time: 2017-01-19T07:52:24.066608467Z
EventsListeners: 1
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support
Insecure Registries:
127.0.0.0/8
```

##Docker image information###
docker images -a kalilinux/kali-linux-docker
REPOSITORY TAG IMAGE ID CREATED SIZE
kalilinux/kali-linux-docker latest dc19a2669ec2 3 weeks ago 1.307 GB

**error message:**
> root@90f655fa08f0:/hping3# ./configure
> build byteorder.c...
> create byteorder.h...
> ./configure: 1: ./configure: -: not found
> ==> WARNING: no Tcl header files found!
> --------------------------------------
> system type: LINUX
>
> LIBPCAP : PCAP=-lpcap
> PCAP_INCLUDE :
> MANPATH : /usr/local/man
> USE_TCL :
> TCL_VER :
> TCL_INC :
> LIBTCL : -ltcl -lm -lpthread
> TCLSH :
>
> (to modify try configure --help)
> --------------------------------------
> creating Makefile...
> creating dependences...
> In file included from ars.h:20:0,
> from apd.c:19:
> bytesex.h:22:3: error: #error can not find the byte order for this architecture, fix bytesex.h
> # error can not find the byte order for this architecture, fix bytesex.h
>
> In file included from apd.c:19:0:
> ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> In file included from ars.h:20:0,
> from ars.c:24:
> bytesex.h:22:3: error: #error can not find the byte order for this architecture, fix bytesex.h
> # error can not find the byte order for this architecture, fix bytesex.h
>
> In file included from ars.c:24:0:
> ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> In file included from ars.h:20:0,
> from arsglue.c:7:
> bytesex.h:22:3: error: #error can not find the byte order for this architecture, fix bytesex.h
> # error can not find the byte order for this architecture, fix bytesex.h
>
> In file included from arsglue.c:7:0:
> ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> In file included from ars.h:20:0,
> from rapd.c:11:
> bytesex.h:22:3: error: #error can not find the byte order for this architecture, fix bytesex.h
> # error can not find the byte order for this architecture, fix bytesex.h
>
> In file included from rapd.c:11:0:
> ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> In file included from ars.h:20:0,
> from split.c:11:
> bytesex.h:22:3: error: #error can not find the byte order for this architecture, fix bytesex.h
> # error can not find the byte order for this architecture, fix bytesex.h
>
> In file included from split.c:11:0:
> ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
> #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
>
> now you can try `make'
> root@90f655fa08f0:/hping3#

the os version is :

> root@90f655fa08f0:/hping3# uname -a
> Linux 90f655fa08f0 4.4.41-moby #1 SMP Wed Jan 11 01:09:58 UTC 2017 x86_64 GNU/Linux

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.